/* ===== GLOBAL ===== */
* { box-sizing: border-box; margin:0; padding:0; }
html,body { height: 100%; }
body {
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(135deg, #6C63FF 0%, #3A8DFF 50%, #00C6FF 100%);
  color: #eff7ff;
  line-height: 1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x: hidden;
}

/* NAV / HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right:0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 12px 20px;
  background: linear-gradient(180deg, rgba(10,12,30,0.45), rgba(10,12,30,0.25));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.25s ease, transform 0.25s ease;
}

.navwrap {
  width: 100%;
  max-width: 1200px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.brand {
  color: #eaf6ff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.mainnav {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.mainnav a {
  color: rgba(235,245,255,0.92);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 4px;
  position: relative;
  transition: color .22s ease;
}

.mainnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: rgba(255,255,255,0.12);
  transition: width .22s ease;
}

.mainnav a:hover { color: #fff; }
.mainnav a:hover::after { width: 100%; background: rgba(255,255,255,0.22); }

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.12);
  padding: 8px 18px;
  border-radius: 999px;
  color: #f0fbff;
  text-decoration: none;
  font-weight: 700;
  transition: all .22s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.btn-ghost:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30,40,90,0.3);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  color: #00132a;
}

/* HERO */
.hero {
  position: relative;
  padding: 180px 16px 60px; /* big top padding so header doesn't overlap */
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(600px 300px at 10% 30%, rgba(255,255,255,0.04), transparent 8%),
    radial-gradient(500px 250px at 90% 70%, rgba(255,255,255,0.03), transparent 10%);
  filter: blur(40px);
  transform: translateZ(0);
  z-index: 0;
}

.hero-inner { position: relative; z-index: 5; max-width: 1100px; margin: 0 auto; padding: 4px; }

.hero h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #00e0ff, #00a8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* added for full support */
  color: transparent; /* fallback */
  animation: fadeInUp 1.2s ease forwards;
}

/* Animation keyframes (important part!) */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead {
  margin: 12px auto 22px;
  max-width: 820px;
  color: rgba(235,245,255,0.94);
  font-size: 1.03rem;
  animation: fadeInUp 1.1s ease both;
}

.hero-ctas { display:flex; gap:12px; justify-content:center; align-items:center; margin-top:8px; }

.btn-primary {
  display:inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff 0%, #d7f6ff 100%);
  color: #001122;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: transform .22s ease, box-shadow .22s ease;
}

.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10,20,60,0.35); }

.btn-outline {
  display:inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #f0fbff;
  text-decoration:none;
  font-weight: 600;
}

/* CONTENT */
.content { max-width: 1100px; margin: 0 auto; padding: 18px; }

/* CARDS */
.card {
  margin: 28px auto;
  padding: 26px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 8px 30px rgba(10,18,40,0.45);
  opacity: 0;
  transform: translateY(18px);
  transition: all .6s cubic-bezier(.12,.9,.3,1);
}

.card.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02)); }

.card h2 { color: #fff; font-size:1.4rem; margin-bottom:10px; }
.card h3 { color: #e8f8ff; margin-top:10px; margin-bottom:8px; font-size:1.05rem; }
.card p, .card li { color: rgba(235,245,255,0.92); }

.card ul, .card ol { margin-left: 18px; margin-top:8px; }

/* CTA section */
.cta {
  max-width: 900px;
  margin: 36px auto 80px;
  padding: 36px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* FOOTER */
.footer { padding: 30px 12px; text-align:center; color: rgba(240,250,255,0.8); }

/* REVEAL ANIMATION */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(18px); transition: all .7s cubic-bezier(.12,.9,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .mainnav { display: none; } /* keep header simple on mobile */
  .navwrap { justify-content: space-between; padding: 0 8px; }
  .hero { padding-top: 140px; }
  .content { padding: 12px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 1.45rem; }
  .lead { font-size: 0.98rem; }
  .btn-primary { padding: 10px 18px; }
  .card { padding: 16px; margin: 18px 10px; }
}
