/* ==========================================================================
   H-YPE Performance – Stylesheet
   ========================================================================== */

/* Self-hosted Plus Jakarta Sans (no external request to Google Fonts) */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-800.woff2") format("woff2");
}

:root {
  /* Colors — brand palette: black, brand red, white (per H-YPE logo) */
  --color-bg: #ffffff;
  --color-bg-alt: #f4f4f5;
  --color-surface: #ffffff;
  --color-surface-2: #eeeeef;
  --color-border: #e3e3e5;
  --color-text: #0a0a0a;
  --color-text-muted: #4b5563;
  --color-text-dim: #8b96a5;

  --color-primary: #e31a1f;
  --color-primary-light: #ea5357;
  --color-primary-dark: #aa1417;
  --color-secondary: #0a0a0a;
  --color-secondary-light: #2c2c2c;
  --color-success: #aa1417;

  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(10, 20, 30, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 20, 30, 0.1);
  --shadow-glow: 0 0 40px rgba(227, 26, 31, 0.35);
  --shadow-card: 0 1px 2px rgba(10, 20, 30, 0.04), 0 8px 24px rgba(10, 20, 30, 0.06);
  --shadow-card-hover: 0 4px 10px rgba(10, 10, 10, 0.06), 0 20px 44px rgba(10, 10, 10, 0.12);
  --shadow-btn: 0 1px 2px rgba(170, 20, 23, 0.15), 0 10px 24px rgba(170, 20, 23, 0.3);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);

  --container: 1200px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

::selection {
  background: var(--color-secondary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 11px;
}

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

::-webkit-scrollbar-thumb {
  background: #c7d0d9;
  border-radius: var(--radius-full);
  border: 3px solid var(--color-bg-alt);
}

::-webkit-scrollbar-thumb:hover {
  background: #a8b4c0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

section {
  position: relative;
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 12px;
}

.eyebrow.blue {
  color: var(--color-secondary);
}

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

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.text-gradient {
  background: var(--color-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-pad {
  padding: 100px 0;
}

.section-alt {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: #fff;
  color: var(--color-primary);
}

.btn-secondary {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

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

.btn-ghost:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1rem;
}

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

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}

/* Blur lives on a pseudo-element so `.site-header` itself never gets a
   backdrop-filter — that property turns an element into the containing
   block for its `position: fixed` descendants (like `.nav-links` on
   mobile), which would trap the fullscreen menu inside the header's
   own 76px box instead of letting it span the viewport. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #ffffff;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
}

.site-header .logo img {
  height: 42px;
}

.footer-brand .logo img {
  height: 46px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links .btn {
  margin-left: 8px;
}

.nav-links a.btn-primary,
.nav-links a.btn-primary.active {
  color: #fff;
}

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

.nav-links a.btn-primary::after {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ---------- Nav dropdown ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}

.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle,
.nav-dropdown-toggle.active {
  color: var(--color-text);
}

.nav-dropdown-toggle:hover::after,
.nav-dropdown.open .nav-dropdown-toggle::after,
.nav-dropdown-toggle.active::after {
  transform: scaleX(1);
}

.nav-dropdown-toggle .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-toggle .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 250px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

/* Invisible bridge over the gap between the toggle and the menu so the
   mouse stays within the hoverable area while moving straight down. */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) and (min-width: 721px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown:hover .nav-dropdown-toggle {
    color: var(--color-text);
  }

  .nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: scaleX(1);
  }
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  position: static;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  height: 100vh;
  padding: var(--header-h) 0 20px;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero .eyebrow {
  color: #fff;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  margin-bottom: 18px;
  color: #fff;
}

.hero h1 .text-gradient {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
}

.hero-underline {
  position: relative;
  display: inline-block;
}

.hero-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 7px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-draw 0.8s 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes underline-draw {
  to {
    transform: scaleX(1);
  }
}

.hero p.lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero .btn-secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Trust bar ---------- */
/* ---------- Audience cards ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.audience-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-card);
}

.audience-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
}

.audience-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.audience-card:nth-child(1) .audience-icon {
  background: var(--color-primary);
}

.audience-card:nth-child(2) .audience-icon {
  background: var(--color-secondary);
}

.audience-card:nth-child(3) .audience-icon {
  background: var(--color-primary-dark);
}

.audience-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.audience-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.audience-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
  flex-grow: 1;
}

.audience-card ul {
  margin-bottom: 26px;
}

.audience-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 6px 0;
}

.audience-card ul li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-success);
}

.audience-card .btn {
  align-self: flex-start;
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.step:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

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

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

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

.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-primary-dark);
}

.feature-card .icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

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

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.stars {
  color: #ffb020;
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p.quote {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

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

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ---------- Testimonial carousel ---------- */
.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 10px;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-carousel .testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  height: 340px;
}

.testimonial-carousel .testimonial-card p.quote {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}

.testimonial-carousel .testimonial-card .testimonial-author {
  flex-shrink: 0;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
}

.carousel-arrow:hover {
  border-color: var(--color-primary);
}

.carousel-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.2s ease, width 0.2s ease;
}

.carousel-dots button.active {
  background: var(--color-primary);
  width: 22px;
  border-radius: var(--radius-full);
}

@media (max-width: 900px) {
  .testimonial-carousel .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .testimonial-carousel .testimonial-card {
    flex: 0 0 85%;
  }
}

@media (max-width: 720px) {
  .carousel-arrow {
    display: none;
  }

  .testimonial-track {
    width: 100%;
  }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.price-card.featured {
  border-color: var(--color-primary);
  background: rgba(227, 26, 31, 0.05);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

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

.price-card .plan-desc {
  color: var(--color-text-dim);
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 26px;
}

.price-amount .num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
}

.price-amount .period {
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

.price-card ul {
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding: 7px 0;
  border-bottom: 1px dashed var(--color-border);
}

.price-card ul li:last-child {
  border-bottom: none;
}

.price-card ul li svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: #fff;
  max-width: 480px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
  position: relative;
}

.cta-banner .btn-secondary {
  background: #fff;
  color: var(--color-primary-dark);
  border: 1px solid #fff;
  position: relative;
}

.cta-banner .btn-secondary:hover {
  background: transparent;
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 0 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 32px;
}

.footer-contact {
  margin-top: 14px !important;
  margin-left: 25px;
  font-weight: 500;
  font-size: 0.78rem !important;
  color: var(--color-text-muted) !important;
}

.footer-contact a {
  color: inherit;
}

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

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  margin-left: 25px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.social-row a:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.social-row svg {
  width: 16px;
  height: 16px;
}

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

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

.footer-col ul li a {
  color: var(--color-text-dim);
  font-size: 0.78rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-primary-dark);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.85rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--color-text-dim);
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 70px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-hero-left {
  text-align: left;
  border-bottom: none;
}

.page-hero-left p {
  margin: 0;
}

.page-hero-split {
  text-align: left;
  border-bottom: none;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-split-text p {
  margin: 0;
}

.hero-split-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--color-border);
}

.hero-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
}

/* ---------- Toggle (pricing monthly/yearly) ---------- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.pricing-toggle span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.pricing-toggle span.active {
  color: var(--color-text);
}

.switch {
  width: 52px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  position: relative;
  cursor: pointer;
}

.switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: transform 0.25s ease;
}

.switch.on .knob {
  transform: translateX(24px);
}

.save-badge {
  background: rgba(161, 0, 7, 0.15);
  color: var(--color-success);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-question .plus {
  font-size: 1.3rem;
  color: var(--color-primary-dark);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p,
.faq-answer ul {
  padding: 0 24px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.faq-answer > *:not(:last-child) {
  margin-bottom: 10px;
}

.faq-answer > *:last-child {
  padding-bottom: 20px;
}

.faq-answer ul {
  list-style: none;
}

.faq-answer ul li {
  position: relative;
  padding-left: 16px;
  line-height: 1.6;
}

.faq-answer ul li:not(:last-child) {
  margin-bottom: 6px;
}

.faq-answer ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ---------- About page ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 30px 20px;
}

.value-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--color-primary-dark);
}

.value-card .icon svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.team-card {
  position: relative;
  flex: 1 1 340px;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-2);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: pointer;
}

.team-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.team-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.team-photo {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  color: #fff;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-photo.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
}

.team-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.92) 100%);
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 3px;
  color: #fff;
}

.team-card span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.team-card .team-info p {
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Team Modal ---------- */
.team-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.team-modal.open {
  opacity: 1;
  visibility: visible;
}

.team-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.team-modal-panel {
  position: relative;
  display: flex;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  box-shadow: var(--shadow-md);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.team-modal.open .team-modal-panel {
  transform: translateY(0) scale(1);
}

.team-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 10, 10, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.team-modal-close:hover {
  background: var(--color-primary);
}

.team-modal-close svg {
  width: 18px;
  height: 18px;
}

.team-modal-photo {
  flex: 0 0 42%;
  max-width: 42%;
  align-self: stretch;
}

.team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-modal-body {
  flex: 1;
  padding: 40px 36px;
  overflow-y: auto;
}

.team-modal-body h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.team-modal-body span {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 18px;
}

.team-modal-body p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

#team-modal-tagline {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

#team-modal-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#team-modal-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

#team-modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

@media (max-width: 720px) {
  .team-modal-panel {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }

  .team-modal-photo {
    flex: 0 0 240px;
    max-width: 100%;
  }

  .team-modal-body {
    padding: 28px 22px;
  }
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-split p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.about-visual {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.25;
  filter: blur(50px);
}

.about-visual svg {
  width: 40%;
  position: relative;
  opacity: 0.9;
}

.about-visual-photo::before {
  display: none;
}

.about-visual-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Team teaser (full-bleed split) ---------- */
.team-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: #0a0a0a;
}

.team-split-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 70px 60px 70px max(24px, calc((100vw - var(--container)) / 2 + 24px));
}

.eyebrow-on-dark {
  color: #fff;
}

.team-split-text h2 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #fff;
  margin-bottom: 26px;
}

.team-split-text p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.team-split-text .btn {
  margin-top: 20px;
  align-self: flex-start;
}

.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--color-text);
}

.btn-white:hover {
  background: transparent;
  color: #fff;
}

.team-split-photo {
  position: relative;
  overflow: hidden;
}

.team-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 900px) {
  .team-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .team-split-photo {
    height: 380px;
    order: -1;
  }

  .team-split-text {
    padding: 50px 24px;
  }
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(227, 26, 31, 0.2);
}

.timeline-item .year {
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  display: block;
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.contact-info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.contact-info-row .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.contact-info-row .icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-row strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.contact-info-row span,
.contact-info-row a {
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: 0.92rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.checkbox-row input {
  margin-top: 3px;
}

.checkbox-row label {
  font-size: 0.84rem;
  color: var(--color-text-dim);
}

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--color-text-dim);
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success .check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(161, 0, 7, 0.15);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success .check-circle svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  margin-bottom: 10px;
}

.form-success p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Funnel ---------- */
.funnel-progress {
  margin-bottom: 30px;
}

.funnel-progress-bar {
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 10px;
}

.funnel-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.35s ease;
}

.funnel-progress-label {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  font-weight: 500;
}

.funnel-step {
  display: none;
}

.funnel-step.active {
  display: block;
  animation: funnel-fade 0.3s ease;
}

@keyframes funnel-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.funnel-step h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.funnel-sub {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.funnel-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.funnel-option input {
  display: none;
}

.funnel-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.funnel-option label:hover {
  border-color: var(--color-primary);
}

.funnel-option input:checked + label {
  border-color: var(--color-primary);
  background: rgba(227, 26, 31, 0.06);
  color: var(--color-text);
}

.funnel-option .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease;
}

.funnel-option input:checked + label .dot {
  border-color: var(--color-primary);
}

.funnel-option input:checked + label .dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--color-primary);
}

.funnel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.funnel-back {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}

.funnel-back:hover {
  color: var(--color-text);
}

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-side {
  background: var(--color-bg);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-right: 1px solid var(--color-border);
}

.auth-side .quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.4;
  max-width: 420px;
}

.auth-side .quote span {
  display: block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-dim);
  font-weight: 400;
}

.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.auth-box {
  width: 100%;
  max-width: 420px;
}

.auth-box h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.auth-box > p {
  color: var(--color-text-muted);
  margin-bottom: 34px;
  font-size: 0.94rem;
}

.role-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.role-option input {
  display: none;
}

.role-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  text-align: center;
}

.role-option label svg {
  width: 22px;
  height: 22px;
}

.role-option input:checked + label {
  border-color: var(--color-primary);
  color: var(--color-text);
  background: rgba(227, 26, 31, 0.08);
}

.divider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0;
  color: var(--color-text-dim);
  font-size: 0.8rem;
}

.divider-row::before,
.divider-row::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.social-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.social-auth .btn-ghost {
  gap: 10px;
}

.form-foot {
  margin-top: 26px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.form-foot a {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.field-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-flex a {
  font-size: 0.82rem;
  color: var(--color-primary-dark);
}

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .hero {
    height: auto;
    display: block;
    padding: calc(var(--header-h) + 60px) 0 60px;
  }

  .trust-grid,
  .audience-grid,
  .steps-grid,
  .feature-grid,
  .testimonial-grid,
  .pricing-grid,
  .value-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split,
  .contact-grid,
  .hero-split-grid {
    grid-template-columns: 1fr;
  }

  .hero-split-photo {
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 56px 0 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .auth-side {
    display: none;
  }

  .auth-wrap {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 100svh;
    height: auto;
    display: flex;
    padding: calc(var(--header-h) + 30px) 0 30px;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 30px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

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

  .nav-links a {
    padding: 16px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 16px;
    font-size: 1rem;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 14px;
    min-width: 0;
    width: 100%;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    white-space: normal;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    transform: none;
    max-height: 260px;
    padding: 4px 0 8px 14px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .trust-grid,
  .audience-grid,
  .steps-grid,
  .feature-grid,
  .testimonial-grid,
  .pricing-grid,
  .value-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 44px 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .role-select {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .section-pad {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 22px;
  }

  .role-select {
    grid-template-columns: 1fr;
  }

  .social-auth {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Athletes ---------- */
.athlete-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.athlete-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.athlete-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.athlete-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--color-surface-2);
}

.athlete-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.athlete-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.athlete-card ul {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.athlete-card ul li {
  padding: 3px 0;
  border-top: 1px solid var(--color-border);
}

.athlete-card ul li:first-child {
  border-top: none;
}

@media (max-width: 900px) {
  .athlete-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .athlete-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 36px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.legal-content a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.legal-content ul li {
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--color-text);
}

/* ===== Shop (eigene Produktkarten) ===== */
.shop-status{text-align:center;color:var(--color-text-muted);padding:40px 0}
.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.shop-card{background:#fff;border:1px solid var(--color-border);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.shop-card-img{display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;background:#fff;cursor:pointer;overflow:hidden}
.shop-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.shop-card-img:hover img{transform:scale(1.03)}
.shop-card-body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1}
.shop-card-body h3{font-size:1.05rem;margin:0}
.shop-card-title{background:none;border:0;padding:0;font:inherit;font-weight:700;color:var(--color-secondary);text-align:left;cursor:pointer}
.shop-card-price{color:var(--color-text-muted);margin:0}
.shop-card-actions{display:flex;gap:10px;margin-top:auto;padding-top:12px}
.shop-card-actions .btn{flex:1;padding-left:12px;padding-right:12px;white-space:nowrap}
.shop-card-actions .btn:disabled,.shop-modal .btn:disabled{opacity:.55;cursor:not-allowed}
body.shop-lock{overflow:hidden}
.shop-overlay{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.shop-close{background:none;border:0;font-size:2rem;line-height:1;cursor:pointer;color:var(--color-secondary);padding:4px 10px}
.shop-modal,.shop-cart{position:fixed;inset:0;z-index:1000}
.shop-modal[hidden],.shop-cart[hidden]{display:none}
.shop-modal{display:flex;align-items:center;justify-content:center;padding:20px}
.shop-modal-panel{position:relative;background:#fff;border-radius:16px;max-width:900px;width:100%;max-height:90vh;overflow:auto;padding:32px}
.shop-modal-panel>.shop-close{position:absolute;top:8px;right:8px;z-index:2}
.shop-modal-content{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.shop-modal-main{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;background:var(--color-bg-alt)}
.shop-modal-thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.shop-thumb{width:60px;height:60px;padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;cursor:pointer;background:none}
.shop-thumb.active{border-color:var(--color-primary)}
.shop-thumb img{width:100%;height:100%;object-fit:cover}
.shop-modal-info h2{font-size:1.6rem;margin:0 0 8px}
.shop-modal-price{font-size:1.15rem;margin:0 0 16px}
.shop-select{width:100%;padding:12px 14px;border:1px solid var(--color-border);border-radius:10px;font:inherit;margin-bottom:16px;background:#fff}
.shop-modal-buy{display:flex;gap:12px;align-items:center;margin-bottom:20px}
.shop-modal-desc{color:var(--color-text-muted);line-height:1.65;font-size:.95rem}
.shop-modal-desc p{margin:0 0 .8em}
.shop-modal-desc ul{padding-left:1.2em;margin:0 0 .8em}
.shop-qty{display:inline-flex;align-items:center;border:1px solid var(--color-border);border-radius:999px;overflow:hidden}
.shop-qty button{background:none;border:0;width:36px;height:36px;font-size:1.1rem;cursor:pointer}
.shop-qty button:hover{background:var(--color-bg-alt)}
.shop-qty-val{min-width:28px;text-align:center;font-weight:600}
.shop-cart-panel{position:absolute;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .25s ease}
.shop-cart.open .shop-cart-panel{transform:none}
.shop-cart-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--color-border)}
.shop-cart-head h2{font-size:1.2rem;margin:0}
.shop-cart-body{flex:1;overflow:auto;padding:16px 20px}
.shop-cart-body.is-busy{opacity:.5;pointer-events:none}
.shop-cart-empty{text-align:center;color:var(--color-text-muted);margin-top:40px}
.shop-line{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--color-border)}
.shop-line-img{width:72px;height:72px;flex:none;border-radius:8px;overflow:hidden;background:var(--color-bg-alt)}
.shop-line-img img{width:100%;height:100%;object-fit:cover}
.shop-line-info{flex:1;min-width:0}
.shop-line-title{font-weight:700;margin:0}
.shop-line-variant{color:var(--color-text-dim);font-size:.85rem;margin:2px 0 0}
.shop-line-row{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.shop-line-price{font-weight:600}
.shop-line-remove{background:none;border:0;padding:0;margin-top:6px;color:var(--color-text-dim);font-size:.82rem;text-decoration:underline;cursor:pointer}
.shop-cart-footer{padding:16px 20px;border-top:1px solid var(--color-border)}
.shop-cart-footer[hidden]{display:none}
.shop-subtotal{display:flex;justify-content:space-between;margin-bottom:6px}
.shop-cart-note{color:var(--color-text-dim);font-size:.82rem;margin:0 0 14px}
.shop-toggle{position:fixed;right:20px;bottom:20px;z-index:900;width:56px;height:56px;border-radius:50%;border:1px solid var(--color-primary);background:var(--color-primary);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.shop-toggle:hover{background:#fff;color:var(--color-primary)}
.shop-toggle svg{width:24px;height:24px}
.shop-toggle-count{position:absolute;top:-4px;right:-4px;min-width:22px;height:22px;padding:0 5px;border-radius:11px;background:var(--color-secondary);color:#fff;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.shop-toggle-count[hidden]{display:none}
@media (max-width:980px){.shop-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){
  .shop-grid{grid-template-columns:1fr}
  .shop-modal-content{grid-template-columns:1fr;gap:20px}
  .shop-modal-panel{padding:20px;padding-top:44px}
}
