/* ===== Sensar — Next-Gen Hi-Tech Theme (2026) ===== */

:root {
    --bg: #04050a;
    --bg-soft: #0a0c14;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-hover: rgba(255, 255, 255, 0.07);
    --glass: rgba(14, 17, 26, 0.55);
    --border: rgba(255, 255, 255, 0.09);
    --border-bright: rgba(120, 180, 255, 0.4);
    --text: #f0f3fa;
    --text-dim: #9aa3b8;
    --text-faint: #5b6379;
    --accent: #5b8cff;
    --accent-2: #00e6cf;
    --accent-3: #c44bff;
    --glow: rgba(91, 140, 255, 0.55);
    --radius: 20px;
    --maxw: 1200px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

/* ===== Custom cursor ===== */
.cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none;
    border-radius: 50%; transform: translate(-50%, -50%); will-change: transform;
}
.cursor-dot { width: 7px; height: 7px; background: var(--accent-2); transition: transform .12s, opacity .2s; }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(120,180,255,.5); transition: transform .18s ease-out, width .25s, height .25s, border-color .25s; }
.cursor-ring.hovering { width: 56px; height: 56px; border-color: var(--accent-2); background: rgba(0,230,207,.06); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ===== Loader ===== */
.loader {
    position: fixed; inset: 0; z-index: 9999; background: var(--bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    transition: opacity .7s ease, visibility .7s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-hex { font-size: 60px; color: var(--accent-2); filter: drop-shadow(0 0 22px rgba(0,230,207,.8)); animation: spin 2.4s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes spin { 0%,100% { transform: rotate(0) scale(1);} 50% { transform: rotate(180deg) scale(1.18);} }
.loader-text { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: 8px; color: var(--text); }
.loader-bar { width: 200px; height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3)); animation: load 1.5s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes load { to { width: 100%; } }

/* ===== Background layers ===== */
#bg-canvas { position: fixed; inset: 0; z-index: -4; width: 100%; height: 100%; }
.aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; filter: blur(60px); }
.aurora .blob { position: absolute; border-radius: 50%; opacity: .3; will-change: transform; }
.blob-1 { width: 420px; height: 420px; background: radial-gradient(circle, #2a4cff, transparent 68%); top: -8%; left: -5%; animation: float1 24s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: radial-gradient(circle, #00e6cf, transparent 68%); top: 42%; right: -6%; animation: float2 28s ease-in-out infinite; }
.blob-3 { width: 400px; height: 400px; background: radial-gradient(circle, #b14bff, transparent 68%); bottom: -8%; left: 32%; animation: float3 32s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(120px,80px) scale(1.15);} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-100px,60px) scale(.9);} }
@keyframes float3 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(80px,-90px) scale(1.1);} }
.grid-overlay {
    position: fixed; inset: 0; z-index: -2;
    background-image: linear-gradient(rgba(120,150,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(120,150,255,0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 80%);
    pointer-events: none;
}
.noise {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ===== Audio control ===== */
.audio-ctrl {
    position: fixed; bottom: 26px; right: 26px; z-index: 200;
    display: flex; align-items: center; gap: 10px;
    background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px 8px 8px;
    transition: border-color .3s, box-shadow .3s;
}
.audio-ctrl.playing { border-color: var(--border-bright); box-shadow: 0 0 30px -6px var(--glow); }
.audio-btn { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-3)); border: none; cursor: none; color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.audio-btn:hover { transform: scale(1.1); }
.audio-btn .ico-on { display: none; }
.audio-ctrl.playing .ico-on { display: block; }
.audio-ctrl.playing .ico-muted { display: none; }
.audio-wave { display: flex; align-items: flex-end; gap: 3px; height: 22px; opacity: .35; transition: opacity .3s; }
.audio-ctrl.playing .audio-wave { opacity: 1; }
.audio-wave span { width: 3px; background: var(--accent-2); border-radius: 2px; height: 4px; }
.audio-ctrl.playing .audio-wave span { animation: wave 1.1s ease-in-out infinite; }
.audio-wave span:nth-child(2){ animation-delay:.18s;} .audio-wave span:nth-child(3){ animation-delay:.36s;} .audio-wave span:nth-child(4){ animation-delay:.54s;}
@keyframes wave { 0%,100%{height:4px;} 50%{height:20px;} }

/* ===== Buttons (magnetic) ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-display); font-weight: 600; font-size: 15px;
    padding: 12px 24px; border-radius: 14px; border: 1px solid transparent;
    cursor: none; text-decoration: none; transition: transform .2s ease, box-shadow .3s ease, background .3s; white-space: nowrap;
    position: relative; overflow: hidden;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #fff; box-shadow: 0 8px 32px -8px var(--glow); background-size: 150% 150%; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--accent-2), var(--accent)); opacity: 0; transition: opacity .35s; z-index: -1; }
.btn-primary:hover { box-shadow: 0 16px 44px -10px var(--glow); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--border-bright); }

/* ===== Navbar ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; transition: all .35s ease; }
.navbar.scrolled { padding: 12px 0; background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; cursor: none; }
.logo-mark { font-size: 27px; color: var(--accent-2); filter: drop-shadow(0 0 10px rgba(0,230,207,.7)); transition: transform .4s; }
.logo:hover .logo-mark { transform: rotate(180deg); }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 2px; color: var(--text); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; position: relative; cursor: none; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; border-radius: 2px; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: var(--text); transition: .3s; border-radius: 2px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding: 130px 0 90px; }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 9px; background: var(--glass); backdrop-filter: blur(12px); border: 1px solid var(--border); padding: 9px 18px; border-radius: 999px; font-size: 14px; color: var(--text-dim); margin-bottom: 30px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 6.5vw, 76px); line-height: 1.06; letter-spacing: -1.5px; margin-bottom: 28px; max-width: 14ch; }
.gradient-text { background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 45%, var(--accent-3) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
/* word reveal */
.word { display: inline-block; opacity: 0; transform: translateY(40px) rotateX(-40deg); animation: wordIn .8s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0) rotateX(0); } }
.hero-subtitle { font-size: clamp(16px, 2vw, 20px); color: var(--text-dim); max-width: 660px; margin-bottom: 40px; opacity: 0; animation: fadeUp .8s ease .6s forwards; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 72px; opacity: 0; animation: fadeUp .8s ease .75s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px);} to { opacity: 1; transform: translateY(0);} }
.hero-trust { display: flex; flex-direction: column; align-items: center; gap: 18px; opacity: 0; animation: fadeUp .8s ease .9s forwards; }
.hero-trust > span { font-size: 13px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1.8px; }
.trust-logos { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; }
.trust-logos span { font-family: var(--font-display); font-size: 17px; color: var(--text-faint); font-weight: 500; transition: color .25s, transform .25s; }
.trust-logos span:hover { color: var(--text-dim); transform: translateY(-2px); }
.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-hint span { width: 4px; height: 8px; background: var(--accent-2); border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(14px); } }

/* ===== Sections ===== */
.section { padding: 120px 0; position: relative; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 64px; }
.section-tag { display: inline-block; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 16px; padding: 6px 14px; border: 1px solid rgba(0,230,207,.2); border-radius: 999px; background: rgba(0,230,207,.06); }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.5vw, 50px); letter-spacing: -1.2px; margin-bottom: 18px; }
.section-sub { color: var(--text-dim); font-size: 18px; }

/* ===== Cards 3D base ===== */
.tilt { transform-style: preserve-3d; transition: transform .15s ease-out; will-change: transform; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 22px; }
.feature-card {
    background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border); border-radius: var(--radius); padding: 34px;
    transition: transform .35s ease, border-color .35s, box-shadow .35s; position: relative; overflow: hidden;
}
.feature-card::after { content: ''; position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, var(--glow), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); }
.feature-card:hover { border-color: var(--border-bright); box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); }
.feature-card:hover::after { opacity: .12; }
.feature-icon { font-size: 32px; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(91,140,255,.18), rgba(0,230,207,.12)); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 22px; transition: transform .35s; }
.feature-card:hover .feature-icon { transform: scale(1.1) translateZ(30px); }
.feature-card h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 10px; font-weight: 600; }
.feature-card p { color: var(--text-dim); font-size: 15.5px; }

/* ===== Products ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.product-card { position: relative; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 34px; overflow: hidden; transition: transform .4s ease, border-color .4s, box-shadow .4s; }
.product-card.featured { border-color: var(--border-bright); }
.product-card:hover { border-color: var(--border-bright); box-shadow: 0 30px 70px -24px rgba(0,0,0,.7); }
.product-glow { position: absolute; top: -60%; right: -40%; width: 300px; height: 300px; background: radial-gradient(circle, var(--glow), transparent 70%); opacity: .35; filter: blur(40px); pointer-events: none; transition: opacity .4s; }
.product-card:hover .product-glow { opacity: .65; }
.product-label { display: inline-block; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-2); background: rgba(0,230,207,.1); border: 1px solid rgba(0,230,207,.22); padding: 5px 12px; border-radius: 999px; margin-bottom: 20px; position: relative; }
.product-card.featured .product-label { color: var(--accent-3); background: rgba(196,75,255,.13); border-color: rgba(196,75,255,.28); }
.product-card h3 { font-family: var(--font-display); font-size: 27px; margin-bottom: 12px; font-weight: 700; position: relative; }
.product-card p { color: var(--text-dim); font-size: 15.5px; margin-bottom: 24px; position: relative; }
.product-list { list-style: none; margin-bottom: 28px; position: relative; }
.product-list li { padding: 9px 0; color: var(--text-dim); font-size: 15px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.product-list li::before { content: '✓'; color: var(--accent-2); font-weight: 700; }
.product-link { font-family: var(--font-display); font-weight: 600; color: var(--accent); text-decoration: none; font-size: 15px; transition: gap .25s; display: inline-flex; gap: 4px; position: relative; cursor: none; }
.product-link:hover { gap: 12px; }

/* ===== Process ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.process-card { position: relative; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; transition: transform .35s ease, border-color .35s, box-shadow .35s; overflow: hidden; }
.process-card::after { content: ''; position: absolute; width: 280px; height: 280px; background: radial-gradient(circle, var(--glow), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); }
.process-card:hover { border-color: var(--border-bright); box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); }
.process-card:hover::after { opacity: .12; }
.process-num { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 18px; position: relative; display: inline-block; }
.process-num::before { content: ''; position: absolute; top: 50%; left: 56px; width: 60px; height: 1px; background: linear-gradient(90deg, var(--border-bright), transparent); }
.process-card:last-child .process-num::before { display: none; }
.process-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.process-card p { color: var(--text-dim); font-size: 14.5px; }

/* ===== Projects (legacy, kept for safety) ===== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.project-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .4s ease, border-color .4s, box-shadow .4s; }
.project-card:hover { border-color: var(--border-bright); box-shadow: 0 30px 70px -24px rgba(0,0,0,.7); }
.project-visual { position: relative; height: 180px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.viz-1 { background: linear-gradient(135deg, #1e2f6e, #0a1230); }
.viz-2 { background: linear-gradient(135deg, #1a564f, #07201d); }
.viz-3 { background: linear-gradient(135deg, #42206e, #1a0b30); }
.viz-4 { background: linear-gradient(135deg, #6e2042, #300b1a); }
.project-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(255,255,255,.18), transparent 60%); }
.project-visual::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; opacity: .5; }
.project-num { font-family: var(--font-display); font-weight: 700; font-size: 70px; color: rgba(255,255,255,.13); position: relative; z-index: 1; transition: transform .5s, color .5s; }
.project-card:hover .project-num { transform: scale(1.2); color: rgba(255,255,255,.24); }
.demo-tag { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: #fff; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.22); padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.project-body { padding: 26px; }
.project-cat { font-size: 12.5px; color: var(--accent-2); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.project-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 10px 0; }
.project-body p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 18px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags span { font-size: 12.5px; color: var(--text-dim); background: var(--surface); border: 1px solid var(--border); padding: 4px 11px; border-radius: 8px; }

/* ===== Stats ===== */
.stats { padding: 90px 0; }
.stats-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; background: var(--glass); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 26px; padding: 60px 34px; position: relative; overflow: hidden; }
.stats-wrap::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(91,140,255,.07), rgba(196,75,255,.05)); pointer-events: none; }
.stat { text-align: center; position: relative; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5vw, 56px); background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 12px; }
.stat-label { color: var(--text-dim); font-size: 15px; }

/* ===== CTA ===== */
.cta-box { position: relative; background: var(--glass); backdrop-filter: blur(20px); border: 1px solid var(--border-bright); border-radius: 30px; padding: 68px 50px; text-align: center; overflow: hidden; }
.cta-glow { position: absolute; bottom: -50%; left: 50%; transform: translateX(-50%); width: 540px; height: 420px; background: radial-gradient(circle, var(--glow), transparent 70%); opacity: .28; filter: blur(60px); pointer-events: none; }
.cta-box h2 { font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 46px); font-weight: 700; margin-bottom: 16px; letter-spacing: -1.2px; position: relative; }
.cta-box > p { color: var(--text-dim); font-size: 18px; max-width: 540px; margin: 0 auto 38px; position: relative; }
.cta-form { display: flex; flex-direction: column; gap: 12px; max-width: 580px; margin: 0 auto 22px; position: relative; }
.form-row { display: flex; gap: 12px; }
.cta-form input, .cta-form textarea { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; color: var(--text); font-family: var(--font-body); font-size: 15px; transition: border-color .25s, box-shadow .25s; resize: vertical; width: 100%; cursor: none; }
.cta-form input::placeholder, .cta-form textarea::placeholder { color: var(--text-faint); }
.cta-form input:focus, .cta-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,.12); }
.cta-form input.error, .cta-form textarea.error { border-color: #ff5470; }
.cta-note { color: var(--text-faint); font-size: 15px; position: relative; transition: color .3s; }
.cta-note a { color: var(--accent-2); text-decoration: none; cursor: none; }
.cta-note a:hover { text-decoration: underline; }
.cta-note.success { color: var(--accent-2); }
.cta-note.fail { color: #ff5470; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 66px 0 32px; background: var(--bg-soft); position: relative; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--text-dim); margin-top: 14px; font-size: 15px; max-width: 270px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { font-family: var(--font-display); font-size: 15px; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; color: var(--text-dim); text-decoration: none; font-size: 14.5px; padding: 5px 0; transition: color .2s; cursor: none; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 14px; flex-wrap: wrap; gap: 12px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1 !important; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 880px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none; }
    .btn, .nav-links a, .logo, .product-link, .footer-col a, .cta-form input, .cta-form textarea, .cta-note a, .audio-btn { cursor: pointer; }
    .nav-links, .nav-cta { display: none; }
    .nav-links.mobile-open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: rgba(4,5,10,.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); padding: 10px 24px 20px; }
    .nav-links.mobile-open a { padding: 14px 0; border-bottom: 1px solid var(--border); }
    .burger { display: flex; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .process-num::before { display: none; }
    .stats-wrap { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; padding: 40px 24px; }
    .footer-inner { grid-template-columns: 1fr; }
    .cta-box { padding: 46px 24px; }
    .section { padding: 84px 0; }
    .section-head { margin-bottom: 44px; }
    .audio-ctrl { bottom: 16px; right: 16px; }
    .hero { padding: 110px 0 70px; }
}
@media (max-width: 560px) {
    .process-grid { grid-template-columns: 1fr; gap: 14px; }
    .stats-wrap { grid-template-columns: repeat(2, 1fr); }
    .container { padding: 0 18px; }
}
@media (max-width: 480px) {
    .footer-cols { grid-template-columns: 1fr; gap: 24px; }
    .trust-logos { gap: 16px 22px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .form-row { flex-direction: column; }
    .hero-title { font-size: clamp(34px, 9vw, 44px); }
    .section-title { font-size: clamp(26px, 7vw, 34px); }
    .badge { font-size: 13px; padding: 8px 14px; }
    .feature-card, .product-card { padding: 28px 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .word { opacity: 1; transform: none; }
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none; }
}
