/* ─── Local Fonts ─── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('./fonts/inter.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./fonts/space-grotesk.woff2') format('woff2');
}

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: hsl(220 20% 4%);
  --bg-alt: hsl(220 20% 6%);
  --card: hsl(220 20% 7%);
  --fg: hsl(210 20% 93%);
  --fg-muted: hsl(220 10% 50%);
  --fg-secondary: hsl(210 15% 80%);
  --primary: hsl(210 100% 60%);
  --accent: hsl(195 100% 50%);
  --border: hsl(220 15% 14%);
  --radius: 0.5rem;
  --container:  1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', sans-serif;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Utilities ─── */
.text-gradient-blue {
  background-image: linear-gradient(135deg, hsl(195 100% 60%), hsl(210 100% 55%), hsl(240 80% 65%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(210 100% 60% / 0.5), hsl(195 100% 50% / 0.3), transparent);
}

.bg-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, hsl(210 100% 60% / 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, hsl(195 100% 50% / 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, hsl(240 80% 50% / 0.05) 0%, transparent 50%);
}

.bg-grid {
  background-image:
    linear-gradient(hsl(210 100% 60% / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, hsl(210 100% 60% / 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.primary {
  color: var(--primary);
}

.semibold {
  font-weight: 600;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

/* ─── Animations ─── */
@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 hsl(210 100% 60% / 0.4);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px hsl(210 100% 60% / 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll-triggered animation classes */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-slide-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.anim-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Hero animation (plays immediately) */
.hero-badge {
  animation: fadeUp 0.8s ease 0s both;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s ease 0.15s both;
}

.hero-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--fg-secondary);
  max-width: 42rem;
  margin: 0 auto 2rem;
  animation: fadeUp 0.8s ease 0.35s both;
}

.hero-cta {
  animation: fadeIn 1s ease 0.8s both;
}

/* ─── Hero Section ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 1rem;
  background:
    radial-gradient(ellipse at 50% 0%, hsl(210 100% 60% / 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 70%, hsl(240 80% 50% / 0.10) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 60%, hsl(195 100% 50% / 0.08) 0%, transparent 40%);
}

#hero .grid-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#hero .glow-blob-1 {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: hsl(210 100% 60% / 0.05);
  filter: blur(150px);
  pointer-events: none;
}

#hero .glow-blob-2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: hsl(195 100% 50% / 0.05);
  filter: blur(120px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid hsl(210 100% 60% / 0.3);
  background: hsl(220 15% 12% / 0.5);
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

.hero-badge-wrap span.label {
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  color: var(--fg-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-cta-wrap {
  margin-top: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: hsl(220 20% 4%);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: filter 0.3s;
  box-shadow: 0 0 40px hsl(210 100% 60% / 0.25), 0 0 80px hsl(195 100% 50% / 0.1);
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-primary:hover .btn-arrow {
  transform: translateY(3px);
}

.btn-arrow {
  transition: transform 0.3s;
}

.hero-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ─── Intro Section ─── */
#intro {
  position: relative;
  padding: 6rem 1rem;
  overflow: hidden;
}

#intro .mesh-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
}

.intro-inner {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  text-align: center;
}

.intro-inner p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--fg-secondary);
  line-height: 1.8;
}

/* ─── Content Sections ─── */
.content-section {
  position: relative;
  padding: 5rem 1rem;
  overflow: hidden;
}

.content-section.alt {
  background-color: var(--bg-alt);
}

.content-section.alt .mesh-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

.section-inner {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--primary);
  filter: drop-shadow(0 0 12px hsl(210 100% 60% / 0.5));
  flex-shrink: 0;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  color: var(--fg-secondary);
  line-height: 1.8;
}

/* ─── BulletList ─── */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.5rem 0;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.bullet-dot {
  margin-top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ─── QuoteBlock ─── */
.quote-block {
  border-left: 2px solid hsl(210 100% 60% / 0.4);
  padding-left: 1.25rem;
  margin: 0.5rem 0;
  color: var(--fg);
  font-weight: 500;
}

/* ─── Exercise Card ─── */
.exercise-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: hsl(220 20% 7% / 0.6);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  margin: 0.5rem 0;
}

.exercise-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1rem;
}

/* ─── Pillar Grid ─── */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0.5rem 0;
}

@media (min-width: 640px) {
  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pillar-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: hsl(220 20% 7% / 0.6);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  transition: border-color 0.5s, box-shadow 0.5s;
}

.pillar-card:hover {
  border-color: hsl(210 100% 60% / 0.2);
  box-shadow: 0 0 20px hsl(210 100% 60% / 0.06);
}

.pillar-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pillar-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

.pillar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--fg);
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ─── Protocol Section ─── */
#protocolo {
  position: relative;
  padding: 6rem 1rem;
  overflow: hidden;
  background-color: var(--bg-alt);
}

#protocolo .bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: hsl(210 100% 60% / 0.05);
  filter: blur(100px);
  pointer-events: none;
}

.protocol-inner {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.protocol-header {
  text-align: center;
  margin-bottom: 4rem;
}

.protocol-label {
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  color: var(--fg-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.protocol-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
}

.protocol-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  color: var(--fg-secondary);
}

.protocol-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.protocol-step {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: hsl(220 20% 7% / 0.8);
  backdrop-filter: blur(8px);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.5s, box-shadow 0.5s;
}

.protocol-step:hover {
  border-color: hsl(210 100% 60% / 0.3);
  box-shadow: 0 0 30px hsl(210 100% 60% / 0.08);
}

.step-badge {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: linear-gradient(to bottom right, hsl(210 100% 60% / 0.2), hsl(195 100% 50% / 0.1));
  border: 1px solid hsl(210 100% 60% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-badge span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--fg);
}

/* ─── Final CTA ─── */
#final-cta {
  position: relative;
  padding: 6rem 1rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, hsl(210 100% 60% / 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, hsl(240 80% 50% / 0.08) 0%, transparent 50%);
}

.final-cta-inner {
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  text-align: center;
}

.final-lines {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.final-lines p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--fg);
}

.final-lines p.accent {
  color: var(--primary);
  font-weight: 600;
}

.final-text {
  padding-top: 2rem;
}

/* ─── Footer ─── */
footer {
  padding: 1rem;
  gap: 12px;
  color: var(--fg-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
}

footer p {
  text-align: center;
  display: inline-flex;
}

footer img {
  padding-left: 5px;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray-400);
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Responsive ─── */
@media (min-width: 768px) {
  .content-section {
    padding: 7rem 1rem;
  }

  #intro,
  #protocolo,
  #final-cta {
    padding: 8rem 1rem;
  }
}