/* ============================================================
   THE TRANSFER LEDGER - Landing Page Styles
   Color system matches the newsletter exactly
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Backgrounds */
  --bg-primary: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-border: #e5e7eb;
  --bg-elevated: #ffffff;

  /* Text */
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-faint: #d1d5db;

  /* Accent colors (match newsletter sections) */
  --green: #059669;
  --green-glow: rgba(5, 150, 105, 0.1);
  --green-dim: rgba(5, 150, 105, 0.05);
  --blue: #2563eb;
  --blue-glow: rgba(37, 99, 235, 0.1);
  --blue-dim: rgba(37, 99, 235, 0.05);
  --amber: #d97706;
  --amber-glow: rgba(217, 119, 6, 0.1);
  --amber-dim: rgba(217, 119, 6, 0.05);

  /* Spacing */
  --container-max: 1140px;
  --section-padding: 100px;

  /* Typography */
  --font: 'Inter', Helvetica, Arial, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.2);
}

.btn-primary:hover {
  background: #047857;
  box-shadow: 0 0 30px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.35s var(--ease);
}

.nav.scrolled {
  background: rgba(245, 245, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  padding: 10px 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-icon {
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(245, 245, 247, 0.94) 0%,
      rgba(245, 245, 247, 0.90) 40%,
      rgba(245, 245, 247, 0.96) 100%
    );
}

/* Ambient colored orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-green {
  width: 500px;
  height: 500px;
  background: rgba(5, 150, 105, 0.06);
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.hero-orb-blue {
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.05);
  bottom: 10%;
  right: -5%;
  animation-delay: -4s;
}

.hero-orb-amber {
  width: 300px;
  height: 300px;
  background: rgba(217, 119, 6, 0.04);
  top: 50%;
  left: 30%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero Text */
.hero-text {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--green-dim);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 20px;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Hero Signup */
.hero-signup {
  margin-bottom: 36px;
}

.hero-input-group {
  display: flex;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  padding: 6px;
}

.hero-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-primary);
}

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

.hero-input-group:focus-within {
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}

.hero-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  padding-left: 4px;
}

/* Subscribe status messages */
.hero-subscribe-status {
  min-height: 20px;
  margin-top: 10px;
  padding-left: 4px;
  font-size: 13px;
  line-height: 1.5;
  transition: opacity 0.3s var(--ease);
}

.hero-subscribe-status.success {
  color: var(--green);
}

.hero-subscribe-status.error {
  color: var(--amber);
}

.hero-subscribe-status.loading {
  color: var(--text-muted);
}

/* Button loading state */
.btn-loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero-stat-dot.green { background: var(--green); }
.hero-stat-dot.blue { background: var(--blue); }
.hero-stat-dot.amber { background: var(--amber); }

.hero-stat-divider {
  width: 1px;
  height: 16px;
  background: var(--bg-card-border);
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--green), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   NEWSLETTER MOCKUP (Hero)
   ============================================================ */
.hero-mockup {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.mockup-wrapper {
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}

.mockup-wrapper:hover {
  transform: rotateY(-2deg) rotateX(1deg);
}

.mockup-card {
  width: 340px;
  background: var(--bg-primary);
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  padding: 20px 16px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.08),
    0 0 80px rgba(5, 150, 105, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.mockup-header {
  text-align: center;
  margin-bottom: 16px;
}

.mockup-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.mockup-date {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.mockup-accent-line {
  width: 40px;
  height: 2px;
  background: var(--green);
  margin: 10px auto 0;
}

.mockup-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  margin-top: 4px;
}

.mockup-section-bar {
  width: 3px;
  height: 14px;
  border-radius: 2px;
}

.mockup-section-bar.green { background: var(--green); }
.mockup-section-bar.blue { background: var(--blue); }
.mockup-section-bar.amber { background: var(--amber); }

/* Mockup Transfer Cards */
.mockup-transfer-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 6px;
}

.mockup-player-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mockup-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.mockup-avatar svg {
  border-radius: 50%;
}

.mockup-player-info {
  flex: 1;
  min-width: 0;
}

.mockup-player-name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

.mockup-player-pos {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 3px;
}

.mockup-mv {
  font-size: 8px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-glow);
  padding: 2px 6px;
  border-radius: 8px;
  white-space: nowrap;
}

.mockup-flow {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-club-name {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.mockup-arrow-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mockup-fee-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.mockup-fee-badge.confirmed {
  background: var(--green);
  color: #fff;
}

.mockup-fee-badge.loan {
  background: var(--bg-card-border);
  color: var(--text-secondary);
}

.mockup-arrow-line {
  display: flex;
  align-items: center;
  width: 100%;
}

.mockup-arrow-stem {
  flex: 1;
  height: 1.5px;
  background: var(--text-muted);
}

.mockup-arrow-head {
  font-size: 8px;
  color: var(--text-muted);
  line-height: 1;
}

.mockup-fade {
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--bg-primary));
  margin: 0 -16px -20px;
  border-radius: 0 0 14px 14px;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: var(--section-padding) 0;
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.feature-card:nth-child(1)::before { background: radial-gradient(ellipse at top left, var(--green-dim), transparent 70%); }
.feature-card:nth-child(2)::before { background: radial-gradient(ellipse at top left, var(--blue-dim), transparent 70%); }
.feature-card:nth-child(3)::before { background: radial-gradient(ellipse at top left, var(--amber-dim), transparent 70%); }

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-wrapper.green {
  background: var(--green-glow);
  color: var(--green);
}

.feature-icon-wrapper.blue {
  background: var(--blue-glow);
  color: var(--blue);
}

.feature-icon-wrapper.amber {
  background: var(--amber-glow);
  color: var(--amber);
}

.feature-accent-line {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.feature-accent-line.green { background: var(--green); }
.feature-accent-line.blue { background: var(--blue); }
.feature-accent-line.amber { background: var(--amber); }

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--bg-card-border);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ============================================================
   EDITIONS
   ============================================================ */
.editions {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.editions-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.editions-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.editions-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      var(--bg-primary) 0%,
      rgba(245, 245, 247, 0.93) 20%,
      rgba(245, 245, 247, 0.93) 80%,
      var(--bg-primary) 100%
    );
}

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

.edition-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  transition: all 0.35s var(--ease);
}

.edition-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.edition-preview {
  position: relative;
  padding: 20px 16px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--bg-card-border);
  min-height: 220px;
}

.edition-mini-header {
  text-align: center;
  margin-bottom: 14px;
}

.edition-mini-title {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.edition-mini-date {
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
}

.edition-mini-line {
  width: 24px;
  height: 1.5px;
  background: var(--green);
  margin: 8px auto 0;
}

.edition-mini-section {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.edition-mini-bar {
  width: 2px;
  border-radius: 1px;
  flex-shrink: 0;
  align-self: stretch;
}

.edition-mini-bar.green { background: var(--green); }
.edition-mini-bar.blue { background: var(--blue); }
.edition-mini-bar.amber { background: var(--amber); }

.edition-mini-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edition-mini-row {
  height: 18px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 4px;
}

/* Hover overlay */
.edition-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 245, 247, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(4px);
}

.edition-card:hover .edition-hover-overlay {
  opacity: 1;
}

.edition-info {
  padding: 16px;
}

.edition-date-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.edition-meta {
  display: flex;
  gap: 6px;
}

.edition-meta-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.edition-meta-tag.green {
  background: var(--green-glow);
  color: var(--green);
}

.edition-meta-tag.blue {
  background: var(--blue-glow);
  color: var(--blue);
}

.edition-meta-tag.amber {
  background: var(--amber-glow);
  color: var(--amber);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: var(--section-padding) 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  transition: all 0.35s var(--ease);
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.08);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.25);
}

.step-icon {
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 60px;
  flex-shrink: 0;
}

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

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      var(--bg-primary) 0%,
      rgba(245, 245, 247, 0.92) 30%,
      rgba(245, 245, 247, 0.92) 70%,
      var(--bg-primary) 100%
    );
}

.cta-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-signup {
  margin-bottom: 28px;
}

.cta-input-group {
  display: flex;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  padding: 6px;
  max-width: 480px;
  margin: 0 auto;
}

.cta-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-primary);
}

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

.cta-input-group:focus-within {
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--bg-card-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--bg-card-border);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-attribution strong {
  color: var(--text-secondary);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 700px;
  height: 85vh;
  background: var(--bg-primary);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bg-card-border);
}

.modal-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.modal-close {
  color: var(--text-muted);
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.modal iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: var(--bg-primary);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-text {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-mockup {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .editions-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    transform: rotate(90deg);
    padding: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 245, 247, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--bg-card-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .hero-input-group {
    flex-direction: column;
  }

  .hero-input {
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 8px;
  }

  .hero-stat-divider {
    display: none;
  }

  .cta-input-group {
    flex-direction: column;
  }

  .cta-trust {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .modal-content {
    width: 95%;
    height: 80vh;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 38px;
  }

  .editions-grid {
    max-width: 100%;
  }

  .step {
    max-width: 100%;
  }
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-faint);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(5, 150, 105, 0.15);
  color: var(--text-primary);
}
