/* ============================================================
   Albatross — Global Stylesheet
   Augusta Spectrum · Dark Mode · Manrope + Inter
   ============================================================ */

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

:root {
  /* Surfaces */
  --bg:          #0A0F0D;
  --surface-1:   rgba(255,255,255,0.03);
  --surface-2:   rgba(255,255,255,0.06);
  --surface-3:   rgba(255,255,255,0.10);
  --glass:       rgba(13,92,47,0.08);
  --glass-border:rgba(255,255,255,0.06);

  /* Brand */
  --green:       #0D5C2F;
  --green-light: #1B8A4A;
  --green-glow:  rgba(13,92,47,0.35);
  --gold:        #D4A843;
  --gold-soft:   rgba(212,168,67,0.15);

  /* Text */
  --text-primary:   #F5F5F0;
  --text-secondary: #B8C4BC;
  --text-muted:     #7A8A80;
  --text-link:      #6BB88C;

  /* Spacing */
  --section-pad: 120px;
  --content-max: 1100px;
  --narrow-max:  720px;

  /* Misc */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--text-link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); }

h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  color: var(--text-primary);
  line-height: 1.2;
}

p { margin-bottom: 16px; font-size: 16px; }

/* --- Utility --- */
.container   { max-width: var(--content-max); margin: 0 auto; padding: 0 32px; }
.narrow      { max-width: var(--narrow-max); margin: 0 auto; }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-green  { color: var(--green-light); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(10,15,13,0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--green);
  color: white !important;
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--green-light); transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; padding: 8px; }

/* --- Hero --- */
.hero {
  padding: 160px 32px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--surface-2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--green-light);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--green-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--green);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--green-glow);
  color: white;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--surface-2);
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  background: var(--surface-3);
  transform: translateY(-2px);
  color: var(--text-primary);
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  margin: 0 auto;
  background: var(--surface-1);
  border-radius: 40px;
  border: 2px solid var(--surface-3);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px var(--glass-border);
}
.phone-mockup-inner {
  position: absolute;
  inset: 8px;
  border-radius: 32px;
  background: linear-gradient(180deg, #0D1A12 0%, #0A0F0D 50%, #111a15 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}
.phone-mockup-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-placeholder-text {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.phone-placeholder-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* --- Section Defaults --- */
.section {
  padding: var(--section-pad) 32px;
  position: relative;
}
.section-label {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-light);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}
.section-sub.centered {
  margin-left: auto;
  margin-right: auto;
}

/* Subtle section divider */
.section + .section::before {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--surface-3);
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.step {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  position: relative;
  transition: background var(--transition);
}
.step:hover { background: var(--surface-2); }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--green-glow);
  color: var(--green-light);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Connector line between steps */
.step::after {
  content: '';
  position: absolute;
  top: 56px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--surface-3);
}
.step:last-child::after { display: none; }

/* --- Game Modes --- */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.mode-card {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.mode-card:hover {
  background: var(--surface-2);
  transform: translateY(-4px);
}
.mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.mode-card:hover::before { opacity: 1; }

.mode-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}
.mode-icon.tiered   { background: rgba(13,92,47,0.15); }
.mode-icon.salary   { background: var(--gold-soft); }
.mode-icon.oad      { background: rgba(107,184,140,0.12); }

.mode-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.mode-card .mode-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}
.mode-details {
  list-style: none;
  padding: 0;
}
.mode-details li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  border-top: 1px solid var(--surface-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mode-details li::before {
  content: '✓';
  color: var(--green-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Research / Analytics --- */
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 64px;
}
.research-content { max-width: 480px; }
.research-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.research-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.research-feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.research-feature h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.research-feature p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Analytics mockup card */
.analytics-card {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.analytics-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}
.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--surface-2);
}
.stat-row:last-child { border-bottom: none; }
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-value {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}
.stat-value.positive { color: var(--green-light); }
.stat-value.gold { color: var(--gold); }
.stat-bar {
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.price-card {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
  position: relative;
}
.price-card:hover {
  background: var(--surface-2);
  transform: translateY(-4px);
}
.price-card.featured {
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--green);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.price-amount {
  font-family: 'Manrope', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.price-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.price-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.price-features {
  list-style: none;
  padding: 0;
  text-align: left;
}
.price-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li::before {
  content: '✓';
  color: var(--green-light);
  font-weight: 700;
}
.price-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

/* --- FAQ --- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: background var(--transition);
}
.faq-item:hover { background: var(--surface-2); }
.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  padding: 48px 32px;
  border-top: 1px solid var(--surface-2);
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: white;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }

/* --- Legal Pages --- */
.legal-page {
  max-width: var(--narrow-max);
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color var(--transition);
}
.legal-page .back-link:hover { color: var(--text-primary); }
.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}
.legal-page .updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
  display: block;
}
.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-page p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.legal-page strong {
  color: var(--text-primary);
  font-weight: 600;
}
.legal-nav {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  margin-top: 56px;
  border-top: 1px solid var(--surface-2);
  font-size: 13px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  :root { --section-pad: 80px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .modes-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .research-grid { grid-template-columns: 1fr; }
  .research-content { max-width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  :root { --section-pad: 60px; }
  .hero { padding: 120px 20px 60px; }
  .section { padding: var(--section-pad) 20px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 360px; }
  .hero h1 { letter-spacing: -1px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .phone-mockup { width: 240px; height: 480px; }
}
