/* -------------------------
   Base reset & variables
-------------------------- */
:root {
  --bg: #0f172a;
  --bg-muted: #1e293b;
  --bg-card: rgba(30, 41, 59, 0.7);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-soft: rgba(59, 130, 246, 0.15);
  --secondary: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-bg: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border: 1px solid rgba(255, 255, 255, 0.08);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

.alt {
  background: var(--bg-muted);
  position: relative;
}

.alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* -------------------------
   Typography
-------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-soft);
  border-radius: 100px;
}

.eyebrow-icon {
  font-size: 0.9rem;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 800px;
  color: var(--text-muted);
}

.small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* -------------------------
   Navigation
-------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.nav-button {
  background: var(--accent);
  color: white !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 100px;
  font-weight: 600 !important;
}

.nav-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* -------------------------
   Hero (Updated)
-------------------------- */
.hero {
  padding: 4rem 0;
  background: var(--bg);
  position: relative;
}

.hero .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  background: none;
  padding: 0;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 36em;
}

.hero-points {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-points li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  padding-left: 0;
}

.hero-points li::before {
  content: "";
  display: none;
}

/* -------------------------
   Essay Section (Updated Problem Section)
-------------------------- */
.essay-section {
  padding: 4rem 0;
}

.essay-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.essay-section h2 {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 2.5rem;
  color: var(--text);
  font-style: italic;
  position: relative;
}

.essay-section h2::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  width: 4px;
  height: 1.2em;
  background: var(--text-muted);
  opacity: 0.3;
}

.essay-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.essay-content p {
  margin-bottom: 2rem;
  color: var(--text);
  max-width: 100%;
  text-align: left;
}

.essay-content p:first-of-type::first-line {
  font-variant: small-caps;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.essay-content p:last-of-type {
  margin-bottom: 0;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  font-style: italic;
  color: var(--text-muted);
}

/* -------------------------
   Cards
-------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  border: var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  margin-top: 1.5rem;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-features li i {
  color: var(--success);
}

/* -------------------------
   Audience Section
-------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.audience-column {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  border: var(--border);
}

.for-column {
  border-top: 4px solid var(--success);
}

.notfor-column {
  border-top: 4px solid var(--danger);
}

.audience-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.audience-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.audience-icon.positive {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.audience-icon.negative {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.audience-list {
  list-style: none;
}

.audience-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.audience-list li:last-child {
  border-bottom: none;
}

.audience-list li i {
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 0.25rem;
}

.audience-list li div {
  flex: 1;
}

.audience-list li strong {
  display: block;
  margin-bottom: 0.25rem;
}

.audience-list li span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* -------------------------
   Access Section
-------------------------- */
.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.access-features {
  margin-top: 2rem;
}

.access-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.access-feature i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 0.25rem;
}

.form-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  border: var(--border);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-card h3 i {
  color: var(--accent);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: var(--border);
  border-radius: var(--border-radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.full-width {
  width: 100%;
}

.access-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* -------------------------
   Footer (Updated)
-------------------------- */
footer {
  background: #0a0f1f;
  padding: 4rem 0 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  max-width: 120px;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-column h4 {
  color: var(--text);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.link-column a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.link-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.experience-line {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  margin: 0.5rem 0 1.5rem;
  max-width: 500px;
  line-height: 1.4;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------
   Animations & Utilities
-------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------
   Responsive Design
-------------------------- */
@media (max-width: 992px) {
  .hero-content,
  .split,
  .access-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .cards,
  .problem-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .essay-container {
    padding: 0 1.5rem;
  }
  
  .essay-section h2::before {
    left: -1rem;
  }
  
  .essay-content {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .card,
  .audience-column,
  .form-card {
    padding: 1.5rem;
  }
}