/* =====================================================================
   VideoIQ — Public site stylesheet
   Type: Fraunces (display) + Inter (body/UI)
   Palette: Paper / Ink Plum / Signal Violet / Studio Pink / Broadcast Blue
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --paper: #FBFAFE;
    --mist: #F3EFFC;
    --mist-2: #EEF2FF;
    --ink: #1E1B2E;
    --ink-soft: #635C74;
    --ink-faint: #9891A8;
    --line: #E7E1F5;
    --violet: #7C3AED;
    --violet-dark: #5B21B6;
    --pink: #EC4899;
    --blue: #3B82F6;
    --white: #FFFFFF;
    --success: #16A34A;

    --gradient-brand: linear-gradient(120deg, var(--violet) 0%, #A855F7 45%, var(--pink) 100%);
    --gradient-soft: linear-gradient(160deg, #F5F0FF 0%, #FDF1F8 50%, #EFF5FF 100%);

    --shadow-sm: 0 2px 8px rgba(76, 29, 149, 0.06);
    --shadow-md: 0 12px 32px rgba(76, 29, 149, 0.10);
    --shadow-lg: 0 24px 60px rgba(76, 29, 149, 0.16);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --container: 1180px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    margin: 0 0 16px;
    color: var(--ink);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 16px; color: var(--ink-soft); max-width: 62ch; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--violet-dark);
    background: var(--mist);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gradient-brand);
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section--alt { background: var(--mist-2); }

/* ---------------------------- Buttons ---------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--gradient-brand);
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); }

.btn-secondary {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--violet); background: var(--mist); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--violet); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ------------------------------ Nav ------------------------------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 254, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--ink);
}
.nav-logo .mark {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: flex; align-items: center; justify-content: center;
    color: white; font-family: var(--font-body); font-weight: 800; font-size: 0.95rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    font-weight: 500;
    font-size: 0.96rem;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--violet); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
    .nav-links, .nav-actions .btn-secondary { display: none; }
    .nav-toggle { display: block; }
}

/* ------------------------------ Hero ------------------------------ */

.hero {
    padding: 64px 0 40px;
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}
.hero .container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero-copy .eyebrow { background: rgba(255,255,255,0.7); }
.hero h1 { margin-bottom: 20px; }
.hero-copy p { font-size: 1.12rem; max-width: 46ch; }
.hero-cta { display: flex; gap: 16px; margin: 30px 0 34px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-trust span {
    font-size: 0.88rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px;
}
.hero-trust svg { width: 16px; height: 16px; color: var(--violet); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    position: relative;
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    width: 260px;
}
.floating-card.metrics {
    bottom: -34px;
    left: -46px;
}
.floating-card.metrics .fc-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.floating-card.metrics .fc-head strong { font-size: 0.85rem; color: var(--ink); }
.floating-card.metrics .fc-head .live {
    font-size: 0.7rem; color: var(--success); background: #EAFBF0;
    padding: 3px 9px; border-radius: 999px; font-weight: 600;
}
.metric-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.metric-grid .metric-label { font-size: 0.72rem; color: var(--ink-faint); margin-bottom: 2px; }
.metric-grid .metric-value { font-size: 1.15rem; font-weight: 700; font-family: var(--font-display); }
.metric-grid .metric-value.up { color: var(--success); }

.floating-card.ai-tip {
    top: -24px;
    right: -30px;
    width: 230px;
    display: flex; gap: 10px; align-items: flex-start;
}
.floating-card.ai-tip .icon {
    width: 30px; height: 30px; border-radius: 9px;
    background: var(--gradient-brand); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; color: white;
}
.floating-card.ai-tip .icon svg { width: 16px; height: 16px; }
.floating-card.ai-tip p { margin: 0; font-size: 0.78rem; color: var(--ink); line-height: 1.4; }
.floating-card.ai-tip .label { font-size: 0.68rem; color: var(--violet-dark); font-weight: 700; margin-bottom: 3px; display:block; }

@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { max-width: 420px; margin: 0 auto; order: -1; }
    .floating-card.metrics { left: 0; bottom: -24px; }
    .floating-card.ai-tip { right: 0; top: -18px; }
}

/* --------------------------- Logo strip ---------------------------- */
.logo-strip { padding: 36px 0; }
.logo-strip p { text-align: center; font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 22px; }
.logo-row {
    display: flex; justify-content: center; align-items: center; gap: 48px;
    flex-wrap: wrap; opacity: 0.55; filter: grayscale(1);
}
.logo-row span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }

/* ----------------------------- Feature showcase --------------------- */

.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.showcase-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.showcase-image img { width: 100%; height: 100%; object-fit: cover; }
.showcase-list { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; }
.showcase-list li { display: flex; gap: 12px; font-size: 0.96rem; color: var(--ink); align-items: flex-start; }
.showcase-list svg { width: 20px; height: 20px; color: var(--violet); flex-shrink: 0; margin-top: 2px; }

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

/* ----------------------------- Tool cards ---------------------------- */

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.tool-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.tool-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tool-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: white;
}
.tool-icon svg { width: 24px; height: 24px; }
.tool-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.tool-card p { font-size: 0.93rem; margin-bottom: 0; }

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

/* ------------------------------ Steps -------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.step-card { text-align: left; }
.step-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 5/4;
    margin-bottom: 22px;
    box-shadow: var(--shadow-md);
    position: relative;
}
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step-number {
    position: absolute; top: 16px; left: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--white); color: var(--violet-dark);
    font-family: var(--font-display); font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: 0.95rem; }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* ----------------------------- Pricing -------------------------------- */

.pricing-toggle {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin-bottom: 46px; font-size: 0.92rem; color: var(--ink-soft); font-weight: 500;
}
.pricing-toggle .switch {
    width: 46px; height: 26px; background: var(--line); border-radius: 999px;
    position: relative; border: none;
}
.pricing-toggle .switch::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 20px; height: 20px; border-radius: 50%; background: var(--white);
    box-shadow: var(--shadow-sm); transition: left 0.2s ease;
}
.pricing-toggle .switch.on { background: var(--gradient-brand); }
.pricing-toggle .switch.on::after { left: 23px; }
.pricing-toggle .save-badge {
    font-size: 0.74rem; background: var(--mist); color: var(--violet-dark);
    padding: 3px 9px; border-radius: 999px; font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}
.price-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.price-card.featured {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
    position: relative;
}
.price-card.featured .plan-tag { color: rgba(255,255,255,0.65); }
.price-card.featured p { color: rgba(255,255,255,0.72); }
.price-card.featured .price-amount { color: white; }
.price-card.featured ul li { color: rgba(255,255,255,0.9); }
.price-card.featured ul svg { color: #C4B5FD; }

.badge-popular {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-brand); color: white;
    font-size: 0.75rem; font-weight: 700; padding: 6px 16px; border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.plan-tag { font-size: 0.85rem; font-weight: 600; color: var(--violet-dark); margin-bottom: 6px; }
.plan-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; }
.price-amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; margin: 12px 0 4px; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--ink-faint); font-family: var(--font-body); }
.price-card.featured .price-amount span { color: rgba(255,255,255,0.6); }
.price-card ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 13px; flex-grow: 1; }
.price-card ul li { display: flex; gap: 10px; font-size: 0.92rem; align-items: flex-start; }
.price-card ul svg { width: 18px; height: 18px; color: var(--violet); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .price-card.featured { transform: none; }
}

/* --------------------------- Testimonials ------------------------------ */

.testimonial-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.testimonial-card p { color: var(--ink); font-size: 0.98rem; margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img {
    width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
}
.testimonial-person strong { display: block; font-size: 0.92rem; }
.testimonial-person span { font-size: 0.82rem; color: var(--ink-faint); }

@media (max-width: 900px) { .testimonial-row { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* -------------------------------- FAQ ----------------------------------- */

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 6px 24px;
}
.faq-item summary {
    padding: 18px 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { font-size: 1.4rem; color: var(--violet); transition: transform 0.2s ease; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { padding-bottom: 20px; margin: 0; font-size: 0.94rem; }

/* -------------------------------- CTA ------------------------------------ */

.cta-band {
    background: var(--ink);
    border-radius: var(--radius-lg);
    padding: 64px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--gradient-brand);
    opacity: 0.16;
}
.cta-band h2 { color: white; margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.72); position: relative; margin-bottom: 28px; }
.cta-band .btn-primary { position: relative; }
.cta-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.cta-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
    .cta-band { grid-template-columns: 1fr; padding: 44px 28px; text-align: center; }
    .cta-image { max-width: 320px; margin: 0 auto; }
}

/* ------------------------------- Footer ----------------------------------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 72px 0 32px; }
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .nav-logo { color: white; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.footer-col h4 { color: white; font-family: var(--font-body); font-size: 0.85rem; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: white; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 28px; font-size: 0.82rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px;
}

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

/* ----------------------------- Mobile nav drawer --------------------------- */

.mobile-drawer {
    position: fixed; inset: 0; background: var(--paper);
    z-index: 100; display: none; flex-direction: column;
    padding: 24px; overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.mobile-drawer a {
    padding: 16px 0; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-drawer .btn { margin-top: 24px; }

/* ------------------------------- Utility ------------------------------------ */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.disclaimer-note {
    font-size: 0.82rem; color: var(--ink-faint); text-align: center; margin-top: 18px;
}
