/* ==========================================
   Coach Baddy — Landing Page Styles
   Dark sports-tech aesthetic with teal accent
   ========================================== */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #00897B;
  --primary-light: #4DB6AC;
  --primary-dark: #00695C;
  --primary-glow: rgba(0, 137, 123, 0.35);
  --bg: #0A0E17;
  --surface: #111827;
  --surface-elevated: #1F2937;
  --border: #1E293B;
  --text: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent-warm: #F59E0B;
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-badge: 100px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1200px;
  --nav-height: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

::selection {
  background: var(--primary);
  color: var(--text);
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1280px) { .container { padding: 0 24px; } }

.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary-light);
  background: rgba(0, 137, 123, 0.12);
  border: 1px solid rgba(0, 137, 123, 0.2);
  border-radius: var(--radius-badge);
  text-transform: uppercase;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 0 0 var(--primary-glow);
}

.btn--primary:hover {
  background: var(--primary-light);
  box-shadow: 0 0 24px 4px var(--primary-glow);
  transform: translateY(-1px);
}

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

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  z-index: 110;
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
}

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

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 110;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .nav__menu.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__menu .nav__link {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
  }

  .nav__menu .btn {
    margin-top: 8px;
    padding: 16px 40px;
    font-size: 1rem;
  }
}


/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.5;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .hero__inner { gap: 64px; }
}

.hero__content { max-width: 560px; }

.hero__content .badge { margin-bottom: 24px; }

.hero__content h1 {
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 60%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ==========================================
   PHONE MOCKUP
   ========================================== */
.phone {
  position: relative;
  width: 260px;
  margin: 0 auto;
  background: #0D1117;
  border: 2px solid var(--border);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 24px 64px rgba(0,0,0,0.5),
    0 0 80px rgba(0, 137, 123, 0.08);
}

.phone__notch {
  width: 80px;
  height: 24px;
  background: #0D1117;
  border-radius: 0 0 16px 16px;
  margin: -12px auto 0;
  position: relative;
  z-index: 2;
  border: 2px solid var(--border);
  border-top: none;
}

.phone__screen {
  background: var(--surface);
  border-radius: 24px;
  padding: 8px 16px 20px;
  min-height: 380px;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 2px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
}

.phone__status-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--text);
}

.phone__greeting {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.phone__score-section {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.phone__score-ring {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.phone__score-ring svg {
  width: 100%;
  height: 100%;
}

.phone__score-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone__score-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.phone__score-label {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone__match-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone__match-label {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone__match-title {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
}

.phone__match-date {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Shot bars */
.phone__bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone__bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone__bar-label {
  width: 42px;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}

.phone__bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.phone__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
  border-radius: 3px;
  transition: width 1.2s var(--ease-out);
}

.phone__bar-val {
  width: 20px;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--primary-light);
  text-align: right;
}


/* ==========================================
   FEATURES
   ========================================== */
.features {
  padding: 100px 0;
  position: relative;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 137, 123, 0.4);
  box-shadow: 0 8px 40px rgba(0, 137, 123, 0.08), 0 0 0 1px rgba(0, 137, 123, 0.1);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 137, 123, 0.1);
  border: 1px solid rgba(0, 137, 123, 0.15);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--primary-light);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card__title {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-card__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}


/* ==========================================
   HOW IT WORKS
   ========================================== */
.steps {
  padding: 100px 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(0, 137, 123, 0.03) 30%, rgba(0, 137, 123, 0.03) 70%, transparent);
  pointer-events: none;
}

.steps__timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

/* Vertical connector line */
.steps__timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 23px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--border) 0,
    var(--border) 8px,
    transparent 8px,
    transparent 16px
  );
}

@media (min-width: 1024px) {
  .steps__timeline {
    flex-direction: row;
    max-width: none;
    gap: 0;
  }

  .steps__timeline::before {
    top: 23px;
    bottom: auto;
    left: calc(16.66% + 24px);
    right: calc(16.66% + 24px);
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      var(--border) 0,
      var(--border) 8px,
      transparent 8px,
      transparent 16px
    );
  }
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}

@media (min-width: 1024px) {
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }
}

.step__number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  background: rgba(0, 137, 123, 0.1);
  border: 2px solid rgba(0, 137, 123, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step__content { flex: 1; }

.step__icon {
  width: 40px;
  height: 40px;
  color: var(--primary-light);
  margin-bottom: 12px;
}

@media (min-width: 1024px) {
  .step__icon { margin: 16px auto 12px; }
}

.step__icon svg {
  width: 100%;
  height: 100%;
}

.step__content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step__content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ==========================================
   AI COACH
   ========================================== */
.coach {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.coach__glow {
  position: absolute;
  top: 50%;
  left: -20%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.3;
}

.coach__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

@media (min-width: 768px) {
  .coach__inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.coach__content .badge { margin-bottom: 16px; }
.coach__content h2 { margin-bottom: 16px; }

.coach__desc {
  margin-bottom: 28px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.coach__bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.coach__bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.coach__bullets li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.coach__bullets li strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.coach__bullets li span {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ==========================================
   CHAT MOCKUP
   ========================================== */
.chat-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.chat-mockup__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-elevated);
}

.chat-mockup__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 137, 123, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.chat-mockup__avatar svg {
  width: 20px;
  height: 20px;
}

.chat-mockup__info { flex: 1; }

.chat-mockup__name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.chat-mockup__status {
  font-size: 0.7rem;
  color: var(--primary-light);
}

.chat-mockup__messages {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--primary-dark);
  color: var(--text);
  border-bottom-right-radius: 4px;
}

.chat-msg--ai {
  align-self: flex-start;
  background: var(--surface-elevated);
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}

.chat-msg--ai strong { color: var(--primary-light); }
.chat-msg--ai em { color: var(--text); font-style: normal; }

.chat-mockup__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.chat-mockup__input svg {
  display: inline;
  width: 20px;
  height: 20px;
  opacity: 0.6;
}


/* ==========================================
   STATS & TESTIMONIALS
   ========================================== */
.stats {
  padding: 100px 0;
  position: relative;
}

.stats__counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats__counters { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.stat__prefix,
.stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .testimonials { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: border-color 0.3s;
}

.testimonial:hover {
  border-color: rgba(0, 137, 123, 0.3);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial__stars svg {
  width: 16px;
  height: 16px;
  display: inline;
}

.testimonial__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary-light);
}

.testimonial__author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}

.testimonial__author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}


/* ==========================================
   CTA / DOWNLOAD
   ========================================== */
.cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.25;
}

.cta__inner {
  text-align: center;
  max-width: 600px;
  position: relative;
}

.cta__inner h2 { margin-bottom: 16px; }

.cta__inner > p {
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.store-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 137, 123, 0.1);
}

.store-btn svg { flex-shrink: 0; }

.store-btn small {
  display: block;
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 2px;
}

.store-btn strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.1;
}


/* ==========================================
   FOOTER
   ========================================== */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
  padding-bottom: 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (min-width: 640px) {
  .footer__inner {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 32px;
  }
}

.footer__brand {
  max-width: 280px;
}

.footer__brand .nav__logo {
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--text);
}

.footer__col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--primary-light);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin-top: 0;
  flex-wrap: wrap;
  gap: 16px;
}

@media (min-width: 640px) {
  .footer__bottom { padding: 20px 40px; }
}
@media (min-width: 1280px) {
  .footer__bottom { padding: 20px 24px; }
}

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

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}

.footer__socials a:hover {
  color: var(--primary-light);
  transform: translateY(-2px);
}

.footer__socials a svg {
  display: inline;
}


/* ==========================================
   COURT LINE DECORATIONS
   ========================================== */
.features::after {
  content: '';
  position: absolute;
  top: 60px;
  right: -40px;
  width: 200px;
  height: 300px;
  border: 1.5px solid rgba(0, 137, 123, 0.06);
  border-radius: 0;
  transform: rotate(12deg);
  pointer-events: none;
}

.steps::after {
  content: '';
  position: absolute;
  bottom: 40px;
  left: -60px;
  width: 180px;
  height: 250px;
  border: 1.5px solid rgba(0, 137, 123, 0.05);
  border-radius: 0;
  transform: rotate(-8deg);
  pointer-events: none;
}
