/* ===== PARVIS AI — PREMIUM DESIGN SYSTEM ===== */

:root {
    --bg: #0a0c14;
    --bg-elevated: #10131e;
    --bg-card: #141720;
    --bg-accent-subtle: rgba(91,127,214,0.06);
    --text: #eaecf2;
    --text-secondary: #8e95aa;
    --text-muted: #555d72;
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(255,255,255,0.14);
    --accent: #5B7FD6;
    --accent-hover: #7B9AE8;
    --accent-subtle: rgba(91,127,214,0.12);
    --accent-deep: #3A5BA0;
    --green: #6ee7a0;
    --green-subtle: rgba(110,231,160,0.1);
    --red: #e87777;
    --radius: 4px;
    --radius-sm: 2px;
    --radius-lg: 6px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'DM Serif Display', Georgia, serif;
    --shadow: 0 2px 8px rgba(0,0,0,0.2), 0 8px 32px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.3);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ===== RESET ===== */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,0.08) transparent; }
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:rgba(255,255,255,0.08); border-radius:3px; }
body {
    font-family:var(--font);
    background:var(--bg);
    color:var(--text);
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    letter-spacing:-0.01em;
    overflow-x:hidden;
}
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
::selection { background:rgba(91,127,214,0.25); color:#fff; }
.container { max-width:1120px; margin:0 auto; padding:0 36px; }


/* ===== PAGE TRANSITIONS ===== */

.page-transition { animation:pageIn 0.7s var(--ease); }
@keyframes pageIn {
    from { opacity:0; transform:translateY(20px); }
    to { opacity:1; transform:translateY(0); }
}
.page-leaving { animation:pageOut 0.4s var(--ease) forwards; }
@keyframes pageOut {
    from { opacity:1; transform:translateY(0); }
    to { opacity:0; transform:translateY(-12px); }
}


/* ===== NAVIGATION ===== */

#navbar {
    position:fixed; top:0; left:0; right:0; z-index:1000;
    background:rgba(12,12,20,0.75);
    backdrop-filter:blur(32px) saturate(180%);
    -webkit-backdrop-filter:blur(32px) saturate(180%);
    border-bottom:1px solid var(--border);
    transition:background 0.4s ease;
}
.nav-container {
    max-width:1120px; margin:0 auto; padding:0 36px;
    display:flex; align-items:center; justify-content:space-between; height:72px;
}
.logo { font-family:var(--font); font-weight:700; font-size:1.15rem; letter-spacing:-0.02em; color:var(--text); }
.logo-accent { color:var(--accent); }
.nav-links { display:flex; align-items:center; gap:32px; }
.nav-links a {
    font-size:0.85rem; color:var(--text-secondary); font-weight:400;
    letter-spacing:0.01em; transition:color 0.3s ease; position:relative;
}
.nav-links a:hover { color:var(--text); }
.nav-links a.nav-active { color:var(--text); }
.nav-links a.nav-active::after {
    content:''; position:absolute; bottom:-6px; left:0; right:0;
    height:1px; background:var(--accent); opacity:0.6;
}
.mobile-menu { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.mobile-menu span { display:block; width:22px; height:1.5px; background:var(--text); border-radius:1px; transition:0.3s; }


/* ===== BUTTONS ===== */

.btn {
    display:inline-flex; align-items:center; justify-content:center;
    font-family:var(--font); font-weight:500; font-size:0.85rem;
    padding:14px 32px; border-radius:var(--radius-sm);
    border:none; cursor:pointer; letter-spacing:0.01em;
    transition:all 0.4s var(--ease); position:relative; overflow:hidden;
}
.btn-lg { padding:17px 44px; font-size:0.9rem; }
.btn-primary { background:var(--accent); color:#fff; }
.btn-primary:hover { background:var(--accent-hover); transform:translateY(-2px); box-shadow:0 6px 24px rgba(91,127,214,0.25); }
.btn-outline { background:transparent; color:var(--text); border:1px solid var(--border-hover); }
.btn-outline:hover { border-color:var(--accent); color:var(--accent); }
.btn-ghost { background:transparent; color:var(--text-secondary); border:1px solid var(--border); }
.btn-ghost:hover { border-color:var(--text-secondary); color:var(--text); }
.btn-nav { padding:9px 20px; font-size:0.82rem; background:var(--accent); color:#fff; border-radius:var(--radius-sm); }
.btn-nav:hover { background:var(--accent-hover); color:#fff; }
.btn-cta { background:var(--accent); color:#fff; font-size:0.9rem; padding:18px 44px; border-radius:var(--radius-sm); }
.btn-cta:hover { background:var(--accent-hover); transform:translateY(-2px); box-shadow:0 8px 28px rgba(91,127,214,0.3); }
.btn-full { width:100%; }
.btn-table { padding:10px 24px; font-size:0.82rem; }


/* ===== SECTIONS ===== */

.section { padding:120px 0; }
.bg-light {
    background:var(--bg-elevated); position:relative;
}
.bg-light::after {
    content:''; position:absolute; top:0; right:0; width:200px; height:200px;
    border:1px solid var(--border);
    transform:rotate(45deg) translate(50%, -50%);
    pointer-events:none; opacity:0.5;
}
.bg-dark { background:var(--accent-deep); position:relative; }
.bg-dark::before {
    content:''; position:absolute; top:0; left:0; right:0; bottom:0;
    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size:48px 48px;
    pointer-events:none;
}
.bg-accent { background:var(--accent-deep); position:relative; }
.bg-accent::before {
    content:''; position:absolute; top:0; left:0; right:0; bottom:0;
    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size:48px 48px;
    pointer-events:none;
}

.section-intro { max-width:600px; margin-bottom:64px; }
.section-intro.centered { text-align:center; margin-left:auto; margin-right:auto; }
.section-intro.light h2 { color:#fff; }
.section-intro.light p { color:rgba(255,255,255,0.6); }

.section-tag {
    display:inline-flex; align-items:center; gap:10px;
    font-size:0.72rem; font-weight:500;
    letter-spacing:0.14em; text-transform:uppercase; color:var(--accent);
    margin-bottom:16px;
}
.section-tag::before {
    content:''; display:inline-block; width:24px; height:1px; background:var(--accent);
}
.light-tag { color:rgba(255,255,255,0.45); }

.section-intro h2 {
    font-family:var(--font-display); font-size:clamp(1.8rem,3.5vw,2.6rem);
    font-weight:400; line-height:1.2; margin-bottom:16px; letter-spacing:-0.02em;
}
.section-intro p { font-size:0.95rem; color:var(--text-secondary); line-height:1.75; }


/* ===== PAGE HEADER ===== */

.page-header { padding:140px 0 64px; position:relative; overflow:hidden; }
.page-header::after {
    content:''; position:absolute; top:50%; right:-60px; width:300px; height:300px;
    border:1px solid var(--border);
    transform:translateY(-50%) rotate(45deg);
    pointer-events:none;
}
.page-header h1 {
    font-family:var(--font-display); font-size:clamp(2.2rem,4.5vw,3.2rem);
    font-weight:400; line-height:1.15; margin-bottom:16px; max-width:640px;
    letter-spacing:-0.02em;
}
.page-header p { font-size:1rem; color:var(--text-secondary); max-width:520px; line-height:1.75; }


/* ===== HERO ===== */

.hero { position:relative; padding:160px 0 100px; overflow:hidden; }
.hero-bg {
    position:absolute; top:0; left:0; right:0; bottom:0;
    background:
        linear-gradient(rgba(91,127,214,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91,127,214,0.04) 1px, transparent 1px);
    background-size:64px 64px;
    pointer-events:none;
    mask-image:radial-gradient(ellipse 70% 60% at 80% 30%, black, transparent);
    -webkit-mask-image:radial-gradient(ellipse 70% 60% at 80% 30%, black, transparent);
}
.hero-content { position:relative; z-index:1; max-width:720px; }
.hero-badge {
    display:inline-block; font-size:0.72rem; font-weight:500;
    color:var(--accent); background:var(--accent-subtle);
    padding:8px 18px; border-radius:0; margin-bottom:28px;
    letter-spacing:0.06em; border:1px solid rgba(91,127,214,0.2);
    clip-path:polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    padding-left:22px; padding-right:22px;
}
.hero h1 {
    font-family:var(--font-display); font-size:clamp(2.6rem,5vw,4rem);
    font-weight:400; line-height:1.08; margin-bottom:24px; letter-spacing:-0.025em;
}
.highlight { color:var(--accent); }
.hero p { font-size:1.05rem; color:var(--text-secondary); line-height:1.8; max-width:560px; margin-bottom:24px; }
.hero-tagline {
    font-size:1rem; font-weight:500; color:var(--text); margin-bottom:36px;
    padding-left:20px; border-left:2px solid var(--accent); line-height:1.5;
}
.hero-tagline em { font-style:italic; color:var(--accent); }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:56px; }
.hero-proof {
    display:flex; gap:36px; align-items:center; flex-wrap:wrap;
    padding:28px 0; border-top:1px solid var(--border);
    position:relative;
}
.hero-proof::before {
    content:''; position:absolute; top:-1px; left:0; width:48px; height:1px; background:var(--accent);
}
.proof-item { display:flex; flex-direction:column; }
.proof-item strong { font-size:1.5rem; font-weight:700; color:var(--text); letter-spacing:-0.02em; }
.proof-item span { font-size:0.78rem; color:var(--text-muted); max-width:160px; margin-top:2px; }
.proof-divider { width:1px; height:40px; background:var(--border); }


/* ===== DIFFERENTIATOR ===== */

.differentiator-layout { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.differentiator-content h2 { font-family:var(--font-display); font-size:clamp(1.8rem,3vw,2.4rem); font-weight:400; line-height:1.2; margin-bottom:20px; letter-spacing:-0.02em; }
.differentiator-content p { font-size:0.95rem; color:var(--text-secondary); line-height:1.8; margin-bottom:16px; }
.differentiator-side { display:flex; flex-direction:column; gap:16px; }
.diff-card { border:1px solid var(--border); border-radius:var(--radius); padding:28px; background:var(--bg-elevated); }
.diff-card.highlighted { border-color:var(--accent); background:var(--accent-subtle); }
.diff-label { font-size:0.7rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; margin-bottom:14px; color:var(--text-muted); }
.diff-card.highlighted .diff-label { color:var(--accent); }
.diff-list { list-style:none; display:flex; flex-direction:column; gap:8px; }
.diff-list li { font-size:0.88rem; padding-left:22px; position:relative; color:var(--text-secondary); }
.diff-list.bad li::before { content:"\2717"; position:absolute; left:0; color:var(--red); font-weight:600; font-size:0.78rem; }
.diff-list.good li::before { content:"\2713"; position:absolute; left:0; color:var(--green); font-weight:600; font-size:0.78rem; }


/* ===== CARDS ===== */

.problem-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.problem-card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
    padding:36px 32px; transition:all 0.5s var(--ease); position:relative; overflow:hidden;
}
.problem-card:hover { border-color:var(--accent); transform:translateY(-4px); box-shadow:var(--shadow); }
.problem-card::before {
    content:''; position:absolute; top:0; right:0; width:0; height:0;
    border-top:32px solid var(--accent); border-left:32px solid transparent;
    opacity:0; transition:opacity 0.4s var(--ease);
}
.problem-card:hover::before { opacity:0.15; }
.problem-icon { font-size:1.6rem; margin-bottom:18px; opacity:0.9; }
.problem-card h3 { font-size:1rem; font-weight:600; margin-bottom:10px; letter-spacing:-0.01em; }
.problem-card p { font-size:0.88rem; color:var(--text-secondary); line-height:1.7; }

.solution-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.solution-card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
    padding:36px 32px; transition:all 0.5s var(--ease); position:relative; overflow:hidden;
}
.solution-card:hover { border-color:var(--accent); box-shadow:var(--shadow); }
.solution-card::before {
    content:''; position:absolute; bottom:0; left:0; width:0; height:0;
    border-bottom:28px solid var(--accent); border-right:28px solid transparent;
    opacity:0; transition:opacity 0.4s var(--ease);
}
.solution-card:hover::before { opacity:0.12; }
.solution-number { font-family:var(--font-display); font-size:2.4rem; color:var(--accent); opacity:0.12; line-height:1; margin-bottom:4px; }
.solution-label { font-size:0.7rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent); margin-bottom:10px; display:block; }
.solution-card h3 { font-family:var(--font-display); font-size:1.25rem; font-weight:400; line-height:1.3; margin-bottom:12px; }
.solution-card p { font-size:0.88rem; color:var(--text-secondary); line-height:1.7; margin-bottom:18px; }
.solution-result {
    display:inline-flex; align-items:center; gap:8px;
    background:var(--green-subtle); color:var(--green); padding:8px 16px;
    border-radius:0; font-size:0.78rem; font-weight:600;
    border-left:2px solid var(--green);
}
.result-icon { font-weight:700; }


/* ===== HOW STEPS ===== */

.how-steps { display:flex; align-items:flex-start; }
.how-step { flex:1; padding:0 24px; }
.how-number {
    width:44px; height:44px; border-radius:0;
    background:rgba(255,255,255,0.06); color:#fff; border:1px solid rgba(255,255,255,0.15);
    display:flex; align-items:center; justify-content:center;
    font-weight:700; font-size:0.95rem; margin-bottom:18px;
    transform:rotate(45deg);
}
.how-number span { transform:rotate(-45deg); }
.how-step h3 { font-size:0.95rem; font-weight:600; margin-bottom:10px; color:#fff; }
.how-step p { font-size:0.85rem; color:rgba(255,255,255,0.55); line-height:1.7; }
.how-connector { width:1px; min-height:100px; background:rgba(255,255,255,0.1); flex-shrink:0; margin-top:22px; }


/* ===== INDUSTRY ===== */

.industry-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.industry-item {
    background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-sm);
    padding:18px 22px; font-size:0.88rem; font-weight:400; color:var(--text-secondary);
    transition:all 0.4s var(--ease);
}
.industry-item:hover { border-color:var(--accent); color:var(--text); background:var(--accent-subtle); }


/* ===== RESULTS ===== */

.results-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.result-card { text-align:center; padding:36px 20px; }
.result-number { font-family:var(--font-display); font-size:3rem; font-weight:400; margin-bottom:10px; color:#fff; }
.result-card p { font-size:0.85rem; color:rgba(255,255,255,0.6); line-height:1.55; }


/* ===== TESTIMONIALS ===== */

.testimonial-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testimonial-card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
    padding:32px; transition:all 0.5s var(--ease);
}
.testimonial-card:hover { border-color:var(--border-hover); }
.stars { color:var(--accent); font-size:0.85rem; letter-spacing:3px; margin-bottom:16px; }
.testimonial-card > p { font-size:0.9rem; color:var(--text-secondary); line-height:1.75; margin-bottom:24px; }
.testimonial-author { display:flex; align-items:center; gap:12px; }
.author-avatar {
    width:38px; height:38px; border-radius:0;
    background:var(--accent-subtle); color:var(--accent);
    display:flex; align-items:center; justify-content:center;
    font-size:0.7rem; font-weight:700; border:1px solid rgba(91,127,214,0.15);
    clip-path:polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.testimonial-author strong { display:block; font-size:0.85rem; font-weight:600; }
.testimonial-author span { font-size:0.75rem; color:var(--text-muted); }


/* ===== PHONE MOCKUP ===== */

.phone-frame {
    background:#1a1a2e; border:1px solid rgba(255,255,255,0.08);
    border-radius:16px; padding:12px; width:280px;
    box-shadow:var(--shadow-lg);
}
.small-phone { width:260px; }
.phone-notch { width:80px; height:5px; background:rgba(255,255,255,0.06); border-radius:10px; margin:0 auto 12px; }
.phone-screen {
    background:#fafafa; border-radius:10px; padding:16px; min-height:280px;
    display:flex; flex-direction:column; gap:10px;
}
.sms-bubble { padding:10px 14px; border-radius:4px; font-size:0.8rem; line-height:1.5; max-width:90%; animation:smsIn 0.5s var(--ease); }
@keyframes smsIn { from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)} }
.sms-bubble.incoming { background:#ececf0; color:#333; align-self:flex-start; border-bottom-left-radius:0; }
.sms-bubble.outgoing { background:var(--accent); color:#fff; align-self:flex-end; border-bottom-right-radius:0; }
.sms-bubble.review-link { background:#1a7a3a; }
.sms-sender { display:block; font-size:0.68rem; font-weight:600; margin-bottom:2px; opacity:0.5; }
.sms-text { display:block; }
.sms-time { display:block; font-size:0.62rem; opacity:0.4; margin-top:4px; text-align:right; }


/* ===== DEMO PREVIEW ===== */

.demo-layout { display:grid; grid-template-columns:1fr auto; gap:72px; align-items:center; }
.demo-text h2 { font-family:var(--font-display); font-size:clamp(1.6rem,3vw,2.2rem); font-weight:400; margin-bottom:16px; letter-spacing:-0.02em; }
.demo-text p { font-size:0.95rem; color:var(--text-secondary); margin-bottom:24px; line-height:1.75; }
.demo-steps { padding-left:20px; margin-bottom:32px; }
.demo-steps li { font-size:0.9rem; color:var(--text-secondary); margin-bottom:12px; line-height:1.55; }
.demo-steps strong { color:var(--text); }


/* ===== PILLAR LAYOUTS ===== */

.pillar-layout { display:grid; grid-template-columns:1fr auto; gap:72px; align-items:center; }
.pillar-layout.reverse { grid-template-columns:auto 1fr; }
.pillar-layout.reverse .pillar-content { order:2; }
.pillar-layout.reverse .pillar-visual { order:1; }
.pillar-number { font-family:var(--font-display); font-size:3rem; color:var(--accent); opacity:0.1; line-height:1; margin-bottom:4px; }
.pillar-content h2 { font-family:var(--font-display); font-size:clamp(1.5rem,2.5vw,2rem); font-weight:400; margin-bottom:14px; line-height:1.25; }
.pillar-content p { font-size:0.92rem; color:var(--text-secondary); line-height:1.75; margin-bottom:22px; max-width:520px; }
.pillar-features { margin-bottom:22px; }
.pillar-feature { display:flex; align-items:center; gap:10px; padding:7px 0; font-size:0.86rem; color:var(--text-secondary); }
.check { color:var(--green); font-weight:600; }
.pillar-stat { background:var(--green-subtle); color:var(--green); padding:12px 18px; border-radius:var(--radius-sm); font-size:0.84rem; display:inline-block; line-height:1.5; }

.sequence-visual { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); width:320px; }
.seq-step { display:flex; gap:14px; align-items:flex-start; }
.seq-dot { width:10px; height:10px; border-radius:0; border:2px solid var(--border); flex-shrink:0; margin-top:5px; transform:rotate(45deg); }
.seq-step.active .seq-dot { background:var(--accent); border-color:var(--accent); }
.seq-info strong { display:block; font-size:0.76rem; font-weight:600; margin-bottom:2px; }
.seq-info span { font-size:0.78rem; color:var(--text-muted); line-height:1.4; }
.seq-line { width:2px; height:18px; background:var(--border); margin-left:4px; }


/* ===== DASHBOARD MOCKUP ===== */

.dashboard-mockup { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; max-width:800px; margin:0 auto; }
.dash-bar { display:flex; gap:6px; padding:14px 18px; border-bottom:1px solid var(--border); }
.dash-bar span { width:8px; height:8px; border-radius:0; background:rgba(255,255,255,0.08); }
.dash-body { padding:28px; }
.dash-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px; }
.dash-stat { background:var(--bg-elevated); border-radius:var(--radius-sm); padding:20px; text-align:center; border:1px solid var(--border); }
.dash-stat-num { font-size:1.6rem; font-weight:700; color:var(--accent); margin-bottom:4px; }
.dash-stat-label { font-size:0.7rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.06em; }
.dash-chart { display:flex; align-items:flex-end; gap:12px; height:100px; padding:0 12px; }
.dash-chart-bar { flex:1; background:var(--accent); opacity:0.3; border-radius:0; transition:opacity 0.4s ease; }
.dash-chart-bar:hover { opacity:0.7; }


/* ===== PRICING ===== */

.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:start; }
.pricing-card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
    padding:40px 32px; display:flex; flex-direction:column; position:relative;
    transition:all 0.5s var(--ease);
}
.pricing-card:hover { border-color:var(--border-hover); transform:translateY(-4px); box-shadow:var(--shadow); }
.pricing-card.featured { border-color:var(--accent); }
.pricing-badge {
    position:absolute; top:-12px; left:50%; transform:translateX(-50%);
    background:var(--accent); color:#fff; font-size:0.7rem; font-weight:600;
    padding:5px 16px; border-radius:0; white-space:nowrap; letter-spacing:0.08em; text-transform:uppercase;
}
.pricing-tier { font-size:1.05rem; font-weight:600; margin-bottom:6px; }
.pricing-desc { font-size:0.84rem; color:var(--text-secondary); margin-bottom:24px; line-height:1.5; }
.pricing-amount { font-family:var(--font-display); font-size:3rem; font-weight:400; line-height:1; margin-bottom:24px; }
.currency { font-size:1.4rem; vertical-align:super; color:var(--text-secondary); }
.period { font-size:0.95rem; font-weight:400; color:var(--text-muted); }
.pricing-features { list-style:none; margin-bottom:32px; flex:1; }
.pricing-features li {
    padding:9px 0; font-size:0.86rem; color:var(--text-secondary);
    border-bottom:1px solid var(--border); padding-left:22px; position:relative;
}
.pricing-features li:last-child { border-bottom:none; }
.pricing-features li::before { content:"\2713"; position:absolute; left:0; color:var(--green); font-weight:600; font-size:0.75rem; }
.pricing-note-box { text-align:center; margin-top:48px; padding:28px; background:var(--bg-elevated); border-radius:var(--radius); border:1px solid var(--border); }
.pricing-note-box p { font-size:0.88rem; color:var(--text-secondary); }


/* ===== COMPARISON TABLE ===== */

.comparison-table-wrap { margin-top:72px; }
.comparison-title { font-family:var(--font-display); font-size:1.4rem; font-weight:400; text-align:center; margin-bottom:36px; }
.table-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.comparison-table { width:100%; border-collapse:collapse; font-size:0.85rem; min-width:640px; }
.comparison-table th, .comparison-table td { padding:14px 18px; text-align:center; border-bottom:1px solid var(--border); }
.comparison-table th { font-size:0.9rem; font-weight:600; padding-bottom:20px; vertical-align:bottom; }
.comparison-table th.feature-col, .comparison-table td:first-child { text-align:left; font-weight:500; color:var(--text); min-width:220px; }
.table-price { display:block; font-family:var(--font-display); font-size:1.05rem; font-weight:400; color:var(--accent); margin-top:4px; }
.featured-col { background:rgba(91,127,214,0.04); }
.comparison-table .section-row td {
    font-size:0.7rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase;
    color:var(--accent); padding:24px 18px 12px; border-bottom:1px solid rgba(255,255,255,0.1); background:none;
}
.comparison-table tbody td { color:var(--text-secondary); }
.comparison-table tbody td:not(:first-child) { font-weight:600; }
.comparison-table tfoot td { padding:24px 18px; border-bottom:none; }


/* ===== ROI ===== */

.roi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.roi-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:32px; transition:all 0.5s var(--ease); }
.roi-card:hover { border-color:var(--border-hover); }
.roi-business { font-size:0.72rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent); margin-bottom:18px; }
.roi-line { display:flex; justify-content:space-between; padding:7px 0; font-size:0.85rem; color:var(--text-secondary); border-bottom:1px solid var(--border); }
.roi-line.result { border-bottom:none; padding-top:14px; margin-top:6px; border-top:1px solid var(--border-hover); }
.roi-line.result span, .roi-line.result strong { color:var(--text); font-weight:700; }
.roi-highlight { color:var(--green); }


/* ===== FAQ ===== */

.faq-list { max-width:700px; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-question {
    width:100%; display:flex; align-items:center; justify-content:space-between;
    background:none; border:none; font-family:var(--font); font-size:0.92rem;
    font-weight:500; color:var(--text); padding:22px 0; cursor:pointer; text-align:left;
    transition:color 0.3s ease;
}
.faq-question:hover { color:var(--accent); }
.faq-question::after { content:'+'; font-size:1.2rem; font-weight:300; color:var(--text-muted); flex-shrink:0; margin-left:16px; transition:0.3s; }
.faq-item.open .faq-question::after { content:'\2212'; color:var(--accent); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height 0.4s var(--ease); }
.faq-item.open .faq-answer { max-height:200px; }
.faq-answer p { font-size:0.88rem; color:var(--text-secondary); line-height:1.75; padding-bottom:22px; }


/* ===== CONTACT ===== */

.contact-layout { display:grid; grid-template-columns:1fr 1.4fr; gap:72px; }
.contact-block { margin-bottom:32px; }
.contact-block h3 { font-size:0.7rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-muted); margin-bottom:10px; }
.contact-block p { font-size:0.92rem; line-height:1.65; }
.contact-block a { border-bottom:1px solid var(--border); transition:opacity 0.3s; }
.contact-block a:hover { opacity:0.6; }
.next-steps { padding-left:18px; }
.next-steps li { font-size:0.88rem; color:var(--text-secondary); margin-bottom:12px; line-height:1.55; }
.contact-promise { background:var(--accent-subtle); border:1px solid rgba(91,127,214,0.12); border-radius:var(--radius); padding:28px; margin-top:12px; }
.contact-promise h3 { font-size:0.88rem; font-weight:600; margin-bottom:12px; color:var(--accent); text-transform:none; letter-spacing:0; }
.contact-promise ul { list-style:none; }
.contact-promise li { font-size:0.84rem; color:var(--text-secondary); padding:4px 0; }
.contact-form {
    background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
    padding:40px; box-shadow:var(--shadow);
}
.contact-form h3 { font-size:1.15rem; font-weight:600; margin-bottom:6px; }
.form-subtitle { font-size:0.86rem; color:var(--text-secondary); margin-bottom:28px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:0.74rem; font-weight:500; color:var(--text-muted); margin-bottom:8px; letter-spacing:0.03em; }
.form-group input, .form-group select, .form-group textarea {
    width:100%; padding:13px 16px; border:1px solid var(--border); border-radius:var(--radius-sm);
    background:var(--bg); font-family:var(--font); font-size:0.88rem; color:var(--text);
    outline:none; transition:border-color 0.3s ease; -webkit-appearance:none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--accent); }
.form-group input::placeholder, .form-group textarea::placeholder { color:var(--text-muted); }
.form-group textarea { resize:vertical; min-height:90px; }
.form-group select { cursor:pointer; color:var(--text-secondary); }
.form-response { margin-top:18px; font-size:0.86rem; font-weight:500; }


/* ===== CTA ===== */

.cta-section { padding:120px 0; }
.cta-box {
    background:var(--bg-elevated); border:1px solid var(--border); border-radius:var(--radius-lg);
    padding:80px 64px; text-align:center; position:relative; overflow:hidden;
}
.cta-box::before {
    content:''; position:absolute; top:0; left:0; right:0; bottom:0;
    background:
        linear-gradient(135deg, rgba(91,127,214,0.06) 25%, transparent 25%),
        linear-gradient(225deg, rgba(91,127,214,0.06) 25%, transparent 25%);
    pointer-events:none;
}
.cta-box::after {
    content:''; position:absolute; top:50%; right:-40px; width:200px; height:200px;
    border:1px solid rgba(91,127,214,0.08); transform:translateY(-50%) rotate(45deg);
    pointer-events:none;
}
.cta-box h2 { font-family:var(--font-display); font-size:clamp(1.6rem,3vw,2.4rem); font-weight:400; margin-bottom:16px; position:relative; letter-spacing:-0.02em; }
.cta-box p { font-size:0.95rem; color:var(--text-secondary); margin-bottom:32px; max-width:480px; margin-left:auto; margin-right:auto; position:relative; line-height:1.75; }
.cta-trust { display:flex; justify-content:center; gap:28px; margin-top:22px; flex-wrap:wrap; }
.cta-trust span { font-size:0.8rem; color:var(--text-muted); }


/* ===== PLATFORM FEATURES ===== */

.platform-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.platform-feature {
    background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
    padding:28px; transition:all 0.5s var(--ease);
}
.platform-feature:hover { border-color:var(--accent); transform:translateY(-3px); box-shadow:var(--shadow); }
.platform-icon { font-size:1.6rem; margin-bottom:14px; }
.platform-feature h3 { font-size:0.9rem; font-weight:600; margin-bottom:8px; }
.platform-feature p { font-size:0.82rem; color:var(--text-secondary); line-height:1.65; }


/* ===== FOOTER ===== */

footer { border-top:1px solid var(--border); padding:64px 0 32px; position:relative; }
footer::before {
    content:''; position:absolute; top:-1px; left:36px; width:64px; height:1px; background:var(--accent);
}
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.footer-brand p { font-size:0.84rem; color:var(--text-muted); margin-top:14px; max-width:280px; line-height:1.65; }
.footer-col { display:flex; flex-direction:column; gap:10px; }
.footer-col h4 { font-size:0.68rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-muted); margin-bottom:4px; }
.footer-col a { font-size:0.85rem; color:var(--text-secondary); transition:color 0.3s; }
.footer-col a:hover { color:var(--text); }
.footer-bottom { padding-top:24px; border-top:1px solid var(--border); text-align:center; }
.footer-bottom p { font-size:0.72rem; color:var(--text-muted); letter-spacing:0.04em; }


/* ===== THEME TOGGLE ===== */

.theme-toggle { background:none; border:1px solid var(--border); border-radius:0; cursor:pointer; padding:6px 12px; font-size:0.82rem; font-family:var(--font); color:var(--text-muted); display:flex; align-items:center; gap:6px; transition:all 0.3s ease; margin-left:8px; }
.theme-toggle:hover { border-color:var(--accent); color:var(--accent); }
.theme-toggle .toggle-icon { font-size:0.9rem; line-height:1; }


/* ===== LIGHT MODE ===== */

body.light {
    --bg: #fafafa;
    --bg-elevated: #f0f1f5;
    --bg-card: #ffffff;
    --bg-accent-subtle: rgba(91,127,214,0.06);
    --text: #141824;
    --text-secondary: #4a4f5e;
    --text-muted: #8a8f9e;
    --border: rgba(0,0,0,0.07);
    --border-hover: rgba(0,0,0,0.14);
    --accent: #4A6DC0;
    --accent-hover: #3A5BA0;
    --accent-subtle: rgba(91,127,214,0.08);
    --accent-deep: #3A5BA0;
    --green: #1a7a3a;
    --green-subtle: rgba(26,122,58,0.08);
    --red: #c55;
    --shadow: 0 1px 4px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.05);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
}

body.light #navbar { background:rgba(250,250,250,0.85); border-bottom-color:rgba(0,0,0,0.06); }
body.light .nav-links.mobile-open { background:var(--bg); }
body.light .phone-screen { background:#fff; }
body.light .phone-frame { background:#18182a; }
body.light .sms-bubble.incoming { background:#f0f0f0; color:#333; }
body.light .how-step h3 { color:#fff; }
body.light .how-step p { color:rgba(255,255,255,0.6); }
body.light .how-number { background:rgba(255,255,255,0.15); border-color:rgba(255,255,255,0.2); }
body.light .how-connector { background:rgba(255,255,255,0.12); }
body.light .bg-dark { background:var(--accent-deep); }
body.light .bg-accent { background:var(--accent-deep); }
body.light .result-number { color:#fff; }
body.light .result-card p { color:rgba(255,255,255,0.7); }
body.light .hero-bg { background:radial-gradient(circle, rgba(91,127,214,0.06) 0%, transparent 65%); }
body.light .cta-box { background:var(--bg-card); }
body.light .cta-box::before { background:radial-gradient(circle, rgba(91,127,214,0.05), transparent 65%); }
body.light ::selection { background:rgba(91,127,214,0.15); color:var(--text); }
body.light ::-webkit-scrollbar-thumb { background:rgba(0,0,0,0.1); }


/* ===== ANIMATIONS ===== */

.fade-in { opacity:0; transform:translateY(16px); transition:opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.fade-in.visible { opacity:1; transform:translateY(0); }


/* ===== RESPONSIVE ===== */

@media(max-width:1024px) {
    .hero-content { max-width:100%; }
    .differentiator-layout { grid-template-columns:1fr; gap:48px; }
    .pillar-layout, .pillar-layout.reverse { grid-template-columns:1fr; gap:48px; }
    .pillar-layout.reverse .pillar-content { order:1; }
    .pillar-layout.reverse .pillar-visual { order:2; }
    .demo-layout { grid-template-columns:1fr; gap:48px; }
    .demo-phone { justify-self:center; }
    .how-steps { flex-direction:column; }
    .how-connector { width:100%; min-height:1px; height:1px; margin:16px 0; }
    .contact-layout { grid-template-columns:1fr; gap:48px; }
    .dash-stats { grid-template-columns:repeat(2,1fr); }
    .solution-grid { grid-template-columns:1fr; }
}
@media(max-width:768px) {
    .problem-grid, .testimonial-grid, .pricing-grid, .roi-grid { grid-template-columns:1fr; max-width:480px; }
    .platform-grid { grid-template-columns:repeat(2,1fr); }
    .results-grid, .industry-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
    .form-row { grid-template-columns:1fr; }
    .proof-divider { display:none; }
    .hero-proof { gap:20px; }
    .comparison-table { font-size:0.8rem; }
    .comparison-table th, .comparison-table td { padding:10px 12px; }
    .section { padding:88px 0; }
    .cta-box { padding:56px 32px; }
}
@media(max-width:640px) {
    .nav-links { display:none; }
    .nav-links.mobile-open {
        display:flex; flex-direction:column; position:absolute;
        top:72px; left:0; right:0; background:var(--bg);
        border-bottom:1px solid var(--border); padding:24px 36px; gap:14px; z-index:999;
    }
    .mobile-menu { display:flex; }
    .platform-grid, .industry-grid, .results-grid { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr; }
    .phone-frame, .small-phone { width:100%; max-width:280px; margin:0 auto; }
    .page-header::after, .bg-light::after { display:none; }
    .sequence-visual { width:100%; }
    .hero { padding:120px 0 72px; }
}
