/* ============================================================
   Premiumstar Sky Explorer — Global Stylesheet
   © 2025 Olufolahan Olatoye Akintola
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --sky-deep:    #03111f;
  --sky-mid:     #071e36;
  --sky-panel:   rgba(255,255,255,0.04);
  --sky-border:  rgba(255,255,255,0.08);
  --blue-vivid:  #2f8fff;
  --blue-glow:   #4fa8ff;
  --cyan:        #00d4e8;
  --gold:        #ffc83d;
  --white:       #f0f6ff;
  --muted:       rgba(240,246,255,0.5);
  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --radius:      14px;
  --radius-lg:   22px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--sky-deep);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 68px;
  background: rgba(3,17,31,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sky-border);
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}

.nav-logo svg { width: 28px; height: 28px; }

.nav-links {
  display: flex; gap: clamp(16px, 2.5vw, 32px);
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--blue-vivid);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--blue-glow) !important; color: var(--white) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--blue-vivid);
  color: var(--white);
  box-shadow: 0 0 30px rgba(47,143,255,0.35);
}
.btn-primary:hover { background: var(--blue-glow); transform: translateY(-2px); box-shadow: 0 0 40px rgba(47,143,255,0.5); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--sky-border);
}
.btn-secondary:hover { border-color: var(--blue-vivid); color: var(--blue-glow); transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--sky-deep);
}
.btn-gold:hover { background: #ffd96a; transform: translateY(-2px); }

/* ── CARDS ── */
.card {
  background: var(--sky-panel);
  border: 1px solid var(--sky-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover { border-color: rgba(47,143,255,0.3); background: rgba(255,255,255,0.06); }

/* ── SECTION ── */
section { padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 60px); position: relative; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }

.text-cyan  { color: var(--cyan); }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

.max-w { max-width: 1200px; margin: 0 auto; }
.max-w-text { max-width: 680px; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── WEATHER WIDGET ── */
.weather-widget {
  background: linear-gradient(135deg, rgba(47,143,255,0.12), rgba(0,212,232,0.06));
  border: 1px solid rgba(47,143,255,0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.weather-temp {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.weather-stat {
  display: flex; flex-direction: column; gap: 4px;
}

.weather-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.weather-stat-value {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cyan);
}

/* ── GLOW ORBS (background decoration) ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* ── FOOTER ── */
footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--sky-border);
  padding: 48px clamp(20px, 5vw, 60px) 32px;
}

.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid var(--sky-border);
}

.footer-brand p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-top: 12px; max-width: 280px; }

.footer-col h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px; margin: 28px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--muted);
}

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--blue-vivid), var(--cyan));
  border-radius: 2px;
  margin: 16px 0 24px;
}

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(47,143,255,0.12);
  border: 1px solid rgba(47,143,255,0.25);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-glow);
  letter-spacing: 0.04em;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(47,143,255,0.3); }
  50%       { box-shadow: 0 0 40px rgba(47,143,255,0.6); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.animate-fade-up { animation: fadeUp 0.7s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── GET SKY EXPLORER ── */
.get-section { background: var(--sky-mid); border-top: 1px solid var(--sky-border); border-bottom: 1px solid var(--sky-border); }
.get-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.get-card { display: flex; flex-direction: column; gap: 22px; background: var(--sky-panel); border: 1px solid var(--sky-border); border-radius: var(--radius-lg); padding: 28px; }
.get-card.featured { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; padding: 34px; border-color: rgba(255,200,61,0.5); background: linear-gradient(135deg, rgba(255,200,61,0.08), rgba(47,143,255,0.06)); box-shadow: 0 0 50px rgba(255,200,61,0.08); }
.get-head { display: flex; align-items: center; gap: 16px; }
.get-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.get-card.featured h3 { font-size: 1.6rem; }
.get-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.get-icon { flex-shrink: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(47,143,255,0.1); border: 1px solid rgba(47,143,255,0.25); }
.get-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.get-card.featured .get-icon { width: 64px; height: 64px; }
.get-card.featured .get-icon svg { width: 32px; height: 32px; stroke: var(--gold); }
.get-cta { padding: 17px 34px; font-size: 1.05rem; white-space: nowrap; }
.get-cta-inline { align-self: flex-start; margin-top: auto; }
.get-embed { background: rgba(0,0,0,0.25); border: 1px solid var(--sky-border); border-radius: 12px; padding: 10px; overflow: hidden; }
.get-embed iframe, .get-embed amp-iframe { display: block; width: 100%; max-width: 552px; height: 167px; border: 0; margin: 0 auto; }
.get-link { align-self: flex-start; margin-top: auto; font-size: 0.85rem; color: var(--muted); text-underline-offset: 4px; }
.get-link:hover { color: var(--white); }
.trailer-frame { max-width: 720px; margin: 20px auto 0; border-radius: 16px; overflow: hidden; box-shadow: 0 0 40px rgba(47,143,255,0.2); }
.trailer-ratio { position: relative; padding-top: 56.25%; }
.trailer-ratio iframe, .trailer-ratio amp-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .get-grid { grid-template-columns: 1fr; }
  .get-card.featured { flex-direction: column; align-items: flex-start; }
  .get-cta { width: 100%; justify-content: center; }
}
.get-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
