/* VithiOrder marketing site — plain CSS, no build step, no external fonts.
   Keep everything self-contained so this folder stays fully portable. */

:root {
    --navy: #0b1120;
    --navy-soft: #101a30;
    --blue: #1e6fd9;
    --teal: #06b6d4;
    --green: #22c55e;
    --ink: #0f172a;
    --muted: #5b6472;
    --line: #e6e9ef;
    --bg: #ffffff;
    --bg-alt: #f6f8fb;
    --radius: 14px;
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 64px 0;
}

/* The closing call-to-action box sits right above the footer — no full section gap under it */
section:has(> .cta-band) {
    padding-bottom: 40px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(6, 182, 212, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
}

h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
}

h3 {
    font-size: 20px;
    font-weight: 700;
}

p {
    margin: 0 0 16px;
}

.lede {
    font-size: 19px;
    color: var(--muted);
    max-width: 620px;
}

.section-head {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head .lede {
    margin: 0 auto;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    box-shadow: 0 12px 24px -10px rgba(6, 182, 212, 0.55);
}

.btn-primary:hover {
    box-shadow: 0 16px 30px -10px rgba(6, 182, 212, 0.65);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--ink);
}

.btn-light {
    background: #fff;
    color: var(--navy);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.brand .brand-name {
    background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand .brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 9px;
    object-fit: cover;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

.nav-links a {
    color: var(--muted);
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links a,
.nav-cta .btn {
    white-space: nowrap;
}

/* Between tablet and desktop the logo + tagline, five links and two buttons don't fit at full spacing */
@media (min-width: 861px) and (max-width: 1100px) {
    .nav-links {
        gap: 18px;
        font-size: 14px;
    }

    .nav-cta .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (min-width: 861px) and (max-width: 940px) {
    .brand .brand-sub {
        display: none;
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
    transition: transform 0.15s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

.nav-links .nav-login-mobile {
    display: none;
}

/* Hero */

.hero {
    padding: 88px 0 60px;
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(6, 182, 212, 0.14), transparent 60%),
        radial-gradient(700px 380px at 0% 0%, rgba(30, 111, 217, 0.12), transparent 55%);
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.hero-stats div strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
}

.hero-stats div span {
    font-size: 13px;
    color: var(--muted);
}

/* Chat mock */

.chat-card {
    background: var(--navy);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow);
    position: relative;
}

.chat-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    padding: 4px 6px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}

.chat-header small {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.bubble {
    max-width: 82%;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.45;
}

.bubble.in {
    background: #1c2740;
    color: #e6ebf5;
    border-bottom-left-radius: 4px;
}

.bubble.out {
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.bubble.menu {
    background: #1c2740;
    color: #e6ebf5;
    border-bottom-left-radius: 4px;
    display: grid;
    gap: 6px;
}

.bubble.menu .row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(230, 235, 245, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 6px;
}

.bubble.menu .row:first-child {
    border-top: none;
    padding-top: 0;
}

.bubble.menu .radio {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(230, 235, 245, 0.45);
}

.bubble.menu .item {
    flex: 1;
}

.bubble.menu .price {
    flex: 0 0 auto;
    color: rgba(230, 235, 245, 0.6);
}

.bubble.menu .list-cta {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    color: #67e8f9;
}

/* Logo strip */

.logo-strip {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.logo-strip .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

/* Feature grid */

.features {
    background: var(--bg-alt);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 111, 217, 0.14), rgba(6, 182, 212, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--teal);
}

.feature-card p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

/* How it works */

.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.step {
    position: relative;
    padding: 30px 26px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -18px;
    left: 26px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step p {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
}

.check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 2px;
}

/* FAQ */

.faq {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 4px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--ink);
}

.faq-q .plus {
    font-size: 20px;
    color: var(--teal);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-q .plus {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    color: var(--muted);
    font-size: 15px;
}

.faq-a p {
    padding: 0 4px 22px;
    margin: 0;
}

/* CTA band */

.cta-band {
    background: var(--navy);
    color: #fff;
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    margin: 0 24px;
}

.cta-band h2 {
    margin-bottom: 12px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto 28px;
}

.cta-band .hero-cta {
    justify-content: center;
}

/* Footer */

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.65);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    color: #fff;
    margin-bottom: 14px;
}

/* The real "Enquiq" lettering from the logo artwork (custom E and q), not live text */
.brand-wordmark {
    display: block;
    align-self: flex-start; /* don't stretch to the tagline's width */
    height: 32px;
    width: auto;
}

/* Footer sits on navy, so the tagline needs a light tone */
.footer-brand .brand-sub {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.footer-grid h4 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: 14px;
}

.footer-grid ul a:hover {
    color: #fff;
}

/* Footer with only the copyright line (404 page) — no empty band above it */
.footer-bottom:first-child {
    padding-top: 0;
    margin-top: -32px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    font-size: 13px;
}

/* Responsive */

@media (max-width: 900px) {
    .hero .wrap {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Header switches to the hamburger menu below 860px — the full nav no longer fits beside the logo */
@media (max-width: 860px) {
    .nav-links,
    .nav-cta .btn-ghost {
        display: none;
    }

    .nav-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav-cta .btn-primary {
        padding: 10px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    body.nav-open .nav-links {
        display: flex;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 28px;
        gap: 18px;
    }

    body.nav-open .nav-links .nav-login-mobile {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    section {
        padding: 48px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        padding: 44px 26px;
        margin: 0 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Added for the multi-page Enquiq marketing site ---- */

/* Inner-page hero banner */

.page-hero {
    padding: 64px 0 32px;
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(6, 182, 212, 0.14), transparent 60%),
        radial-gradient(700px 380px at 0% 0%, rgba(30, 111, 217, 0.12), transparent 55%);
    text-align: center;
}

/* The hero already has bottom padding; don't stack full section padding around the text that follows it */
.page-hero + section {
    padding: 8px 0 40px;
}

.page-hero + section + section {
    padding-top: 40px;
}

.page-hero .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.page-hero h1 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero .lede {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.badge-soon {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(30, 111, 217, 0.12);
    color: var(--blue);
    margin-left: 10px;
    vertical-align: middle;
}

.feature-card.soon {
    border-style: dashed;
    opacity: 0.85;
}

/* Forms (contact / demo request) */

.form-card {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.field input,
.field select,
.field textarea {
    font: inherit;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--teal);
    outline-offset: 1px;
}

.form-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

.form-note.is-success {
    color: #15803d;
    font-weight: 600;
}

.form-note.is-error {
    color: #b91c1c;
    font-weight: 600;
}

/* Spam honeypot: hidden from people, still in the DOM for bots */
.hp {
    position: absolute;
    left: -9999px;
}

/* Contact page layout */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info h3 {
    margin-top: 28px;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p a {
    color: var(--blue);
    font-weight: 600;
}

/* Legal pages */

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 22px;
    margin-top: 40px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    font-size: 15px;
}

.legal-content .updated {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Added for the Enquiq conversational-platform rebuild ---- */

/* Matches the logo artwork: regular weight, navy, tucked just under the wordmark */
.brand-sub {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--navy);
    letter-spacing: 0;
    margin-top: 2px;
    white-space: nowrap;
}

/* Small phones: logo + wordmark only, the tagline can't fit beside the buttons */
@media (max-width: 480px) {
    .site-header .brand-sub {
        display: none;
    }

    .site-header .brand-wordmark {
        height: 26px;
    }

    .site-header .brand .brand-mark {
        width: 42px;
        height: 42px;
    }
}

.brand-col {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-disclosure {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 6px;
}

/* 4-up card grid (used where exactly 4 items need to feel balanced,
   unlike the 3-up .feature-grid) */

.feature-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* Plain benefit blocks — no card border, for sections that should feel
   airy rather than boxed (per design direction: not everything needs a card) */

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.benefit-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit {
    text-align: center;
}

.benefit .benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.12);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 14px;
}

.benefit h3 {
    font-size: 15px;
    margin: 0 0 6px;
}

.benefit p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.fine-print {
    text-align: center;
    color: var(--muted);
    font-size: 12.5px;
    max-width: 640px;
    margin: 40px auto 0;
}

/* Secondary use cases — lighter-weight than the primary restaurant block,
   deliberately not styled as equally mature feature cards */

.usecase-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.usecase-pills span {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
}

/* Reusable node -> arrow -> node flow strip. Used for the platform hierarchy
   diagram (Business -> Enquiq -> WhatsApp -> Customers) and for each product
   demonstration's step chain (Customer -> ... -> Result). */

.flow-chain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.flow-chain .node {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
}

.flow-chain .node.soon {
    border-style: dashed;
    color: var(--muted);
    background: var(--bg-alt);
}

.flow-chain .sep {
    color: var(--line);
    font-size: 16px;
}

.demo-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}

/* Demo-card flows read top-to-bottom, so stack them vertically instead of
   wrapping a horizontal row — removes any ambiguity about where a line breaks. */
.demo-card .flow-chain {
    flex-direction: column;
    gap: 10px;
}

.demo-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}

.demo-label.soon {
    color: var(--blue);
}

@media (max-width: 900px) {
    .feature-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-grid,
    .benefit-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .feature-grid-4,
    .benefit-grid,
    .benefit-grid-3 {
        grid-template-columns: 1fr;
    }

    .flow-chain {
        flex-direction: column;
    }

    .flow-chain .sep {
        transform: rotate(90deg);
    }
}
