@import "tailwindcss";

:root {
  /* FF Coaching Brand Tokens — v2.0.0 · off-white editorial */
  --bg: #FAFAFA;
  --fg: #09090B;
  --accent: #3B82F6;
  --accent-2: #60A5FA;
  --accent-dark: #2563EB;
  --surface: #FFFFFF;
  --surface-2: #F4F4F5;
  --surface-3: #E4E4E7;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.15);
  --muted: #71717A;
  --muted-2: #A1A1AA;
  --muted-3: #D4D4D8;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-2xl: 32px;
  --r-pill: 999px;
}

@theme inline {
  --color-bg: var(--bg);
  --color-fg: var(--fg);
  --color-accent: var(--accent);
  --color-accent-2: var(--accent-2);
  --color-accent-dark: var(--accent-dark);
  --color-surface: var(--surface);
  --color-surface-2: var(--surface-2);
  --color-surface-3: var(--surface-3);
  --color-border: var(--border);
  --color-border-strong: var(--border-strong);
  --color-muted: var(--muted);
  --color-muted-2: var(--muted-2);
  --color-muted-3: var(--muted-3);
  --font-sans: var(--font-poppins);
  --font-mono: var(--font-jetbrains);
}

html { scroll-behavior: smooth; }

* {
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-poppins), system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Firma tipográfica FF: itálicas azules como acento de autoridad */
em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

/* Utility clases */
.font-mono { font-family: var(--font-jetbrains), monospace; }
.eyebrow {
  font-family: var(--font-jetbrains), monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.caption-mono {
  font-family: var(--font-jetbrains), monospace;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}

/* Fondos texturizados del brandkit — adaptados a fondo claro */
.grid-bg {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

.radial-glow-blue {
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(59, 130, 246, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(59, 130, 246, 0.05), transparent 60%);
}

.section-band {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.diagonal-texture {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(59, 130, 246, 0.06) 0 1.5px,
    transparent 1.5px 22px
  );
}

/* Sombras del brandkit — adaptadas a fondo claro (elevación sutil) */
.shadow-hero {
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 0 60px rgba(59, 130, 246, 0.08);
}

.shadow-cta {
  box-shadow:
    0 6px 20px rgba(59, 130, 246, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.06);
}

.shadow-featured {
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.25),
    0 30px 80px rgba(59, 130, 246, 0.12);
}

/* Glass nav — translúcida sobre fondo claro */
.glass-nav {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

/* Pulse animation para dot "live" */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}
.pulse-dot { animation: pulse-dot 2s ease-in-out infinite; }

/* Stroke number effect (método) */
.stroke-number {
  font-family: var(--font-poppins), sans-serif;
  font-weight: 700;
  -webkit-text-stroke: 1.2px var(--accent);
  color: transparent;
}

/* Shimmer animation para Skeleton */
@keyframes shimmer {
  100% { transform: translateX(100%); }
}
.shimmer-animate {
  animation: shimmer 1.5s infinite;
}

/* Fade-in / slide-up para overlays y entradas suaves */
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes slide-up {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fade-in 150ms cubic-bezier(0.22, 1, 0.36, 1); }
.slide-up { animation: slide-up 200ms cubic-bezier(0.22, 1, 0.36, 1); }

/* Respeto a reduced motion para todas las animaciones declaradas */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
