:root {
  --bg: #050508;
  --text: #f0f0ff;
  --surface: rgba(255,255,255,0.04);
  --surface-border: rgba(255,255,255,0.08);
  --accent: #8b5cf6;
  --accent2: #ec4899;
  --accent3: #f59e0b;
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(5,5,8,0.85); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
}
.nav-inner { height: 72px; display: flex; justify-content: space-between; align-items: center; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-style: italic; font-size: 1.15rem;
  text-decoration: none; color: inherit;
}
.logo-box {
  width: 30px; height: 30px; background: var(--gradient);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text); text-decoration: none; font-size: 0.78rem;
  font-weight: 600; opacity: 0.55; transition: opacity 0.2s; letter-spacing: 0.06em;
}
.nav-links a:hover { opacity: 1; }
.btn-chrome {
  background: var(--gradient); color: #fff; padding: 9px 22px; border-radius: 100px;
  font-weight: 700; font-size: 0.82rem; border: none; cursor: pointer;
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
  transition: transform 0.2s cubic-bezier(0.175,0.885,0.32,1.275);
}
.btn-chrome:hover { transform: scale(1.06); }

/* ── HERO ── */
.hero { padding: 140px 0 80px; }
.hero-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--accent); margin-bottom: 20px; display: block;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 0.92; margin-bottom: 24px; }
.hero p { font-size: 1.05rem; opacity: 0.6; max-width: 460px; margin-bottom: 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.btn-primary {
  padding: 13px 28px; background: var(--gradient); color: #fff; border-radius: 100px;
  font-weight: 700; font-size: 0.88rem; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 12px 32px rgba(139,92,246,0.35);
  transition: transform 0.2s cubic-bezier(0.175,0.885,0.32,1.275);
}
.btn-primary:hover { transform: scale(1.05); }
.btn-secondary {
  padding: 13px 28px; border-radius: 100px; font-weight: 700; font-size: 0.88rem;
  text-decoration: none; border: 1px solid var(--surface-border); color: rgba(255,255,255,0.75);
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }

.stats-strip {
  display: flex; gap: 40px; padding-top: 40px;
  border-top: 1px solid var(--surface-border);
}
.stat-item h4 { font-size: 2rem; font-style: italic; color: #fff; margin-bottom: 2px; }
.stat-item span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; opacity: 0.45; text-transform: uppercase; }

/* Hero mockup */
.hero-mockup {
  background: #0a0a12; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px; padding: 24px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
  position: relative; overflow: hidden;
}
.hero-mockup::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient); opacity: 0.7;
}
.hm-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.hm-badge {
  font-size: 0.58rem; font-weight: 800; border: 1px solid #333; padding: 3px 10px;
  border-radius: 4px; color: #666; letter-spacing: 0.05em;
}
.hm-badge .dot { color: #10b981; margin-left: 4px; }
.hm-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.hm-btn {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 12px 8px; display: flex; flex-direction: column;
  align-items: center; gap: 6px; cursor: pointer; transition: border-color 0.2s;
}
.hm-btn:hover { border-color: var(--accent); }
.hm-btn span { font-size: 0.56rem; font-weight: 800; opacity: 0.45; letter-spacing: 0.06em; text-transform: uppercase; }
.hm-status {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.hm-status-left { display: flex; align-items: center; gap: 8px; font-size: 0.62rem; font-weight: 700; opacity: 0.4; letter-spacing: 0.12em; text-transform: uppercase; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.6; transform:scale(0.9); } }
.hm-captures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.hm-cap {
  aspect-ratio: 16/10; border-radius: 10px; position: relative;
  border: 1px solid rgba(139,92,246,0.25);
}
.hm-cap:nth-child(1) { background: linear-gradient(135deg,#1e3a8a,#312e81); }
.hm-cap:nth-child(2) { background: linear-gradient(135deg,#374151,#1f2937); border-color: rgba(255,255,255,0.08); }
.hm-cap:nth-child(3) { background: linear-gradient(135deg,#7c2d12,#9a3412); border-color: rgba(255,255,255,0.08); }
.hm-cap-num {
  position: absolute; top: 5px; right: 5px; background: rgba(139,92,246,0.8);
  font-size: 0.5rem; font-weight: 900; padding: 1px 5px; border-radius: 3px;
}
.hm-cap:nth-child(2) .hm-cap-num, .hm-cap:nth-child(3) .hm-cap-num { background: rgba(255,255,255,0.25); }
.hm-cta {
  width: 100%; padding: 13px; border-radius: 12px; border: none;
  background: var(--gradient); color: #fff; font-weight: 800; font-size: 0.82rem;
  cursor: pointer; letter-spacing: 0.04em; margin-bottom: 10px;
  box-shadow: 0 8px 24px rgba(139,92,246,0.3);
}
.hm-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hm-tool {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px; padding: 10px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.hm-tool:hover { background: rgba(255,255,255,0.07); }
.hm-tool svg { width: 16px; height: 16px; stroke: #fff; opacity: 0.55; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── FEATURES ── */
.features { padding: 100px 0 80px; }
.section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 16px; display: block; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 60px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, background 0.3s;
}
.feat-card:hover { transform: translateY(-6px); border-color: var(--accent); background: rgba(255,255,255,0.06); }
.feat-tag {
  position: absolute; top: 18px; right: 18px; font-size: 0.58rem; font-weight: 800;
  padding: 3px 8px; border-radius: 4px; letter-spacing: 0.05em;
}
.tag-v { background: #8b5cf6; color: #fff; }
.tag-p { background: #ec4899; color: #fff; }
.tag-g { background: #10b981; color: #fff; }
.tag-a { background: #f59e0b; color: #fff; }
.tag-r { background: #ef4444; color: #fff; }
.tag-b { background: #3b82f6; color: #fff; }
.feat-icon {
  width: 42px; height: 42px; background: rgba(255,255,255,0.05);
  border-radius: 11px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.2rem;
}
.feat-card h3 { font-size: 0.95rem; margin-bottom: 10px; }
.feat-card p { font-size: 0.82rem; opacity: 0.5; line-height: 1.55; }

/* ── STUDIO SECTION ── */
.studio { padding: 120px 0; background: radial-gradient(circle at 80% 50%, rgba(139,92,246,0.14), transparent 65%); }
.studio-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.studio-pill {
  display: inline-block; padding: 5px 14px; border-radius: 100px;
  border: 1px solid var(--accent); font-size: 0.68rem; font-weight: 700;
  color: var(--accent); margin-bottom: 20px; letter-spacing: 0.1em;
}
.studio-text h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 20px; }
.studio-text p { font-size: 1rem; opacity: 0.65; margin-bottom: 0; max-width: 480px; }
.protocol-list { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.protocol-item { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 0.95rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* Studio mockup */
.studio-mockup {
  background: #08080c; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px; padding: 28px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.65);
}
.sm-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.sm-pro { border: 1px solid #333; padding: 3px 10px; border-radius: 6px; font-size: 0.58rem; font-weight: 800; color: #888; }
.sm-pro span { color: #10b981; margin-left: 3px; }
.sm-main { display: grid; grid-template-columns: 76px 1fr; gap: 20px; }
.v-tabs { display: flex; flex-direction: column; gap: 10px; }
.v-tab {
  height: 88px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; cursor: pointer; transition: all 0.25s;
}
.v-tab.active { border-color: var(--accent); background: rgba(139,92,246,0.1); }
.v-tab svg { width: 22px; height: 22px; opacity: 0.4; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-tab.active svg { opacity: 1; stroke: var(--accent); }
.v-tab-label { font-size: 0.58rem; font-weight: 800; opacity: 0.4; letter-spacing: 0.05em; text-transform: uppercase; }
.v-tab.active .v-tab-label { opacity: 1; color: var(--accent); }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.cap-card {
  aspect-ratio: 16/10; border-radius: 11px; overflow: hidden;
  position: relative; border: 1px solid rgba(255,255,255,0.05);
  background: #12121a;
}
.cap-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.cap-card:hover img { transform: scale(1.08); }
.cap-label {
  position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,0.85);
  font-size: 0.48rem; font-weight: 900; padding: 2px 5px; border-radius: 3px;
}
.process-btn {
  width: 100%; padding: 14px; border-radius: 12px; border: none;
  background: var(--gradient); color: #fff; font-weight: 800; font-size: 0.85rem;
  cursor: pointer; margin-bottom: 18px; letter-spacing: 0.03em;
  box-shadow: 0 8px 20px rgba(139,92,246,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.process-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(139,92,246,0.45); }
.sm-tools { display: flex; gap: 8px; }
.sm-tool {
  flex: 1; height: 40px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.sm-tool:hover { background: rgba(255,255,255,0.07); }
.sm-tool svg { width: 16px; height: 16px; stroke: #fff; opacity: 0.55; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── PRIVACY STRIP ── */
.privacy-strip { padding: 60px 0 100px; }
.privacy-box {
  background: rgba(8,8,12,0.5); border: 1px solid var(--surface-border);
  border-radius: 28px; padding: 48px 56px; display: flex; gap: 32px; align-items: center;
  backdrop-filter: blur(10px);
}
.privacy-icon { font-size: 3.5rem; flex-shrink: 0; }
.privacy-box h3 { font-size: 1.6rem; margin-bottom: 12px; }
.privacy-box p { opacity: 0.55; font-size: 0.95rem; line-height: 1.7; }
.privacy-box a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── FOOTER ── */
footer { padding: 64px 0; border-top: 1px solid var(--surface-border); background: rgba(0,0,0,0.3); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 0.72rem; opacity: 0.4; text-decoration: none; color: #fff;
  font-weight: 600; letter-spacing: 0.05em; transition: opacity 0.2s;
  cursor: pointer;
}
.footer-links a:hover { opacity: 1; color: var(--accent); }
.footer-copy { font-size: 0.7rem; opacity: 0.3; letter-spacing: 0.05em; }

/* ── MODAL ── */
#legalModal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 9999;
  display: none; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
#legalModal.open { display: flex; }
.modal-box {
  background: #0d0d15; max-width: 580px; width: 100%; max-height: 78vh;
  overflow-y: auto; padding: 44px; border: 1px solid var(--surface-border);
  border-radius: 24px; position: relative;
}
.modal-box h2 { margin-bottom: 20px; font-style: normal; font-size: 1.4rem; }
.modal-body p { margin-bottom: 14px; opacity: 0.7; line-height: 1.8; font-size: 0.95rem; }
.modal-close {
  position: absolute; top: 20px; right: 20px; background: none;
  border: none; color: #fff; font-size: 1.4rem; cursor: pointer; opacity: 0.5; transition: opacity 0.2s;
}
.modal-close:hover { opacity: 1; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-grid, .studio-grid { grid-template-columns: 1fr; }
  .hero p { max-width: 100%; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { flex-wrap: wrap; gap: 24px; }
  .privacy-box { flex-direction: column; text-align: center; padding: 36px 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .feat-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .nav-links a:not(:last-child) { display: none; }
}
