/* =====================================================================
   RANJITH KUMAR — AI TRAINER · 2026 "Vivid Dark" Theme
   Bright, creative, Webflow-style UI · scroll-reveal + parallax
   Built on brand roots: #483AA0 (primary) / #FFD586 (secondary)
   ===================================================================== */

:root {
  /* --- Brand roots --- */
  --color-primary: #483AA0;
  --color-primary-bright: #6E5BE0;
  --color-primary-glow: #8B79FF;
  --color-secondary: #FFD586;
  --color-secondary-bright: #FFE3A8;
  --color-secondary-deep: #ffb938;

  /* --- Accent pops (brighter, more creative) --- */
  --accent-pink: #FF7AC6;
  --accent-cyan: #5EE9F0;
  --accent-coral: #FF9A6C;

  /* --- Backgrounds --- */
  --bg-dark-primary: #322a70;
  --bg-dark-secondary: #221a5c;
  --bg-darkest: #150f41;
  --bg-void: #0d0928;

  /* --- Surfaces / glass --- */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 213, 134, 0.18);
  --glass-border-hot: rgba(255, 213, 134, 0.55);

  /* --- Signature gradients --- */
  --grad-brand: linear-gradient(120deg, var(--color-primary-glow) 0%, var(--color-secondary) 100%);
  --grad-hot: linear-gradient(120deg, var(--accent-pink) 0%, var(--color-secondary) 60%, var(--accent-coral) 100%);
  --grad-cool: linear-gradient(120deg, var(--color-primary-glow) 0%, var(--accent-cyan) 100%);
  --grad-text: linear-gradient(100deg, #fff 0%, var(--color-secondary) 55%, var(--accent-coral) 100%);

  --radius: 20px;
  --radius-lg: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===================== BASE ===================== */
html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: #fff;
  overflow-x: hidden;
}

/* Living aurora / mesh background fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10% -10% -10%;
  z-index: -2;
  background:
    radial-gradient(40% 35% at 18% 22%, rgba(110, 91, 224, 0.40) 0%, transparent 60%),
    radial-gradient(38% 34% at 82% 18%, rgba(255, 213, 134, 0.18) 0%, transparent 62%),
    radial-gradient(45% 40% at 70% 78%, rgba(255, 122, 198, 0.16) 0%, transparent 60%),
    radial-gradient(50% 45% at 25% 85%, rgba(94, 233, 240, 0.12) 0%, transparent 60%);
  filter: blur(20px);
  animation: auroraDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Subtle global grid overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 213, 134, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 213, 134, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 0%, transparent 80%);
  pointer-events: none;
}

@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, -2%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.04); }
}

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  background: rgba(13, 9, 40, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 213, 134, 0.10);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.site-header.scrolled {
  background: rgba(13, 9, 40, 0.85);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 213, 134, 0.22);
}
.site-header .navbar { padding: 14px 0; }
.site-header .navbar-brand img { height: 40px; width: auto; }

.site-header .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px !important;
  transition: color 0.3s;
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--color-secondary) !important; }
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--grad-brand) !important;
  color: var(--bg-darkest) !important;
  border-radius: 50px;
  padding: 9px 22px !important;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px -8px rgba(255, 213, 134, 0.7);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.nav-cta::after { display: none; }
.site-header .nav-link.nav-cta { color: var(--bg-darkest) !important; }
.nav-cta:hover,
.site-header .nav-link.nav-cta:hover {
  color: var(--bg-darkest) !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px -8px rgba(255, 213, 134, 0.9);
}

/* ===================== SECTIONS ===================== */
.ai-section { padding: 110px 0; position: relative; }
.ai-section-alt {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(110, 91, 224, 0.10) 0%, transparent 70%),
    rgba(255, 255, 255, 0.015);
}

.section-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  position: relative;
  padding-left: 30px;
}
.section-kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 2px;
  transform: translateY(-50%);
  background: var(--grad-hot);
  border-radius: 2px;
}
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .section-kicker { padding-left: 0; }
.section-head .section-kicker::before { display: none; }

.section-head h2 {
  font-family: Michroma, sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 1px;
  line-height: 1.3;
}
.section-head p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
}

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

/* ===================== HERO ===================== */
.ai-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}
.ai-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 62% 28%, rgba(110, 91, 224, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 55% 50% at 18% 72%, rgba(255, 213, 134, 0.12) 0%, transparent 62%),
    radial-gradient(ellipse 45% 45% at 90% 80%, rgba(255, 122, 198, 0.14) 0%, transparent 60%);
  will-change: transform;
}
.ai-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 213, 134, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 213, 134, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000, transparent);
}
/* Floating orbs in hero (parallax) */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}
.hero-orb.o1 { width: 120px; height: 120px; top: 18%; left: 8%;  background: radial-gradient(circle at 30% 30%, var(--color-primary-glow), transparent 70%); animation: floatY 7s ease-in-out infinite; }
.hero-orb.o2 { width: 80px;  height: 80px;  top: 64%; left: 14%; background: radial-gradient(circle at 30% 30%, var(--color-secondary), transparent 70%); animation: floatY 9s ease-in-out infinite 1s; }
.hero-orb.o3 { width: 60px;  height: 60px;  top: 28%; right: 16%; background: radial-gradient(circle at 30% 30%, var(--accent-pink), transparent 70%); animation: floatY 6s ease-in-out infinite 0.5s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 213, 134, 0.10);
  border: 1px solid rgba(255, 213, 134, 0.3);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.ai-hero h1 {
  font-family: Michroma, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
}
.ai-hero-sub {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  margin-bottom: 38px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

/* ---- Buttons ---- */
.btn-ai-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--grad-brand);
  color: var(--bg-darkest);
  border-radius: 50px;
  padding: 15px 30px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px -12px rgba(255, 213, 134, 0.75);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.btn-ai-primary i { transition: transform 0.3s var(--ease-out); }
.btn-ai-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.6s var(--ease-out);
}
.btn-ai-primary:hover {
  color: var(--bg-darkest);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 44px -12px rgba(255, 213, 134, 0.95);
}
.btn-ai-primary:hover::before { transform: translateX(130%); }
.btn-ai-primary:hover i { transform: translateX(4px); }

.btn-ai-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  padding: 15px 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
}
.btn-ai-outline:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: rgba(255, 213, 134, 0.08);
  transform: translateY(-3px);
}

.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Michroma, sans-serif;
  line-height: 1.1;
}
.hero-stat span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.5px; }

/* ---- Hero trainer card ---- */
.trainer-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.trainer-photo-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 213, 134, 0.28);
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.55), 0 0 80px rgba(110, 91, 224, 0.35);
  transition: transform 0.5s var(--ease-out);
}
.trainer-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}
.trainer-photo-frame img { width: 100%; display: block; object-fit: cover; }
.trainer-photo-badge {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  background: rgba(13, 9, 40, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 213, 134, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
}
.trainer-photo-badge strong { display: block; color: #fff; font-size: 1.05rem; }
.trainer-photo-badge span { color: var(--color-secondary); font-size: 0.82rem; }

.hero-float-chip {
  position: absolute;
  background: rgba(13, 9, 40, 0.85);
  border: 1px solid rgba(255, 213, 134, 0.3);
  border-radius: 50px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(110, 91, 224, 0.6);
  animation: floatChip 4s ease-in-out infinite;
}
.hero-float-chip i { color: var(--color-secondary); }
.chip-top { top: 30px; right: -20px; animation-delay: 0s; }
.chip-mid { top: 45%; left: -30px; animation-delay: 1.4s; }
.chip-bot { bottom: 100px; right: -20px; animation-delay: 0.7s; }
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ===================== ABOUT STRIP ===================== */
.about-strip {
  background: linear-gradient(135deg, rgba(110, 91, 224, 0.22) 0%, rgba(255, 213, 134, 0.06) 100%);
  border-top: 1px solid rgba(255, 213, 134, 0.12);
  border-bottom: 1px solid rgba(255, 213, 134, 0.12);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 213, 134, 0.22);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin: 4px;
  transition: all 0.3s var(--ease-spring);
}
.about-tag:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--glass-border-hot);
  background: rgba(255, 213, 134, 0.12);
  color: #fff;
}

/* ===================== SHARED CARD ===================== */
.module-card,
.audience-card,
.method-card,
.service-card,
.portfolio-item,
.testimonial-card,
.contact-card {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(110, 91, 224, 0.14) 0%, transparent 45%),
    var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}

/* glow sheen that follows cursor (set via --mx/--my by JS) */
.module-card::after,
.service-card::after,
.method-card::after,
.audience-card::after,
.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 213, 134, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.module-card:hover::after,
.service-card:hover::after,
.method-card:hover::after,
.audience-card:hover::after,
.testimonial-card:hover::after { opacity: 1; }

.module-card:hover,
.audience-card:hover,
.method-card:hover,
.service-card:hover,
.portfolio-item:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hot);
  box-shadow: 0 28px 60px -28px rgba(110, 91, 224, 0.6), 0 0 0 1px rgba(255, 213, 134, 0.15);
}

/* ===================== COURSE MODULES =====================
   Identity: numbered "syllabus" cards — big ghost number watermark,
   cyan progress bar on hover, glyph in the corner. */
.module-card { padding: 30px 28px 28px; height: 100%; }
.module-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-cool);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: 2;
}
.module-card:hover::before { transform: scaleX(1); }

/* big translucent ghost number watermark */
.module-card .module-watermark {
  position: absolute;
  top: 6px; right: 14px;
  font-family: Michroma, sans-serif;
  font-size: 4.6rem;
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  -webkit-text-stroke: 1px rgba(94, 233, 240, 0.12);
  pointer-events: none;
  transition: color 0.4s, -webkit-text-stroke-color 0.4s, transform 0.4s var(--ease-spring);
  z-index: 0;
}
.module-card:hover .module-watermark {
  color: rgba(94, 233, 240, 0.07);
  transform: scale(1.06) translateY(-2px);
}

.module-num {
  font-family: Michroma, sans-serif;
  font-size: 0.7rem;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
}
.module-num::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}
.module-icon,
.audience-icon,
.method-icon,
.service-icon,
.portfolio-item-icon,
.contact-item-icon {
  background: linear-gradient(135deg, var(--color-primary-bright), rgba(255, 213, 134, 0.2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  box-shadow: 0 10px 26px -12px rgba(110, 91, 224, 0.9);
  transition: transform 0.4s var(--ease-spring);
}
.module-icon {
  width: 54px; height: 54px; margin-bottom: 16px; font-size: 1.35rem;
  position: relative; z-index: 1;
  background: linear-gradient(135deg, rgba(94, 233, 240, 0.85), rgba(110, 91, 224, 0.4));
  color: #eafdff;
  box-shadow: 0 10px 26px -12px rgba(94, 233, 240, 0.8);
}
.module-card:hover .module-icon,
.service-card:hover .service-icon,
.audience-card:hover .audience-icon,
.method-card:hover .method-icon { transform: translateY(-4px) rotate(-6deg) scale(1.08); }

.module-card h3 { font-size: 1.05rem; color: #fff; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.module-card p  { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); line-height: 1.7; margin: 0; position: relative; z-index: 1; }

/* ===================== AUDIENCE (WHO CAN JOIN) =====================
   Identity: list-row style with a thick left accent rail + round
   pink icon medallion + a "For You" pill that slides in on hover. */
.audience-card {
  padding: 26px 26px 26px 30px;
  display: flex; gap: 20px; align-items: center;
  height: 100%;
  border-left: 3px solid transparent;
  border-radius: 16px;
}
.audience-card::before {
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 3px;
  background: var(--grad-hot);
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity 0.4s, top 0.4s var(--ease-out), bottom 0.4s var(--ease-out);
}
.audience-card:hover::before { opacity: 1; top: 6%; bottom: 6%; }
.audience-icon {
  width: 56px; height: 56px; font-size: 1.25rem; flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-pink), var(--color-primary));
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(255, 122, 198, 0.85);
}
.audience-card h3 {
  font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.audience-card .audience-tag {
  font-family: Michroma, sans-serif;
  font-size: 0.55rem; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-pink);
  border: 1px solid rgba(255, 122, 198, 0.4);
  border-radius: 30px;
  padding: 3px 9px;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
}
.audience-card:hover .audience-tag { opacity: 1; transform: translateX(0); }
.audience-card p  { font-size: 0.86rem; color: rgba(255, 255, 255, 0.65); margin: 0; line-height: 1.65; }

/* ===================== METHODOLOGY (LEARN BY DOING) =====================
   Identity: numbered "step" cards — a step badge sits at the top edge,
   the icon is a soft ring below it, dashed connector illustration. */
.method-card {
  padding: 46px 26px 30px;
  text-align: center; height: 100%;
  margin-top: 18px;
  border-radius: 18px;
  overflow: visible;
}
/* step number badge straddling the top border */
.method-card .method-step {
  position: absolute;
  top: -18px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: var(--bg-darkest);
  font-family: Michroma, sans-serif;
  font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -10px rgba(110, 91, 224, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.4s var(--ease-spring);
  z-index: 3;
}
.method-card:hover .method-step { transform: translateX(-50%) translateY(-4px) rotate(-6deg); }
/* icon becomes an outlined ring, not a filled block */
.method-icon {
  width: 64px; height: 64px; font-size: 1.4rem; margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px dashed rgba(255, 213, 134, 0.45);
  color: var(--color-secondary);
  box-shadow: none;
}
.method-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.method-card p  { font-size: 0.86rem; color: rgba(255, 255, 255, 0.65); margin: 0; line-height: 1.7; }

/* ===================== SERVICES =====================
   Identity: "panel" cards with a coral corner bracket, a squared icon
   tile offset to the side, and an animated "Learn more →" link. */
.service-card {
  padding: 34px 30px 30px;
  height: 100%;
  border-radius: 14px;
  display: flex; flex-direction: column;
}
/* coral bracket in the top-right corner */
.service-card::before {
  content: "";
  position: absolute;
  top: 16px; right: 16px;
  width: 26px; height: 26px;
  border-top: 2px solid rgba(255, 154, 108, 0.55);
  border-right: 2px solid rgba(255, 154, 108, 0.55);
  border-radius: 0 6px 0 0;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.4s;
  z-index: 2;
}
.service-card:hover::before {
  width: calc(100% - 32px); height: calc(100% - 32px);
  border-color: rgba(255, 154, 108, 0.85);
}
.service-card .service-icon {
  width: 58px; height: 58px; font-size: 1.45rem; margin-bottom: 20px; border-radius: 16px;
  position: relative; z-index: 1;
  background: linear-gradient(135deg, var(--accent-coral), rgba(255, 213, 134, 0.35));
  color: #2a1605;
  box-shadow: 0 10px 26px -12px rgba(255, 154, 108, 0.9);
}
.service-card h3 { font-size: 1.06rem; font-weight: 700; color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
.service-card p  { font-size: 0.87rem; color: rgba(255, 255, 255, 0.65); margin: 0 0 18px; line-height: 1.7; position: relative; z-index: 1; }
.service-card .service-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3px;
  color: var(--accent-coral);
  position: relative; z-index: 1;
  transition: gap 0.35s var(--ease-out), color 0.35s;
}
.service-card .service-link i { transition: transform 0.35s var(--ease-out); }
.service-card:hover .service-link { gap: 12px; color: var(--color-secondary); }
.service-card:hover .service-link i { transform: translateX(3px); }

/* ===================== PORTFOLIO =====================
   Identity: "showcase tiles" — a gradient illustration band on top, an
   icon orb that floats cleanly over the band/body seam, label + arrow. */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.portfolio-item {
  padding: 0;
  display: flex; flex-direction: column;
  border-radius: 18px;
  min-height: 184px;
  overflow: hidden;        /* clip the band's dotted texture to the rounded corners */
}
/* decorative gradient illustration band (icon is NOT inside it, so it can't clip) */
.portfolio-item .portfolio-visual {
  position: relative;
  height: 86px;
  background:
    radial-gradient(70% 130% at 82% 0%, rgba(255, 213, 134, 0.30), transparent 58%),
    linear-gradient(120deg, rgba(110, 91, 224, 0.60), rgba(255, 122, 198, 0.34));
  overflow: hidden;
  transition: height 0.4s var(--ease-out);
}
/* dotted texture, faded toward the bottom */
.portfolio-item .portfolio-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
/* bright hairline at the band/body seam */
.portfolio-item .portfolio-visual::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 134, 0.5), transparent);
  z-index: 1;
}
/* floating icon orb — absolutely positioned so it overlaps the seam without
   being clipped by the band (its parent is the item, which is overflow:hidden,
   but the orb sits fully inside the item's bounds, so it renders complete). */
.portfolio-item-icon {
  position: absolute;
  top: 60px; left: 22px;
  width: 54px; height: 54px;
  font-size: 1.3rem;
  border-radius: 15px;
  z-index: 2;
  background: linear-gradient(150deg, var(--bg-dark-secondary), var(--bg-darkest));
  border: 1.5px solid rgba(255, 213, 134, 0.45);
  color: var(--color-secondary);
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease-spring), border-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.portfolio-item:hover .portfolio-item-icon {
  transform: translateY(-5px) rotate(-6deg) scale(1.06);
  border-color: var(--glass-border-hot);
  color: #fff;
  box-shadow: 0 20px 38px -14px rgba(110, 91, 224, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.portfolio-item .portfolio-body {
  position: relative;
  padding: 40px 22px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex: 1;
}
.portfolio-item span { color: rgba(255, 255, 255, 0.92); font-size: 0.96rem; font-weight: 600; line-height: 1.35; }
.portfolio-item .portfolio-arrow {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-secondary); font-size: 0.75rem;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
}
.portfolio-item:hover .portfolio-arrow {
  opacity: 1; transform: translateX(0);
  background: rgba(255, 213, 134, 0.12);
  border-color: var(--glass-border-hot);
}
.portfolio-item:hover { box-shadow: 0 28px 60px -28px rgba(110, 91, 224, 0.6), 0 0 0 1px rgba(255, 213, 134, 0.15); }

/* ===================== TESTIMONIALS =====================
   Identity: a stronger "review" card — giant watermark quote glyph,
   gold star rating, gradient ring avatar, divider above the author. */
.testimonial-card {
  padding: 40px 36px 34px;
  height: 100%;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 122, 198, 0.14) 0%, transparent 50%),
    var(--glass-bg-strong);
}
/* oversized ghost quote glyph in the corner */
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: -18px; right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem; line-height: 1;
  color: rgba(255, 213, 134, 0.08);
  pointer-events: none;
  z-index: 0;
}
.testimonial-quote {
  font-size: 1.6rem;
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.testimonial-stars {
  display: flex; gap: 4px;
  color: var(--color-secondary);
  font-size: 0.82rem;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.testimonial-text { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; line-height: 1.85; margin-bottom: 24px; position: relative; z-index: 1; }
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  position: relative; z-index: 1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-brand);
  padding: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--bg-darkest);
  flex-shrink: 0;
  box-shadow: 0 8px 22px -10px rgba(110, 91, 224, 0.9);
}
.testimonial-avatar i {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-darkest);
  color: var(--color-secondary);
  display: flex; align-items: center; justify-content: center;
}
.testimonial-author strong { display: block; color: #fff; font-size: 0.95rem; }
.testimonial-author span { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; }

/* ===================== BOOK A CLASS ===================== */
.book-cta-section { padding: 110px 0; text-align: center; }
.book-cta-card {
  position: relative;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(110, 91, 224, 0.5) 0%, transparent 60%),
    linear-gradient(135deg, rgba(72, 58, 160, 0.45) 0%, rgba(255, 213, 134, 0.07) 100%);
  border: 1px solid rgba(255, 213, 134, 0.25);
  border-radius: 32px;
  padding: 84px 48px;
  overflow: hidden;
  box-shadow: 0 40px 100px -50px rgba(110, 91, 224, 0.9);
}
.book-cta-card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(255, 213, 134, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatY 8s ease-in-out infinite;
}
.book-cta-card::after {
  content: "";
  position: absolute;
  bottom: -140px; left: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255, 122, 198, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatY 10s ease-in-out infinite 1s;
}
.book-cta-card h2 { font-family: Michroma, sans-serif; font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.book-cta-card p  { color: rgba(255, 255, 255, 0.72); max-width: 600px; margin: 0 auto 36px; font-size: 1rem; line-height: 1.8; position: relative; z-index: 1; }
.book-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.superprof-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  padding: 11px 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem; font-weight: 600;
  margin-top: 26px;
  position: relative; z-index: 1;
  transition: all 0.3s var(--ease-out);
}
.superprof-badge:hover { border-color: var(--color-secondary); color: var(--color-secondary); transform: translateY(-2px); }

/* ===================== CONTACT ===================== */
.contact-card { padding: 34px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon { width: 46px; height: 46px; font-size: 1rem; flex-shrink: 0; }
.contact-item-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-item-value { color: #fff; font-size: 0.95rem; font-weight: 500; }
.contact-item-value a { color: rgba(255, 255, 255, 0.85); transition: color 0.3s; }
.contact-item-value a:hover { color: var(--color-secondary); }

/* ===================== FOOTER ===================== */
.site-footer {
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(110, 91, 224, 0.12) 0%, transparent 60%),
    rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 213, 134, 0.10);
  padding: 70px 0 0;
}
.footer-tagline { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }
.footer-heading { font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; transition: color 0.3s, padding-left 0.3s; }
.footer-links a:hover { color: var(--color-secondary); padding-left: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  transition: all 0.3s var(--ease-spring);
}
.footer-social a:hover {
  background: var(--grad-brand);
  color: var(--bg-darkest);
  border-color: transparent;
  transform: translateY(-4px) scale(1.1);
}
.footer-bio { font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); line-height: 1.7; margin-top: 16px; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, 0.07); margin-top: 48px; padding: 20px 0; text-align: center; font-size: 0.82rem; color: rgba(255, 255, 255, 0.4); }
.footer-copy a { color: rgba(255, 255, 255, 0.55); }
.footer-copy a:hover { color: var(--color-secondary); }

/* ===================== WHATSAPP ===================== */
.back-to-top-button {
  position: fixed; bottom: 98px; right: 28px;
  z-index: 998;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 213, 134, 0.32);
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--bg-darkest);
  box-shadow: 0 10px 28px rgba(255, 213, 134, 0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.back-to-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.back-to-top-button:hover {
  box-shadow: 0 14px 34px rgba(255, 213, 134, 0.34);
  transform: translateY(-3px) scale(1.06);
}
.back-to-top-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.whatsapp-button {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 998;
  width: 56px; height: 56px;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease-spring);
  animation: pulseWa 2.6s ease-in-out infinite;
}
.whatsapp-button:hover { transform: scale(1.12); }
.whatsapp-button img { width: 56px; height: 56px; }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 36px rgba(37, 211, 102, 0.75); }
}

/* ===================== PRELOADER ===================== */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg-void);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}

/* ===================== SCROLL REVEAL =====================
   Reveal rules are scoped to .js-enabled (set by an inline <head> script)
   so that with JS disabled — or if ai-motion.js fails to load — ALL content
   stays fully visible. Content is never permanently hidden. */
.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
.js-enabled [data-reveal="left"]  { transform: translateX(-44px); }
.js-enabled [data-reveal="right"] { transform: translateX(44px); }
.js-enabled [data-reveal="scale"] { transform: scale(0.9); }
.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* stagger children */
.js-enabled [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js-enabled [data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  body::before { animation: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .ai-hero { padding: 130px 0 80px; }
  .ai-hero h1 { font-size: 2rem; }
  .trainer-photo-wrap { margin-top: 48px; }
  .section-head h2 { font-size: 1.7rem; }
  .chip-top, .chip-mid, .chip-bot, .hero-orb { display: none; }
}
@media (max-width: 575px) {
  .ai-section { padding: 72px 0; }
  .book-cta-card { padding: 52px 24px; }
  .book-cta-card h2 { font-size: 1.6rem; }
  .hero-stats { gap: 22px; }
}
