/* ==========================================================================
   SECTIONS.CSS — All Section-Specific Styles
   Ulises Paiz Portfolio — Dark Cinematic Theme
   ========================================================================== */


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  HERO                                                                ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

/* Background image with dark overlay — contains <img> tag */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,14,26,0.95) 0%, rgba(10,14,26,0.4) 30%, rgba(10,14,26,0.4) 70%, rgba(10,14,26,0.95) 100%),
    linear-gradient(180deg, rgba(10,14,26,0.6) 0%, rgba(10,14,26,0.3) 40%, rgba(10,14,26,0.85) 100%);
  z-index: 1;
}

/* Grid background — subtle lines (HTML class: hero-grid-bg) */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

/* Particles container */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Title group (HTML class: hero-title-group) */
.hero-title-group {
  position: relative;
  z-index: 3;
  text-align: center;
}

/* Pre-title (HTML: .hero-pre with inner span) */
.hero-pre {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.hero-pre span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* Main title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  will-change: transform;
}

.hero-title .line-inner {
  display: block;
  transform: translateY(120%);
  opacity: 0;
}

.hero-title .word-accent {
  color: var(--accent);
}

/* Divider line (HTML class: hero-divider-line) */
.hero-divider-line {
  width: 60px;
  height: 1px;
  background: var(--text-muted);
  margin: 1.5rem auto;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
}

/* Subtitle (HTML: .hero-subtitle with inner span) */
.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  overflow: hidden;
}

.hero-subtitle span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* Origin line (HTML: .hero-origin with inner span) */
.hero-origin {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 1rem;
  overflow: hidden;
}

.hero-origin span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

.hero-value-prop {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
  overflow: hidden;
}

.hero-value-prop span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* Scroll CTA at bottom */
.hero-scroll-cta {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.hero-scroll-cta span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

/* Pulsing scroll line */
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  FIXER (Chapter 01) — Story Flow                                    ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

.story-flow {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.story-header {
  text-align: center;
  margin-bottom: 5rem;
}

.story-header .chapter-label {
  justify-content: center;
}

.story-header h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.story-header h2 .highlight {
  color: var(--accent);
  font-weight: 400;
}

.story-block {
  margin-bottom: 4rem;
  position: relative;
}

.story-block.left {
  max-width: 600px;
  margin-right: auto;
}

.story-block.right {
  max-width: 600px;
  margin-left: auto;
}

.story-block.center {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.story-block p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* HP Pavilion Computer Component */
.hp-pavilion {
  max-width: 420px;
  margin: 3rem auto;
  position: relative;
}

.hp-monitor {
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: 8px 8px 0 0;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

/* Screen content (HTML class: hp-screen-content) */
.hp-screen-content {
  background: #0a0e1a;
  border-radius: 4px;
  padding: 1.5rem;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

/* CRT scanlines */
.hp-screen-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 212, 255, 0.01) 50%,
    rgba(0, 0, 0, 0.02) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.3;
}

/* Code lines (HTML class: hp-myspace-line) */
.hp-myspace-line {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.8;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-8px);
}

.hp-stand {
  width: 60%;
  height: 20px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-top: none;
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
}

.hp-base {
  width: 80%;
  height: 6px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border-radius: 0 0 4px 4px;
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-top: none;
}

.hp-brand {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  opacity: 0.4;
}

/* Blinking cursor (HTML class: blink-cursor) */
.blink-cursor {
  display: inline;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* HP screen glow effect */
.hp-monitor {
  position: relative;
}

.hp-screen-content::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, var(--accent) 0%, transparent 70%);
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.5s;
}

.hp-pavilion:hover .hp-screen-content::before {
  opacity: 0.08;
}

/* Colored code syntax in HP screen */
.hp-myspace-line {
  transition: opacity 0.4s, transform 0.4s;
}

.hp-myspace-line:nth-child(1),
.hp-myspace-line:nth-child(6),
.hp-myspace-line:nth-child(7),
.hp-myspace-line:nth-child(9),
.hp-myspace-line:nth-child(10) {
  color: #ff3b3b;
}

.hp-myspace-line:nth-child(2),
.hp-myspace-line:nth-child(6) {
  color: #a855f7;
}

.hp-myspace-line:nth-child(3),
.hp-myspace-line:nth-child(4),
.hp-myspace-line:nth-child(5) {
  color: #00d4ff;
}

.hp-myspace-line:nth-child(8) {
  color: #ffb800;
}

/* Pull quotes */
.pull-quote {
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 0.75rem;
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  INVESTIGATOR (Chapter 02) — Case File                              ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

.case-file {
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.4s var(--ease-out-expo);
}

.case-file:hover {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35),
              0 0 50px rgba(0, 212, 255, 0.025);
}

/* CLASSIFIED watermark */
.case-file::before {
  content: 'CLASSIFIED';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-family: var(--font-display);
  font-size: 6rem;
  letter-spacing: 0.2em;
  color: rgba(0, 212, 255, 0.03);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  animation: classifiedFlicker 8s ease-in-out infinite;
}

@keyframes classifiedFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.case-file-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  margin-bottom: 0.5rem;
}

/* Scan line (HTML class: scan-line) */
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.06),
    transparent
  );
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.case-file-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.04);
}

.case-file-row:last-child {
  border-bottom: none;
}

/* Scan complete flash */
.case-file-status {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-align: center;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(0, 212, 255, 0.04);
  opacity: 0;
  transition: opacity 0.6s;
}

.case-file-status.visible {
  opacity: 1;
}

.case-file-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.case-file-value {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Degree photo — tilted with shadow */
.degree-photo {
  max-width: 380px;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  transform: rotate(-2deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(0, 212, 255, 0.06);
  margin-top: 2rem;
  transition: transform 0.4s var(--ease-out-expo);
}

.degree-photo:hover {
  transform: rotate(0deg);
}

.degree-photo img {
  width: 100%;
  display: block;
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  GAUNTLET (Chapter 03) — Vertical Layout (no horizontal scroll)     ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

/* Role cards */
.gauntlet-roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.gauntlet-role {
  flex: 0 1 auto;
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-top: 2px solid var(--accent);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out-expo),
              border-color 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo);
}

.gauntlet-role:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gauntlet-role:last-child {
  border-color: var(--accent);
  background: var(--bg-elevated);
}

.gauntlet-role-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.gauntlet-role-name {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  display: block;
}

/* Terminal — macOS style */
.terminal {
  background: #0d0d0f;
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  transition: box-shadow 0.6s var(--ease-out-expo);
}

/* Terminal active glow */
.terminal.is-typing {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 80px color-mix(in srgb, var(--accent) 8%, transparent);
}

.terminal:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(0, 212, 255, 0.03);
  border-bottom: 1px solid rgba(0, 212, 255, 0.06);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Dot colors via nth-child (no class names on dots in HTML) */
.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 2;
}

.terminal-line {
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-10px);
}

.terminal-line .prompt  { color: var(--accent); }
.terminal-line .cmd     { color: var(--text-secondary); }
.terminal-line .output  { color: var(--text-muted); }
.terminal-line .success { color: #00ff88; }
.terminal-line .warning { color: #ffb800; }
.terminal-line .error   { color: #ff3b3b; }

/* Blinking block cursor in terminal */
.terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--text-secondary);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  SHIELD (Chapter 04) — Badges & DoD Seal                           ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Badge cards — Status indicators */
.badge {
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-top: 2px solid var(--accent);
  border-radius: 4px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  transition: border-color 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}

.badge:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 212, 255, 0.08);
}

.badge-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.badge-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.badge-status {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.badge-status::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
  animation: statusPulse 2s ease-in-out infinite;
}

/* DoD Seal — subtle watermark emblem */
.dod-seal {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: clamp(200px, 25vw, 400px);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
  transition: opacity 0.6s;
}

.dod-seal img {
  width: 100%;
  height: auto;
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  FOUNDER (Chapter 05) — Portrait, Screenshot, Metrics               ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

/* Visual stack — flex column with gap */
.founder-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

/* Founder portrait — headshot */
.founder-portrait {
  max-width: 300px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.06);
}

.founder-portrait img {
  width: 100%;
  display: block;
}

/* Ghosxt site screenshot */
.ghosxt-screenshot {
  max-width: 500px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 212, 255, 0.06);
}

.ghosxt-screenshot img {
  width: 100%;
  display: block;
}

/* Metrics bar */
.metrics-bar {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.06);
  justify-content: center;
}

.metric {
  text-align: center;
}

/* HTML class: metric-number */
.metric-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  COACH (Chapter 06) — Photos                                        ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

/* Coach hero image — full-width banner */
.coach-hero-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-glow);
  border: 1px solid var(--accent);
  border-top: 2px solid var(--accent);
  transition: border-color 0.5s, box-shadow 0.5s;
}

.coach-hero-image img {
  width: 100%;
  display: block;
}

/* Coach images — 2-column grid, last odd item centered */
.coach-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.coach-images .section-image:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
}

.coach-images .section-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-top: 2px solid var(--accent);
  transition: border-color 0.5s;
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  CINEMATIC QUOTES — Simple Scroll-Triggered Fade-Ins                ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

.cinematic-quote {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  overflow: hidden;
  background: var(--bg-primary);
  will-change: transform;
}

/* Subtle grid pattern */
.cinematic-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 10%, transparent 70%);
  pointer-events: none;
}

.cq-inner {
  max-width: 800px;
  position: relative;
}

/* Giant faded quote mark */
.cq-mark {
  font-family: var(--font-body);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.12;
  display: block;
  margin-bottom: 2rem;
  transition: color 0.6s;
}

.cq-text {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

/* Word-by-word reveal spans */
.cq-text .cq-word {
  display: inline-block;
  opacity: 0.06;
  transition: opacity 0.15s;
}

.cq-attribution {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  margin-top: 2.5rem;
  opacity: 0;
  transition: opacity 0.4s;
}

/* Decorative accent lines flanking the quote */
.cq-inner::before,
.cq-inner::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto;
  opacity: 0.2;
  transition: background 0.6s, opacity 0.6s;
}

.cq-inner::before {
  margin-bottom: 2.5rem;
}

.cq-inner::after {
  margin-top: 2.5rem;
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  CONVERSION — Final CTA (HTML class: conversion-final)              ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

.conversion-final {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}

/* Radial red glow */
.conversion-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.conversion-final-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.conversion-final-sub {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.conversion-final-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

/* Red CTA button */
.conversion-final-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 1rem 2.5rem;
  border-radius: 6px;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out-expo);
}

.conversion-final-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.conversion-final-email {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 2rem;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.conversion-final-email:hover {
  color: var(--text-secondary);
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  FOOTER (HTML class: footer-minimal)                                ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

.footer-minimal {
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 212, 255, 0.04);
}

/* ULISES PAIZ watermark */
.footer-minimal::before {
  content: 'ULISES PAIZ';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: 0.1em;
  color: rgba(0, 212, 255, 0.02);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 0.8;
}

.footer-minimal-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.footer-minimal-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-minimal-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-minimal-link:hover {
  color: var(--text-secondary);
}

.footer-minimal-copy {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  opacity: 0.5;
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  GHOSXT CARD (Founder section - interactive radar card)              ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

.ghosxt-card {
  max-width: 460px;
  width: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo);
}
.ghosxt-card:hover { transform: scale(1.02); }

.ghosxt-border-glow {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0%, var(--accent) 10%, transparent 20%, transparent 50%, var(--accent) 60%, transparent 70%);
  opacity: 0.25;
  animation: borderRotate 6s linear infinite;
  z-index: 0;
}
@keyframes borderRotate { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }

.ghosxt-card-inner {
  position: relative;
  z-index: 1;
  margin: 1.5px;
  background: linear-gradient(160deg, rgba(22, 22, 24, 0.98) 0%, rgba(8, 8, 10, 0.99) 100%);
  border-radius: 11px;
  overflow: hidden;
}

.ghosxt-radar {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: 300px; height: 300px;
  pointer-events: none;
}
.ghosxt-radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.03);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.ghosxt-radar-ring.r1 { width: 100px; height: 100px; }
.ghosxt-radar-ring.r2 { width: 190px; height: 190px; }
.ghosxt-radar-ring.r3 { width: 280px; height: 280px; }

.ghosxt-radar-sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 140px; height: 2px;
  transform-origin: left center;
  background: linear-gradient(to right, var(--accent) 0%, transparent 100%);
  opacity: 0.15;
  animation: radarSweep 4s linear infinite;
}
@keyframes radarSweep { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }

.ghosxt-radar-dot {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: radarPing 4s ease-out infinite;
}
.ghosxt-radar-dot.d1 { top: 30%; left: 65%; animation-delay: 0.5s; }
.ghosxt-radar-dot.d2 { top: 55%; left: 25%; animation-delay: 2s; }
.ghosxt-radar-dot.d3 { top: 40%; left: 70%; animation-delay: 3.2s; }
@keyframes radarPing {
  0%,15%{opacity:0} 16%{opacity:0.8} 40%{opacity:0.3} 80%,100%{opacity:0}
}

.ghosxt-card-content {
  position: relative; z-index: 2;
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
}
.ghosxt-shield-icon { margin-bottom: 1rem; }
.ghosxt-shield-icon svg { filter: drop-shadow(0 0 12px var(--accent-glow)); }

.ghosxt-card-brand {
  font-family: var(--font-display);
  font-size: 3.8rem;
  letter-spacing: 0.18em;
  color: var(--text-primary);
  line-height: 1;
  text-shadow: 0 0 60px var(--accent-glow);
}
.ghosxt-card-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.6rem;
  transition: color 0.5s;
}
.ghosxt-card-divider {
  width: 40px; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 1.5rem auto;
  opacity: 0.5;
}

.ghosxt-stack { display: flex; flex-direction: column; gap: 0; margin: 0 auto; max-width: 280px; }
.ghosxt-stack-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(0, 212, 255, 0.03); }
.ghosxt-stack-item:last-child { border-bottom: none; }
.ghosxt-stack-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 8px var(--accent-glow); transition: background 0.5s, box-shadow 0.5s; }
.ghosxt-stack-label { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; color: var(--text-secondary); }

.ghosxt-cta {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-primary);
  padding: 1rem 2rem;
  background: var(--accent);
  border: none; border-radius: 3px;
  transition: all 0.4s var(--ease-out-expo);
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
}
.ghosxt-cta:hover {
  box-shadow: 0 0 50px var(--accent-glow), 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.ghosxt-cta:hover .ghosxt-cta-arrow { transform: translateX(4px); }
.ghosxt-cta-arrow { transition: transform 0.3s; font-size: 1rem; }

.ghosxt-status-bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; padding: 0.75rem;
  background: rgba(0, 212, 255, 0.015);
  border-top: 1px solid rgba(0, 212, 255, 0.04);
}
.ghosxt-status-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}
.ghosxt-status-text {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  PLAY DIAGRAM (Coach section - football formation SVG)              ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

.play-diagram { max-width: 420px; width: 100%; position: relative; margin-top: 3rem; }
.play-field {
  background: rgba(0, 212, 255, 0.04);
  border: 2px solid rgba(0, 212, 255, 0.12);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.6s, box-shadow 0.6s;
}
.play-field::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0, 212, 255, 0.03) 39px, rgba(0, 212, 255, 0.03) 40px);
  pointer-events: none;
}
.play-field::after {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(0, 212, 255, 0.03);
  pointer-events: none;
}
.play-title {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
  transition: color 0.5s;
}
.play-svg {
  width: 100%; height: 200px;
  position: relative; z-index: 1;
}
.play-svg circle { transition: fill 0.5s, stroke 0.5s; }
.play-svg line, .play-svg path { transition: stroke 0.5s; }
.play-svg .run-path { stroke-dasharray: 300; stroke-dashoffset: 300; }

.play-hashtag {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin-top: 0.5rem;
  position: relative; z-index: 1;
  transition: color 0.5s;
}

.mini-scoreboard {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(8, 8, 10, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: 6px;
  position: relative; z-index: 1;
}
.mini-sb-event {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  transition: color 0.5s;
}
.mini-sb-team { text-align: center; }
.mini-sb-name {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mini-sb-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text-primary);
}
.mini-sb-divider {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-muted);
}


/* Depth layers for sections */
.section[data-theme]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.15;
  z-index: 1;
}


/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  SERVICES LIST                                                       ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

.services-list {
  margin-top: 2.5rem;
}

.services-list h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: rgba(0, 212, 255, 0.02);
  border: 1px solid rgba(0, 212, 255, 0.06);
  border-radius: 10px;
  transition: border-color 0.3s var(--ease-out-expo), background 0.3s var(--ease-out-expo);
}

.service-item:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.05);
}

.service-icon {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.service-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}


.conversion-trust {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 2rem;
}

.footer-services {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 1.5rem;
  opacity: 0.5;
}

.conversion-secure-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0.7;
}

.conversion-classification {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-top: 2rem;
  opacity: 0.4;
}

.footer-classification {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin: 1rem 0;
  opacity: 0.35;
}
