/* MayStudio Web Styles */
:root {
  --bg: #0b0f17;
  --bg-elevated: #121826;
  --bg-card: #161e2e;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f3f6fc;
  --text-muted: #9aa6bd;
  --accent: #38bdf8;
  --accent-strong: #0284c7;
  --accent-glow: rgba(56, 189, 248, 0.16);
  --success: #34d399;
  --radius: 14px;
  --max-width: 1040px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.brand-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
}

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

.lang-switch {
  display: inline-flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--accent);
  color: #06101d;
}

/* Hero */
.hero {
  position: relative;
  padding: 84px 0 68px;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.2), transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(52, 211, 153, 0.08), transparent 45%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.12);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 55%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 32px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  color: #06101d;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 10px 26px rgba(56, 189, 248, 0.38);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: #182133;
}

/* Sections & Grids */
section {
  padding: 68px 0;
}

.section-title {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 640px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: linear-gradient(180deg, rgba(22, 30, 46, 0.95) 0%, rgba(16, 22, 35, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent);
  margin-bottom: 16px;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.cv-emblem {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(52, 211, 153, 0.16));
  border: 1px solid rgba(56, 189, 248, 0.35);
  flex-shrink: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card ul {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  margin-right: 10px;
}

.price-tag {
  font-size: 2rem;
  font-weight: 800;
  margin: 12px 0 4px;
  color: var(--text);
}

.price-note {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}

.billing-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.billing-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.billing-option.annual {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
}

.billing-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.billing-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-top: 4px;
  line-height: 1.2;
}

.billing-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.save-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.16);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.35);
  text-transform: none;
  letter-spacing: 0;
}

.card.featured {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 12px 36px rgba(2, 132, 199, 0.14);
}

.card.featured:hover {
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 18px 42px rgba(2, 132, 199, 0.24);
}

/* CoachVault Interactive-Style HTML/CSS Mockup */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.mockup-shell {
  background: linear-gradient(180deg, #131b2b 0%, #0d1320 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mockup-shell:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(2, 132, 199, 0.22);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mockup-athlete {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--success));
  color: #06101d;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.mockup-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mockup-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.kpi-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 10px;
}

.kpi-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.kpi-value {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text);
  margin-top: 2px;
}

.kpi-value span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.mockup-block-title {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.zone-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.zone-row {
  display: grid;
  grid-template-columns: 34px 1fr 56px;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
}

.zone-tag {
  font-weight: 700;
  color: var(--text);
}

.zone-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.zone-fill {
  height: 100%;
  border-radius: 999px;
}

.zone-range {
  text-align: right;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.microcycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.micro-day {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 0.7rem;
}

.micro-day strong {
  display: block;
  color: var(--accent);
  font-size: 0.68rem;
  margin-bottom: 2px;
}

.micro-day span {
  color: var(--text-muted);
  line-height: 1.25;
  display: block;
}

/* Legal Documents */
.legal-wrapper {
  padding: 56px 0 80px;
  max-width: 820px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-wrapper h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--text);
}

.legal-wrapper p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-wrapper ul {
  margin: 10px 0 18px 22px;
  color: var(--text-muted);
}

.legal-wrapper li {
  margin-bottom: 8px;
}

.legal-box {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  color: var(--text);
  font-size: 0.94rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.footer-links a {
  color: var(--text-muted);
}

/* Bilingual visibility control */
html[data-lang="en"] [data-es] {
  display: none !important;
}

html[data-lang="es"] [data-en] {
  display: none !important;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .nav-links a.hide-mobile {
    display: none;
  }
  .hero {
    padding: 56px 0 44px;
  }
  .microcycle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}