/* ==========================================================================
   Fotostep.site - Core Stylesheet (main.css)
   Pionero Street View (1999-2001) y Hub de Proyectos Multimedia
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #070b14;
  --bg-secondary: #0d1527;
  --bg-tertiary: #131f38;
  --bg-card: rgba(19, 31, 56, 0.7);
  --bg-card-hover: rgba(28, 44, 78, 0.85);
  --bg-glass: rgba(13, 21, 39, 0.75);

  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.35);
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.35);
  --accent-emerald: #10b981;
  --accent-purple: #a855f7;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 229, 255, 0.25);
  --border-gold: rgba(245, 158, 11, 0.3);

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout & Spacing */
  --max-width: 1320px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.65);
  --shadow-glow-cyan: 0 0 30px var(--accent-cyan-glow);
  --shadow-glow-gold: 0 0 30px var(--accent-gold-glow);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 15% 15%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, #070b14 0%, #0a1122 50%, #05080f 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Section Header Styling */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid var(--border-accent);
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.section-tag.gold {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  border-color: var(--border-gold);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-description {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Header & Navigation Bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 70px;
  background: rgba(7, 11, 20, 0.92);
  border-bottom-color: rgba(0, 229, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00e5ff 0%, #0077b6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--accent-cyan-glow);
  color: #070b14;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-title span {
  color: var(--accent-cyan);
}

.logo-badge {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 0.9rem 1.9rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0284c7 100%);
  color: #070b14;
  box-shadow: 0 4px 15px var(--accent-cyan-glow);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.5);
  color: #000000;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d97706 100%);
  color: #070b14;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #000000;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline-cyan {
  background: rgba(0, 229, 255, 0.05);
  color: var(--accent-cyan);
  border-color: var(--border-accent);
}

.btn-outline-cyan:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: rgba(245, 158, 11, 0.05);
  color: var(--accent-gold-light);
  border-color: var(--border-gold);
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px var(--accent-gold-glow);
  transform: translateY(-2px);
}

/* High-Impact Fotostep CTA Button */
.btn-fotostep-cta {
  background: linear-gradient(135deg, #00f0ff 0%, #0088ff 100%);
  color: #040814 !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5), 0 4px 15px rgba(0, 119, 255, 0.3);
  position: relative;
  overflow: hidden;
  animation: pulseCtaGlow 2.5s infinite ease-in-out;
}

.btn-fotostep-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: shineCta 3.5s infinite ease-in-out;
}

.btn-fotostep-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.85), 0 6px 22px rgba(0, 119, 255, 0.6);
  color: #000000 !important;
}

@keyframes pulseCtaGlow {
  0%, 100% {
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.45), 0 4px 15px rgba(0, 119, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.8), 0 4px 25px rgba(0, 229, 255, 0.5);
  }
}

@keyframes shineCta {
  0% { left: -100%; }
  20%, 100% { left: 200%; }
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: var(--transition-fast);
}

/* Floating Quick Navigation / Pill Menu */
.quick-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.5rem 0;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.pill-item:hover {
  color: #ffffff;
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.pill-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

/* Pioneer Milestone / History Box */
.pioneer-section {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 21, 39, 0.6) 50%, transparent 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pioneer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.pioneer-text h3 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.pioneer-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.pioneer-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pioneer-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: transform var(--transition-fast);
}

.highlight-box:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
}

.highlight-box .hl-year {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 0.25rem;
}

.highlight-box .hl-year.gold {
  color: var(--accent-gold);
}

.highlight-box .hl-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.highlight-box .hl-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pioneer-visual-card {
  position: relative;
  background: radial-gradient(circle at center, #1b2848 0%, #0c1426 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 229, 255, 0.1);
  padding: 2rem;
  overflow: hidden;
}

.pioneer-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0, 229, 255, 0.08) 60deg, transparent 120deg);
  animation: rotateGlow 15s linear infinite;
  pointer-events: none;
}

@keyframes rotateGlow {
  100% { transform: rotate(360deg); }
}

.cd-interactive-mockup {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cd-disc-wrapper {
  width: 220px;
  height: 220px;
  margin: 0 auto 1.5rem;
  position: relative;
  animation: spinSlow 20s linear infinite;
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.35);
}

@keyframes spinSlow {
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Press & Special Investigation Report Section (.press-feature-section)
   ========================================================================== */
.press-feature-section {
  padding: 4.5rem 0;
  position: relative;
  background: linear-gradient(180deg, rgba(13, 21, 39, 0.6) 0%, rgba(7, 11, 20, 0.9) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.press-feature-card {
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 60%),
              var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
}

.press-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-cyan) 100%);
}

.press-feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.press-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold-light);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.press-feature-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
}

.press-feature-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.press-key-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.press-key-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.press-key-points li svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--accent-gold);
}

.press-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.press-preview-box {
  position: relative;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.press-preview-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 229, 255, 0.2);
  border-color: rgba(0, 229, 255, 0.4);
}

.press-preview-cover {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f172a;
}

.press-preview-cover img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.press-preview-badge-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.9);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.press-preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .press-feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .press-feature-card {
    padding: 2rem 1.5rem;
  }
}


/* Footer & Ecosystem */
.site-footer {
  background: #04060b;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin: 1.25rem 0;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}
