/* ============================================
   OnTask - Workforce Intelligence Platform
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --indigo-50: #eef2ff;
    --indigo-100: #e0e7ff;
    --indigo-200: #c7d2fe;
    --indigo-300: #a5b4fc;
    --indigo-400: #818cf8;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --indigo-700: #4338ca;
    --green-50: #f0fdf4;
    --green-100: #d1fae5;
    --green-500: #22c55e;
    --green-600: #059669;
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-500: #ef4444;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.1);
    --shadow-xl: 0 16px 48px rgba(0,0,0,.12);
    --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--slate-800);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: var(--slate-900); color: white; padding: 16px 24px;
    display: flex; align-items: center; justify-content: center; gap: 16px;
    font-size: 14px;
}
.cookie-banner a { color: var(--indigo-400); text-decoration: underline; }
.cookie-banner button {
    background: var(--indigo-500); color: white; border: none; padding: 8px 20px;
    border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; font-size: 14px;
}

/* --- Navigation --- */
.nav-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-100);
    transition: var(--transition);
}
.nav-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; height: 72px; gap: 8px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 22px;
    color: var(--slate-900);
}
.nav-logo img { transform: translateY(-4px); }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: 40px; flex: 1; }
.nav-link {
    display: flex; align-items: center; gap: 4px;
    padding: 8px 16px; font-size: 15px; font-weight: 500;
    color: var(--slate-600); border: none; background: none; cursor: pointer;
    border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-link:hover { color: var(--slate-900); background: var(--slate-50); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.login-link { color: var(--slate-600); }

/* Dropdown */
.nav-item { position: relative; }
.dropdown-panel {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    background: white; border: 1px solid var(--slate-200); border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl); padding: 24px; min-width: 520px;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.dropdown-right { left: auto; right: 0; transform: translateY(8px); }
.nav-item:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item:hover .dropdown-right { transform: translateY(0); }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dropdown-grid.three-col { grid-template-columns: 1fr 1fr 1fr; min-width: 680px; }
.dropdown-section h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--slate-400); margin-bottom: 12px; }
.dropdown-section > p { font-size: 14px; color: var(--slate-500); line-height: 1.5; }
.dropdown-link {
    display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px;
    border-radius: var(--radius-sm); transition: var(--transition);
}
.dropdown-link:hover { background: var(--indigo-50); }
.dropdown-icon { font-size: 20px; flex-shrink: 0; width: 32px; text-align: center; }
.dropdown-link strong { display: block; font-size: 14px; color: var(--slate-800); }
.dropdown-link span { font-size: 13px; color: var(--slate-500); }

/* Mobile toggle */
.mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--slate-700); border-radius: 2px; transition: var(--transition); }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
    padding: 12px 24px; border-radius: var(--radius-sm); border: 2px solid transparent;
    cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--indigo-500); color: white; border-color: var(--indigo-500); }
.btn-primary:hover { background: var(--indigo-600); border-color: var(--indigo-600); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(99,102,241,.3); }
.btn-secondary { background: var(--indigo-50); color: var(--indigo-700); border-color: var(--indigo-200); }
.btn-secondary:hover { background: var(--indigo-100); }
.btn-outline { background: white; color: var(--slate-700); border-color: var(--slate-300); }
.btn-outline:hover { border-color: var(--indigo-400); color: var(--indigo-700); background: var(--indigo-50); }
.btn-outline-light { background: transparent; color: white; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: white; }

/* --- Hero --- */
.hero {
    position: relative; padding: 140px 0 80px; overflow: hidden;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 30%, #f0f9ff 100%);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.08) 0%, transparent 70%);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: -50px; background: radial-gradient(circle, rgba(6,182,212,.06) 0%, transparent 70%); }
.shape-3 { width: 300px; height: 300px; top: 50%; left: 50%; background: radial-gradient(circle, rgba(99,102,241,.05) 0%, transparent 70%); }

.hero .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-block; padding: 6px 16px; background: white; border: 1px solid var(--indigo-200);
    border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--indigo-700); margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: 46px; font-weight: 800; color: var(--slate-900); margin-bottom: 20px; letter-spacing: -1px; }
.hero-subtitle { font-size: 18px; color: var(--slate-600); line-height: 1.7; margin-bottom: 24px; max-width: 540px; }
.hero-trust { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--slate-500); margin-bottom: 32px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--indigo-700); }
.trust-separator { color: var(--slate-300); }
.hero-ctas { display: flex; gap: 16px; margin-bottom: 12px; }
.hero-note { font-size: 13px; color: var(--slate-400); }

/* Dashboard Preview */
.dashboard-preview {
    background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-200); overflow: hidden;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform .5s ease;
}
.dashboard-preview:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.dashboard-header {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px; background: var(--slate-50); border-bottom: 1px solid var(--slate-200);
}
.dashboard-dots { display: flex; gap: 6px; }
.dashboard-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #fbbf24; }
.dashboard-dots span:nth-child(3) { background: #22c55e; }
.dashboard-title { font-size: 13px; color: var(--slate-500); font-weight: 500; }
.dashboard-body { padding: 20px; }

.dash-stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.dash-stat { background: var(--slate-50); padding: 16px; border-radius: var(--radius-sm); }
.dash-stat-label { font-size: 12px; color: var(--slate-500); margin-bottom: 4px; }
.dash-stat-value { font-size: 24px; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--slate-900); }
.dash-stat-unit { font-size: 14px; font-weight: 500; color: var(--slate-400); }
.dash-stat-change { font-size: 12px; margin-top: 4px; }
.dash-stat-change.positive { color: var(--green-600); }

.dash-chart { margin-bottom: 20px; }
.dash-chart-title { font-size: 13px; font-weight: 600; color: var(--slate-700); margin-bottom: 12px; }
.chart-bars { display: flex; gap: 8px; align-items: flex-end; height: 100px; padding: 0 4px; }
.chart-bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart-bar { width: 100%; border-radius: 4px 4px 0 0; position: relative; overflow: hidden; background: var(--slate-100); min-height: 10px; }
.bar-fill { position: absolute; bottom: 0; left: 0; right: 0; height: 100%; border-radius: 4px 4px 0 0; }
.bar-fill.ontask { background: linear-gradient(to top, #6366f1, #818cf8); }
.bar-fill.productive { background: linear-gradient(to top, #059669, #34d399); }
.bar-fill.idle { background: linear-gradient(to top, #f59e0b, #fbbf24); }
.chart-bar-group span { font-size: 11px; color: var(--slate-400); }
.chart-legend { display: flex; gap: 16px; margin-top: 8px; justify-content: center; }
.chart-legend span { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--slate-500); }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.legend-dot.ontask { background: #6366f1; }
.legend-dot.productive { background: #059669; }
.legend-dot.idle { background: #f59e0b; }

.dash-activity { border-top: 1px solid var(--slate-100); padding-top: 16px; }
.activity-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--slate-300); flex-shrink: 0; }
.activity-dot.active { background: var(--green-500); box-shadow: 0 0 8px rgba(34,197,94,.4); }
.activity-dot.warning { background: var(--red-500); box-shadow: 0 0 8px rgba(239,68,68,.4); }
.activity-text { flex: 1; font-size: 13px; color: var(--slate-600); }
.activity-text strong { color: var(--slate-800); }
.activity-time { font-size: 12px; color: var(--slate-400); }

/* --- Logo Ticker --- */
.logo-ticker {
    padding: 40px 0; background: white; border-bottom: 1px solid var(--slate-100);
    overflow: hidden;
}
.ticker-label { text-align: center; font-size: 13px; color: var(--slate-400); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.ticker-track { overflow: hidden; position: relative; }
.ticker-track::before, .ticker-track::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.ticker-track::before { left: 0; background: linear-gradient(to right, white, transparent); }
.ticker-track::after { right: 0; background: linear-gradient(to left, white, transparent); }
.ticker-logos {
    display: flex; gap: 48px; animation: ticker 25s linear infinite; width: max-content;
}
.company-logo {
    font-size: 16px; font-weight: 700; color: var(--slate-300); white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: .5px;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Section Styles --- */
.section-label {
    text-align: center; font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--indigo-600); margin-bottom: 12px;
}
.section-title {
    text-align: center; font-size: 42px; font-weight: 800; color: var(--slate-900);
    margin-bottom: 16px; letter-spacing: -.5px;
}
.section-subtitle {
    text-align: center; font-size: 18px; color: var(--slate-500); max-width: 640px;
    margin: 0 auto 48px; line-height: 1.7;
}
.highlight { color: var(--indigo-600); }

/* --- Features Tile Grid --- */
.features-grid-section { padding: 100px 0; background: var(--slate-50); }
.features-tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-tile {
    text-align: center; padding: 36px 24px; background: white;
    border: 1px solid var(--slate-200); border-radius: var(--radius-md);
    transition: var(--transition);
}
.feature-tile:hover { border-color: var(--indigo-300); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.feature-tile-icon {
    width: 80px; height: 80px; margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(99,102,241,.25);
}
.feature-tile-icon svg { filter: brightness(0) invert(1); }
.feature-tile h3 { font-size: 18px; font-weight: 700; color: var(--slate-800); margin-bottom: 10px; }
.feature-tile p { font-size: 14px; color: var(--slate-500); line-height: 1.6; }

/* --- Data Flow Animation --- */
.data-flow-section { padding: 80px 0 60px; background: white; overflow: hidden; }

.data-flow_wrapper {
    position: relative; display: flex; justify-content: center; align-items: center;
    max-width: 1200px; width: 100%; margin: 0 auto; padding: 48px 24px;
}
.data-flow_bg {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(135deg, rgba(237,233,254,.5) 0%, rgba(224,242,254,.35) 40%, rgba(237,233,254,.45) 70%, rgba(243,240,255,.5) 100%);
    border-radius: 20px;
}
.data-flow_component { display: flex; align-items: center; justify-content: center; width: 100%; gap: 0; }

.flow-column { display: flex; flex-direction: column; gap: 14px; flex: 0 1 260px; }
.flow-column-header {
    text-align: center; text-transform: uppercase; font-size: 10.5px; font-weight: 800;
    letter-spacing: 1.8px; color: #1a1a2e; margin-bottom: 6px; line-height: 1.5;
}

.flow-card {
    display: flex; align-items: center; gap: 12px; background: #fff;
    border: 1px solid rgba(0,0,0,.05); border-radius: 14px; padding: 12px 16px;
    box-shadow: 0 1px 8px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.02);
    opacity: 0; transform: translateX(-25px);
    animation: cardSlideInLeft .7s ease-out forwards;
    transition: transform .3s ease, box-shadow .3s ease;
}
.flow-column.right .flow-card { transform: translateX(25px); animation-name: cardSlideInRight; }
.flow-card:nth-child(2) { animation-delay: .12s; }
.flow-card:nth-child(3) { animation-delay: .24s; }
.flow-card:nth-child(4) { animation-delay: .36s; }
.flow-card:hover { transform: translateY(-2px) !important; box-shadow: 0 6px 20px rgba(0,0,0,.08); }

.flow-card-icon {
    width: 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.flow-card-icon.orange { background: #ff9f43; }
.flow-card-icon.teal { background: #00cec9; }
.flow-card-icon svg { width: 20px; height: 20px; fill: #fff; }
.flow-card-label { font-size: 13px; font-weight: 500; color: #2d2d44; line-height: 1.3; }

.flow-middle { display: flex; align-items: center; flex-shrink: 0; padding: 30px 0; }
.flow-arrows { display: flex; align-items: center; gap: 2px; flex-shrink: 0; padding: 0 6px; }
.chevron { width: 26px; height: 26px; opacity: 0; }
.chevron svg { width: 100%; height: 100%; }
.chevron svg path { fill: #6c5ce7; }

.flow-arrows.left .chevron:nth-child(1) { animation: chevronWave 2.4s ease-in-out infinite 0s; }
.flow-arrows.left .chevron:nth-child(2) { animation: chevronWave 2.4s ease-in-out infinite .2s; }
.flow-arrows.left .chevron:nth-child(3) { animation: chevronWave 2.4s ease-in-out infinite .4s; }
.flow-arrows.right .chevron:nth-child(1) { animation: chevronWave 2.4s ease-in-out infinite .9s; }
.flow-arrows.right .chevron:nth-child(2) { animation: chevronWave 2.4s ease-in-out infinite 1.1s; }
.flow-arrows.right .chevron:nth-child(3) { animation: chevronWave 2.4s ease-in-out infinite 1.3s; }

.flow-connector { width: 50px; height: 2px; position: relative; flex-shrink: 0; overflow: visible; }
.flow-connector-track {
    position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: repeating-linear-gradient(90deg, rgba(108,92,231,.2) 0px, rgba(108,92,231,.2) 4px, transparent 4px, transparent 8px);
}
.flow-connector-pulse {
    position: absolute; top: -2px; width: 8px; height: 5px;
    background: radial-gradient(circle, #6c5ce7 0%, transparent 70%);
    border-radius: 50%; animation: connectorPulse 2s ease-in-out infinite;
}
.flow-connector.right .flow-connector-pulse { animation-delay: 1s; }

.flow-center { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; padding: 0 8px; }
.flow-center-label {
    text-align: center; text-transform: uppercase; font-size: 10.5px; font-weight: 800;
    letter-spacing: 1.8px; color: #1a1a2e; line-height: 1.5; margin-bottom: 40px;
}
.flow-hub { position: relative; width: 86px; height: 86px; }
.flow-hub-ring { position: absolute; inset: -14px; border-radius: 50%; animation: rotateRing 25s linear infinite; }
.flow-hub-ring svg { width: 100%; height: 100%; }
.flow-hub-orbit { position: absolute; inset: -28px; border-radius: 50%; animation: rotateRing 35s linear infinite reverse; }
.flow-hub-orbit svg { width: 100%; height: 100%; }
.orbit-dots { position: absolute; inset: -14px; animation: rotateRing 6s linear infinite; }
.orbit-dot {
    position: absolute; width: 7px; height: 7px; background: #6c5ce7;
    border-radius: 50%; box-shadow: 0 0 6px rgba(108,92,231,.5);
}
.orbit-dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-dot:nth-child(2) { bottom: 15%; right: 0; }
.orbit-dot:nth-child(3) { bottom: 15%; left: 0; }

.flow-hub-inner {
    width: 100%; height: 100%; background: linear-gradient(145deg, #7c6cf7, #6c5ce7);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 2;
    box-shadow: 0 4px 20px rgba(108,92,231,.35), 0 0 0 4px rgba(108,92,231,.08);
    animation: hubPulse 3s ease-in-out infinite;
}
.flow-hub-inner svg { width: 32px; height: 32px; fill: #fff; }

.flow-person {
    position: absolute; width: 42px; height: 42px; border-radius: 50%;
    overflow: hidden; opacity: 0; animation: personFloat 5s ease-in-out infinite;
}
.flow-person-inner {
    width: 100%; height: 100%; border-radius: 50%;
    background: linear-gradient(135deg, #e8dff5, #d4c5f0);
    display: flex; align-items: center; justify-content: center;
}
.flow-person-inner svg { width: 22px; height: 22px; fill: #9b8ec4; }
.flow-person.person-1 { right: 90px; top: 8px; animation-delay: 0s; }
.flow-person.person-2 { left: 80px; bottom: 6px; animation-delay: 2.5s; }

@keyframes cardSlideInLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes cardSlideInRight { to { opacity: 1; transform: translateX(0); } }
@keyframes chevronWave {
    0%, 100% { opacity: .12; transform: translateX(-2px); }
    30% { opacity: 1; transform: translateX(2px); }
    60% { opacity: .12; transform: translateX(-2px); }
}
@keyframes rotateRing { to { transform: rotate(360deg); } }
@keyframes hubPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(108,92,231,.35), 0 0 0 4px rgba(108,92,231,.08); }
    50% { transform: scale(1.05); box-shadow: 0 6px 28px rgba(108,92,231,.5), 0 0 0 6px rgba(108,92,231,.12); }
}
@keyframes connectorPulse {
    0% { left: -10%; opacity: 0; }
    20% { opacity: .9; }
    80% { opacity: .9; }
    100% { left: 100%; opacity: 0; }
}
@keyframes personFloat {
    0%, 100% { opacity: .35; transform: translateY(0); }
    50% { opacity: .6; transform: translateY(-8px); }
}

@media (max-width: 900px) {
    .data-flow_component { flex-direction: column; gap: 24px; }
    .flow-middle { transform: rotate(90deg); padding: 10px 0; }
    .flow-column { flex: none; width: 100%; max-width: 320px; }
}

/* --- Empathy / Pain Points --- */
.empathy-section { padding: 100px 0; background: white; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pain-card {
    padding: 36px; border: 1px solid var(--slate-200); border-radius: var(--radius-md);
    transition: var(--transition); background: white;
}
.pain-card:hover { border-color: var(--red-100); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pain-icon { margin-bottom: 20px; }
.pain-card h3 { font-size: 20px; font-weight: 700; color: var(--slate-800); margin-bottom: 12px; font-style: italic; }
.pain-card p { font-size: 15px; color: var(--slate-500); line-height: 1.7; }

/* --- How It Works --- */
.how-it-works { padding: 100px 0; background: var(--slate-50); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 60px; }
.step-card {
    text-align: center; padding: 40px 32px; background: white;
    border-radius: var(--radius-md); border: 1px solid var(--slate-200);
    position: relative; transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-number {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px; background: var(--indigo-500); color: white;
    border-radius: 50%; font-weight: 800; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.step-icon-wrap { margin: 16px 0 20px; }
.step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--slate-500); line-height: 1.6; }

.works-for-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.works-for-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 20px; background: white; border-radius: var(--radius-sm);
    border: 1px solid var(--slate-200);
}
.works-for-icon { font-size: 28px; flex-shrink: 0; }
.works-for-item strong { display: block; font-size: 14px; color: var(--slate-800); margin-bottom: 2px; }
.works-for-item span { font-size: 13px; color: var(--slate-500); }

/* --- Press Callout --- */
.press-callout { padding: 80px 0; background: white; }
.press-card {
    max-width: 800px; margin: 0 auto; text-align: center;
    padding: 48px; background: linear-gradient(135deg, var(--indigo-50), white);
    border: 1px solid var(--indigo-200); border-radius: var(--radius-lg);
}
.press-logos { display: flex; justify-content: center; gap: 32px; margin-bottom: 24px; }
.press-logo {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
    font-size: 20px; color: var(--slate-300); font-style: italic;
}
.press-card h2 { font-size: 28px; font-weight: 800; color: var(--slate-900); margin-bottom: 16px; }
.press-card p { font-size: 16px; color: var(--slate-600); line-height: 1.7; }
.press-emphasis { font-weight: 600; color: var(--slate-700); margin-top: 16px; font-style: italic; }

/* --- Testimonials --- */
.testimonials { padding: 100px 0; background: white; }
.testimonials .section-title { margin-bottom: 50px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    padding: 32px; background: white; border: 1px solid var(--slate-200);
    border-radius: var(--radius-md); transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-card.featured { border-color: var(--indigo-300); background: linear-gradient(to bottom, var(--indigo-50), white); }
.testimonial-stars { color: var(--indigo-400); font-size: 20px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--slate-800); }
.testimonial-card p { font-size: 15px; color: var(--slate-500); line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%; background: var(--indigo-100);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--indigo-700); font-size: 14px;
}
.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author span { font-size: 13px; color: var(--slate-400); }
.testimonial-cta { text-align: center; margin-top: 40px; }

/* --- Feature Deep Dives --- */
.features-deep { padding: 100px 0; background: var(--slate-50); }
.feature-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    margin-bottom: 100px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-visual { order: -1; }
.feature-label {
    font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--indigo-600); margin-bottom: 12px;
}
.feature-text h2 { font-size: 36px; font-weight: 800; color: var(--slate-900); margin-bottom: 16px; letter-spacing: -.3px; }
.feature-text > p { font-size: 16px; color: var(--slate-500); line-height: 1.7; margin-bottom: 24px; }
.feature-list { list-style: none; margin-bottom: 28px; }
.feature-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 8px 0; font-size: 15px; color: var(--slate-600);
}
.feature-list li svg { flex-shrink: 0; margin-top: 2px; }

/* Feature Mocks */
.feature-mock {
    background: white; border: 1px solid var(--slate-200); border-radius: var(--radius-md);
    padding: 24px; box-shadow: var(--shadow-lg);
}
.mock-header { display: flex; gap: 4px; margin-bottom: 20px; }
.mock-tab {
    padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 500;
    color: var(--slate-400); background: var(--slate-50);
}
.mock-tab.active { background: var(--indigo-500); color: white; }

/* Screen Grid */
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.screen-tile {
    background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-sm);
    padding: 12px; position: relative;
}
.screen-tile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.screen-tile-name { font-size: 12px; font-weight: 600; color: var(--slate-700); }
.screen-tile-status { font-size: 10px; padding: 2px 8px; border-radius: 50px; font-weight: 600; }
.screen-tile-status.live { background: var(--green-100); color: var(--green-600); }
.screen-tile-status.recording { background: var(--red-100); color: var(--red-500); }
.screen-tile-content {
    aspect-ratio: 16 / 9; background: #1e293b; border-radius: 4px;
    overflow: hidden; position: relative;
}
.st-bar {
    height: 12px; background: #334155;
    display: flex; align-items: center; padding: 0 5px; gap: 3px;
}
.st-dot { width: 4px; height: 4px; border-radius: 50%; display: inline-block; }
.st-dot.r { background: #ef4444; }
.st-dot.y { background: #f59e0b; }
.st-dot.g { background: #22c55e; }
.st-title { margin-left: auto; height: 5px; width: 36px; background: #475569; border-radius: 2px; }
.st-body { padding: 6px; height: calc(100% - 12px); box-sizing: border-box; }

/* CRM (Sales) */
.app-crm .st-body { display: flex; gap: 5px; padding: 5px; }
.app-crm .crm-side {
    width: 18px; background: #0f172a; border-radius: 2px;
    display: flex; flex-direction: column; gap: 3px; padding: 4px 3px;
}
.app-crm .crm-side span { display: block; height: 4px; background: #475569; border-radius: 1px; }
.app-crm .crm-main { flex: 1; display: flex; flex-direction: column; gap: 3px; justify-content: center; }
.app-crm .crm-row { height: 5px; background: #334155; border-radius: 1px; }
.app-crm .crm-row.h { background: #475569; }
.app-crm .crm-row.a { background: #10b981; opacity: .55; }

/* Code editor (Engineering) */
.app-code .st-body { display: flex; gap: 5px; padding: 5px 5px 5px 4px; }
.app-code .code-nums { display: flex; flex-direction: column; gap: 4px; padding-top: 1px; }
.app-code .code-nums span { display: block; width: 6px; height: 4px; background: #475569; border-radius: 1px; }
.app-code .code-lines { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.app-code .code-line { display: flex; gap: 3px; align-items: center; }
.app-code .tk { height: 4px; border-radius: 1px; }
.app-code .tk-kw { background: #c084fc; }
.app-code .tk-str { background: #86efac; opacity: .85; }
.app-code .tk-var { background: #94a3b8; }
.app-code .tk-fn { background: #fbbf24; }

/* Chat support */
.app-chat .st-body { display: flex; flex-direction: column; gap: 5px; padding: 6px; justify-content: center; }
.app-chat .bubble { height: 8px; border-radius: 5px; }
.app-chat .bubble.l { width: 55%; background: #475569; align-self: flex-start; }
.app-chat .bubble.r { width: 65%; background: #6366f1; align-self: flex-end; opacity: .85; }

/* Design tool */
.app-design .st-body { position: relative; padding: 0; }
.app-design .shape { position: absolute; display: block; }
.app-design .shape.circle { width: 16px; height: 16px; border-radius: 50%; background: #ec4899; top: 12px; left: 14px; opacity: .85; }
.app-design .shape.square { width: 14px; height: 14px; background: #06b6d4; border-radius: 2px; top: 22px; left: 38px; opacity: .8; }
.app-design .shape.tri {
    width: 0; height: 0;
    border-left: 9px solid transparent; border-right: 9px solid transparent;
    border-bottom: 14px solid #fbbf24;
    top: 20px; right: 14px; opacity: .85;
}
.app-design .shape.line { width: 44px; height: 2px; background: #94a3b8; border-radius: 1px; top: 48px; left: 16px; opacity: .6; }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mock-stat { text-align: center; padding: 8px; background: var(--slate-50); border-radius: var(--radius-sm); }
.mock-stat-val { font-size: 16px; font-weight: 800; color: var(--slate-800); font-family: 'Plus Jakarta Sans', sans-serif; }
.mock-stat-label { font-size: 11px; color: var(--slate-400); }

/* AI Classification */
.ai-classification { margin-bottom: 20px; }
.ai-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 12px 16px; background: var(--slate-50); border-radius: var(--radius-sm); }
.ai-item-icon { font-size: 20px; flex-shrink: 0; }
.ai-item-info { flex: 1; }
.ai-item-name { font-size: 13px; font-weight: 600; color: var(--slate-700); }
.ai-item-app { font-size: 11px; color: var(--slate-400); }
.ai-item-badge { font-size: 11px; padding: 3px 10px; border-radius: 50px; font-weight: 700; }
.ai-item-badge.on-task { background: var(--green-100); color: var(--green-600); }
.ai-item-badge.off-task { background: var(--red-100); color: var(--red-500); }

/* Focus Score */
.focus-score-display { position: relative; width: 180px; height: 180px; margin: 0 auto 24px; }
.focus-ring { width: 100%; height: 100%; }
.focus-score-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center;
}
.focus-number { font-size: 48px; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--slate-900); line-height: 1; }
.focus-label { font-size: 13px; color: var(--slate-400); }

.focus-breakdown { margin-bottom: 20px; }
.focus-item { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.focus-bar-label { font-size: 13px; color: var(--slate-500); width: 80px; flex-shrink: 0; }
.focus-bar { flex: 1; height: 8px; background: var(--slate-100); border-radius: 4px; overflow: hidden; }
.focus-fill { height: 100%; border-radius: 4px; background: linear-gradient(to right, var(--indigo-400), var(--green-500)); }
.focus-fill.light { background: linear-gradient(to right, var(--indigo-300), var(--indigo-400)); }
.focus-fill.distracted { background: linear-gradient(to right, var(--red-500), #f97316); }
.focus-pct { font-size: 13px; font-weight: 600; color: var(--slate-700); width: 36px; text-align: right; }
.peak-hours {
    display: flex; justify-content: space-between; padding: 12px 16px;
    background: var(--green-50); border-radius: var(--radius-sm); border: 1px solid var(--green-100);
}
.peak-label { font-size: 13px; color: var(--green-600); font-weight: 500; }
.peak-value { font-size: 13px; font-weight: 700; color: var(--green-600); }

/* Email Mock */
.email-mock { background: var(--slate-50); }
.email-header { padding-bottom: 16px; border-bottom: 1px solid var(--slate-200); margin-bottom: 16px; }
.email-from { display: flex; align-items: center; gap: 12px; }
.email-from strong { display: block; font-size: 15px; color: var(--slate-800); }
.email-from small { font-size: 13px; color: var(--slate-400); }
.email-body { display: flex; flex-direction: column; gap: 12px; }
.email-highlight {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px; border-radius: var(--radius-sm); border: 1px solid;
}
.email-highlight.good { background: var(--green-50); border-color: var(--green-100); }
.email-highlight.warning { background: rgba(99,102,241,.05); border-color: var(--indigo-200); }
.email-highlight.alert { background: var(--red-50); border-color: var(--red-100); }
.email-emoji { font-size: 24px; flex-shrink: 0; }
.email-highlight strong { display: block; font-size: 14px; color: var(--slate-800); margin-bottom: 4px; }
.email-highlight p { font-size: 13px; color: var(--slate-600); line-height: 1.5; margin: 0; }

/* --- Results --- */
.results-section { padding: 100px 0; background: var(--slate-900); color: white; }
.results-section .section-label { color: var(--indigo-400); }
.results-section .section-title { color: white; }
.results-section .highlight { color: var(--indigo-400); }
.results-section .section-subtitle { color: var(--slate-400); }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.result-card {
    padding: 36px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md); transition: var(--transition);
}
.result-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.result-card.accent { background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.3); }
.result-number {
    font-size: 48px; font-weight: 900; font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--indigo-400); margin-bottom: 8px;
}
.result-label { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: white; }
.result-card p { font-size: 14px; color: var(--slate-400); line-height: 1.6; }

/* --- Comparison --- */
.comparison-section { padding: 100px 0; background: white; }
.comparison-table-wrap { overflow-x: auto; }
.comparison-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    max-width: 800px; margin: 0 auto;
}
.comparison-table th, .comparison-table td {
    padding: 16px 24px; text-align: center; border-bottom: 1px solid var(--slate-100);
}
.comparison-table th { font-size: 14px; font-weight: 700; color: var(--slate-700); padding-bottom: 20px; }
.comparison-table td:first-child { text-align: left; font-size: 15px; color: var(--slate-600); font-weight: 500; }
.highlight-col { background: var(--indigo-50); }
.comparison-table th.highlight-col {
    color: var(--indigo-700); position: relative;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.comparison-table tr:last-child .highlight-col { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.yes { color: var(--green-600); font-weight: 700; font-size: 18px; }
.no { color: var(--slate-300); font-size: 18px; }
.partial { color: var(--indigo-500); font-size: 18px; }

/* --- Pricing --- */
.pricing-section { padding: 100px 0; background: var(--slate-50); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card {
    padding: 36px; background: white; border: 2px solid var(--slate-200);
    border-radius: var(--radius-md); position: relative; transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--indigo-400); box-shadow: var(--shadow-lg); transform: scale(1.04); }
.popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--indigo-500); color: white; padding: 4px 20px; border-radius: 50px;
    font-size: 13px; font-weight: 700;
}
.pricing-name { font-size: 20px; font-weight: 800; color: var(--slate-900); }
.pricing-desc { font-size: 14px; color: var(--slate-500); margin-bottom: 20px; }
.pricing-price { font-size: 56px; font-weight: 900; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--slate-900); margin-bottom: 24px; }
.currency { font-size: 28px; vertical-align: super; }
.period { font-size: 16px; font-weight: 500; color: var(--slate-400); }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { padding: 8px 0; font-size: 14px; color: var(--slate-600); border-bottom: 1px solid var(--slate-100); }
.pricing-note { text-align: center; margin-top: 32px; font-size: 15px; color: var(--slate-500); }

/* --- Integrations --- */
.integrations-section { padding: 80px 0; background: white; }
.integrations-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 900px; margin: 0 auto;
}
.integration-logo {
    padding: 20px 16px; text-align: center; font-size: 13px; font-weight: 600;
    color: var(--slate-500); background: var(--slate-50); border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm); transition: var(--transition);
}
.integration-logo:hover { border-color: var(--indigo-300); background: var(--indigo-50); color: var(--indigo-700); }

/* --- Trust / Ratings --- */
.trust-section { padding: 80px 0; background: var(--slate-50); }
.ratings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.rating-card {
    text-align: center; padding: 28px; background: white; border: 1px solid var(--slate-200);
    border-radius: var(--radius-md); transition: var(--transition);
}
.rating-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rating-source { font-size: 14px; font-weight: 700; color: var(--slate-700); margin-bottom: 8px; }
.rating-stars { color: var(--indigo-400); font-size: 20px; letter-spacing: 2px; margin-bottom: 8px; }
.rating-score { font-size: 28px; font-weight: 900; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--slate-900); }
.rating-count { font-size: 13px; color: var(--slate-400); margin-top: 4px; }

/* --- Privacy --- */
.privacy-section { padding: 80px 0; background: white; }
.privacy-card {
    display: flex; gap: 48px; align-items: flex-start;
    padding: 48px; background: var(--indigo-50); border: 1px solid var(--indigo-100);
    border-radius: var(--radius-lg); max-width: 900px; margin: 0 auto;
}
.privacy-icon { flex-shrink: 0; }
.privacy-content h2 { font-size: 28px; font-weight: 800; color: var(--slate-900); margin-bottom: 12px; }
.privacy-content > p { font-size: 16px; color: var(--slate-600); margin-bottom: 24px; }
.privacy-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-point { padding: 12px 16px; background: white; border-radius: var(--radius-sm); }
.privacy-point strong { display: block; font-size: 14px; color: var(--slate-800); margin-bottom: 4px; }
.privacy-point span { font-size: 13px; color: var(--slate-500); }

/* --- FAQ --- */
.faq-section { padding: 100px 0; background: var(--slate-50); }
.faq-section .section-title { margin-bottom: 50px; }
.faq-grid { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; background: none; border: none; cursor: pointer;
    font-size: 17px; font-weight: 600; color: var(--slate-800); text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.faq-question svg { flex-shrink: 0; transition: var(--transition); color: var(--slate-400); }
.faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--indigo-500); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 0 20px; font-size: 15px; color: var(--slate-500); line-height: 1.7; }

/* --- Final CTA --- */
.final-cta {
    padding: 100px 0; text-align: center;
    background: linear-gradient(135deg, var(--slate-900) 0%, #1a1a3e 50%, var(--slate-900) 100%);
    color: white; position: relative; overflow: hidden;
}
.final-cta::before {
    content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 70%);
}
.final-cta h2 { font-size: 48px; font-weight: 900; margin-bottom: 16px; position: relative; }
.final-cta > .container > p { font-size: 18px; color: var(--slate-400); max-width: 580px; margin: 0 auto 36px; position: relative; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; position: relative; }
.cta-note { font-size: 13px; color: var(--slate-500); position: relative; margin-bottom: 32px; }
.cta-trust { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; position: relative; }
.cta-trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate-400); }

/* --- Footer --- */
.site-footer { padding: 64px 0 32px; background: var(--slate-900); color: var(--slate-400); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { transform: translateY(-4px); }
.footer-logo span { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: white; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: var(--slate-400); transition: var(--transition);
}
.footer-social a:hover { background: var(--indigo-500); color: white; }
.footer-contact p { font-size: 14px; line-height: 1.6; color: var(--slate-400); margin: 0 0 12px; }
.footer-contact a { color: var(--slate-400); transition: var(--transition); }
.footer-contact a:hover { color: var(--indigo-400); }
.footer-links h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 14px; padding: 4px 0; color: var(--slate-400); transition: var(--transition); }
.footer-links a:hover { color: var(--indigo-400); }
.footer-bottom {
    display: flex; justify-content: center; align-items: center; text-align: center;
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
}
.footer-bottom p { margin: 0; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--slate-500); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--indigo-400); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-trust { justify-content: center; }
    .hero-ctas { justify-content: center; }
    /* width:100% is required: margin:0 auto alone makes this grid item
       fit-content, which is 0 here (all hv children are absolute) */
    .hero-visual { width: 100%; max-width: 600px; margin: 0 auto; }
    .dashboard-preview { transform: none; }
    .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse .feature-visual { order: 0; }
    .features-tile-grid { grid-template-columns: repeat(2, 1fr); }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-actions { display: none; }
    .mobile-toggle { display: flex; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 36px; }
    .section-title { font-size: 32px; }
    .features-tile-grid { grid-template-columns: 1fr 1fr; }
    .pain-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .works-for-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-card.popular { transform: none; }
    .integrations-grid { grid-template-columns: repeat(3, 1fr); }
    .ratings-grid { grid-template-columns: repeat(2, 1fr); }
    .privacy-card { flex-direction: column; gap: 24px; }
    .privacy-points { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .final-cta h2 { font-size: 32px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .dash-stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 30px; }
    .hero-trust { flex-direction: column; gap: 8px; }
    .trust-separator { display: none; }
    .hero-ctas { flex-direction: column; }
    .features-tile-grid { grid-template-columns: 1fr; }
    .works-for-grid { grid-template-columns: 1fr; }
    .integrations-grid { grid-template-columns: repeat(2, 1fr); }
    .ratings-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .comparison-table th, .comparison-table td { padding: 12px 8px; font-size: 12px; }
}

/* Smooth animations on scroll */
@media (prefers-reduced-motion: no-preference) {
    .feature-tile, .pain-card, .step-card, .testimonial-card, .result-card, .rating-card, .feature-row {
        opacity: 0; transform: translateY(24px);
        animation: fadeInUp .6s ease forwards;
    }
    @keyframes fadeInUp {
        to { opacity: 1; transform: translateY(0); }
    }
}

/* ===== Hero Visualization (hv-*) ===== */
.hv-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 800 / 600;
    overflow: visible;
}

/* Circles */
.hv-circle { position: absolute; border-radius: 50%; border: 1.5px solid rgba(99,102,241,.09); pointer-events: none; }
.hv-circle-1 { width: 65%; height: 87%; top: 46%; left: 46%; transform: translate(-50%,-50%); }
.hv-circle-2 { width: 45%; height: 60%; top: 46%; left: 46%; transform: translate(-50%,-50%); }
.hv-circle-3 { width: 25%; height: 33%; top: 46%; left: 46%; transform: translate(-50%,-50%); }
.hv-dot { position: absolute; border-radius: 50%; pointer-events: none; }

/* Connectors */
.hv-connectors { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* Abstract art */
.hv-abstract-art { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* Notification */
.hv-notif {
    position: absolute; top: 5%; right: 38%;
    background: #fff; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.07);
    padding: 9px 12px; display: flex; align-items: center; gap: 8px; z-index: 4;
    transform: scale(0.8); transform-origin: top right;
}
.hv-notif-icon {
    width: 26px; height: 26px; border-radius: 50%; background: #fef2f2;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hv-notif-text { font-size: 10px; color: #475569; font-weight: 500; line-height: 1.3; }
.hv-notif-text strong { color: #1e293b; font-weight: 700; }
.hv-notif-time { font-size: 8px; color: #94a3b8; margin-top: 1px; }

/* Main timesheet card */
.hv-main-card {
    position: absolute; top: 15%; left: 0%; width: 63.75%;
    background: #fff; border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.03);
    padding: 3.3% 4% 3%;
    z-index: 2;
    transform: scale(0.8); transform-origin: top left;
}
.hv-main-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hv-main-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px; color: #1e293b; }
.hv-live {
    display: inline-flex; align-items: center; gap: 4px;
    background: #ecfdf5; color: #059669; font-size: 9px; font-weight: 700;
    padding: 3px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: .5px;
}
.hv-live-dot { width: 5px; height: 5px; background: #059669; border-radius: 50%; }
.hv-time-range {
    display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: #64748b;
    background: #f1f5f9; padding: 4px 10px; border-radius: 6px; font-weight: 500;
}

/* Legend */
.hv-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.hv-legend span { display: flex; align-items: center; gap: 4px; font-size: 9px; color: #64748b; font-weight: 500; }
.hv-ldot { display: inline-block; width: 7px; height: 7px; border-radius: 2px; }

/* Time axis */
.hv-time-axis {
    display: flex; justify-content: space-between;
    padding-left: 26%; padding-right: 1%; margin-bottom: 4px;
}
.hv-time-axis span { font-size: 8.5px; color: #94a3b8; font-weight: 500; }

/* Employee rows */
.hv-emp-row { display: flex; align-items: center; margin-bottom: 10px; position: relative; }
.hv-emp-info { width: 26%; flex-shrink: 0; }
.hv-emp-name { font-size: 11px; font-weight: 600; color: #1e293b; white-space: nowrap; }
.hv-emp-util { font-size: 9px; font-weight: 500; white-space: nowrap; }
.hv-timeline { flex: 1; height: 17px; display: flex; align-items: center; gap: 2px; }
.hv-tb { height: 17px; border-radius: 3px; flex-shrink: 0; }

/* Screen recording card */
.hv-screen-card {
    position: absolute; top: 18%; right: 1%; width: 46%;
    background: #fff; border-radius: 12px;
    box-shadow: 0 6px 28px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.04);
    overflow: hidden; z-index: 4;
    transform: scale(0.8); transform-origin: top right;
}
.hv-sc-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px; background: #f8fafc; border-bottom: 1px solid #e2e8f0;
}
.hv-sc-header-left { display: flex; align-items: center; gap: 6px; }
.hv-sc-avatar {
    width: 22px; height: 22px; border-radius: 50%;
    background: linear-gradient(135deg,#6366f1,#a78bfa);
    display: flex; align-items: center; justify-content: center;
    font-size: 8px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.hv-sc-name { font-size: 10px; font-weight: 600; color: #1e293b; line-height: 1.2; }
.hv-sc-app { font-size: 8px; color: #94a3b8; font-weight: 500; }
.hv-rec-badge {
    display: flex; align-items: center; gap: 3px;
    background: #fef2f2; border: 1px solid #fecaca;
    padding: 2px 7px; border-radius: 8px;
}
.hv-rec-dot { width: 5px; height: 5px; background: #ef4444; border-radius: 50%; }
.hv-rec-label { font-size: 8px; font-weight: 800; color: #ef4444; letter-spacing: .5px; }

/* Fake screen viewport */
.hv-sc-viewport { padding: 6px; background: #0f172a; }
.hv-fake-screen {
    width: 100%; height: 100px; background: #1e293b;
    border-radius: 4px; overflow: hidden; position: relative;
}
.hv-play-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center; z-index: 2; pointer-events: none;
}
.hv-play-btn {
    width: 36px; height: 36px; background: rgba(255,255,255,.92);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.hv-play-btn svg { margin-left: 2px; }
.hv-browser-bar {
    height: 14px; background: #334155; display: flex; align-items: center; padding: 0 6px; gap: 3px;
}
.hv-bd { width: 4px; height: 4px; border-radius: 50%; display: inline-block; }
.hv-fake-url { margin-left: 6px; height: 7px; width: 70px; background: #475569; border-radius: 3px; }
.hv-spreadsheet { padding: 5px; }
.hv-sr { display: flex; gap: 2px; margin-bottom: 2px; }
.hv-sc-cell { height: 7px; border-radius: 1px; flex-shrink: 0; }
.hv-ch { background: #475569; }
.hv-cd { background: #334155; }
.hv-cn { background: #10b981; opacity: .4; }
.hv-ci { background: #6366f1; opacity: .5; }

/* Screen footer */
.hv-sc-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 12px; background: #f8fafc; border-top: 1px solid #e2e8f0;
}
.hv-sc-footer-left { display: flex; align-items: center; gap: 4px; }
.hv-sc-duration { font-size: 9px; font-weight: 600; color: #475569; }
.hv-sc-footer-right { display: flex; align-items: center; gap: 6px; }
.hv-sc-status { font-size: 8px; font-weight: 600; color: #059669; background: #ecfdf5; padding: 1px 6px; border-radius: 6px; }
.hv-sc-action-btn {
    width: 20px; height: 20px; border-radius: 5px; background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
}

/* Compliance card */
.hv-compliance-card {
    position: absolute; top: 58%; right: 10%; width: 50%;
    background: #fff; border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.03);
    padding: 16px 18px; z-index: 3;
    transform: scale(0.8); transform-origin: top right;
}
.hv-comp-header { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.hv-comp-icon {
    width: 32px; height: 32px; background: linear-gradient(135deg,#6366f1,#818cf8);
    border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hv-comp-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 12.5px; color: #1e293b; }
.hv-comp-sub { font-size: 9.5px; color: #94a3b8; font-weight: 500; }
.hv-comp-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 0; border-bottom: 1px solid #f1f5f9;
}
.hv-comp-item-l { display: flex; align-items: center; gap: 6px; }
.hv-comp-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.hv-comp-label { font-size: 10.5px; color: #475569; font-weight: 500; }
.hv-comp-item-r { display: flex; align-items: center; gap: 4px; }
.hv-comp-bar-wrap { width: 50px; height: 4px; background: #f1f5f9; border-radius: 3px; overflow: hidden; margin-right: 5px; }
.hv-comp-bar { height: 100%; border-radius: 3px; }
.hv-comp-val { font-size: 10.5px; font-weight: 700; color: #1e293b; min-width: 24px; text-align: right; }

/* Adherence ring */
.hv-adherence-card {
    position: absolute; top: 52%; left: 26%; width: 20.6%;
    background: #fff; border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.03);
    padding: 14px; z-index: 3; text-align: center;
    transform: scale(0.8); transform-origin: bottom left;
}
.hv-ring-wrap { width: 72px; height: 72px; margin: 0 auto 8px; position: relative; }
.hv-ring-val {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    font-size: 17px; font-weight: 800; color: #6366f1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.hv-adh-label { font-size: 10.5px; font-weight: 600; color: #475569; }
.hv-adh-sub { font-size: 8.5px; color: #94a3b8; margin-top: 2px; }

/* Responsive adjustments for hero visualization */
@media (max-width: 1024px) {
    .hv-wrapper { max-width: 600px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .hv-notif { display: none; }
    .hv-main-title { font-size: 12px; }
    .hv-legend span { font-size: 7px; }
    .hv-emp-name { font-size: 9px; }
    .hv-emp-util { font-size: 7.5px; }
    .hv-time-axis span { font-size: 7px; }
    .hv-sc-name { font-size: 8px; }
    .hv-comp-title { font-size: 10px; }
    .hv-comp-label { font-size: 8.5px; }
    .hv-fake-screen { height: 70px; }
}
/* Phones: the absolute-positioned collage can't fit its fixed-size card
   internals — stack the cards vertically instead */
@media (max-width: 640px) {
    .hv-wrapper { aspect-ratio: auto; }
    .hv-circle, .hv-dot, .hv-connectors, .hv-abstract-art { display: none; }
    .hv-main-card, .hv-screen-card, .hv-compliance-card, .hv-adherence-card {
        position: static;
        width: 100%;
        transform: none;
        margin: 0 0 16px;
    }
    .hv-adherence-card { margin-bottom: 0; }
    .hv-fake-screen { height: 110px; }
}

/* --- Subpage layout (legal & support) --- */
.subpage-hero {
    padding: 120px 0 48px;
    background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
    border-bottom: 1px solid var(--slate-200);
}
.subpage-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin: 0 0 12px;
}
.subpage-hero p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--slate-600);
    max-width: 720px;
    margin: 0;
}
.legal-page, .support-page {
    padding: 56px 0 96px;
    background: white;
}
.legal-prose {
    max-width: 760px;
    margin: 0 auto;
    color: var(--slate-700);
    font-size: 16px;
    line-height: 1.75;
}
.legal-prose h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--slate-900);
    margin: 48px 0 16px;
    letter-spacing: -0.01em;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 {
    font-weight: 700;
    font-size: 18px;
    color: var(--slate-900);
    margin: 32px 0 12px;
}
.legal-prose p { margin: 0 0 16px; }
.legal-prose ul, .legal-prose ol { margin: 0 0 16px; padding-left: 24px; }
.legal-prose li { margin-bottom: 8px; }
.legal-prose strong { color: var(--slate-900); font-weight: 600; }
.legal-prose a { color: var(--indigo-500); text-decoration: underline; }
.legal-prose a:hover { color: var(--indigo-400); }
.legal-prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 0.95em; display: block; overflow-x: auto; }
.legal-prose th, .legal-prose td { border: 1px solid var(--slate-200, #e2e8f0); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-prose th { background: var(--slate-50, #f8fafc); font-weight: 600; }
.legal-prose .clause {
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--slate-200);
}
.legal-toc {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 40px;
}
.legal-toc h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-500); margin: 0 0 12px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 24px; font-size: 14px; }
.legal-toc ol li { margin-bottom: 4px; break-inside: avoid; }
.legal-toc a { color: var(--slate-700); }
.legal-toc a:hover { color: var(--indigo-500); }
.legal-meta { font-size: 14px; color: var(--slate-500); margin-bottom: 32px; }

/* Support form */
.support-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.support-form {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.support-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 6px;
}
.support-form input,
.support-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--slate-900);
    background: white;
    transition: var(--transition);
    margin-bottom: 16px;
}
.support-form input:focus,
.support-form textarea:focus {
    outline: none;
    border-color: var(--indigo-500);
    box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
.support-form textarea { min-height: 140px; resize: vertical; }
.support-form button {
    width: 100%;
    padding: 14px 24px;
    background: var(--indigo-500);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.support-form button:hover { background: var(--indigo-600, #4f46e5); }
.support-info h3 { font-size: 18px; font-weight: 700; color: var(--slate-900); margin: 0 0 12px; }
.support-info p { color: var(--slate-600); line-height: 1.6; margin: 0 0 16px; }
.support-info .info-block { margin-bottom: 24px; }
.support-info .info-block strong { display: block; color: var(--slate-900); font-size: 14px; margin-bottom: 4px; }
.support-info a { color: var(--indigo-500); }

@media (max-width: 768px) {
    .support-grid { grid-template-columns: 1fr; gap: 32px; }
    .legal-toc ol { columns: 1; }
    .subpage-hero { padding: 100px 0 40px; }
}

