/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top, #0f172a, #020617);
  color: #e2e8f0;
  line-height: 1.6;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(2,6,23,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}

.logo {
  font-weight: 600;
  font-size: 18px;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #94a3b8;
  transition: 0.2s;
}

.nav a:hover {
  color: #e2e8f0;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 10px 0;
}

.hero h1 span {
  color: #38bdf8;
}

.subtitle {
  font-size: 18px;
  color: #94a3b8;
  max-width: 520px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: linear-gradient(135deg,#38bdf8,#6366f1);
  padding: 14px 22px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 22px;
  border-radius: 10px;
  color: #94a3b8;
}

/* ===== VISUAL PANEL ===== */
.glass-card {
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section h2 {
  font-size: 36px;
}

.lead {
  color: #94a3b8;
  max-width: 700px;
}

/* ===== GRID ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: #020617;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 24px;
  border-radius: 14px;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(56,189,248,0.4);
}

/* ===== CTA ===== */
.cta-box {
  text-align: center;
  background: linear-gradient(135deg,#020617,#0f172a);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 60px;
  border-radius: 18px;
}



/* =====================================================
   2026 RESPONSIVE SYSTEM (MOBILE-FIRST FIX)
   ===================================================== */

/* Base safety */
* {
  box-sizing: border-box;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* Prevent horizontal scroll issues */
body {
  overflow-x: hidden;
}

/* =========================
   TABLET (≤ 1024px)
   ========================= */
@media (max-width: 1024px) {

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .hero h1 {
    font-size: 44px;
  }

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

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav a {
    margin-left: 0;
    margin-right: 16px;
  }

}

/* =========================
   MOBILE (≤ 768px)
   ========================= */
@media (max-width: 768px) {

  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .subtitle {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .glass-card {
    padding: 18px;
  }

  .cta-box {
    padding: 30px 20px;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 15px;
  }

}

/* =========================
   SMALL MOBILE (≤ 480px)
   ========================= */
@media (max-width: 480px) {

  .hero h1 {
    font-size: 30px;
  }

  .nav-container {
    padding: 14px 16px;
  }

  .logo {
    font-size: 16px;
  }

  .glass-card {
    border-radius: 12px;
  }

  .card {
    padding: 18px;
  }

}

/* =========================
   FOOTER
   ========================= */

.footer {
  margin-top: 100px;
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(10px);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.footer-subtitle {
  color: #94a3b8;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #e2e8f0;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 20px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
}

/* =========================
   MOBILE UX IMPROVEMENTS
   ========================= */

/* Improve tap targets */
a, button {
  min-height: 44px;
}

/* Better spacing rhythm */
section {
  padding-left: 16px;
  padding-right: 16px;
}

/* Prevent cramped text */
p {
  word-wrap: break-word;
}

/* Reduce motion for usability */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}