/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0a0a0f; color: #e8e8f0; line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(99, 102, 241, 0.3); }

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  background: #0a0a0f; transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-ring {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid rgba(99, 102, 241, 0.15);
  border-top-color: #6366f1;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-text { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
p { font-size: 1.0625rem; line-height: 1.7; color: #888; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(10,10,15,0.95); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  width: min(1200px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px;
}
.logo {
  display: block; flex: 1 1 auto; min-width: 0; max-width: 100%;
  font-size: 1.125rem; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 0.5rem 1.25rem; border-radius: 8px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff !important; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(99,102,241,0.3); }

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 600px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, transparent 0%, rgba(10,10,15,0.6) 80%, rgba(10,10,15,1) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2; text-align: center; max-width: 720px; padding: 0 1.5rem;
  opacity: 0; transform: translateY(30px); animation: heroIn 1s 0.5s ease forwards;
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
.hero-badge {
  display: inline-block; padding: 0.375rem 1rem; border-radius: 100px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
  background: rgba(99,102,241,0.15); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.2);
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; color: #fff; }
.highlight {
  background: linear-gradient(135deg, #6366f1, #a78bfa, #c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.125rem; max-width: 520px; margin: 0 auto 2rem; color: rgba(255,255,255,0.5); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeInUp 1s 2s ease forwards;
}
.scroll-hint span { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.25); }
.scroll-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); animation: scrollBounce 2s ease infinite; }
@keyframes scrollBounce { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: 0.3; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: 10px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: all 0.25s; border: none;
  min-height: 44px;
}
.btn-primary {
  background: linear-gradient(135deg, #6366f1, #7c3aed); color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.3); }
.btn-glass {
  background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-cta {
  background: linear-gradient(135deg, #fff, #e8e8f0); color: #0a0a0f; font-size: 1.125rem; padding: 1rem 2.5rem;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,0.15); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* ===== TRUST STRIP ===== */
.trust-strip {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  background: rgba(255,255,255,0.01);
}
.trust-strip-inner { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item { text-align: center; }
.trust-stat { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.trust-label { font-size: 0.75rem; color: rgba(255,255,255,0.3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 1.5rem; }
.section-dark { background: #0d0d16; }
.section-cta { background: linear-gradient(135deg, #0d0d16, #13132a); position: relative; overflow: hidden; }
.section-cta::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.03) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(139,92,246,0.02) 0%, transparent 50%);
  pointer-events: none;
}
.section-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: #818cf8; margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; color: #fff; }
.section-desc { max-width: 560px; margin-bottom: 3rem; }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 1.5rem; position: relative; }
.step-card {
  padding: 2.5rem 2rem; border-radius: 16px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.2); }
.step-glow {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at 20% 0%, rgba(99,102,241,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.step-number { font-size: 2.5rem; font-weight: 800; color: rgba(99,102,241,0.12); line-height: 1; margin-bottom: 0.75rem; }
.step-card h3 { margin-bottom: 0.5rem; color: #fff; }
.step-card p { font-size: 0.9375rem; margin: 0; }
.step-connector { display: none; }

/* ===== PACKAGES ===== */
.packages { display: grid; gap: 1.5rem; }
.package {
  background: rgba(255,255,255,0.02); border-radius: 16px; padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.05); position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.package:hover { transform: translateY(-6px); border-color: rgba(99,102,241,0.2); box-shadow: 0 20px 60px rgba(99,102,241,0.06); }
.package-highlight { border: 1px solid rgba(99,102,241,0.3); background: rgba(99,102,241,0.03); }
.package-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.25rem 1rem; border-radius: 100px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
}
.package-header { text-align: center; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.package-name { font-size: 1.25rem; margin-bottom: 1rem; color: #fff; }
.package-price { margin-bottom: 0.25rem; }
.price-num { font-size: 2.5rem; font-weight: 800; color: #fff; }
.price-period { font-size: 1rem; color: rgba(255,255,255,0.3); font-weight: 500; }
.package-setup { font-size: 0.875rem; color: rgba(255,255,255,0.3); }
.package-features { margin-bottom: 2rem; }
.package-features li {
  padding: 0.5rem 0; font-size: 0.9375rem; color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; gap: 0.5rem; align-items: center;
}
.package-features li:last-child { border-bottom: none; }
.check { color: #818cf8; font-size: 0.625rem; }
.package-btn { width: 100%; justify-content: center; }
.packages-note { text-align: center; margin-top: 2.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.3); line-height: 1.8; }

/* ===== FEATURES ===== */
.features-grid { display: grid; gap: 1.5rem; }
.feature-card {
  padding: 2rem; border-radius: 16px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.2); }
.feature-icon-glow {
  position: absolute; top: -50%; right: -50%; width: 150%; height: 150%;
  background: radial-gradient(ellipse at 80% 0%, rgba(99,102,241,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: #818cf8;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { margin-bottom: 0.5rem; color: #fff; }
.feature-card p { font-size: 0.9375rem; margin: 0; }

/* ===== FAQ ===== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: #e8e8f0; text-align: left;
  min-height: 48px; transition: color 0.2s;
}
.faq-question:hover { color: #a5b4fc; }
.faq-arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s; color: rgba(255,255,255,0.3); }
.faq-question[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); color: #818cf8; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0; }
.faq-question[aria-expanded="true"] + .faq-answer { max-height: 300px; padding: 0 0 1.25rem; }
.faq-answer p { font-size: 0.9375rem; color: rgba(255,255,255,0.5); margin: 0; }

/* ===== CTA ===== */
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; position: relative; }
.cta-content h2 { color: #fff; margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.5); margin-bottom: 2rem; }
.cta-sub { font-size: 0.875rem; color: rgba(255,255,255,0.25) !important; margin-top: 1rem !important; margin-bottom: 0 !important; }

/* ===== FOOTER ===== */
.footer { padding: 4rem 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 2.5rem; }
.footer-logo { font-size: 1.125rem; font-weight: 700; color: #fff; }
.footer-tagline { font-size: 0.875rem; margin-top: 0.5rem; color: rgba(255,255,255,0.3); }
.footer-links { display: grid; gap: 2rem; }
.footer-col h4 { color: #fff; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1100px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.04); text-align: center; }
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.2); }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-inner { display: grid; grid-template-columns: 2fr 3fr; gap: 2.5rem; }
  .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .steps { position: relative; }
  .step-connector { display: flex; justify-content: center; padding: 0.25rem 0; }
  .step-connector span { display: block; width: 2px; height: 24px; background: linear-gradient(180deg, rgba(99,102,241,0.2), rgba(99,102,241,0.05)); }
}
@media (min-width: 900px) {
  .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
@media (min-width: 768px) {
  .hamburger { display: none; }
}
@media (max-width: 767px) {
  .hamburger { display: flex; }
  .nav-inner { padding: 0 1rem; gap: 0.75rem; }
  .logo { max-width: calc(100% - 56px); font-size: 1rem; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(10,10,15,0.98); backdrop-filter: blur(16px);
    flex-direction: column; gap: 0; padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.875rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
  .trust-strip-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .packages { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
  .features-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
  .section { padding: 3.5rem 1.25rem; }
  .footer-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
