/* ===== Variables ===== */
:root {
  --bg-dark: #0d0d0d;
  --bg-card: #161616;
  --bg-elevated: #1a1a1a;
  --text: #f2f2f2;
  --text-muted: #a3a3a3;
  --accent: #ff6b00;
  --accent-dim: #e85d00;
  --accent-glow: rgba(255, 107, 0, 0.25);
  --border: rgba(255, 255, 255, 0.08);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-aegix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.logo-athletics {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--accent) !important;
}

.nav-cta:hover {
  color: var(--accent-dim) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-elevated);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-3xl) var(--space-lg);
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--border);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
    z-index: 101;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80px + var(--space-2xl)) var(--space-md) var(--space-2xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, var(--accent-glow) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0a 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.hero-title {
  margin-bottom: var(--space-md);
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #0d0d0d;
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* ===== Sections ===== */
.section {
  padding: var(--space-3xl) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: var(--space-xs);
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

/* ===== Problem Section ===== */
.section-problem {
  background: var(--bg-card);
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.problem-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: border-color var(--transition), transform var(--transition);
}

.problem-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  transform: translateY(-2px);
}

.problem-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.problem-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Solution Section ===== */
.section-solution {
  background: var(--bg-dark);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.solution-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.solution-lead strong {
  color: var(--accent);
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.solution-list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.solution-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.solution-list strong {
  color: var(--text);
}

.solution-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

@media (max-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-visual {
    order: -1;
  }

  .product-image {
    max-width: 280px;
  }
}

/* ===== How It Works ===== */
.section-how {
  background: var(--bg-card);
}

.steps {
  max-width: 640px;
  margin: var(--space-xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bg-dark);
  background: var(--accent);
  border-radius: var(--radius);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text);
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== CTA Section ===== */
.section-cta {
  position: relative;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, var(--accent-glow) 0%, transparent 60%),
    var(--bg-dark);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.cta-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

.cta-form {
  max-width: 440px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.cta-form input {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 520px) {
  .form-row {
    flex-direction: column;
  }
}

/* ===== Footer ===== */
.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.footer-brand .logo-aegix {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.footer-brand .logo-athletics {
  font-size: 0.65rem;
}

.footer-product {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.8;
}
