/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: radial-gradient(circle at top, #0a1b3f, #020617);
  color: #fff;
  overflow-x: hidden;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(6, 20, 46, 0.85);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.brand-text {
  font-weight: 600;
}

nav a {
  color: #cfd8ff;
  margin-left: 24px;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}

nav a.active,
nav a:hover {
  color: #7aa2ff;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: 54px;
  line-height: 1.1;
}

.hero-text p {
  margin: 22px 0;
  color: #cbd5f5;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

.primary {
  background: #6366f1;
  color: #fff;
}

.outline {
  border: 1px solid #6366f1;
  color: #fff;
}

/* ===== STATS ===== */
.hero-stats {
  display: flex;
  gap: 30px;
}

.hero-stats strong {
  font-size: 22px;
}

.hero-stats span {
  display: block;
  font-size: 13px;
  color: #aab4ff;
}

/* ===== EARTH ===== */
.earth-wrap {
  width: 280px;
  height: 280px;
  margin-left: auto;
}

.earth-sphere {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(90,120,255,0.7);
}

.earth-sphere img {
  width: 200%;
  height: 100%;
  object-fit: cover;
  animation: earthMove 40s linear infinite;
}

@keyframes earthMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.section.reveal {
  opacity: 1;
  transform: translateY(0);
}

.section.dark {
  background: #020617;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 16px;
}

/* ===== BLOG ===== */
.blog-card {
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

/* ===== CONTACT ===== */
.contact-form {
  max-width: 480px;
  margin: 40px auto;
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
}

.contact-form button {
  padding: 14px;
  background: #6366f1;
  color: white;
  border-radius: 30px;
  border: none;
}

/* ===== FOOTER ===== */
.footer {
  padding: 30px;
  background: #020617;
  text-align: center;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .earth-wrap {
    margin: 40px auto 0;
  }

  nav {
    display: none;
  }
}
body {
  background:
    radial-gradient(circle at top, rgba(10,27,63,0.85), rgba(2,6,23,0.95)),
    url("stars-bg.png") no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("stars-bg.png") repeat;
  opacity: 0.25;
  animation: starsFloat 120s linear infinite;
  z-index: -1;
}

@keyframes starsFloat {
  from { background-position: 0 0; }
  to   { background-position: -2000px 1000px; }
}
