/* ===== 2BOX PRO – Static CSS ===== */
:root {
  --bg: hsl(220, 20%, 7%);
  --fg: hsl(0, 0%, 96%);
  --card: hsl(220, 18%, 10%);
  --card-fg: hsl(0, 0%, 96%);
  --primary: hsl(163, 62%, 52%);
  --primary-fg: hsl(220, 20%, 7%);
  --secondary: hsl(220, 16%, 14%);
  --secondary-fg: hsl(0, 0%, 90%);
  --muted: hsl(220, 14%, 16%);
  --muted-fg: hsl(220, 10%, 55%);
  --border: hsl(220, 14%, 18%);
  --radius: 0.75rem;
  --surface: hsl(220, 16%, 12%);
  --surface-hover: hsl(220, 16%, 16%);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* --- Utilities --- */
.glass {
  background: hsla(220, 18%, 10%, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid hsla(220, 14%, 18%, 0.5);
}
.glass-hover { transition: all 0.3s; }
.glass-hover:hover {
  background: hsla(220, 18%, 10%, 0.8);
  border-color: hsla(163, 62%, 52%, 0.3);
}
.text-gradient {
  background: linear-gradient(to right, var(--primary), hsl(180, 60%, 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glow-primary { box-shadow: 0 0 30px -5px hsla(163, 62%, 52%, 0.3); }
.glow-primary-lg { box-shadow: 0 0 60px -10px hsla(163, 62%, 52%, 0.4); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-fg);
  font-weight: 600; font-size: 0.875rem;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: var(--radius);
  border: 1px solid var(--border); color: var(--fg);
  font-weight: 600; font-size: 0.875rem;
  transition: background 0.2s;
}
.btn-outline:hover { background: var(--secondary); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 hsla(163,62%,52%,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px hsla(163,62%,52%,0); }
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); display: inline-block;
  animation: pulse-glow 2s infinite;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo img { height: 28px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-links .btn-primary { padding: 0.5rem 1.25rem; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--fg);
  transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; padding: 1rem;
    background: hsla(220, 18%, 10%, 0.95); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: flex; }
}

/* --- HERO --- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, hsla(220,20%,7%,0.8), hsla(220,20%,7%,0.6), var(--bg));
}
.hero-content {
  position: relative; z-index: 10;
  text-align: center; padding: 6rem 1rem 4rem;
  max-width: 800px; margin: 0 auto;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 9999px;
  font-size: 0.875rem; color: var(--primary); margin-bottom: 2rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.125rem; color: var(--muted-fg); max-width: 600px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.pill {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  font-size: 0.875rem; color: var(--muted-fg);
}
.pill svg { color: var(--primary); }

/* --- SECTIONS --- */
.section { padding: 6rem 0; }
.section-alt { background: hsla(220, 16%, 14%, 0.3); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  color: var(--primary); font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem;
}
.section-header h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  position: relative; padding: 1.5rem; border-radius: var(--radius); overflow: hidden;
}
.card-num {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 3rem; font-weight: 700; color: hsla(163, 62%, 52%, 0.1);
  font-family: 'Space Grotesk', sans-serif;
}
.card-icon {
  width: 48px; height: 48px; border-radius: 0.5rem;
  background: hsla(163, 62%, 52%, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; transition: all 0.3s;
}
.card-icon svg { color: var(--primary); }
.card:hover .card-icon { background: hsla(163, 62%, 52%, 0.2); }
.card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }

/* CTA */
.cta-box {
  position: relative; max-width: 800px; margin: 0 auto;
  padding: 3rem; border-radius: 1rem; text-align: center; overflow: hidden;
}
.cta-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, hsla(163,62%,52%,0.05), transparent);
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.cta-inner p { color: var(--muted-fg); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { height: 24px; opacity: 0.6; }
.footer p { font-size: 0.75rem; color: var(--muted-fg); }
.footer a { color: var(--primary); }
.footer a:hover { text-decoration: underline; }
