/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0a0a0f;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74, 144, 217, 0.12);
  padding-top: env(safe-area-inset-top, 0px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  color: #b0b0b0;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  padding: 8px 22px !important;
  border-radius: 6px;
  background: #4A90D9;
  color: #fff !important;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: #3a7bc8; }

/* Burger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4A90D9, #6C5CE7);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 144, 217, 0.35);
}
.btn-primary.btn-lg {
  padding: 18px 52px;
  font-size: 1.15rem;
  border-radius: 12px;
}

.btn-ghost {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: env(safe-area-inset-top, 0px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.4) 0%,
    rgba(10, 10, 15, 0.65) 50%,
    rgba(10, 10, 15, 0.92) 100%
  );
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  background: rgba(74, 144, 217, 0.4);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}
.hero-particles span:nth-child(1)  { left: 10%; animation-duration: 12s; animation-delay: 0s;   width: 3px; height: 3px; }
.hero-particles span:nth-child(2)  { left: 25%; animation-duration: 15s; animation-delay: 2s;   width: 5px; height: 5px; }
.hero-particles span:nth-child(3)  { left: 40%; animation-duration: 10s; animation-delay: 4s;   width: 3px; height: 3px; }
.hero-particles span:nth-child(4)  { left: 55%; animation-duration: 18s; animation-delay: 1s;   width: 6px; height: 6px; }
.hero-particles span:nth-child(5)  { left: 70%; animation-duration: 14s; animation-delay: 3s;   width: 4px; height: 4px; }
.hero-particles span:nth-child(6)  { left: 15%; animation-duration: 16s; animation-delay: 5s;   width: 3px; height: 3px; }
.hero-particles span:nth-child(7)  { left: 50%; animation-duration: 11s; animation-delay: 0.5s; width: 5px; height: 5px; }
.hero-particles span:nth-child(8)  { left: 80%; animation-duration: 13s; animation-delay: 2.5s; width: 4px; height: 4px; }
.hero-particles span:nth-child(9)  { left: 35%; animation-duration: 17s; animation-delay: 4.5s; width: 3px; height: 3px; }
.hero-particles span:nth-child(10) { left: 90%; animation-duration: 12s; animation-delay: 1.5s; width: 5px; height: 5px; }

@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 24px;
  max-width: 780px;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #4A90D9, #A855F7, #4A90D9);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

.hero-content p {
  font-size: 1.2rem;
  color: #b0b8c4;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}
.scroll-indicator span {
  display: block;
  width: 4px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  margin-top: 6px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(14px); opacity: 0.2; }
}

/* ============ STATS BAR ============ */
.stats {
  background: rgba(20, 20, 35, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(74, 144, 217, 0.1);
  border-bottom: 1px solid rgba(74, 144, 217, 0.1);
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-around;
  gap: 16px;
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.stat-item span {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============ SECTIONS SHARED ============ */
.features, .areas, .how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
}

.features h2, .areas h2, .how h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 144, 217, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
}

.icon-blue   { background: rgba(74, 144, 217, 0.15); color: #4A90D9; box-shadow: 0 0 20px rgba(74, 144, 217, 0.1); }
.icon-purple { background: rgba(108, 92, 231, 0.15); color: #6C5CE7; box-shadow: 0 0 20px rgba(108, 92, 231, 0.1); }
.icon-pink   { background: rgba(232, 67, 147, 0.15); color: #E84393; box-shadow: 0 0 20px rgba(232, 67, 147, 0.1); }
.icon-cyan   { background: rgba(0, 206, 209, 0.15);  color: #00CED1; box-shadow: 0 0 20px rgba(0, 206, 209, 0.1); }
.icon-orange { background: rgba(255, 152, 0, 0.15);  color: #FF9800; box-shadow: 0 0 20px rgba(255, 152, 0, 0.1); }
.icon-green  { background: rgba(0, 184, 148, 0.15);  color: #00B894; box-shadow: 0 0 20px rgba(0, 184, 148, 0.1); }

.feature-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.6;
}

/* ============ AREAS ============ */
.areas {
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  background: linear-gradient(180deg, #0a0a0f 0%, #0e0e1a 50%, #0a0a0f 100%);
}

.areas-grid {
  max-width: 1200px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.area-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.area-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 144, 217, 0.3);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.area-card:hover img {
  transform: scale(1.05);
}

.area-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.area-card-overlay h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 4px;
  font-weight: 700;
}

.area-card-overlay p {
  font-size: 0.9rem;
  color: #b0b0b0;
}

/* ============ HOW IT WORKS ============ */
.how {
  padding-bottom: 80px;
}

.how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
}

.how-step {
  text-align: center;
  flex: 0 0 200px;
}

.how-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A90D9, #6C5CE7);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px rgba(74, 144, 217, 0.3);
}

.how-step h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 600;
}

.how-step p {
  font-size: 0.88rem;
  color: #888;
  max-width: 180px;
  margin: 0 auto;
}

.how-line {
  flex: 0 0 80px;
  height: 2px;
  background: linear-gradient(90deg, #4A90D9, #6C5CE7);
  margin-top: 27px;
  border-radius: 1px;
  opacity: 0.4;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, rgba(74, 144, 217, 0.12), rgba(108, 92, 231, 0.12));
  border-top: 1px solid rgba(74, 144, 217, 0.1);
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 72px 24px;
  text-align: center;
}

.cta-inner h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 1.1rem;
  color: #999;
  margin-bottom: 32px;
}

/* ============ FOOTER ============ */
.footer {
  background: #08080d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 56px 24px 0;
}

.footer-cols {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #666;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom span {
  font-size: 0.82rem;
  color: #555;
}

/* ============ RESPONSIVE 1024px ============ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ RESPONSIVE 768px ============ */
@media (max-width: 768px) {
  /* Nav mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: calc(64px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px;
    gap: 12px;
    border-bottom: 1px solid rgba(74, 144, 217, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-ghost { width: 220px; text-align: center; }

  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .stat-item { flex: 0 0 40%; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-steps { flex-direction: column; align-items: center; gap: 12px; }
  .how-line {
    width: 2px;
    height: 32px;
    flex: 0 0 32px;
    background: linear-gradient(180deg, #4A90D9, #6C5CE7);
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-desc { max-width: 100%; margin: 0 auto; }
}

/* ============ RESPONSIVE 480px ============ */
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.92rem; }
  .btn-primary { padding: 12px 28px; font-size: 1rem; }
  .btn-ghost { padding: 12px 28px; font-size: 1rem; }

  .features-grid { grid-template-columns: 1fr; }

  .stat-item strong { font-size: 1.3rem; }

  .features h2, .areas h2, .how h2 { font-size: 1.7rem; }
  .cta-inner h2 { font-size: 1.6rem; }
}
