/* VoxBridge AI — Public marketing site (home, features, pricing,
   about, contact). Same design tokens as the rest of the app
   (auth.css/dashboard.css/meeting.css) for a cohesive feel, but its
   own conventional marketing-site layout: sticky top nav + scrolling
   sections, rather than the authenticated-app shell. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #F7F7F5; --surface: #FFFFFF; --ink: #14151A; --ink-soft: #585A66; --ink-faint: #8A8C97;
    --primary: #322F92; --primary-dark: #211F63; --accent: #17B8A6;
    --danger: #C4392B; --danger-bg: #FBEAE7; --success: #0E6656; --success-bg: #E4F7F3;
    --warning: #8A6D1D; --warning-bg: #FBF3DC; --border: #E3E3DF; --radius: 10px;
    --font-display: 'Inter', system-ui, sans-serif; --font-body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Entrance animation — a small, tasteful touch that makes the
   hero feel considered rather than static. Pure CSS, no JS needed. */
@keyframes mktFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.mkt-hero .mkt-eyebrow { animation: mktFadeUp 0.6s ease both; }
.mkt-hero h1 { animation: mktFadeUp 0.6s ease 0.08s both; }
.mkt-hero p.lede { animation: mktFadeUp 0.6s ease 0.16s both; }
.mkt-hero-actions { animation: mktFadeUp 0.6s ease 0.24s both; }
.mkt-hero-note { animation: mktFadeUp 0.6s ease 0.3s both; }
.mkt-hero-wave { animation: mktFadeUp 0.7s ease 0.36s both; }

/* ---- Top nav ---- */
.mkt-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247,247,245,0.85); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.mkt-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1120px; margin: 0 auto; }
.mkt-logo { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--primary-dark); display: flex; align-items: center; gap: 8px; }
.mkt-logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }
.mkt-nav-links { display: flex; align-items: center; gap: 30px; }
.mkt-nav-links a { color: var(--ink-soft); font-size: 14.5px; font-weight: 500; transition: color 0.15s ease; }
.mkt-nav-links a:hover { color: var(--ink); }
.mkt-nav-actions { display: flex; align-items: center; gap: 12px; }
.mkt-btn { font-family: var(--font-body); font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: var(--radius); cursor: pointer; display: inline-block; transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease; }
.mkt-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.mkt-btn-ghost:hover { background: var(--surface); }
.mkt-btn-primary { background: var(--primary); color: #fff; border: none; box-shadow: 0 3px 10px rgba(50,47,146,0.25); }
.mkt-btn-primary:hover { background: var(--primary-dark); box-shadow: 0 5px 16px rgba(50,47,146,0.32); transform: translateY(-1px); }
@media (max-width: 780px) { .mkt-nav-links { display: none; } }

/* ---- Hero ---- */
.mkt-hero { padding: 84px 24px 70px; text-align: center; position: relative; overflow: hidden; }
.mkt-hero::before {
    content: ""; position: absolute; inset: -20% -10% auto -10%; height: 480px;
    background: radial-gradient(ellipse at top, rgba(50,47,146,0.10) 0%, rgba(23,184,166,0.05) 45%, transparent 70%);
    z-index: -1;
}
.mkt-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-bottom: 22px; }
.mkt-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.mkt-hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; max-width: 780px; margin: 0 auto 20px; }
.mkt-hero h1 .accent { color: var(--primary); }
.mkt-hero p.lede { font-size: 18px; color: var(--ink-soft); max-width: 560px; margin: 0 auto 34px; }
.mkt-hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.mkt-hero-actions .mkt-btn { padding: 13px 26px; font-size: 15px; }
.mkt-hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-faint); }

.mkt-hero-wave { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 56px; margin: 46px auto 0; }
.mkt-hero-wave span { display: block; width: 7px; border-radius: 4px; background: var(--border); }
.mkt-hero-wave span.live { background: var(--accent); }

/* ---- Section shell ---- */
.mkt-section { padding: 72px 24px; }
.mkt-section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mkt-section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.mkt-section-head .mkt-kicker { color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; display: block; }
.mkt-section-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 14px; }
.mkt-section-head p { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* ---- What it is ---- */
.mkt-whatitis { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1120px; margin: 0 auto; }
@media (max-width: 860px) { .mkt-whatitis { grid-template-columns: 1fr; } }
.mkt-whatitis-copy p { color: var(--ink-soft); font-size: 16px; margin: 0 0 16px; }
.mkt-whatitis-visual { background: linear-gradient(160deg, #1D1E45 0%, #14152F 100%); border-radius: 18px; padding: 26px; box-shadow: 0 20px 50px rgba(20,21,45,0.22); }
.mkt-mock-tile { background: #101226; border-radius: 12px; aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); position: relative; }
.mkt-mock-tile .avatar-circle { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, var(--accent) 0%, var(--primary) 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.mkt-mock-caption { background: rgba(16,18,38,0.9); border-radius: 10px; padding: 12px 14px; }
.mkt-mock-caption .orig { color: #8D8CBE; font-size: 12.5px; margin-bottom: 3px; }
.mkt-mock-caption .trans { color: #fff; font-size: 14px; }

/* ---- How it works ---- */
.mkt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1120px; margin: 0 auto; }
@media (max-width: 900px) { .mkt-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mkt-steps { grid-template-columns: 1fr; } }
.mkt-step { text-align: center; }
.mkt-step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0 auto 16px; box-shadow: 0 4px 12px rgba(50,47,146,0.25); }
.mkt-step h3 { font-size: 16px; margin-bottom: 8px; }
.mkt-step p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---- Features grid ---- */
.mkt-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; }
@media (max-width: 860px) { .mkt-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mkt-features { grid-template-columns: 1fr; } }
.mkt-feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px; box-shadow: 0 1px 3px rgba(20,21,26,0.04); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.mkt-feature-card:hover { box-shadow: 0 10px 26px rgba(20,21,26,0.08); transform: translateY(-2px); }
.mkt-feature-icon { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(145deg, var(--accent) 0%, var(--primary) 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 19px; margin-bottom: 16px; }
.mkt-feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.mkt-feature-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---- Pricing ---- */
.mkt-pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; align-items: stretch; }
@media (max-width: 940px) { .mkt-pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mkt-pricing { grid-template-columns: 1fr; } }
.mkt-price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(20,21,26,0.04); transition: box-shadow 0.15s ease, transform 0.15s ease; }
.mkt-price-card:hover { box-shadow: 0 12px 30px rgba(20,21,26,0.09); transform: translateY(-2px); }
.mkt-price-card.featured { border-color: var(--primary); box-shadow: 0 12px 34px rgba(50,47,146,0.16); position: relative; }
.mkt-price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.mkt-price-card h3 { font-size: 17px; margin-bottom: 6px; }
.mkt-price-amount { font-family: var(--font-display); font-weight: 800; font-size: 34px; margin: 6px 0 4px; }
.mkt-price-amount span { font-size: 14px; font-weight: 500; color: var(--ink-faint); }
.mkt-price-list { list-style: none; margin: 18px 0 22px; padding: 0; flex: 1; }
.mkt-price-list li { font-size: 13.5px; color: var(--ink-soft); padding: 6px 0; padding-left: 22px; position: relative; }
.mkt-price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---- CTA banner ---- */
.mkt-cta-banner { background: radial-gradient(ellipse at top, #3833A8 0%, var(--primary-dark) 55%, #17153F 100%); border-radius: 24px; max-width: 1120px; margin: 0 auto; padding: 56px 40px; text-align: center; color: #fff; }
.mkt-cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.mkt-cta-banner p { color: #C7C6E4; font-size: 16px; margin: 0 0 28px; }

/* ---- Footer ---- */
.mkt-footer { border-top: 1px solid var(--border); padding: 48px 24px 32px; background: var(--surface); }
.mkt-footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.mkt-footer-brand { max-width: 280px; }
.mkt-footer-brand p { color: var(--ink-faint); font-size: 13.5px; margin-top: 10px; }
.mkt-footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.mkt-footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); margin-bottom: 14px; font-weight: 600; }
.mkt-footer-col a { display: block; color: var(--ink-soft); font-size: 14px; margin-bottom: 10px; }
.mkt-footer-col a:hover { color: var(--primary); }
.mkt-footer-bottom { max-width: 1120px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid var(--border); color: var(--ink-faint); font-size: 13px; }

/* ---- About / Contact inner pages ---- */
.mkt-page-hero { padding: 60px 24px 20px; text-align: center; }
.mkt-page-hero h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.mkt-page-hero p { color: var(--ink-soft); font-size: 17px; max-width: 600px; margin: 0 auto; }
.mkt-prose { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.mkt-prose h2 { color: var(--ink); font-size: 22px; margin: 36px 0 14px; }
.mkt-prose h2:first-child { margin-top: 0; }
.mkt-prose ul { padding-left: 22px; }
.mkt-prose li { margin-bottom: 8px; }

.mkt-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; max-width: 980px; margin: 0 auto; padding: 40px 24px 90px; }
@media (max-width: 760px) { .mkt-contact-grid { grid-template-columns: 1fr; } }
.mkt-contact-info h2 { font-size: 20px; margin-bottom: 14px; }
.mkt-contact-info p { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }
.mkt-contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.mkt-contact-detail .icon { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.mkt-contact-detail .label { font-size: 13px; color: var(--ink-faint); }
.mkt-contact-detail .value { font-size: 14.5px; font-weight: 500; }

.mkt-form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: 0 1px 3px rgba(20,21,26,0.04); }
.mkt-field { margin-bottom: 18px; }
.mkt-field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.mkt-field input, .mkt-field textarea { width: 100%; font-family: var(--font-body); font-size: 14.5px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--ink); }
.mkt-field input:focus, .mkt-field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.mkt-field textarea { resize: vertical; min-height: 110px; }
.mkt-field-error { color: var(--danger); font-size: 12.5px; margin-top: 4px; display: none; }
.mkt-field.has-error input, .mkt-field.has-error textarea { border-color: var(--danger); }
.mkt-field.has-error .mkt-field-error { display: block; }
.mkt-alert { display: none; border-radius: var(--radius); padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.mkt-alert.show { display: block; }
.mkt-alert-success { background: var(--success-bg); color: var(--success); }
.mkt-alert-error { background: var(--danger-bg); color: var(--danger); }
