/* ==============================================
   Soaprender — styles.css
   Aprender Asesoria Y Consultoria Para El Desarrollo Humano Ips Sas
   NIT: 900417889
   ============================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a24;
  --bg-elevated: #22222e;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7a;
  --accent-main: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand-logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-menu {
  display: flex;
  gap: 2.5rem;
}
.main-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}
.main-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.25s ease;
}
.main-menu a:hover { color: var(--text-primary); }
.main-menu a:hover::after { width: 100%; }

.header-action {
  background: var(--accent-gradient);
  color: var(--text-primary);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

@media (max-width: 900px) {
  .main-menu { display: none; }
}

/* ========== HERO ========== */
.main-hero {
  padding: calc(72px + clamp(4rem, 10vw, 8rem)) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 10vw, 8rem);
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 100vh;
}

@media (max-width: 1024px) {
  .main-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
    padding-top: calc(72px + 3rem);
  }
}

.hero-badge {
  display: inline-block;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-main);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

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

.hero-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.primary-btn {
  background: var(--accent-gradient);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.ghost-btn {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.ghost-btn:hover {
  background: var(--glass);
  border-color: var(--accent-main);
}

.outline-btn {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.outline-btn:hover {
  background: var(--glass);
  border-color: var(--text-secondary);
}

.full-width { width: 100%; }

/* ========== HERO METRICS ========== */
.hero-metrics {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.metrics-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.metric-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.metric-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-main);
}

.metric-item.featured-metric {
  background: var(--accent-gradient);
  border: none;
}
.metric-item.featured-metric .metric-label { color: rgba(255,255,255,0.8); }

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== CONTENT BLOCKS ========== */
.content-block {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.dark-block {
  background: var(--bg-secondary);
  max-width: none;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.dark-block > * { max-width: 1400px; margin-left: auto; margin-right: auto; }

.light-block {
  background: var(--bg-card);
  max-width: none;
}
.light-block > * { max-width: 1400px; margin-left: auto; margin-right: auto; }

.block-header {
  margin-bottom: 3rem;
}

.block-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-main);
  margin-bottom: 1rem;
}

.block-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.block-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ========== PROCESS FLOW ========== */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
}

@media (max-width: 1024px) {
  .process-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .process-flow { grid-template-columns: 1fr; }
}

.flow-step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border-subtle);
  position: relative;
  transition: background 0.25s ease;
}
.flow-step:last-child { border-right: none; }
.flow-step:hover { background: var(--bg-elevated); }

@media (max-width: 1024px) {
  .flow-step:nth-child(2) { border-right: none; }
  .flow-step:nth-child(1), .flow-step:nth-child(2) { border-bottom: 1px solid var(--border-subtle); }
}
@media (max-width: 640px) {
  .flow-step { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .flow-step:last-child { border-bottom: none; }
}

.flow-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.flow-step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.flow-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.flow-chip {
  display: inline-block;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.flow-chip.success-chip {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--success);
}

/* ========== ANALYSIS INTRO ========== */
.analysis-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .analysis-intro { grid-template-columns: 1fr; gap: 1.5rem; }
}

.info-callout {
  background: var(--glass);
  border-left: 3px solid var(--accent-main);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  line-height: 1.7;
}
.info-callout strong { color: var(--text-primary); }

/* ========== DATA TABLE ========== */
.data-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--bg-card);
}

.data-table thead th {
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s ease;
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: var(--bg-elevated); }

.data-table tbody tr.highlighted-row {
  background: rgba(99, 102, 241, 0.08);
}
.data-table tbody tr.highlighted-row:hover {
  background: rgba(99, 102, 241, 0.12);
}

.data-table td {
  padding: 1.25rem;
  vertical-align: middle;
}

.provider-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.provider-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.provider-domain {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.top-badge {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--text-primary);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.alt-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.5rem;
}

.status-icon { font-size: 0.9rem; }
.status-icon.positive { color: var(--success); }
.status-icon.negative { color: var(--danger); }
.status-icon.partial { color: var(--warning); }

.rating-display {
  color: var(--warning);
  font-size: 0.85rem;
  letter-spacing: -1px;
}
.rating-display .empty-star { color: var(--text-muted); opacity: 0.3; }

.table-link {
  display: inline-block;
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid var(--border-subtle);
}
.table-link:hover {
  background: var(--glass);
  border-color: var(--accent-main);
}
.table-link.primary-link {
  background: var(--accent-gradient);
  border: none;
}
.table-link.primary-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* ========== PROVIDERS GRID ========== */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.provider-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.provider-card.featured-card {
  border-color: var(--accent-main);
  border-width: 2px;
  box-shadow: var(--shadow-glow);
}

.card-ribbon {
  background: var(--accent-gradient);
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-top {
  padding: 1.75rem 1.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-subtle);
}

.card-identity h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}
.card-identity span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-rating {
  text-align: right;
}
.rating-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rating-max {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-content {
  padding: 1.75rem;
}

.features-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.features-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.features-checklist li span:first-child { flex-shrink: 0; }

.check-positive { color: var(--success); }
.check-negative { color: var(--danger); }
.check-partial { color: var(--warning); }

.card-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}
.pricing-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.pricing-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ========== TIPS LAYOUT ========== */
.tips-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tip-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tip-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-main);
}

.tip-symbol {
  font-size: 2rem;
  margin-bottom: 1rem;
  filter: grayscale(0.2);
}

.tip-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.tip-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.tip-item p strong { color: var(--text-primary); }

/* ========== FAQ ========== */
.faq-container {
  max-width: 800px;
}

.faq-entry {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-entry:first-child {
  border-top: 1px solid var(--border-subtle);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  list-style: none;
  gap: 1.5rem;
  color: var(--text-primary);
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--accent-main); }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
details[open] .faq-question::after {
  transform: rotate(45deg);
  color: var(--accent-main);
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-bottom: 1.5rem;
  line-height: 1.75;
  max-width: 700px;
}
.faq-answer strong { color: var(--text-primary); }

/* ========== LEGAL NOTICE ========== */
.legal-notice {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.legal-notice strong { color: var(--text-primary); }

/* ========== ABOUT LAYOUT ========== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; }
}

.about-card-info {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.about-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-main);
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-card-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.about-nit {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-card-info > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about-contact-info {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.contact-icon {
  color: var(--accent-main);
  font-size: 1.1rem;
}
.contact-line a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.contact-line a:hover { color: var(--accent-main); }
.contact-line span { color: var(--text-secondary); }

.about-extras {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.about-box h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.about-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== FLOATING BAR ========== */
.floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 1rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}
.floating-bar.visible { transform: translateY(0); }
.floating-bar p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.floating-bar p strong { color: var(--text-primary); }

@media (max-width: 640px) {
  .floating-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.25rem;
  }
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem clamp(1.5rem, 5vw, 4rem) 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.footer-logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 320px;
}

.footer-links h5 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-links ul a:hover { color: var(--text-primary); }

.footer-bottom-bar {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== INTERNAL PAGES ========== */
.page-header {
  padding: calc(72px + clamp(3rem, 6vw, 5rem)) clamp(1.5rem, 5vw, 4rem) 2rem;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-subtle);
}
.page-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
}
.page-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.page-content ul {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.page-content a { color: var(--accent-main); }

/* ========== ANIMATIONS ========== */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-up.visible {
  opacity: 1;
  transform: none;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ========== SELECTION ========== */
::selection {
  background: var(--accent-main);
  color: var(--text-primary);
}
