/* landing/css/styles.css */

:root {
    /* Colors */
    --bg: #ffffff;
    --bg-alt: #f8f9fb;
    --text: #0f1419;
    --text-body: #475467;
    --text-muted: #98a2b3;
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: rgba(79, 70, 229, 0.08);
    --violet: #7c3aed;
    --green: #059669;
    --green-bg: rgba(5, 150, 105, 0.08);
    --blue: #3b82f6;
    --blue-bg: rgba(59, 130, 246, 0.08);
    --red: #dc2626;
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-pill: 100px;

    /* Typography */
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Layout */
    --max-w: 1200px;
}

[data-theme="dark"] {
    --bg: #0f1117;
    --bg-alt: #161925;
    --text: #f0f2f5;
    --text-body: #a0a8b8;
    --text-muted: #636d80;
    --primary: #6366f1;
    --primary-hover: #818cf8;
    --primary-light: rgba(99, 102, 241, 0.12);
    --violet: #8b5cf6;
    --green: #10b981;
    --green-bg: rgba(16, 185, 129, 0.12);
    --blue: #60a5fa;
    --blue-bg: rgba(96, 165, 250, 0.12);
    --red: #ef4444;
    --border: #1e2231;
    --border-strong: #2a3042;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ------------------------------------------------------------------ */
/* Reset                                                               */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ------------------------------------------------------------------ */
/* Layout                                                              */
/* ------------------------------------------------------------------ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* Eyebrow                                                             */
/* ------------------------------------------------------------------ */
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 16px;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}
.btn-primary.large { padding: 16px 36px; font-size: 16px; }
.btn-primary.wide { width: 100%; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: all 0.2s ease;
}
.btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-strong);
    background: var(--bg-alt);
}
.btn-ghost.large { padding: 16px 36px; font-size: 16px; }
.btn-ghost.wide { width: 100%; }

/* ------------------------------------------------------------------ */
/* Announcement Bar                                                    */
/* ------------------------------------------------------------------ */
.announcement-bar {
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
}
.announcement-bar a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
    margin-left: 4px;
}
.announcement-bar a:hover { opacity: 0.85; }

/* ------------------------------------------------------------------ */
/* Nav                                                                 */
/* ------------------------------------------------------------------ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .nav {
    background: rgba(15, 17, 23, 0.92);
}
[data-theme="dark"] .nav.scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.2s;
}
.theme-toggle:hover {
    color: var(--text);
    border-color: var(--border-strong);
    background: var(--bg-alt);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.04em;
    color: var(--text);
}
.logo-icon { width: 24px; height: 24px; color: var(--primary); }

.hamburger { display: none; padding: 4px; flex-direction: column; gap: 6px; }
.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s;
}

/* ------------------------------------------------------------------ */
/* Mobile Menu                                                         */
/* ------------------------------------------------------------------ */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    z-index: 99;
    padding: 24px 32px;
    flex-direction: column;
    gap: 4px;
}
[data-theme="dark"] .mobile-menu {
    background: rgba(15, 17, 23, 0.98);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-body);
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 40px;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero-mesh::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.07), rgba(124, 58, 237, 0.04), transparent 70%);
}
.hero-mesh::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 165, 0.06), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { text-align: left; }
.hero-heading {
    font-size: clamp(2.75rem, 5.5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--text);
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.hero-trust {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.hero-stat {
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    padding-top: 48px;
    position: relative;
    z-index: 1;
}
.hero-stat strong {
    color: var(--text);
    font-weight: 700;
}

/* Hero mockup float */
.hero-mockup-wrap { position: relative; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-float { animation: float 6s ease-in-out infinite; }

/* Dashboard card */
.dashboard-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.dash-title { font-weight: 600; font-size: 14px; color: var(--text); }
.dash-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
}
.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.dash-list { padding: 4px 0; }
.dash-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    transition: background 0.2s;
}
.dash-row:hover { background: var(--bg-alt); }
.dash-role { font-weight: 500; color: var(--text); }
.dash-company { color: var(--text-muted); font-size: 13px; }
.dash-score {
    font-weight: 700;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 6px;
    color: var(--text-muted);
    background: var(--bg-alt);
    font-variant-numeric: tabular-nums;
}
.dash-score.high { color: var(--green); background: var(--green-bg); }
.dash-status {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}
.dash-status.applied { background: var(--green-bg); color: var(--green); }
.dash-status.applying { background: var(--blue-bg); color: var(--blue); animation: statusBlink 1.5s infinite; }
.dash-status.pending { background: var(--bg-alt); color: var(--text-muted); }
@keyframes statusBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.dash-row.queued .dash-role { color: var(--text-muted); }

.dash-footer {
    display: flex;
    gap: 20px;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}
.dash-footer strong { color: var(--text-body); }



/* ------------------------------------------------------------------ */
/* Numbers                                                             */
/* ------------------------------------------------------------------ */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.num-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}
.num-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.num {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    line-height: 1;
    margin-bottom: 8px;
}
.num-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ------------------------------------------------------------------ */
/* Pipeline                                                            */
/* ------------------------------------------------------------------ */
.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}
.pipeline-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: left;
    transition: box-shadow 0.3s, transform 0.3s;
}
.pipeline-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.pipeline-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.pipeline-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.pipeline-card p { color: var(--text-body); font-size: 14px; line-height: 1.7; }

/* ------------------------------------------------------------------ */
/* Bento Features Grid                                                 */
/* ------------------------------------------------------------------ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.bento-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}
.bento-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.bento-wide {
    grid-column: span 2;
}
.bento-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.bento-content p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 24px;
}
.bento-visual { margin-top: auto; }

/* Sources pills */
.bento-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.source-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text-body);
}
.source-more {
    background: var(--primary-light);
    color: var(--primary);
    border-color: transparent;
    font-weight: 700;
}

/* Gauge */
.bento-gauge { display: flex; justify-content: center; }
.gauge-ring {
    position: relative;
    width: 80px;
    height: 80px;
}
.gauge-ring svg { width: 80px; height: 80px; }
.gauge-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 800;
    color: var(--green);
}

/* Resume mini */
.bento-resume {
    display: flex;
    align-items: center;
    gap: 12px;
}
.resume-mini { flex: 1; }
.resume-mini-line {
    height: 6px;
    background: var(--bg-alt);
    border-radius: 3px;
    margin-bottom: 6px;
}
.resume-mini-line:last-child { margin-bottom: 0; }
.resume-mini-line.highlight { background: linear-gradient(90deg, rgba(79, 70, 229, 0.15), rgba(5, 150, 105, 0.15)); }
.resume-mini-line.w40 { width: 40%; }
.resume-mini-line.w50 { width: 50%; }
.resume-mini-line.w60 { width: 60%; }
.resume-mini-line.w70 { width: 70%; }
.resume-mini-line.w80 { width: 80%; }
.resume-mini-line.w90 { width: 90%; }
.resume-mini.tailored .resume-mini-line.highlight {
    background: linear-gradient(90deg, rgba(5, 150, 105, 0.2), rgba(79, 70, 229, 0.2));
}
.resume-arrow-icon { color: var(--text-muted); flex-shrink: 0; }

/* Letter preview */
.letter-preview { padding: 12px; background: var(--bg-alt); border-radius: var(--radius-sm); }
.letter-line {
    height: 5px;
    background: var(--border);
    border-radius: 3px;
    margin-bottom: 6px;
}
.letter-line:last-child { margin-bottom: 0; }
.letter-line.w40 { width: 40%; }
.letter-line.w60 { width: 60%; }
.letter-line.w70 { width: 70%; }
.letter-line.w80 { width: 80%; }
.letter-line.w90 { width: 90%; }

/* Flow steps */
.bento-flow {
    display: flex;
    align-items: center;
    gap: 8px;
}
.flow-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
}
.flow-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid var(--border);
    flex-shrink: 0;
}
.flow-check.done {
    background: var(--green);
    border-color: var(--green);
    color: #ffffff;
}
.flow-connector {
    width: 24px;
    height: 2px;
    background: var(--border);
    flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/* Steps Flow (3-step horizontal)                                      */
/* ------------------------------------------------------------------ */
.steps-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
}
.step-card {
    flex: 1;
    text-align: center;
    padding: 32px 24px;
}
.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.step-icon-success {
    background: var(--green-bg);
    color: var(--green);
}
.step-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.step-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 260px;
    margin: 0 auto;
}
.step-connector {
    display: flex;
    align-items: center;
    padding-top: 56px;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/* Before / After                                                      */
/* ------------------------------------------------------------------ */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.ba-col {
    border-radius: var(--radius);
    padding: 36px 32px;
}
.ba-before {
    background: #f3f4f6;
    border: 1px solid var(--border);
}
[data-theme="dark"] .ba-before {
    background: var(--bg-alt);
}
.ba-after {
    background: var(--bg);
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}
.ba-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.ba-before .ba-heading { color: var(--text-muted); }
.ba-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-body);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.ba-list li:last-child { border-bottom: none; }
[data-theme="dark"] .ba-list li {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}
.ba-before .ba-list li { color: var(--text-muted); }
.ba-x {
    color: var(--text-muted);
    font-size: 14px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.ba-check {
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/* Comparison Table                                                    */
/* ------------------------------------------------------------------ */
.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.comparison-table th {
    font-weight: 600;
    color: var(--text-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--bg-alt);
    position: sticky;
    top: 0;
}
.comparison-table td { color: var(--text-body); }
.comparison-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table .highlight-col {
    color: var(--text);
    font-weight: 600;
    background: rgba(79, 70, 229, 0.04);
}
.comparison-table th.highlight-col { color: var(--primary); }
.table-check { color: var(--green); font-weight: 700; }
.table-x { color: var(--text-muted); }

/* ------------------------------------------------------------------ */
/* Testimonials                                                        */
/* ------------------------------------------------------------------ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: left;
    transition: box-shadow 0.3s, transform 0.3s;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.testimonial-quote {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}
.testimonial-info { display: flex; flex-direction: column; }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--primary); }
.faq-icon {
    font-size: 20px;
    color: var(--text-muted);
    transition: all 0.3s;
    font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--primary); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p {
    padding-bottom: 22px;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.75;
    max-width: 600px;
}

/* ------------------------------------------------------------------ */
/* CTA Section                                                         */
/* ------------------------------------------------------------------ */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--violet));
    text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-heading {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: 1.15;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    margin-bottom: 20px;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.cta-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 40px;
    background: var(--bg);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 8px;
}
.footer-logo .logo-icon { width: 22px; height: 22px; color: var(--primary); }
.footer-tagline { font-size: 14px; color: var(--text-muted); }
.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ------------------------------------------------------------------ */
/* Modals                                                              */
/* ------------------------------------------------------------------ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    width: 100%;
    max-width: 420px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.3s;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-x {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 24px;
    color: var(--text-muted);
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}
.modal-x:hover { background: var(--bg-alt); color: var(--text); }

.modal h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
    color: var(--text);
}
.modal-sub { color: var(--text-body); font-size: 14px; margin-bottom: 22px; }

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg);
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    transition: all 0.2s;
}
.btn-google:hover { background: var(--bg-alt); transform: translateY(-1px); }

.or { display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.or span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

.modal label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
    margin-bottom: 14px;
}
.input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--text-muted); }
.input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.forgot-link { display: inline-block; font-size: 13px; color: var(--text-body); margin-bottom: 16px; }
.forgot-link:hover { color: var(--primary); text-decoration: underline; }

.modal-footer-text { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-muted); }
.modal-footer-text a { color: var(--primary); font-weight: 600; }
.modal-footer-text a:hover { text-decoration: underline; }

.form-error-banner {
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.15);
    color: var(--red);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 14px;
    display: none;
}
.form-error-banner.visible { display: block; }

.success-state { text-align: center; padding: 16px 0; display: none; }
.success-state.active { display: block; }
.success-check {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-bg);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}
.success-state h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.success-state p { color: var(--text-body); font-size: 14px; }

/* ------------------------------------------------------------------ */
/* Animations                                                          */
/* ------------------------------------------------------------------ */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.06s; }
.stagger > *:nth-child(3) { transition-delay: 0.12s; }
.stagger > *:nth-child(4) { transition-delay: 0.18s; }
.stagger > *:nth-child(5) { transition-delay: 0.24s; }
.stagger > *:nth-child(6) { transition-delay: 0.30s; }

/* ------------------------------------------------------------------ */
/* Responsive: 1024px                                                  */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { text-align: center; }
    .hero-mockup-wrap { max-width: 520px; margin: 0 auto; }
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-wide { grid-column: span 2; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
}

/* ------------------------------------------------------------------ */
/* Responsive: 768px                                                   */
/* ------------------------------------------------------------------ */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-inner { padding: 0 20px; }
    .nav-right { display: none; }
    .hamburger { display: flex; }

    .section { padding: 80px 0; }
    .section-header { margin-bottom: 48px; }
    .section-heading { font-size: 1.75rem; }

    .hero { padding: 48px 0 40px; }
    .hero-heading { font-size: 2.25rem; }
    .hero-subtitle { font-size: 16px; }

    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .pipeline-grid { grid-template-columns: 1fr 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .before-after { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

    .steps-flow { flex-direction: column; align-items: center; }
    .step-connector {
        padding-top: 0;
        transform: rotate(90deg);
        margin: -8px 0;
    }

    .comparison-table th,
    .comparison-table td { padding: 10px 14px; font-size: 13px; }

    .dash-row { grid-template-columns: 1fr auto auto; gap: 8px; }
    .dash-company { display: none; }


}

/* ------------------------------------------------------------------ */
/* Responsive: 480px                                                   */
/* ------------------------------------------------------------------ */
@media (max-width: 480px) {
    .hero-heading { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost { width: 100%; }
    .numbers-grid { grid-template-columns: 1fr; }
    .pipeline-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .modal { padding: 28px 20px; border-radius: 16px; }
    .cta-heading { font-size: 1.75rem; }

    .bento-flow { flex-wrap: wrap; }
}
