/* =========================================================
   Elite Trainer Resale — Landing Page Styles
   Dark mode · charcoal / slate · crimson + holographic accents
   ========================================================= */

:root {
  --bg: #0d0f14;
  --bg-2: #12151c;
  --surface: #171b24;
  --surface-2: #1e2330;
  --border: #2a3040;
  --border-soft: rgba(255, 255, 255, 0.06);

  --text: #eef1f7;
  --text-muted: #9aa3b5;
  --text-dim: #6b7486;

  --crimson: #ff2d55;
  --crimson-deep: #c8102e;
  --violet: #a855f7;
  --cyan: #22d3ee;
  --gold: #fbbf24;

  --holo: linear-gradient(110deg, #ff2d55 0%, #ff7a59 18%, #fbbf24 34%, #22d3ee 52%, #a855f7 72%, #ff2d55 100%);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--crimson);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 20, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

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

.brand-icon {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.35));
  transition: transform 0.4s ease;
}

.brand:hover .brand-icon {
  transform: rotate(-6deg) scale(1.05);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-accent {
  color: var(--crimson);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}

.header-nav a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.header-nav .header-cta {
  color: var(--text);
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-nav .header-cta:hover {
  border-color: var(--crimson);
  background: rgba(255, 45, 85, 0.1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0 110px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: float 16s ease-in-out infinite;
}

.orb-crimson {
  width: 520px;
  height: 520px;
  background: var(--crimson-deep);
  top: -180px;
  left: -140px;
}

.orb-violet {
  width: 460px;
  height: 460px;
  background: var(--violet);
  top: 40px;
  right: -160px;
  opacity: 0.3;
  animation-delay: -5s;
}

.orb-cyan {
  width: 380px;
  height: 380px;
  background: var(--cyan);
  bottom: -220px;
  left: 35%;
  opacity: 0.18;
  animation-delay: -10s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.06); }
  66% { transform: translate(-30px, 20px) scale(0.96); }
}

.hero-inner {
  max-width: 920px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 28px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(23, 27, 36, 0.8);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.7);
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.7); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(255, 45, 85, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.holo-text {
  display: block;
  background: var(--holo);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holo-shift 8s linear infinite;
}

@keyframes holo-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

.hero-sub {
  max-width: 680px;
  margin: 26px auto 0;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-muted);
}

/* ---------- CTA Button ---------- */
.cta-wrap {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 26px 52px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-deep) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 18px 50px -12px rgba(255, 45, 85, 0.65),
    0 0 80px -10px rgba(168, 85, 247, 0.45);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
  animation: cta-pulse 3s ease-in-out infinite;
}

/* Rotating holographic border */
.cta-button::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), #ff2d55, #fbbf24, #22d3ee, #a855f7, #ff2d55);
  animation: spin-border 4s linear infinite;
}

/* Inner fill sits above the border */
.cta-button::after {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, #ff3b62 0%, #d0123a 55%, #9e0f2c 100%);
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin-border {
  to { --angle: 360deg; }
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08) inset,
      0 18px 50px -12px rgba(255, 45, 85, 0.65),
      0 0 80px -10px rgba(168, 85, 247, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08) inset,
      0 22px 70px -10px rgba(255, 45, 85, 0.85),
      0 0 120px -6px rgba(34, 211, 238, 0.45);
  }
}

.cta-shine {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}

.cta-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-icon {
  color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
}

.cta-arrow {
  transition: transform 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.03);
}

.cta-button:hover .cta-arrow {
  transform: translateX(6px);
}

.cta-button:active {
  transform: translateY(-1px) scale(0.99);
}

.cta-button--compact {
  padding: 20px 40px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.cta-note {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  margin-top: 44px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span {
  color: var(--cyan);
  font-weight: 700;
}

/* ---------- Value Props ---------- */
.values {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--border-soft);
}

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

.section-kicker {
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.value-card {
  position: relative;
  padding: 40px 32px;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(23, 27, 36, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Holographic foil sheen on hover */
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--holo);
  background-size: 300% 300%;
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.value-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: var(--holo);
  border-radius: 2px;
  opacity: 0.7;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: var(--shadow-lg), 0 0 40px -12px rgba(168, 85, 247, 0.5);
}

.value-card:hover::before {
  opacity: 0.12;
  animation: foil 3s linear infinite;
}

@keyframes foil {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.value-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.22), rgba(168, 85, 247, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -10px rgba(255, 45, 85, 0.5);
}

.value-title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

/* ---------- Closing CTA ---------- */
.closing {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200, 16, 46, 0.25) 0%, transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--border-soft);
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.closing-text {
  max-width: 520px;
  margin-bottom: 18px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 36px;
  background: #090b0f;
  border-top: 1px solid var(--border-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-tagline {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.footer-contact {
  text-align: right;
}

.footer-label {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-email svg {
  color: var(--crimson);
}

.footer-email:hover {
  border-color: var(--crimson);
  background: rgba(255, 45, 85, 0.08);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 28px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.disclaimer {
  max-width: 820px;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .header-nav a:not(.header-cta) {
    display: none;
  }

  .hero {
    padding: 80px 0 80px;
  }

  .cta-button {
    width: 100%;
    padding: 22px 26px;
  }

  .cta-label {
    gap: 10px;
  }

  .cta-arrow {
    display: none;
  }

  .values,
  .closing {
    padding: 80px 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 18px;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .brand-icon svg {
    width: 32px;
    height: 32px;
  }

  .header-nav .header-cta {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .value-card {
    padding: 32px 24px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .cta-shine {
    display: none;
  }
}
