/* ═══════════════════════════════════════════════════════════════
   FOXMENTORA — PREMIUM DESIGN SYSTEM
   Brand by Ednetics LLP
   Theme: Clever, Authority, Growth
   Colors: Deep Navy & Fox Gold
═══════════════════════════════════════════════════════════════ */

:root {
  --ink: #020609;
  --gold: #C5A059;
  --paper: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.1);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── BASE STYLES ───────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--paper); /* Force headings to white */
}

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

.accent {
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold) 0%, #F1C40F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 1000;
  transition: all 0.4s var(--ease);
  display: flex;
  align-items: center;
}

.nav--scrolled {
  height: 70px;
  background: rgba(2, 6, 9, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__img {
  height: 54px;
  width: auto;
  display: block;
  transition: transform 0.3s var(--ease);
}

.logo:hover .logo__img {
  transform: scale(1.05);
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--gold);
}

.nav__cta {
  background: var(--gold-gradient);
  color: var(--fox-navy);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.nav__cta:hover {
  transform: translateY(-2px);
}

/* ─── HERO SECTION ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('hero-bg.png') no-repeat center center;
  background-size: cover;
  transform: scale(1.1);
  filter: contrast(1.1) brightness(0.7);
  z-index: -1;
}

.hero__content {
  position: relative;
  z-index: 10;
  margin-top: 40px;
}

.hero__badge {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.3em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
  opacity: 0.8;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
  color: var(--paper); /* Explicit White */
}

.hero__headline b {
  font-weight: 700;
  color: var(--gold); /* Explicit Gold */
}

.hero__subline {
  font-size: 18px;
  max-width: 500px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75); /* Brighter for visibility */
  margin-bottom: 50px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  margin-top: 60px;
  display: flex;
  gap: 80px;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
}

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

.stat__num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}

.stat__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero__stats {
    gap: 40px;
    margin-top: 40px;
  }
  
  .stat__num {
    font-size: 24px;
  }
  
  .stat__label {
    font-size: 10px;
  }
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  padding: 18px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, #D4AF37 100%);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
}

.btn--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(197, 160, 89, 0.5);
}

.btn--secondary {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  color: var(--paper);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

/* ─── SYSTEMS SECTION ───────────────────────────────────────── */
.systems {
  padding: 120px 0;
  position: relative;
}

.systems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.system-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
  padding: 48px 32px;
  transition: all 0.5s var(--ease);
  overflow: hidden;
}

.system-card:hover {
  transform: translateY(-12px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.05);
}

.system-card__icon {
  font-size: 40px;
  margin-bottom: 24px;
  display: inline-block;
  background: rgba(197, 160, 89, 0.1);
  padding: 16px;
  border-radius: 16px;
}

.system-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.system-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.system-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-card__list li {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

/* ─── PROCESS SECTION ───────────────────────────────────────── */
.process {
  padding: 120px 0;
  background: rgba(10, 22, 36, 0.5);
}

.process__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 48px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(197, 160, 89, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.step__text h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step__text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.process__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-box {
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.visual-box:hover .visual-img {
  transform: scale(1.05);
}

.visual-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* ─── CALCULATOR ────────────────────────────────────────────── */
.calculator {
  padding: var(--space-xl) 0;
  background: radial-gradient(circle at center, #0B1C2A 0%, var(--fox-navy) 100%);
}

.calc-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.calc-header {
  text-align: center;
  margin-bottom: 48px;
}

.calc-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
}

.calc-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.field input {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: white;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--gold);
}

.calc-btn {
  width: 100%;
  margin-bottom: 40px;
}

.calc-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: none; /* Shown via JS */
}

.result-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.result-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
}

/* ─── FINAL CTA ─────────────────────────────────────────────── */
.final-cta {
  padding: var(--space-xl) 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--gold) 0%, #D4AF37 100%);
  padding: 80px 48px;
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--ink);
}

.cta-box h2 {
  font-size: 44px;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-box .btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer__brand .logo__img {
  height: 32px;
}

.footer__brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

.footer__legal {
  text-align: right;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__legal strong {
  color: var(--paper);
}

/* ─── MOBILE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .edge__grid, .calc-fields {
    grid-template-columns: 1fr;
  }
  .nav__links {
    display: none;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .footer__legal {
    text-align: center;
    color: var(--muted);
  }
}
