/*
 * NeuroGen Agency - Main Stylesheet
 * Optimized for performance and maintainability
 * Version: 1.0
 */

/* ==========================================
   CSS VARIABLES (DESIGN TOKENS)
   ========================================== */
:root {
  /* Colors */
  --bg-dark: #0B1020;
  --bg-light: #F4F5FB;
  --primary: #00F5FF;
  --primary-dark: #00D4E0;
  --accent: #4F46E5;
  --text-main: #111827;
  --text-muted: #374151;
  --border-subtle: #E5E7EB;
  
  /* Spacing & Layout */
  --radius: 10px;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.35);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================
   LAYOUT CONTAINERS
   ========================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: flex-start;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 32, 0.98);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.logo {
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  transition: var(--transition);
}

.logo:hover {
  transform: translateX(-2px);
}

.logo span {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  padding: 8px 16px;
  font-size: 14px;
  color: #e5e7eb;
  opacity: 0.85;
  transition: var(--transition);
  border-radius: 6px;
}

nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

nav a.active {
  opacity: 1;
  background: rgba(0, 245, 255, 0.12);
  color: var(--primary);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00F5FF 0%, #00D4E0 100%);
  color: #0B1020;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 1.5px solid rgba(203, 213, 225, 0.5);
  color: #E5E7EB;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0, 245, 255, 0.1);
  border-color: var(--primary);
}

.btn-large {
  padding: 18px 48px;
  font-size: 18px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(79, 70, 229, 0.2), transparent 50%),
    linear-gradient(180deg, var(--bg-dark) 0%, #0a0e1a 100%);
  color: #ffffff;
  padding: 100px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.5), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 50px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 245, 255, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(0, 245, 255, 0.2);
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 720px;
}

.hero h1 span {
  color: var(--primary);
  text-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

.hero-subtitle {
  font-size: 19px;
  color: #E5E7EB;
  margin-bottom: 16px;
  line-height: 1.7;
  max-width: 720px;
}

.hero-punchline {
  font-size: 16px;
  color: #E5E7EB;
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.6;
  max-width: 720px;
}

.hero-not-doing {
  font-size: 14px;
  color: #CBD5E1;
  margin-bottom: 20px;
  font-style: italic;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.badge {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #E5E7EB;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.badge:hover {
  border-color: var(--primary);
  background: rgba(0, 245, 255, 0.1);
  transform: translateY(-2px);
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0 10px 0;
  font-size: 14px;
  color: #A5F3FC;
  line-height: 1.8;
}

.hero-benefits li::before {
  content: "✔  ";
  color: var(--primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.7;
  max-width: 720px;
}

.hero-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 245, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 245, 255, 0.4);
}

.hero-card h3 {
  font-size: 17px;
  margin-bottom: 14px;
  color: #E5E7EB;
}

.hero-card ul {
  list-style: none;
  font-size: 14px;
  color: #CBD5E1;
}

.hero-card li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.hero-card li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-size: 18px;
}

.hero-card-cta {
  margin-top: 18px;
  font-size: 14px;
  color: #A5F3FC;
}
/* Guarantee Box in Hero */
.guarantee-box {
  background: rgba(0, 245, 255, 0.05);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: #A5F3FC;
  margin-top: 16px;
}

.guarantee-icon {
  font-size: 20px;
}

/* Highlight Card (Risk Reversal) */
.highlight-card {
  border-left: 4px solid var(--primary);
  background: linear-gradient(to right, rgba(0, 245, 255, 0.05), transparent);
}
/* ==========================================
   SECTION UTILITIES
   ========================================== */
.section-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.2), transparent);
  margin: 40px 0;
}

.section-title {
  font-size: 34px;
  margin-bottom: 14px;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.section-light {
  background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
}

.section-dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0e1a 100%);
  color: #E5E7EB;
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.3), transparent);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-dark .section-subtitle {
  color: #CBD5E1;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 22px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 245, 255, 0.3);
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.card-dark {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(10px);
}

.card-dark:hover {
  border-color: rgba(0, 245, 255, 0.5);
  background: rgba(15, 23, 42, 0.95);
}

.card-dark h3 {
  color: #E5E7EB;
}

.card-dark p {
  color: #CBD5E1;
}

/* ==========================================
   LISTS
   ========================================== */
.list-check,
.list-x {
  list-style: none;
  font-size: 15px;
  color: var(--text-muted);
}

.list-check li,
.list-x li {
  margin-bottom: 10px;
  line-height: 1.6;
  padding-left: 26px;
  position: relative;
}

.list-check li::before {
  content: "✔";
  color: #059669;
  font-weight: 600;
  position: absolute;
  left: 0;
}

.list-x li::before {
  content: "✖";
  color: #DC2626;
  font-weight: 600;
  position: absolute;
  left: 0;
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  margin-top: 12px;
}

.pill {
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  color: #4B5563;
  background: #ffffff;
  transition: var(--transition);
}

.pill:hover {
  border-color: var(--primary);
  background: rgba(0, 245, 255, 0.05);
}

/* ==========================================
   STEPS
   ========================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.step {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  transition: var(--transition);
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.step span {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--text-main);
}

.step p {
  margin-top: 6px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid #E5E7EB;
}

.faq-q {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.faq-a {
  display: block !important;
  margin-top: 8px;
  padding-left: 16px;
  padding-top: 4px;
  padding-bottom: 4px;
  border-left: 3px solid var(--primary);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pulsing Dot for "Live" feel */
.pulsing-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================
   PROFILE SECTION
   ========================================== */
.profile-section {
  padding-top: 40px;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px;
  align-items: center;
}

.profile-image {
  border-radius: 12px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(0, 245, 255, 0.2);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: linear-gradient(180deg, #020617 0%, #000000 100%);
  color: #9CA3AF;
  font-size: 14px;
  padding: 32px 0;
  border-top: 1px solid rgba(0, 245, 255, 0.1);
}

footer a {
  color: var(--primary);
  transition: var(--transition);
}

footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.footer-tagline {
  text-align: center;
  margin-bottom: 24px;
  font-size: 13px;
  color: #94A3B8;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .steps,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-top: 30px;
  }

  .profile-image {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  header .inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 70px 0 60px 0;
  }

  section {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .section-title {
    font-size: 28px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ==========================================
   PRINT STYLES (Optional but recommended)
   ========================================== */
@media print {
  header,
  footer,
  .btn,
  .hero-card {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  .section-dark {
    background: #fff;
    color: #000;
  }
}

/* ==========================================
   HOMEPAGE: INDUSTRY CARDS GRID
   ========================================== */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.industry-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 245, 255, 0.3);
}

.industry-card.active {
  background: radial-gradient(circle at top, rgba(0, 245, 255, 0.08), #ffffff 55%);
  border-color: rgba(0, 245, 255, 0.6);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  transform: translateY(-4px);
}

.industry-card.active .industry-icon {
  text-shadow: 0 0 18px rgba(0, 245, 255, 0.6);
}

.industry-card.active h3 {
  color: #0f172a;
}

.industry-card.active:hover {
  border-color: var(--primary);
}

.industry-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.industry-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-main);
  min-height: 44px; /* Ensure consistent height */
}

.industry-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.industry-card .btn {
  margin-top: auto;
  width: 100%;
}

.industry-card .btn-disabled {
  background: #E5E7EB;
  color: #6B7280;
  cursor: not-allowed;
  box-shadow: none;
}

.industry-card .btn-disabled:hover {
  transform: none;
  background: #E5E7EB;
}

/* ==========================================
   HOMEPAGE: TRUST BADGES
   ========================================== */

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.trust-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 245, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(0, 245, 255, 0.2);
}

.trust-badge-icon {
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-badge-text {
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.6;
}

/* ==========================================
   RESPONSIVE: INDUSTRY CARDS
   ========================================== */

@media (max-width: 1100px) {
  .industries-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    min-height: auto;
  }
}

/* Smaller button for Industry cards to prevent visual clutter */
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  margin-top: auto;
  width: 100%;
  text-align: center;
}

/* Fade in animation for smoother scrolling experience */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}

/* Bonus Box styling in Hero */
.bonus-box {
  font-size: 13px;
  color: #A5F3FC;
  background: rgba(0, 245, 255, 0.05);
  border-radius: 6px;
  padding: 12px;
  margin-top: 15px;
}

/* Make the mobile experience better for industry cards */
@media (max-width: 480px) {
  .industry-card {
    min-height: auto; 
    padding: 20px 16px;
  }
  
  /* Ensure CTA is large enough on mobile */
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    padding: 16px;
  }
}

/* ==========================================
   MOBILE OPTIMIZATIONS
   ========================================== */

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 16, 32, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

@media (max-width: 640px) {
  .mobile-sticky-cta {
    display: block;
  }
  
  /* Add padding to body so footer doesn't cover content */
  body {
    padding-bottom: 70px;
  }

  /* Hide desktop nav button to reduce clutter */
  .desktop-only-btn {
    display: none;
  }

  .hero h1 {
    font-size: 32px; /* Prevent wrapping issues on small screens */
  }
  
  .profile-image {
    width: 100%;
    height: auto;
  }
}