/* Certova.ai - AI-Powered Compliance Platform */
:root {
    --bg-primary: #060918;
    --bg-secondary: #0c1029;
    --bg-card: rgba(15, 23, 62, 0.6);
    --bg-card-hover: rgba(20, 30, 80, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --text-primary: #e8ecf4;
    --text-secondary: #8b95b0;
    --text-muted: #5a6380;
    --text-heading: #ffffff;
    --accent-primary: #00c8ff;
    --accent-secondary: #7b5cff;
    --accent-green: #00e68a;
    --accent-orange: #ff8c42;
    --accent-pink: #ff4da6;
    --gradient-hero: linear-gradient(135deg, #00c8ff 0%, #7b5cff 50%, #ff4da6 100%);
    --gradient-accent: linear-gradient(135deg, #00c8ff 0%, #7b5cff 100%);
    --gradient-card: linear-gradient(135deg, rgba(0,200,255,0.08) 0%, rgba(123,92,255,0.08) 100%);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(0, 200, 255, 0.2);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(0,200,255,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 100px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --container-max: 1200px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-secondary); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; }
h1, h2, h3, h4, h5, h6 { color: var(--text-heading); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.section-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: var(--gradient-card); border: 1px solid var(--border-accent); border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 600; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.section-title { margin-bottom: 20px; }
.section-subtitle { color: var(--text-secondary); font-size: 1.125rem; max-width: 640px; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-subtitle { margin: 0 auto; }
.bg-grid { position: fixed; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; z-index: 0; }
.bg-glow { position: fixed; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: 0.4; pointer-events: none; z-index: 0; }
.bg-glow--1 { top: -200px; right: -100px; background: rgba(0,200,255,0.08); }
.bg-glow--2 { bottom: 30%; left: -200px; background: rgba(123,92,255,0.06); }
.bg-glow--3 { bottom: -100px; right: 20%; background: rgba(255,77,166,0.05); }
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all var(--transition-base); }
.nav.scrolled { background: rgba(6,9,24,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-subtle); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: var(--text-heading); letter-spacing: -0.03em; }
.nav-logo svg { width: 32px; height: 32px; }
.nav-logo .logo-dot { color: var(--accent-primary); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text-heading); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; background: var(--gradient-accent); color: #fff !important; font-weight: 600; font-size: 0.9rem; border-radius: var(--radius-pill); transition: all var(--transition-base); box-shadow: 0 4px 20px rgba(0,200,255,0.2); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(0,200,255,0.3); color: #fff !important; }
.nav-cta-login { background: transparent; color: var(--text-secondary) !important; box-shadow: none; border: 1px solid rgba(255,255,255,0.12); }
.nav-cta-login:hover { color: var(--text-heading) !important; border-color: rgba(255,255,255,0.25); box-shadow: none; }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; }
.nav-mobile-toggle svg { width: 24px; height: 24px; }
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg::before { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 1000px; height: 1000px; background: radial-gradient(ellipse, rgba(0,200,255,0.08) 0%, rgba(123,92,255,0.04) 40%, transparent 70%); animation: heroGlow 8s ease-in-out infinite alternate; }
@keyframes heroGlow { 0% { transform: translateX(-50%) scale(1); opacity: 0.6; } 100% { transform: translateX(-50%) scale(1.2); opacity: 1; } }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; background: var(--gradient-card); border: 1px solid var(--border-accent); border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 500; color: var(--accent-primary); margin-bottom: 32px; animation: fadeInUp 0.8s ease both; }
.hero-badge .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 24px; animation: fadeInUp 0.8s ease 0.1s both; }
.hero-title .gradient-text { background: var(--gradient-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 64px; animation: fadeInUp 0.8s ease 0.3s both; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; font-size: 1rem; font-weight: 600; border-radius: var(--radius-pill); border: none; cursor: pointer; transition: all var(--transition-base); font-family: var(--font-sans); }
.btn-primary { background: var(--gradient-accent); color: #fff; box-shadow: 0 4px 24px rgba(0,200,255,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(0,200,255,0.35); color: #fff; }
.btn-secondary { background: var(--bg-glass); color: var(--text-primary); border: 1px solid var(--border-subtle); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--border-accent); color: var(--text-heading); transform: translateY(-2px); }
.btn-arrow { transition: transform var(--transition-fast); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.hero-visual { animation: fadeInUp 0.8s ease 0.4s both; position: relative; max-width: 960px; margin: 0 auto; }
.hero-dashboard { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg), var(--shadow-glow); }
.dashboard-topbar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--border-subtle); }
.dashboard-dot { width: 10px; height: 10px; border-radius: 50%; }
.dashboard-dot--red { background: #ff5f57; }
.dashboard-dot--yellow { background: #febc2e; }
.dashboard-dot--green { background: #28c840; }
.dashboard-url { flex: 1; text-align: center; font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }
.dashboard-body { padding: 24px; display: grid; grid-template-columns: 200px 1fr; gap: 20px; min-height: 340px; }
.dashboard-sidebar { display: flex; flex-direction: column; gap: 4px; }
.sidebar-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.8rem; color: var(--text-secondary); }
.sidebar-item.active { background: var(--gradient-card); color: var(--accent-primary); border: 1px solid var(--border-accent); }
.dashboard-main { display: flex; flex-direction: column; gap: 16px; }
.dashboard-header-row { display: flex; justify-content: space-between; align-items: center; }
.dashboard-header-row h4 { font-size: 0.95rem; font-weight: 600; }
.compliance-score { display: flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(0,230,138,0.1); border: 1px solid rgba(0,230,138,0.2); border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 700; color: var(--accent-green); }
.score-ring { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--accent-green); border-right-color: transparent; animation: spin 2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.framework-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fw-card { padding: 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); transition: all var(--transition-fast); }
.fw-card:hover { border-color: var(--border-accent); background: var(--gradient-card); }
.fw-card-name { font-size: 0.75rem; font-weight: 600; color: var(--text-heading); margin-bottom: 6px; }
.fw-card-bar { height: 4px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden; margin-bottom: 4px; }
.fw-card-fill { height: 100%; border-radius: 2px; transition: width 1.5s ease; }
.fw-card-fill--high { background: var(--accent-green); }
.fw-card-fill--mid { background: var(--accent-primary); }
.fw-card-fill--low { background: var(--accent-orange); }
.fw-card-pct { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); }
.dashboard-activity { padding: 12px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); }
.activity-title { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.activity-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.78rem; color: var(--text-secondary); }
.activity-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.activity-dot--green { background: var(--accent-green); }
.activity-dot--blue { background: var(--accent-primary); }
.activity-dot--purple { background: var(--accent-secondary); }
.activity-time { margin-left: auto; font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); }
.logos-section { padding: 60px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.logos-label { text-align: center; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; margin-bottom: 36px; }
.logos-grid { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.logo-item { font-size: 1.1rem; font-weight: 700; color: var(--text-muted); opacity: 0.5; transition: opacity var(--transition-base); letter-spacing: -0.02em; white-space: nowrap; }
.logo-item:hover { opacity: 0.8; }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; margin-bottom: 4px; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); transition: all var(--transition-base); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-accent); opacity: 0; transition: opacity var(--transition-base); }
.feature-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow-md), var(--shadow-glow); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--gradient-card); border: 1px solid var(--border-accent); border-radius: var(--radius-md); margin-bottom: 20px; font-size: 1.3rem; }
.feature-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-pink)); opacity: 0.3; }
.step-card { text-align: center; position: relative; }
.step-number { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; background: var(--bg-card); border: 2px solid var(--border-accent); border-radius: 50%; font-size: 1.2rem; font-weight: 800; color: var(--accent-primary); position: relative; z-index: 2; }
.step-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.step-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }
.frameworks-section { background: var(--bg-secondary); }
.frameworks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.framework-item { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); transition: all var(--transition-base); }
.framework-item:hover { border-color: var(--border-accent); background: var(--bg-card-hover); transform: translateY(-2px); }
.framework-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 800; flex-shrink: 0; }
.framework-icon--blue { background: rgba(0,200,255,0.1); color: var(--accent-primary); }
.framework-icon--purple { background: rgba(123,92,255,0.1); color: var(--accent-secondary); }
.framework-icon--green { background: rgba(0,230,138,0.1); color: var(--accent-green); }
.framework-icon--orange { background: rgba(255,140,66,0.1); color: var(--accent-orange); }
.framework-icon--pink { background: rgba(255,77,166,0.1); color: var(--accent-pink); }
.framework-name { font-size: 0.85rem; font-weight: 600; color: var(--text-heading); }
.framework-category { margin-bottom: 36px; }
.framework-category-title { font-size: 0.85rem; font-weight: 700; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border-subtle); }
.framework-note { text-align: center; margin-top: 32px; color: var(--text-muted); font-size: 0.9rem; }
.framework-note span { color: var(--accent-primary); font-weight: 600; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card { display: flex; gap: 20px; padding: 28px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); transition: all var(--transition-base); }
.why-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.why-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--gradient-card); border: 1px solid var(--border-accent); border-radius: var(--radius-md); flex-shrink: 0; font-size: 1.2rem; }
.why-content h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-content p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.pricing-toggle-label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); transition: color var(--transition-base); display: inline-flex; align-items: center; gap: 8px; }
.pricing-toggle-label.is-active { color: var(--text-heading); }
.pricing-save { font-size: 0.7rem; font-weight: 700; color: var(--accent-green); background: rgba(0,230,138,0.12); border: 1px solid rgba(0,230,138,0.3); padding: 2px 8px; border-radius: var(--radius-pill); white-space: nowrap; }
.pricing-switch { position: relative; width: 52px; height: 28px; border-radius: var(--radius-pill); border: 1px solid var(--border-accent); background: var(--gradient-accent); cursor: pointer; padding: 0; flex-shrink: 0; transition: all var(--transition-base); }
.pricing-switch-knob { position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform var(--transition-base); box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.pricing-switch[aria-checked="true"] .pricing-switch-knob { transform: translateX(24px); }
.pricing-note { text-align: center; margin-top: 28px; font-size: 0.85rem; color: var(--text-muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.pricing-card { padding: 28px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); transition: all var(--transition-base); position: relative; display: flex; flex-direction: column; height: 100%; }
.pricing-card.featured { border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.pricing-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-accent); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 16px; background: var(--gradient-accent); border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 700; color: #fff; white-space: nowrap; }
.pricing-name { font-size: 1.1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }
.pricing-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; min-height: 51px; }
.pricing-price { margin-bottom: 24px; min-height: 48px; display: flex; align-items: baseline; }
.pricing-amount { font-size: 2.5rem; font-weight: 800; color: var(--text-heading); line-height: 1; }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); margin-left: 4px; }
.pricing-features { list-style: none; margin-bottom: 28px; flex: 1 1 auto; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.88rem; color: var(--text-secondary); }
.pricing-check { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-green); margin-top: 2px; }
.pricing-btn { width: 100%; justify-content: center; padding: 14px; margin-top: auto; }
/* ─── Content / legal pages ─── */
.page-hero { padding: 140px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.page-hero .page-meta { color: var(--text-muted); font-size: 0.9rem; }
.page-body { padding: 20px 0 80px; }
.prose { max-width: 800px; margin: 0 auto; color: var(--text-secondary); font-size: 1rem; line-height: 1.75; }
.prose h2 { color: var(--text-heading); font-size: 1.4rem; margin: 40px 0 14px; }
.prose h3 { color: var(--text-heading); font-size: 1.1rem; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-primary); }
.prose strong { color: var(--text-primary); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.prose th { color: var(--text-heading); font-weight: 600; }
.prose-note { background: var(--bg-card); border: 1px solid var(--border-accent); border-radius: var(--radius-md); padding: 16px 20px; font-size: 0.88rem; color: var(--text-muted); margin: 0 auto 32px; max-width: 800px; }
.prose-note strong { color: var(--accent-orange); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 0 24px; transition: border-color var(--transition-base); }
.faq-item:hover { border-color: var(--border-accent); }
.faq-item[open] { border-color: var(--border-accent); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 1rem; font-weight: 600; color: var(--text-heading); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--text-muted); line-height: 1; flex-shrink: 0; transition: transform var(--transition-base); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent-primary); }
.faq-item p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; padding: 0 0 22px; margin: 0; }
.cta-section { text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 400px; background: radial-gradient(ellipse, rgba(0,200,255,0.08) 0%, rgba(123,92,255,0.04) 40%, transparent 70%); pointer-events: none; }
.cta-content { position: relative; z-index: 2; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section .section-subtitle { margin: 0 auto 36px; }
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border-subtle); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-heading); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); font-size: 0.88rem; }
.footer-col a:hover { color: var(--accent-primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border-subtle); font-size: 0.8rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: var(--text-muted); }
.footer-socials a:hover { color: var(--accent-primary); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
/* Fade-in is OPT-IN: content is visible by default and only hides+animates
   once JS arms it with `.reveal-on` on <html>. If the script is missing,
   stale-cached, or errors, content still shows — it never depends on JS to
   be visible. */
.fade-in { opacity: 1; transform: none; }
.reveal-on .fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-on .fade-in.visible { opacity: 1; transform: translateY(0); }
.waitlist-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; }
.waitlist-input { flex: 1; padding: 14px 20px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); color: var(--text-primary); font-family: var(--font-sans); font-size: 0.95rem; transition: all var(--transition-fast); }
.waitlist-input::placeholder { color: var(--text-muted); }
.waitlist-input:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(0,200,255,0.1); }
.waitlist-note { margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); }
.comparison-table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-card); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.comparison-table th, .comparison-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border-subtle); font-size: 0.88rem; }
.comparison-table th { background: rgba(0,0,0,0.2); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); }
.comparison-table th:first-child { color: var(--text-heading); }
.comparison-table th.highlight { color: var(--accent-primary); background: rgba(0,200,255,0.05); }
.comparison-table td.highlight { background: rgba(0,200,255,0.02); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { font-weight: 600; color: var(--text-heading); }
.check-icon { color: var(--accent-green); }
.cross-icon { color: var(--text-muted); opacity: 0.4; }
.partial-icon { color: var(--accent-orange); }
@media (max-width: 1240px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .dashboard-body { grid-template-columns: 1fr; }
    .dashboard-sidebar { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 768px) {
    section { padding: 64px 0; }
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(6,9,24,0.95); backdrop-filter: blur(20px); padding: 24px; border-bottom: 1px solid var(--border-subtle); gap: 20px; }
    .hero { min-height: auto; padding: 120px 0 64px; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-description { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .why-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .frameworks-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 2rem; }
    .framework-cards { grid-template-columns: 1fr; }
    .logos-grid { gap: 24px; }
    .logo-item { font-size: 0.9rem; }
    .waitlist-form { flex-direction: column; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .frameworks-grid { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}
:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }

/* ============================================================
   STUDIO ADDITIONS (certova.ai only)
   ============================================================ */

/* ---- Tech stack marquee ---- */
.tech-strip { padding: 48px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); overflow: hidden; }
.tech-label { text-align: center; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; margin-bottom: 28px; }
.tech-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tech-track { display: flex; gap: 14px; width: max-content; animation: techScroll 38s linear infinite; }
.tech-strip:hover .tech-track { animation-play-state: paused; }
@keyframes techScroll { to { transform: translateX(-50%); } }
.tech-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); font-size: 0.88rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.tech-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-primary); }
.tech-chip .dot.p { background: var(--accent-secondary); } .tech-chip .dot.g { background: var(--accent-green); } .tech-chip .dot.o { background: var(--accent-orange); } .tech-chip .dot.k { background: var(--accent-pink); }

/* ---- Interactive use-case showcase ---- */
.uc { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: stretch; }
.uc-tabs { display: flex; flex-direction: column; gap: 10px; }
.uc-tab { position: relative; text-align: left; padding: 15px 18px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition-base); overflow: hidden; font-family: inherit; color: inherit; }
.uc-tab:hover { border-color: var(--border-accent); }
.uc-tab.active { background: var(--gradient-card); border-color: var(--border-accent); }
.uc-tab-title { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 0.95rem; color: var(--text-heading); }
.uc-tab-badge { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 0.68rem; font-weight: 800; font-family: var(--font-mono); flex-shrink: 0; }
.uc-tab-desc { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: all var(--transition-base); }
.uc-tab.active .uc-tab-desc { max-height: 90px; opacity: 1; margin-top: 8px; }
.uc-tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gradient-accent); }
.uc-tab.active .uc-tab-bar { animation: ucBar 6s linear forwards; }
@keyframes ucBar { from { width: 0; } to { width: 100%; } }

.uc-stage { position: relative; background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; box-shadow: var(--shadow-glow); }
.uc-demo { position: absolute; inset: 0; padding: 22px 24px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; display: flex; flex-direction: column; }
.uc-demo.is-active { opacity: 1; visibility: visible; transform: none; }
.uc-demo-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-muted); padding-bottom: 13px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 18px; }
.uc-demo-head .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-green); animation: pulse 1.6s ease-in-out infinite; }
.uc-demo-head .spacer { flex: 1; }
.uc-demo-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-subtle); display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-secondary); font-family: var(--font-mono); }
.uc-demo-foot b { color: var(--accent-green); font-weight: 700; }

/* chat demo */
.uc-chat { display: flex; flex-direction: column; gap: 12px; }
.uc-msg { max-width: 82%; padding: 11px 15px; border-radius: 14px; font-size: 0.85rem; line-height: 1.45; opacity: 0; }
.uc-demo.is-active .uc-msg { animation: ucMsgIn 0.5s ease forwards; }
.uc-demo.is-active .uc-msg:nth-child(2) { animation-delay: 0.7s; }
.uc-demo.is-active .uc-msg:nth-child(3) { animation-delay: 1.9s; }
@keyframes ucMsgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.uc-msg--in { align-self: flex-start; background: rgba(255,255,255,0.05); color: var(--text-primary); border-bottom-left-radius: 4px; }
.uc-msg--ai { align-self: flex-end; background: var(--gradient-accent); color: #fff; border-bottom-right-radius: 4px; }
.uc-typing { display: inline-flex; gap: 4px; padding: 2px 0; }
.uc-typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; animation: ucType 1.2s infinite; }
.uc-typing i:nth-child(2) { animation-delay: 0.2s; } .uc-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes ucType { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* flow demo (workflow + agent steps) */
.uc-flow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: auto 0; }
.uc-node { flex: 1; text-align: center; padding: 16px 8px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); position: relative; }
.uc-node .ico { width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,0.04); color: var(--accent-primary); }
.uc-demo.is-active .uc-node { animation: ucNode 4s ease-in-out infinite; }
.uc-demo.is-active .uc-node:nth-child(1) { animation-delay: 0s; } .uc-demo.is-active .uc-node:nth-child(3) { animation-delay: 0.5s; }
.uc-demo.is-active .uc-node:nth-child(5) { animation-delay: 1s; } .uc-demo.is-active .uc-node:nth-child(7) { animation-delay: 1.5s; }
@keyframes ucNode { 0%, 70%, 100% { border-color: var(--border-subtle); box-shadow: none; } 12%, 40% { border-color: var(--accent-primary); box-shadow: 0 0 24px rgba(0,200,255,0.18); color: var(--text-heading); } }
.uc-conn { width: 26px; height: 2px; background: rgba(255,255,255,0.08); position: relative; overflow: hidden; flex-shrink: 0; }
.uc-conn::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--accent-primary); animation: ucTravel 2s linear infinite; }
@keyframes ucTravel { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* pipeline / metric demo */
.uc-pipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: auto 0; }
.uc-pcard { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 18px 16px; text-align: center; }
.uc-pcard .n { font-size: 1.7rem; font-weight: 800; color: var(--text-heading); font-variant-numeric: tabular-nums; line-height: 1; }
.uc-pcard .l { font-size: 0.72rem; color: var(--text-muted); margin-top: 6px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }
.uc-pbar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.05); overflow: hidden; position: relative; }
.uc-pbar::after { content: ''; position: absolute; inset: 0; width: 34%; border-radius: 4px; background: var(--gradient-accent); animation: ucPipe 2.4s ease-in-out infinite; }
@keyframes ucPipe { 0% { transform: translateX(-110%); } 100% { transform: translateX(320%); } }
.uc-rows { display: flex; flex-direction: column; gap: 9px; margin: 6px 0 auto; }
.uc-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); font-size: 0.82rem; color: var(--text-secondary); }
.uc-row .k { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.72rem; width: 84px; flex-shrink: 0; }
.uc-row .v { color: var(--text-heading); font-weight: 600; }
.uc-row .chk { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,230,138,0.12); color: var(--accent-green); display: grid; place-items: center; font-size: 0.7rem; opacity: 0; transform: scale(0.5); }
.uc-demo.is-active .uc-row .chk { animation: ucChk 0.4s ease forwards; }
.uc-demo.is-active .uc-row:nth-child(1) .chk { animation-delay: 0.5s; } .uc-demo.is-active .uc-row:nth-child(2) .chk { animation-delay: 0.9s; }
.uc-demo.is-active .uc-row:nth-child(3) .chk { animation-delay: 1.3s; } .uc-demo.is-active .uc-row:nth-child(4) .chk { animation-delay: 1.7s; }
@keyframes ucChk { to { opacity: 1; transform: scale(1); } }
.uc-demo.is-active .uc-row { animation: ucRowGlow 5s ease-in-out infinite; }
.uc-demo.is-active .uc-row:nth-child(2) { animation-delay: 0.4s; } .uc-demo.is-active .uc-row:nth-child(3) { animation-delay: 0.8s; } .uc-demo.is-active .uc-row:nth-child(4) { animation-delay: 1.2s; }
@keyframes ucRowGlow { 0%, 60%, 100% { border-color: var(--border-subtle); } 15%, 30% { border-color: var(--border-accent); } }

@media (max-width: 900px) { .uc { grid-template-columns: 1fr; } .uc-tab-desc { max-height: 90px; opacity: 1; margin-top: 8px; } .uc-stage { min-height: 400px; } .uc-flow { flex-wrap: wrap; } .uc-conn { display: none; } .uc-node { flex: 1 1 40%; } }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 32px; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 22px; line-height: 1.6; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border-subtle); }
.contact-detail .ci { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--radius-md); background: var(--gradient-card); border: 1px solid var(--border-accent); display: grid; place-items: center; color: var(--accent-primary); }
.contact-detail .cl { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); margin-bottom: 3px; }
.contact-detail .cv { color: var(--text-heading); font-weight: 600; font-size: 0.95rem; line-height: 1.5; }
.contact-detail .cv a { color: var(--text-heading); } .contact-detail .cv a:hover { color: var(--accent-primary); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); }
.field input, .field textarea, .field select { padding: 13px 16px; background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); color: var(--text-primary); font-family: var(--font-sans); font-size: 0.92rem; transition: all var(--transition-fast); width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(0,200,255,0.1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* ---- Engagement models ---- */
.engage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.engage-dur { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--text-heading); margin-bottom: 4px; }
.engage-dur span { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
@media (max-width: 1024px) { .engage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .engage-grid { grid-template-columns: 1fr; } }
