/* ============== RESET & BASE ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0e1a;
  --bg-2: #0f1424;
  --surface: #131a2e;
  --surface-2: #1a223a;
  --border: rgba(255,255,255,0.08);
  --text: #e8ecf5;
  --muted: #9aa3b8;
  --primary: #0066ff;
  --primary-2: #00c2ff;
  --accent: #7c3aed;
  --success: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 102, 255, 0.35);
  --shadow-lg: 0 30px 80px -20px rgba(0, 102, 255, 0.5);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ============== UTILITY ============== */
.grad {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-2);
  margin-bottom: 0.75rem;
}
.muted { color: var(--muted); }
.center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); margin-top: 0.75rem; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--primary-2); }
.block { display: flex; width: 100%; }

/* ============== NAVBAR ============== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 14, 26, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.navbar.scrolled {
  background: rgba(10, 14, 26, 0.85);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 8px 20px -6px rgba(0, 102, 255, 0.6);
}
.logo-text { font-size: 1.05rem; }
.logo-text em { font-style: normal; color: var(--primary-2); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a { font-size: 0.95rem; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.btn { color: white; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform .25s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.2), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(0, 194, 255, 0.15), transparent 60%);
  z-index: -1;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.3);
  color: var(--primary-2);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 1.5rem 0 2rem;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span { font-size: 0.85rem; color: var(--muted); }

.hero-visual {
  position: relative;
  height: 480px;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: rgba(19, 26, 46, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}
.float-card svg { color: var(--primary-2); flex-shrink: 0; }
.float-card b { display: block; font-size: 0.95rem; }
.float-card span { font-size: 0.8rem; color: var(--muted); }
.card-1 { top: 10%; left: 0; animation-delay: 0s; }
.card-2 { top: 45%; right: 0; animation-delay: 2s; }
.card-3 { bottom: 10%; left: 15%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  z-index: -1;
}
.orb-1 { width: 280px; height: 280px; background: var(--primary); top: 20%; left: 30%; }
.orb-2 { width: 220px; height: 220px; background: var(--accent); bottom: 10%; right: 10%; }

/* ============== SECTIONS ============== */
.section { padding: 6rem 0; position: relative; }

/* ============== ABOUT ============== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about p { color: var(--muted); margin: 1rem 0; }
.checklist { list-style: none; margin-top: 1.5rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--muted);
}
.checklist li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.about-img { position: relative; }
.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 1rem;
}
.img-tile {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.img-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,.2), rgba(124,58,237,.2));
  opacity: 0;
  transition: opacity .3s;
}
.img-tile:hover::after { opacity: 1; }
.t1 { background: linear-gradient(135deg, #1e3a8a, #0066ff); }
.t2 { background: linear-gradient(135deg, #7c3aed, #c026d3); margin-top: 2rem; }
.t3 { background: linear-gradient(135deg, #0891b2, #00c2ff); margin-top: -1rem; }
.t4 { background: linear-gradient(135deg, #1e293b, #475569); }

/* ============== SERVICES ============== */
.services { background: var(--bg-2); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
  opacity: 0;
  transition: opacity .25s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.3);
  box-shadow: 0 20px 50px -20px rgba(0, 102, 255, 0.4);
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,102,255,.15), rgba(124,58,237,.15));
  display: grid; place-items: center;
  color: var(--primary-2);
  margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card.highlight {
  background: linear-gradient(135deg, rgba(0,102,255,.1), rgba(124,58,237,.1));
  border-color: rgba(0, 194, 255, 0.3);
}
.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-2);
  font-weight: 600;
  font-size: 0.9rem;
}
.card-link:hover { color: var(--primary); }

/* ============== PLANS ============== */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.plan {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: transform .25s, border-color .25s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(0, 194, 255, 0.2); }
.plan.featured {
  background: linear-gradient(180deg, rgba(0,102,255,.08), var(--surface));
  border-color: rgba(0, 194, 255, 0.4);
  transform: scale(1.04);
  box-shadow: var(--shadow);
}
.plan.featured:hover { transform: scale(1.04) translateY(-4px); }
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.plan h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin: 1rem 0;
  line-height: 1;
}
.price span { font-size: 1.4rem; vertical-align: top; color: var(--muted); }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.plan ul { list-style: none; margin-bottom: 2rem; }
.plan ul li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  padding-left: 1.5rem;
}
.plan ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-2);
  font-weight: 700;
}
.plan ul li:last-child { border: none; }

/* ============== CTA BAND ============== */
.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(0,102,255,.15), rgba(124,58,237,.15));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: 1.8rem; }
.cta-inner p { color: var(--muted); margin-top: 0.5rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============== CONTACT ============== */
.contact { background: var(--bg-2); }
.contact-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .2s, transform .15s;
}
.contact-item:hover { border-color: var(--primary-2); transform: translateX(4px); }
.ci-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,102,255,.15), rgba(0,194,255,.15));
  display: grid; place-items: center;
  color: var(--primary-2);
  flex-shrink: 0;
}
.contact-item b { display: block; font-size: 0.9rem; }
.contact-item span { font-size: 0.9rem; color: var(--muted); }

.socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--muted);
  transition: all .2s;
}
.socials a:hover {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  transform: translateY(-3px);
}

.form {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: 0.5rem; }
.form label span { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.15);
}
.form textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.9rem; color: var(--success); text-align: center; min-height: 1.2rem; }

/* ============== FOOTER ============== */
.footer {
  background: #060912;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.footer a, .footer span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.3rem 0;
}
.footer a:hover { color: var(--primary-2); }
.footer .muted { margin-top: 0.75rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { height: 380px; }
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 720px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 2rem;
    transform: translateY(-120%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav-links a.btn { margin-top: 1rem; }

  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stats strong { font-size: 1.4rem; }

  .section { padding: 4rem 0; }
  .form { padding: 1.75rem; }
  .form .row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-inner { flex-direction: column; text-align: center; }
}
