:root {
  --bg: #000000;
  --surface: #0A0A0A;
  --surface-2: #141414;
  --primary: #FFFFFF;
  --accent: #2563EB;
  --accent-muted: rgba(37, 99, 235, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --text: #FFFFFF;
  --text-muted: #71717A;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Text Selection */
::selection {
  background: rgba(37, 99, 235, 0.4); /* var(--accent) with opacity */
  color: #fff;
}

img {
  -webkit-user-drag: none;
  pointer-events: none;
}

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

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1000px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 8px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: all 0.2s; border: none; font-family: inherit;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn-primary { background: var(--primary); color: var(--bg); }
.btn-primary:hover { filter: brightness(0.9); }
.btn-hero {
  background: var(--primary); color: var(--bg);
  padding: 14px 28px; font-size: 16px; border-radius: 10px;
}
.btn-hero:hover { filter: brightness(0.9); transform: translateY(-1px); }
.btn-ghost-outline {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 14px 20px; border-radius: 10px; font-size: 14px;
}
.btn-ghost-outline:hover { background: var(--surface); color: var(--text); }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); }
.btn-full { width: 100%; }

/* ── Animations ── */
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0px); } }
@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}
@keyframes pulseGlowTop {
  0% { transform: translateX(-50%) scale(1); opacity: 0.5; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 0.9; }
  100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero ── */
.hero {
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 600px;
  background: radial-gradient(circle, var(--accent-muted) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: pulseGlowTop 10s ease-in-out infinite;
}

/* ── Sea Glow (controlled by JS scroll) ── */
.sea-wave-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.5) 0%, rgba(56, 189, 248, 0.25) 45%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(48px);
  pointer-events: none;
  will-change: transform, opacity, filter;
}

@keyframes seaWave {
  0% { transform: translate(-50%, -40%) scale(1); background: radial-gradient(circle at bottom, rgba(14, 165, 233, 0.2) 0%, transparent 60%); }
  50% { transform: translate(-50%, -50%) scale(1.1); background: radial-gradient(circle at bottom, rgba(56, 189, 248, 0.3) 0%, transparent 60%); }
  100% { transform: translate(-50%, -40%) scale(1); background: radial-gradient(circle at bottom, rgba(14, 165, 233, 0.2) 0%, transparent 60%); }
}

@media (max-width: 768px) {
  .sea-wave-glow {
    top: 40%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at top, rgba(125, 211, 252, 0.2) 0%, transparent 60%);
    animation: skyDrift 10s ease-in-out infinite alternate;
  }
}

@keyframes skyDrift {
  0% { transform: translate(-60%, -50%) scale(1); background: radial-gradient(circle at top, rgba(125, 211, 252, 0.2) 0%, transparent 60%); }
  50% { transform: translate(-40%, -50%) scale(1.1); background: radial-gradient(circle at top, rgba(186, 230, 253, 0.25) 0%, transparent 60%); }
  100% { transform: translate(-60%, -50%) scale(1); background: radial-gradient(circle at top, rgba(125, 211, 252, 0.2) 0%, transparent 60%); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25);
  color: #10B981; padding: 5px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700; margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}
.hero-title {
  font-size: 60px; font-weight: 900; line-height: 1.05;
  margin-bottom: 20px; letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}
.hero-sub {
  font-size: 16px; color: var(--text-muted); margin-bottom: 28px;
  max-width: 420px; line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}
.hero-price-row {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.25s backwards;
}
.hero-price { font-size: 32px; font-weight: 900; }
.hero-price-sub { font-size: 14px; color: var(--text-muted); }
.hero-cta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

/* ── Stats Bar ── */
.stats-bar {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 8px 40px; }
.stat-value { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Sections ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 38px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--text-muted); }

/* ── Features ── */
.features { padding: 90px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.feature-icon { color: var(--text); margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── How it works ── */
.how-it-works { padding: 90px 0; }
.steps-grid {
  display: flex; align-items: center; gap: 0; justify-content: center; flex-wrap: wrap;
}
.step-card {
  flex: 1; min-width: 220px; max-width: 280px;
  text-align: center; padding: 32px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.step-number {
  font-size: 40px; font-weight: 900; color: rgba(255,255,255,0.08);
  line-height: 1; margin-bottom: 16px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.step-arrow { color: var(--text-muted); padding: 0 16px; flex-shrink: 0; }

/* ── Pricing ── */
.pricing { padding: 90px 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; max-width: 700px; margin: 0 auto;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.pricing-card--highlight {
  border-color: rgba(139,92,246,0.5);
  background: linear-gradient(145deg, #0D0A18, #0A0A0A);
  box-shadow: 0 0 60px rgba(139,92,246,0.08);
}
.pricing-badge {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 8px;
}
.pricing-badge--accent { color: var(--accent); }
.pricing-price { font-size: 48px; font-weight: 900; line-height: 1; }
.pricing-period { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
.pricing-features li svg { color: var(--accent); flex-shrink: 0; }

/* ── FAQ ── */
.faq { padding: 90px 0; }
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; cursor: pointer; font-size: 15px; font-weight: 600;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--surface-2); }
.faq-icon { transition: transform 0.3s ease; flex-shrink: 0; color: var(--text-muted); }
.faq-a {
  padding: 0 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-a a { color: var(--accent); text-decoration: none; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 18px; }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* ── CTA Section ── */
.cta-section { padding: 60px 0 90px; }
.cta-box {
  position: relative; text-align: center;
  background: var(--surface); border: 1px solid rgba(139,92,246,0.2);
  border-radius: 20px; padding: 60px 40px; overflow: hidden;
}
.cta-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.cta-title { font-size: 40px; font-weight: 900; margin-bottom: 12px; position: relative; }
.cta-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; position: relative; }

/* ── Footer ── */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { text-align: center; font-size: 13px; color: var(--text-muted); padding-top: 24px; border-top: 1px solid var(--border); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; }
  .hero-title { font-size: 38px; }
  .hero .container { flex-direction: column !important; }
  .hero-content { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-image { display: none !important; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 0; }
  .stat-item { padding: 8px 20px; }
  .section-title { font-size: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { align-items: flex-start; }
  .cta-title { font-size: 28px; }
}

/* ── Auth Page (Login) ── */
.auth-body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-page {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 380px;
  padding: 24px;
}
.auth-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.auth-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  text-align: center;
}
.auth-logo { margin-bottom: 24px; }
.auth-sub { color: var(--text-muted); font-size: 14px; margin-top: -4px; }
.auth-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.auth-terms {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 16px;
  margin-bottom: 24px;
}
.auth-back {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.auth-back:hover { color: var(--text); }

/* ── Marquee Section ── */
.marquee-section {
  padding: 40px 0 60px;
  background: var(--bg);
  overflow: hidden;
}
.marquee-title {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 32px;
}
.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 3rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 3rem;
  min-width: 100%;
  animation: scrollMarquee 20s linear infinite;
}
@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 3rem)); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  transition: color 0.3s;
}
.marquee-item:hover { color: var(--text); }
.marquee-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}
.marquee-item:hover .marquee-logo {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── Security Overlay ── */
.security-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.security-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}
.security-content {
  text-align: center;
  max-width: 400px;
  padding: 20px;
}
.security-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--surface-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.security-content h2 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}
.security-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.security-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #10B981;
  font-weight: 600;
  background: rgba(16,185,129,0.1);
  padding: 6px 12px;
  border-radius: 20px;
}
