/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #0a0e17;
  color: #94a3b8;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; color: #f1f5f9; font-weight: 700; }
a { color: #22d3ee; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ─── Accent ─── */
.accent { color: #06b6d4; }

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
  padding: 10px 24px;
}
.btn-primary { background: #0891b2; color: #fff; }
.btn-primary:hover { background: #06b6d4; }
.btn-outline { border: 1px solid #334155; color: #94a3b8; background: transparent; }
.btn-outline:hover { border-color: #06b6d4; color: #06b6d4; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo {
  width: 32px; height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, #06b6d4, #0e7490);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; color: #fff;
}
.nav-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: 0.1em; text-transform: uppercase; }

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  transition: color 0.2s;
}
.nav-link:hover { color: #06b6d4; }
.nav-link-active { color: #06b6d4; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #94a3b8;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 0 80px; text-align: center;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-glow {
  position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; background: rgba(6, 182, 212, 0.06); border-radius: 50%; filter: blur(100px);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge {
  display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.2em; color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3); border-radius: 999px; padding: 4px 16px; margin-bottom: 24px;
}
.hero-title { font-size: 3.5rem; line-height: 1.1; letter-spacing: 0.05em; margin-bottom: 20px; }
.hero-sub { font-size: 1.1rem; color: #64748b; max-width: 520px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Page Hero (smaller, for subpages) */
.page-hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 140px 0 60px; text-align: center;
}
.page-hero-title { font-size: 2.8rem; line-height: 1.1; letter-spacing: 0.05em; margin-bottom: 16px; }

/* ─── Sections ─── */
.section { padding: 100px 0; }
.section-dark { background: #0d1321; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 2.2rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.section-sub { color: #64748b; font-size: 1rem; max-width: 550px; margin: 0 auto; }

/* ─── Features Grid ─── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.features-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: #111827; border: 1px solid rgba(30, 41, 59, 0.5); border-radius: 10px;
  padding: 28px 24px; transition: border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 30px -10px rgba(6, 182, 212, 0.15);
}
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; color: #64748b; line-height: 1.5; }

/* Features CTA link */
.features-cta { text-align: center; margin-top: 40px; }
.link-arrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #06b6d4;
  transition: color 0.2s;
}
.link-arrow:hover { color: #22d3ee; }
.link-arrow span { display: inline-block; transition: transform 0.2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ─── Module Cards ─── */
.modules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.module-card {
  background: #111827; border: 1px solid rgba(30, 41, 59, 0.5); border-radius: 10px;
  padding: 32px 28px; transition: border-color 0.3s, box-shadow 0.3s;
}
.module-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 30px -10px rgba(6, 182, 212, 0.15);
}
.module-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.module-header .feature-icon { margin-bottom: 0; font-size: 1.5rem; }
.module-header h3 { font-size: 1.15rem; letter-spacing: 0.05em; text-transform: uppercase; margin: 0; }
.module-desc { font-size: 0.9rem; color: #94a3b8; margin-bottom: 16px; line-height: 1.5; }
.module-list { list-style: none; padding: 0; }
.module-list li {
  font-size: 0.825rem;
  color: #64748b;
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.5;
}
.module-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0891b2;
}

/* ─── Steps ─── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(6, 182, 212, 0.1);
  border: 2px solid #06b6d4; display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.2rem; color: #06b6d4;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: #64748b; }

/* ─── Highlights ─── */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.highlight {
  background: #111827; border: 1px solid rgba(30, 41, 59, 0.5); border-radius: 10px;
  padding: 28px 24px; text-align: center;
}
.highlight strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 8px; color: #06b6d4; }
.highlight p { font-size: 0.875rem; color: #64748b; }

/* ─── Contact ─── */
.contact-section { text-align: center; }
.contact-box {
  background: #111827; border: 1px solid rgba(30, 41, 59, 0.5); border-radius: 10px;
  padding: 40px; max-width: 500px; margin: 0 auto;
}
.contact-box p { margin-bottom: 16px; }
.contact-box .btn { margin-bottom: 12px; }
.contact-note { font-size: 0.8rem; color: #475569; margin-bottom: 0; }

/* ─── Footer ─── */
.footer {
  border-top: 1px solid rgba(30, 41, 59, 0.5);
  padding: 32px 0;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-copy { font-size: 0.75rem; color: #334155; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
  .page-hero-title { font-size: 2.2rem; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .features-grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .page-hero-title { font-size: 1.8rem; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}
