* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

:root {
  --bg-main: #0d0d1a;
  --bg-container: #12121f;
  --bg-soft: #1a1a2e;
  --bg-card: rgba(34, 34, 58, 0.82);
  --border: #2a2a3e;
  --border-purple: rgba(142, 124, 255, 0.36);
  --text: #ffffff;
  --muted: #94a3b8;
  --muted-soft: #64748b;
  --purple: #6c5aff;
  --purple-dark: #4338ff;
  --purple-light: #a78bfa;
  --green: #34d399;
  --orange: #fb923c;
  --blue: #60a5fa;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-main);
  color: #e5e7eb;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -45px;
  left: 12px;
  background: var(--purple);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* ========== NAVBAR - EXACT MATCH TO HOMEPAGE ========== */
.navbar {
  height: 90px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  border-bottom: 1px solid #ececf8;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1002;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6b5cff, #4338ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.logo h2 {
  font-size: 22px;
  background: linear-gradient(135deg, #6b5cff, #4338ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  padding: 10px 18px;
  display: block;
  transition: all 0.3s ease;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
}

.nav-menu li a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
}

.nav-menu li.active a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.nav-toggle {
  display: none;
}

.hamburger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #ececf8;
  background: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1002;
  box-shadow: 0 8px 20px rgba(79, 70, 255, 0.08);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #4f46ff;
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* ========== PAGE CONTAINER ========== */
.container {
  max-width: 1600px;
  margin: 0 auto;
  background: var(--bg-container);
}

/* ========== HERO ========== */
.how-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: calc(100vh - 80px);
  padding: 48px 20px 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(91, 76, 255, 0.26), transparent 31%),
    radial-gradient(circle at 20% 32%, rgba(96, 75, 255, 0.13), transparent 24%),
    radial-gradient(circle at 80% 35%, rgba(102, 68, 255, 0.11), transparent 25%),
    linear-gradient(180deg, #111124 0%, #12121f 55%, #0d0d1a 100%);
  border-bottom: 1px solid #2a2a3e;
}

.how-inner {
  max-width: 1220px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(112, 89, 255, 0.17);
  filter: blur(85px);
  pointer-events: none;
}

.hero-glow-left {
  left: -150px;
  top: 120px;
}

.hero-glow-right {
  right: -160px;
  top: 140px;
}

.hero-bg-dot {
  position: absolute;
  width: 460px;
  height: 210px;
  opacity: 0.28;
  pointer-events: none;
  background-image: radial-gradient(rgba(124, 106, 255, 0.9) 1px, transparent 1px);
  background-size: 10px 10px;
  filter: blur(0.2px);
  transform: rotate(-8deg);
}

.hero-bg-dot-left {
  left: -115px;
  top: 130px;
  border-radius: 50%;
}

.hero-bg-dot-right {
  right: -95px;
  top: 84px;
  border-radius: 50%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--purple-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 14px;
}

.eyebrow span {
  font-size: 22px;
  color: #a78bfa;
  text-shadow: 0 0 24px rgba(167, 139, 250, 0.75);
}

h1 {
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -2px;
  color: #ffffff;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.38);
}

h1 span,
.why-section h2 span,
.cta-content h2 span {
  background: linear-gradient(135deg, #a78bfa 0%, #6c5aff 46%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 700px;
  margin: 14px auto 0;
  color: #b7bfd0;
  font-size: 17px;
  line-height: 1.65;
}

/* ========== MINI FLOW ========== */
.mini-flow {
  width: min(540px, 100%);
  margin: 24px auto 0;
  padding: 12px 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(45, 39, 84, 0.62), rgba(23, 20, 44, 0.7)),
    rgba(24, 21, 46, 0.7);
  border: 1px solid rgba(142, 124, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 55px rgba(0, 0, 0, 0.23);
}

.mini-flow-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #bdafff;
  font-size: 20px;
  background: rgba(108, 90, 255, 0.13);
  border: 1px solid rgba(167, 139, 250, 0.28);
  box-shadow: 0 0 24px rgba(108, 90, 255, 0.15);
}

.mini-flow-line {
  flex: 1;
  max-width: 92px;
  height: 3px;
  border-radius: 30px;
  background-image: linear-gradient(90deg, #7d62ff 45%, transparent 45%);
  background-size: 12px 3px;
  opacity: 0.95;
}

/* ========== STEPS ========== */
.steps-flow {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 14px;
}

.step-card {
  min-height: 220px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(43, 39, 76, 0.58), rgba(17, 16, 34, 0.72)),
    rgba(18, 17, 38, 0.82);
  border: 1px solid var(--border-purple);
  border-radius: 16px;
  padding: 50px 24px 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 55px rgba(0, 0, 0, 0.24);
  transition: 0.25s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(164, 142, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 30px 70px rgba(83, 63, 255, 0.16);
}

.step-number {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, #7a6cff, #4d42e7);
  border: 3px solid #17162f;
  outline: 1px solid rgba(185, 170, 255, 0.68);
  box-shadow: 0 0 22px rgba(107, 92, 255, 0.5);
}

.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 29px;
  color: #e1d9ff;
  background:
    radial-gradient(circle at 35% 25%, rgba(204, 174, 255, 0.36), transparent 45%),
    linear-gradient(135deg, rgba(118, 76, 222, 0.95), rgba(64, 43, 140, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 42px rgba(109, 76, 255, 0.28);
}

.step-card h2 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
}

.step-card p {
  color: #b2bbce;
  font-size: 13px;
  line-height: 1.7;
}

.flow-connector {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.flow-connector::before {
  content: '';
  position: absolute;
  left: 5px;
  right: 5px;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #7b5cff, #9d6dff);
  border-radius: 99px;
  box-shadow: 0 0 20px rgba(125, 92, 255, 0.7);
}

.flow-connector span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #211647;
  border: 3px solid #7b5cff;
  box-shadow: 0 0 18px rgba(125, 92, 255, 0.78);
  z-index: 1;
}

/* ========== WHY SECTION ========== */
.why-section {
  margin-top: 28px;
}

.why-section h2 {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.feature-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.feature-card {
  min-height: 150px;
  background:
    linear-gradient(180deg, rgba(38, 35, 70, 0.56), rgba(17, 16, 34, 0.78)),
    rgba(18, 17, 38, 0.78);
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  padding: 18px 16px;
  transition: 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(157, 124, 255, 0.62);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 24px;
}

.feature-icon.purple {
  background:
    radial-gradient(circle at 35% 25%, rgba(198, 163, 255, 0.32), transparent 45%),
    linear-gradient(135deg, #6240bb, #312071);
}

.feature-icon.green {
  background:
    radial-gradient(circle at 35% 25%, rgba(110, 255, 176, 0.3), transparent 45%),
    linear-gradient(135deg, #0baa5b, #064929);
}

.feature-icon.orange {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 211, 121, 0.3), transparent 45%),
    linear-gradient(135deg, #d17a0d, #6b3500);
}

.feature-icon.blue {
  background:
    radial-gradient(circle at 35% 25%, rgba(128, 185, 255, 0.33), transparent 45%),
    linear-gradient(135deg, #255fc7, #122b73);
}

.feature-card h3 {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 8px;
}

.feature-card p {
  color: #aeb8ca;
  font-size: 12.5px;
  line-height: 1.55;
}

/* ========== TIPS ========== */
.tips-box {
  margin-top: 16px;
  background:
    linear-gradient(90deg, rgba(40, 35, 78, 0.68), rgba(18, 17, 38, 0.82)),
    rgba(18, 17, 38, 0.78);
  border: 1px solid rgba(142, 124, 255, 0.48);
  border-radius: 12px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}

.tips-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tips-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #e5dbff;
  font-size: 25px;
  background:
    radial-gradient(circle at 35% 25%, rgba(198, 163, 255, 0.32), transparent 45%),
    linear-gradient(135deg, #6240bb, #312071);
  box-shadow: 0 0 35px rgba(116, 68, 210, 0.28);
}

.tips-box h2 {
  font-size: 21px;
  color: #ffffff;
  margin-bottom: 6px;
}

.tips-box p {
  max-width: 820px;
  color: #b2bbce;
  font-size: 14px;
  line-height: 1.6;
}

.tips-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  padding: 13px 18px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(173, 139, 255, 0.65);
  background: rgba(42, 36, 78, 0.72);
  transition: 0.25s ease;
}

.tips-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7667ff, #5b48dc);
  box-shadow: 0 14px 30px rgba(108, 90, 255, 0.22);
}

/* ========== CTA ========== */
.cta-box {
  margin-top: 14px;
  background:
    radial-gradient(circle at 8% 50%, rgba(122, 72, 255, 0.22), transparent 26%),
    linear-gradient(90deg, rgba(43, 31, 84, 0.76), rgba(18, 17, 38, 0.9));
  border: 1px solid rgba(148, 92, 255, 0.72);
  border-radius: 12px;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 20px;
  text-align: left;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 24px 65px rgba(91, 72, 255, 0.16);
}

.cta-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 30px;
  background: rgba(93, 45, 167, 0.62);
  border: 1px solid rgba(187, 123, 255, 0.75);
  box-shadow: 0 0 36px rgba(128, 74, 255, 0.36);
}

.cta-content h2 {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.6px;
}

.cta-content p {
  margin-top: 6px;
  color: #b2bbce;
  font-size: 14px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  padding: 17px 24px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
  background: linear-gradient(135deg, #8c3cff, #574bff);
  box-shadow: 0 18px 45px rgba(108, 90, 255, 0.36);
  transition: 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(108, 90, 255, 0.48);
}

/* ========== FOOTER ========== */
.footer {
  text-align: center;
  padding: 12px 16px;
  color: var(--muted-soft);
  font-size: 13px;
  border-top: 1px solid #2a2a3e;
  background: #10101d;
}

.footer p {
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
}

.footer a {
  color: #7c8498;
  transition: 0.25s ease;
}

.footer a:hover {
  color: #a78bfa;
}

/* ========== RESPONSIVE - MATCHES HOMEPAGE EXACTLY ========== */
@media (max-width: 1200px) {
  .navbar {
    padding: 0 24px;
  }

  .nav-menu {
    gap: 8px;
  }

  .nav-menu li a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .steps-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .flow-connector {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-box {
    grid-template-columns: 64px 1fr;
  }

  .cta-btn {
    grid-column: 1 / -1;
    width: fit-content;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 76px;
    padding: 0 16px;
    flex-direction: row;
  }

  .logo h2 {
    font-size: 20px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    padding: 0 16px;
    border-bottom: 1px solid #ececf8;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
    transition: all 0.35s ease;
  }

  .nav-toggle:checked ~ .nav-menu {
    max-height: 80vh;
    visibility: visible;
    opacity: 1;
    padding: 16px 16px 20px;
  }

  .nav-menu li a {
    text-align: center;
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 12px;
  }

  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .how-hero {
    min-height: auto;
    padding: 38px 18px 22px;
  }

  .eyebrow {
    font-size: 11px;
    gap: 10px;
  }

  .eyebrow span {
    font-size: 18px;
  }

  h1 {
    font-size: 42px;
    letter-spacing: -1.2px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .mini-flow {
    padding: 10px 12px;
    gap: 9px;
  }

  .mini-flow-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .steps-flow {
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
    padding: 48px 24px 26px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tips-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .tips-btn {
    width: 100%;
  }

  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 24px 20px;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-btn {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .logo h2 {
    font-size: 18px;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .how-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 37px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .mini-flow-line {
    display: none;
  }

  .step-icon {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

  .step-card h2 {
    font-size: 18px;
  }

  .step-card p {
    font-size: 13px;
  }

  .why-section h2 {
    font-size: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .tips-box {
    padding: 22px 18px;
  }

  .tips-left {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    font-size: 12px;
  }
}