/* Solixar Digital - Shared Styles */

:root {
  --primary-color: #007AFF;
  --primary-dark: #0056b3;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #fff;
  --bg-light: #f8f9fa;
  --border-color: #e5e5ea;
  --success-color: #34C759;
  --warning-color: #FF9500;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header */
header {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

header .container-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}

.logo:hover {
  color: var(--primary-color);
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
}

nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* App Hero (gold theme for Prospector's Helper) */
.hero-gold {
  background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
}

/* Page Title */
.page-title {
  text-align: center;
  padding: 60px 20px 40px;
  border-bottom: 1px solid var(--border-color);
}

.page-title h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-title .subtitle {
  color: var(--text-light);
  font-size: 1rem;
}

/* Content */
.content {
  padding: 40px 20px;
}

.content h2 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
  color: var(--text-color);
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
}

.content p {
  margin-bottom: 16px;
  color: var(--text-color);
}

.content ul, .content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.content li {
  margin-bottom: 8px;
}

.content a {
  color: var(--primary-color);
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Support Page */
.support-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-bottom: 32px;
}

.support-card h2 {
  margin-top: 0;
}

.support-email {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  padding: 40px 20px;
  margin-top: 60px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer p {
  color: var(--text-light);
  font-size: 0.9rem;
}

footer nav a {
  margin-left: 16px;
  font-size: 0.9rem;
}

/* Legal Documents */
.legal-doc {
  max-width: 700px;
}

.legal-doc .effective-date {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 32px;
}

/* ================================
   Prospector's Helper Landing Page
   ================================ */

/* App-specific color variables */
.app-prospector {
  --app-orange: #F5A623;
  --app-gold: #FFD700;
  --app-dark: #1C1C1E;
  --app-green: #34C759;
  --app-gradient: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
}

/* Enhanced Hero */
.hero-app {
  padding: 60px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero-app .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-app .hero-text {
  text-align: left;
}

.hero-app .hero-text h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-app .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-app .tagline {
  font-size: 1.35rem;
  opacity: 0.95;
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-app .hero-phones {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-app .phone-mockup {
  max-width: 200px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) rotateY(-5deg);
}

.hero-app .phone-mockup:last-child {
  transform: perspective(1000px) rotateY(5deg);
}

/* App Store Badges */
.app-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}

.app-badge:hover {
  transform: scale(1.05);
  background: #333;
}

.app-badge svg {
  width: 24px;
  height: 24px;
}

.app-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-badge .badge-small {
  font-size: 0.65rem;
  opacity: 0.8;
}

.app-badge .badge-large {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Screenshot Showcase */
.screenshot-showcase {
  background: var(--app-dark);
  padding: 80px 20px;
  overflow: hidden;
}

.screenshot-showcase h2 {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 48px;
}

.screenshot-scroll {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.screenshot-scroll img {
  height: 400px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.screenshot-scroll img:hover {
  transform: scale(1.05);
}

/* Feature Sections */
.feature-section {
  padding: 80px 20px;
}

.feature-section:nth-child(even) {
  background: var(--bg-light);
}

.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-section:nth-child(odd) .feature-grid {
  direction: rtl;
}

.feature-section:nth-child(odd) .feature-grid > * {
  direction: ltr;
}

.feature-text h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--text-color);
}

.feature-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.feature-image {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.feature-image img {
  max-height: 450px;
  width: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Premium Section */
.premium-section {
  background: linear-gradient(135deg, #1C1C1E 0%, #2C2C2E 100%);
  padding: 80px 20px;
  position: relative;
}

.premium-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F5A623, #FFD700, #F5A623);
}

.premium-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.premium-section h2 {
  color: #FFD700;
  font-size: 2rem;
  margin-bottom: 16px;
}

.premium-section .premium-subtitle {
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.premium-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.premium-feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 24px;
  color: #fff;
}

.premium-feature .feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.premium-feature h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #FFD700;
}

.premium-feature p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

.pricing-options {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.price-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 32px;
  min-width: 200px;
}

.price-card.featured {
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.1);
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.price-card .period {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.price-card .trial {
  color: #34C759;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* CTA Section */
.cta-section {
  background: var(--app-gradient);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-section .app-badges {
  justify-content: center;
}

/* About Section with bullets */
.about-section {
  padding: 80px 20px;
  background: #fff;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-list .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
}

/* Links Section */
.links-section {
  padding: 60px 20px;
  background: var(--bg-light);
}

.links-section h2 {
  text-align: center;
  margin-bottom: 24px;
}

.links-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.links-grid a {
  color: var(--primary-color);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s;
}

.links-grid a:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 16px;
  }

  nav a {
    margin: 0 12px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer nav {
    margin-top: 16px;
  }

  footer nav a {
    margin: 0 8px;
  }

  /* Prospector's Helper responsive */
  .hero-app .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-app .hero-text {
    text-align: center;
  }

  .hero-app .hero-text h1 {
    font-size: 2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-app .app-icon {
    width: 56px;
    height: 56px;
  }

  .hero-app .tagline {
    font-size: 1.1rem;
  }

  .hero-app .hero-phones {
    order: -1;
  }

  .hero-app .phone-mockup {
    max-width: 140px;
  }

  .app-badges {
    justify-content: center;
  }

  .screenshot-scroll img {
    height: 280px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-section:nth-child(odd) .feature-grid {
    direction: ltr;
  }

  .feature-image img {
    max-height: 350px;
  }

  .premium-features {
    grid-template-columns: 1fr;
  }

  .pricing-options {
    flex-direction: column;
    align-items: center;
  }

  .price-card {
    width: 100%;
    max-width: 280px;
  }
}

/* Coming Soon Banner */
.coming-soon-banner {
  background: linear-gradient(90deg, #F5A623, #FFD700);
  color: #1C1C1E;
  text-align: center;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  margin: 0 0 16px;
  color: #F5A623;
  font-size: 1.75rem;
}

.modal-content p {
  color: #666;
  margin-bottom: 16px;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
}

.modal-close:hover {
  color: #333;
}

/* ================================
   Cortex Collapse Landing Page
   ================================ */

.app-cortex {
  --cortex-bg: #0a0a14;
  --cortex-cyan: #00ffff;
  --cortex-magenta: #ff00ff;
  --cortex-yellow: #ffff00;
  --cortex-red: #ff0040;
  --cortex-text: #e0e0e0;
  --cortex-text-dim: #888;
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cortex-bg);
  color: var(--cortex-text);
}

.app-cortex h1,
.app-cortex h2,
.app-cortex h3 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Dark Header */
.header-dark {
  background: rgba(10, 10, 20, 0.95);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.header-dark .logo {
  color: var(--cortex-cyan);
}

.header-dark .logo:hover {
  color: var(--cortex-magenta);
}

/* Cortex Coming Soon Banner */
.cortex-banner {
  background: linear-gradient(90deg, var(--cortex-magenta), var(--cortex-cyan));
  color: var(--cortex-bg);
}

/* Scanlines Effect */
.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1) 0px,
    rgba(0, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 1;
}

/* Cortex Hero */
.cortex-hero {
  background: var(--cortex-bg);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 255, 255, 0.15) 0%, transparent 50%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.cortex-hero .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cortex-hero .hero-text {
  text-align: left;
}

.cortex-hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-shadow: 0 0 20px var(--cortex-cyan), 0 0 40px var(--cortex-magenta);
}

.cortex-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 0 20px var(--cortex-cyan);
}

.cortex-hero .tagline {
  font-size: 1.5rem;
  color: var(--cortex-cyan);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cortex-hero .subtitle {
  font-size: 1.1rem;
  color: var(--cortex-text-dim);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cortex-hero .hero-visual {
  display: flex;
  justify-content: center;
}

.placeholder-art {
  width: 300px;
  height: 400px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
  border: 2px dashed var(--cortex-cyan);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cortex-cyan);
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
}

/* Cortex App Badges */
.cortex-badge {
  background: transparent;
  border: 2px solid var(--cortex-cyan);
  color: var(--cortex-cyan);
}

.cortex-badge:hover {
  background: var(--cortex-cyan);
  color: var(--cortex-bg);
  box-shadow: 0 0 20px var(--cortex-cyan);
}

/* Cortex Sections */
.cortex-section {
  padding: 80px 20px;
  background: var(--cortex-bg);
}

.cortex-container {
  max-width: 1100px;
  margin: 0 auto;
}

.cortex-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 0 10px var(--cortex-cyan);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--cortex-text-dim);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Feature Cards */
.feature-grid-cortex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card-cortex {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
}

.feature-card-cortex:hover {
  border-color: var(--cortex-cyan);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
  transform: translateY(-4px);
}

.feature-icon-cortex {
  margin-bottom: 16px;
}

.neon-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 8px var(--cortex-cyan));
}

.feature-card-cortex h3 {
  font-size: 1.1rem;
  color: var(--cortex-cyan);
  margin-bottom: 8px;
}

.feature-card-cortex p {
  color: var(--cortex-text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Screenshots Section */
.cortex-screenshots {
  background: linear-gradient(180deg, var(--cortex-bg) 0%, #0f0f1a 100%);
  padding: 80px 20px;
}

.cortex-screenshots h2 {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 48px;
  text-shadow: 0 0 10px var(--cortex-magenta);
}

.screenshot-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.screenshot-placeholder {
  width: 200px;
  height: 360px;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
  border: 2px dashed var(--cortex-magenta);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cortex-magenta);
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

/* Districts Section */
.cortex-districts {
  background: #0f0f1a;
}

.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.district-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.district-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.district-visual {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.district-visual.neon-heights {
  background: linear-gradient(135deg, #1a3a5c, #0d1f33);
  border-bottom: 2px solid var(--cortex-cyan);
}

.district-visual.undercity {
  background: linear-gradient(135deg, #2d1f3d, #1a0f25);
  border-bottom: 2px solid var(--cortex-magenta);
}

.district-visual.sector-7g {
  background: linear-gradient(135deg, #3d2f1a, #251c0f);
  border-bottom: 2px solid var(--cortex-yellow);
}

.district-visual.the-spire {
  background: linear-gradient(135deg, #1f2d3d, #0f1a25);
  border-bottom: 2px solid #fff;
}

.district-visual.dead-zone {
  background: linear-gradient(135deg, #3d1f1f, #250f0f);
  border-bottom: 2px solid var(--cortex-red);
}

.district-card h3 {
  font-size: 1rem;
  color: #fff;
  padding: 16px 16px 8px;
  margin: 0;
}

.district-card p {
  font-size: 0.85rem;
  color: var(--cortex-text-dim);
  padding: 0 16px 16px;
  margin: 0;
  line-height: 1.5;
}

/* CTA Section */
.cortex-cta {
  background: var(--cortex-bg);
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(255, 0, 255, 0.2) 0%, transparent 60%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.cortex-cta h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 0 20px var(--cortex-magenta);
}

.cortex-cta p {
  font-size: 1.25rem;
  color: var(--cortex-text-dim);
  margin-bottom: 32px;
}

.cortex-cta .app-badges {
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Links Section */
.cortex-links {
  background: #0a0a14;
  padding: 60px 20px;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.cortex-links h2 {
  text-align: center;
  font-family: 'Orbitron', monospace;
  color: #fff;
  margin-bottom: 24px;
}

.cortex-links .links-grid a {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: var(--cortex-cyan);
}

.cortex-links .links-grid a:hover {
  background: var(--cortex-cyan);
  border-color: var(--cortex-cyan);
  color: var(--cortex-bg);
}

/* Dark Footer */
.footer-dark {
  background: #050508;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.footer-dark p,
.footer-dark nav a {
  color: var(--cortex-text-dim);
}

.footer-dark nav a:hover {
  color: var(--cortex-cyan);
}

/* Cortex Modal */
.modal-cortex .modal-content-cortex {
  background: #1a1a2e;
  border: 1px solid var(--cortex-cyan);
}

.modal-content-cortex h2 {
  color: var(--cortex-cyan);
  font-family: 'Orbitron', monospace;
}

.modal-content-cortex p {
  color: var(--cortex-text-dim);
}

.modal-content-cortex .modal-close {
  color: var(--cortex-text-dim);
}

.modal-content-cortex .modal-close:hover {
  color: var(--cortex-cyan);
}

.btn-cortex {
  background: var(--cortex-cyan);
  color: var(--cortex-bg);
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-cortex:hover {
  box-shadow: 0 0 20px var(--cortex-cyan);
  transform: scale(1.05);
}

/* Cortex Responsive */
@media (max-width: 768px) {
  .cortex-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cortex-hero .hero-text {
    text-align: center;
  }

  .cortex-hero h1 {
    font-size: 2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .cortex-hero .tagline {
    font-size: 1.1rem;
  }

  .cortex-hero .hero-visual {
    order: -1;
  }

  .placeholder-art {
    width: 200px;
    height: 280px;
  }

  .cortex-section h2,
  .cortex-screenshots h2,
  .cortex-cta h2 {
    font-size: 1.5rem;
  }

  .feature-grid-cortex {
    grid-template-columns: 1fr;
  }

  .screenshot-placeholder {
    width: 150px;
    height: 270px;
  }

  .districts-grid {
    grid-template-columns: 1fr 1fr;
  }
}
