
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
  size-adjust: 107.06%;
}

@font-face {
  font-family: 'Outfit Fallback';
  src: local('Arial');
  ascent-override: 102%;
  descent-override: 26%;
  line-gap-override: 0%;
  size-adjust: 98%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:root {
  --c-white:       #ffffff;
  --c-surface:     #f7f9fc;
  --c-surface-alt: #eef2f7;
  --c-navy:        #0f1f2e;
  --c-navy-mid:    #1d3248;
  --c-green:       #0ab566;
  --c-green-dark:  #089150;
  --c-green-pale:  rgba(10, 181, 102, 0.10);
  --c-body:        #4a5568;
  --c-muted:       #8896a8;
  --c-border:      #dde4ed;

  --pitch-dark:    #1a7d3e;
  --pitch-light:   #1f9249;
  --pitch-stripe:  rgba(255,255,255,0.08);
  --pitch-line:    rgba(255,255,255,0.55);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-xs:  0 1px 4px rgba(15,31,46,0.06);
  --shadow-sm:  0 4px 16px rgba(15,31,46,0.08);
  --shadow-md:  0 12px 40px rgba(15,31,46,0.12);
  --shadow-lg:  0 24px 64px rgba(15,31,46,0.18);

  --font-body:    'Inter', 'Inter Fallback', system-ui, sans-serif;
  --font-display: 'Outfit', 'Outfit Fallback', system-ui, sans-serif;

  --nav-h: 76px;

  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--c-white);
  color: var(--c-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--c-navy);
  line-height: 1.2;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--c-green); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }

.bg-surface  { background: var(--c-surface); }
.bg-navy     { background: var(--c-navy); }

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-xs);
  contain: layout;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0ab566 0%, #089150 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10,181,102,0.35);
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -0.5px;
}

.nav-brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-body);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--c-surface);
  color: var(--c-navy);
}

.nav-link.active {
  color: var(--c-green);
  background: var(--c-green-pale);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-md { padding: 0.8rem 1.6rem; font-size: 0.95rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-navy);
}
.btn-ghost:hover { background: var(--c-surface); color: var(--c-navy); }

.btn-primary {
  background: linear-gradient(135deg, #0ab566, #089150);
  color: white;
  border: none;
  box-shadow: 0 3px 12px rgba(10,181,102,0.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,181,102,0.40);
  color: white;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: white; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}

.burger:hover { background: var(--c-surface-alt); }

.burger span {
  display: block;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}

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

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: white;
  z-index: 199;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  padding: 2rem;
  border-top: 1px solid var(--c-border);
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-navy);
  border-bottom: 1px solid var(--c-surface);
  transition: background var(--transition);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--c-green-pale);
  color: var(--c-green);
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-cta .btn { justify-content: center; }

.hero {
  background: linear-gradient(160deg, var(--c-navy) 0%, #1a3a5c 60%, #0d4a29 100%);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  contain: layout;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(10,181,102,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(10,181,102,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: row;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-inner > * { flex: 1 1 0; min-width: 0; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10,181,102,0.15);
  border: 1px solid rgba(10,181,102,0.35);
  color: #4ade80;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-label-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.hero h1 {
  font-size: 3.6rem;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero h1 span { color: #4ade80; }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}

.hero-badge-icon {
  width: 40px; height: 40px;
  background: var(--c-green-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-green);
  flex-shrink: 0;
}

.hero-badge-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.hero-badge-text strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-navy);
}

.squad-section {
  background: var(--c-navy);
  padding: 5rem 0;
}

.squad-section h2 { color: white; }
.squad-section .section-sub { color: rgba(255,255,255,0.55); margin-top: 0.75rem; margin-bottom: 3rem; font-size: 1.05rem; }

.builder-layout {
  display: flex;
  gap: 1.5rem;
  background: rgba(0,0,0,0.25);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}

.pitch-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pitch-controls {
  display: flex;
  gap: 0.5rem;
}

.fmt-btn {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.fmt-btn.active {
  background: var(--c-green);
  border-color: var(--c-green);
  color: white;
  box-shadow: 0 2px 8px rgba(10,181,102,0.35);
}

.pitch-2d {
  width: 380px;
  height: 540px;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--pitch-line);
  flex-shrink: 0;
  background: repeating-linear-gradient(
    180deg,
    var(--pitch-dark) 0px,
    var(--pitch-dark) 54px,
    var(--pitch-light) 54px,
    var(--pitch-light) 108px
  );
}

.pitch-2d::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 2px;
  background: var(--pitch-line);
  transform: translateY(-50%);
}

.pitch-2d::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 70px; height: 70px;
  border: 2px solid var(--pitch-line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.penalty-box {
  position: absolute;
  left: 50%;
  width: 180px;
  height: 80px;
  border: 2px solid var(--pitch-line);
  transform: translateX(-50%);
}

.penalty-box.top    { top: 0;    border-top: none; }
.penalty-box.bottom { bottom: 0; border-bottom: none; }

.pos-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  transition: transform var(--transition);
}

.pos-node:hover { transform: translate(-50%, -50%) scale(1.1); }

.node-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  backdrop-filter: blur(4px);
  transition: all var(--transition);
}

.pos-node.filled .node-circle {
  border-style: solid;
  border-color: var(--c-green);
  background: white;
  padding: 2px;
  box-shadow: 0 0 0 3px rgba(10,181,102,0.25);
}

.pos-node img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.pos-label {
  margin-top: 4px;
  background: rgba(0,0,0,0.75);
  padding: 2px 7px;
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.pos-node.selected .node-circle {
  box-shadow: 0 0 0 4px rgba(74,222,128,0.5), 0 0 20px rgba(74,222,128,0.3);
}

.roster-area {
  width: 340px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

.roster-header {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
}

.stats-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.stat-box { }
.stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.stat-val { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: #4ade80; }

.roster-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

#fmtSelect {
  padding: 0.45rem 0.75rem;
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  flex: 1;
}

#confirmBtn {
  background: var(--c-green);
  color: white;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

#confirmBtn:not(:disabled):hover { background: var(--c-green-dark); }
#confirmBtn:disabled { opacity: 0.4; cursor: not-allowed; }

.filter-tabs {
  display: flex;
  gap: 0.3rem;
}

.f-tab {
  flex: 1;
  text-align: center;
  padding: 0.35rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.f-tab.active {
  background: var(--c-green);
  color: white;
}

.tray-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 460px;
}

.tray-scroll::-webkit-scrollbar { width: 4px; }
.tray-scroll::-webkit-scrollbar-track { background: transparent; }
.tray-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.scout-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.scout-card:hover {
  border-color: var(--c-green);
  background: rgba(10,181,102,0.08);
}

.scout-card.disabled { opacity: 0.38; pointer-events: none; }

.s-img {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.s-info { flex: 1; min-width: 0; }
.s-name { font-size: 0.88rem; font-weight: 700; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-club { font-size: 0.73rem; color: rgba(255,255,255,0.45); }

.s-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.s-rating { background: rgba(255,255,255,0.12); color: white; font-size: 0.72rem; font-weight: 800; padding: 2px 7px; border-radius: 100px; }
.s-price { color: #4ade80; font-weight: 700; font-size: 0.8rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-green);
  margin-bottom: 1rem;
}

.section-header { margin-bottom: 4rem; }
.section-header h2 { font-size: 2.6rem; margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--c-body); max-width: 640px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.features-grid > * { flex: 1 1 280px; min-width: 0; }

.feat-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
}

.feat-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-green);
  box-shadow: var(--shadow-md);
}

.feat-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--c-green-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-green);
  margin-bottom: 1.5rem;
}

.feat-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.feat-card p { font-size: 0.95rem; color: var(--c-body); line-height: 1.7; }

.content-row {
  display: flex;
  flex-direction: row;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--c-border);
}

.content-row > * { flex: 1 1 0; min-width: 0; }

.content-row:last-child { border-bottom: none; }

.content-text h3 { font-size: 2rem; margin-bottom: 1rem; }
.content-text p { font-size: 1.05rem; color: var(--c-body); margin-bottom: 1.5rem; line-height: 1.8; }

.check-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.check-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; }
.check-list svg { color: var(--c-green); flex-shrink: 0; }

.content-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5/4;
}

.content-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.4s;
}

.content-img:hover img { transform: scale(1.04); }

.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.reviews-grid > * { flex: 1 1 420px; min-width: 0; }

.review-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
}

.stars svg { color: #f59e0b; }

.review-card p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: var(--c-body);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-green), var(--c-navy));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.95rem; color: var(--c-navy); }
.author-role { font-size: 0.8rem; color: var(--c-muted); }

.cta-section {
  background: linear-gradient(135deg, var(--c-green), var(--c-green-dark));
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 { color: white; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2.5rem; }

.footer {
  background: var(--c-navy);
  color: white;
  padding: 5rem 0 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-grid > *:first-child { flex: 2 1 240px; min-width: 220px; }
.footer-grid > *:not(:first-child) { flex: 1 1 120px; min-width: 120px; }

.footer-brand { margin-bottom: 1.25rem; }

.footer-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.social-btn:hover {
  background: var(--c-green);
  border-color: var(--c-green);
  color: white;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links a:hover { color: #4ade80; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-text { font-size: 0.85rem; color: rgba(255,255,255,0.35); }

.cm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9,20,30,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cm-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cm-modal {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem 2rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.cm-modal-overlay.active .cm-modal { transform: translateY(0); }

.cm-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-surface);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-body);
  font-size: 1rem;
  transition: background var(--transition);
}
.cm-modal-close:hover { background: var(--c-surface-alt); }

.cm-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--c-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green);
  margin-bottom: 1.25rem;
}

.cm-modal h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }
.cm-modal p.cm-modal-sub { font-size: 0.95rem; color: var(--c-body); margin-bottom: 1.75rem; line-height: 1.6; }

.cm-field {
  margin-bottom: 1.1rem;
}
.cm-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--c-navy);
  margin-bottom: 0.4rem;
}
.cm-field input, .cm-field select, .cm-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  background: var(--c-white);
  color: var(--c-navy);
}
.cm-field input:focus, .cm-field select:focus, .cm-field textarea:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(10,181,102,0.1);
}
.cm-field textarea { resize: vertical; min-height: 90px; }

.cm-modal-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.cm-modal-row > * { flex: 1 1 200px; min-width: 0; }

.cm-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ab566, #089150);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  box-shadow: 0 8px 24px rgba(10,181,102,0.35);
}

.cm-modal.cm-success-modal { text-align: center; }
.cm-success-modal h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.cm-success-modal p { font-size: 1rem; color: var(--c-body); margin-bottom: 1.75rem; line-height: 1.7; }

.page-hero {
  background-color: #09141e;
  background-image:
    radial-gradient(ellipse 70% 60% at 50% -5%, rgba(10,181,102,0.12) 0%, transparent 65%),
    radial-gradient(circle at 0% 100%, rgba(10,181,102,0.06) 0%, transparent 40%),
    radial-gradient(1px 1px at 20px 20px, rgba(255,255,255,0.04) 0%, transparent 100%);
  background-size: 100% 100%, 100% 100%, 40px 40px;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 100%, rgba(10,181,102,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 { color: white; font-size: 3rem; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; margin-top: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }

@media (max-width: 1280px) {
  .hero h1 { font-size: 3rem; }
  .footer-grid {
    flex-wrap: wrap;
  }
  .footer-grid > *:first-child { flex: 0 0 100%; }
  .footer-grid > *:not(:first-child) { flex: 1 1 140px; min-width: 140px; }
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-cta { display: none !important; }

  .burger { display: flex; }
  .mobile-nav { display: block; }

  .hero-inner {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .hero h1 { font-size: 2.8rem; }
  .hero p { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { bottom: -1rem; left: 50%; transform: translateX(-50%); }

  .features-grid {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .features-grid > * { flex: 1 1 calc(50% - 0.75rem); min-width: 260px; }

  .content-row,
  .content-row.reverse {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 0;
  }
  .content-row > * { flex: 0 0 auto; width: 100%; }

  .footer-grid {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .footer-grid > *:first-child { flex: 0 0 100%; }
  .footer-grid > *:not(:first-child) { flex: 1 1 calc(50% - 1rem); min-width: 160px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .container { padding: 0 1.25rem; }
  section { padding: 4rem 0; }

  .hero { padding: 5rem 0 4rem; }
  .hero h1 { font-size: 2.2rem; }

  .builder-layout { flex-direction: column; }
  .pitch-2d { width: 100%; max-width: 360px; height: 480px; }
  .roster-area { width: 100%; }
  .tray-scroll { max-height: 320px; }

  .features-grid {
    flex-direction: column;
    gap: 1.25rem;
  }
  .features-grid > * { flex: 0 0 auto; width: 100%; min-width: 0; }

  .reviews-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-grid {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-grid > * { flex: 0 0 auto; width: 100%; }

  .cm-modal-row { flex-direction: column; }
  .cm-modal-row > * { flex: 0 0 auto; width: 100%; }

  .auth-layout { flex-direction: column; }
  .auth-layout > * { flex: 0 0 auto !important; width: 100%; }

  .section-header h2 { font-size: 2rem; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p { font-size: 0.97rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .page-hero h1 { font-size: 1.7rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { justify-content: center; width: 100%; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
  }

  .cm-modal { padding: 1.75rem 1.25rem 1.5rem; }
  .btn-lg { padding: 0.85rem 1.6rem; font-size: 0.95rem; }
}

@media (min-width: 1025px) {
  .content-row.reverse { flex-direction: row-reverse; }
}

@media (min-width: 769px) {
  .auth-layout { display: flex; gap: 3rem; align-items: flex-start; }
  .auth-layout > *:first-child { flex: 1 1 460px; min-width: 0; }
  .auth-layout > *:last-child { flex: 0 0 360px; }
}
