/* ============================================
   EDUCATION PAGE STYLES
   ============================================ */

/* Navbar Contextual */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 164, 91, 0.1);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted, #aba89f);
}

.breadcrumb a {
  color: var(--muted, #aba89f);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent, #c7a45b);
}

.breadcrumb .active {
  color: var(--text, #fffdf7);
  font-weight: 500;
}

.breadcrumb span:not(.active) {
  color: var(--muted, #aba89f);
  opacity: 0.5;
}

.btn-header {
  padding: 0.5rem 1.25rem;
  background: var(--accent, #c7a45b);
  color: #0a0a0f;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.btn-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(199, 164, 91, 0.3);
}

/* Hero Section */
.edu-hero {
  padding: 120px 32px 80px;
  background: linear-gradient(180deg, rgba(10, 10, 15, 1) 0%, rgba(15, 15, 25, 0.98) 100%);
  text-align: center;
}

.edu-hero .hero-content {
  max-width: 900px;
  margin: 0 auto 4rem;
  animation: fadeSlideUp 0.8s ease-out;
}

.edu-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text, #fffdf7);
}

.edu-hero .hero-lead {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--muted, #aba89f);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.edu-hero .btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent, #c7a45b);
  color: #0a0a0f;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.edu-hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(199, 164, 91, 0.4);
}

.edu-hero .hero-microcopy {
  font-size: 0.875rem;
  color: var(--muted, #aba89f);
  font-style: italic;
}

/* Hero Visual Split Section */
.edu-hero-visual {
  padding: 40px 32px 60px;
  background: linear-gradient(180deg, rgba(15, 15, 25, 0.98) 0%, rgba(10, 10, 15, 1) 100%);
}

/* Hero Visual Split */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
}

.visual-item {
  padding: 2rem;
  border-radius: 12px;
  background: rgba(20, 20, 30, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.visual-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.visual-item.old-method:hover {
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.15);
}

.visual-item.gi-method:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.15);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.badge-red {
  background: rgba(220, 38, 38, 0.15);
  color: #DC2626;
  animation: pulseBadge 2s ease-in-out;
}

.badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  animation: pulseBadge 2s ease-in-out;
}

.visual-icon {
  font-size: 3rem;
  margin: 1rem 0;
}

.visual-item p {
  color: var(--text, #fffdf7);
  font-weight: 500;
  margin: 0;
}

.visual-divider {
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--accent, #c7a45b), transparent);
  margin: 0 auto;
}

/* Context Section */
.edu-context {
  padding: 80px 32px;
  background: rgba(15, 15, 25, 0.95);
  text-align: center;
}

.context-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.edu-context h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 1.5rem;
  color: var(--text, #fffdf7);
}

.edu-context p {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--muted, #aba89f);
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

/* Demo Section */
.edu-demo {
  padding: 100px 32px;
  background: rgba(10, 10, 15, 1);
}

.edu-demo h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 4rem;
  color: var(--text, #fffdf7);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-col {
  padding: 2.5rem;
  border-radius: 16px;
  background: rgba(20, 20, 30, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.demo-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.demo-col.old-method:hover {
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.2);
}

.demo-col.gi-method:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.2);
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.demo-header h3 {
  font-size: 1.5rem;
  color: var(--text, #fffdf7);
  margin: 0;
}

.demo-intro {
  color: var(--muted, #aba89f);
  font-size: 1rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.demo-questions {
  list-style: none;
  counter-reset: question;
  padding: 0;
  margin: 0 0 1.5rem;
}

.demo-questions li {
  counter-increment: question;
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  position: relative;
  color: var(--text, #fffdf7);
  line-height: 1.6;
}

.demo-questions li::before {
  content: counter(question);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--accent, #c7a45b);
  color: #0a0a0f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.law-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--accent, #c7a45b);
  font-style: italic;
  margin-top: 0.5rem;
}

.demo-note {
  font-size: 0.95rem;
  color: var(--muted, #aba89f);
  font-style: italic;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-note.accent {
  color: var(--accent, #c7a45b);
  font-weight: 600;
  font-style: normal;
}

/* Thesis Section */
.edu-thesis {
  padding: 80px 32px;
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.95) 0%, rgba(10, 10, 15, 1) 100%);
}

.edu-thesis .container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.thesis-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent, #c7a45b), rgba(199, 164, 91, 0.3));
  border-radius: 2px;
}

.thesis-quote {
  padding-left: 3rem;
  margin: 0;
}

.thesis-quote p {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.6;
  color: var(--text, #fffdf7);
  margin-bottom: 1rem;
  font-style: italic;
}

.thesis-quote cite {
  display: block;
  font-size: 1rem;
  color: var(--accent, #c7a45b);
  font-style: normal;
  font-weight: 500;
}

/* Why Section */
.edu-why {
  padding: 100px 32px;
  background: rgba(15, 15, 25, 0.98);
}

.edu-why h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 3rem;
  color: var(--text, #fffdf7);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.why-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.why-list li {
  padding: 1.25rem 1.5rem 1.25rem 3.5rem;
  margin-bottom: 1rem;
  background: rgba(20, 20, 30, 0.5);
  border-left: 3px solid var(--accent, #c7a45b);
  border-radius: 8px;
  color: var(--text, #fffdf7);
  position: relative;
  font-size: 1.125rem;
  line-height: 1.6;
}

.why-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent, #c7a45b);
  font-size: 1.5rem;
  font-weight: 700;
}

.why-note {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--muted, #aba89f);
  font-style: italic;
}

/* Comparison Table */
.edu-comparison {
  padding: 100px 32px;
  background: rgba(10, 10, 15, 1);
}

.edu-comparison h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 3rem;
  color: var(--text, #fffdf7);
}

.comparison-table {
  max-width: 900px;
  margin: 0 auto 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.comp-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 0;
}

.comp-row.comp-header {
  background: rgba(199, 164, 91, 0.1);
}

.comp-row.comp-header .comp-cell {
  font-weight: 700;
  color: var(--accent, #c7a45b);
}

.comp-cell {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text, #fffdf7);
  display: flex;
  align-items: center;
}

.comp-cell:last-child {
  border-right: none;
}

.comp-row:last-child .comp-cell {
  border-bottom: none;
}

.comp-cell.label {
  font-weight: 600;
  color: var(--muted, #aba89f);
}

.comp-cell.highlight {
  background: rgba(34, 197, 94, 0.05);
  color: #22C55E;
  font-weight: 600;
}

.comp-microcopy {
  text-align: center;
  font-size: 1.125rem;
  color: var(--accent, #c7a45b);
  font-weight: 600;
  font-style: italic;
}

/* CTA Section */
.edu-cta {
  padding: 100px 32px;
  background: linear-gradient(180deg, rgba(15, 15, 25, 0.98) 0%, rgba(20, 20, 30, 0.95) 100%);
  text-align: center;
}

.edu-cta h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 1rem;
  color: var(--text, #fffdf7);
}

.cta-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--muted, #aba89f);
  margin-bottom: 2.5rem;
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.cta-secondary {
  display: block;
  color: var(--accent, #c7a45b);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.cta-secondary:hover {
  color: var(--text, #fffdf7);
  text-decoration: underline;
}

.cta-social {
  font-size: 0.875rem;
  color: var(--muted, #aba89f);
  font-style: italic;
}

/* FAQ Section */
.edu-faq {
  padding: 100px 32px;
  background: rgba(10, 10, 15, 1);
}

.edu-faq h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 3rem;
  color: var(--text, #fffdf7);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  background: rgba(20, 20, 30, 0.5);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text, #fffdf7);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.faq-item summary:hover {
  background: rgba(199, 164, 91, 0.05);
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent, #c7a45b);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--muted, #aba89f);
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 3rem 32px 2rem;
  background: rgba(10, 10, 15, 1);
  border-top: 1px solid rgba(199, 164, 91, 0.1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted, #aba89f);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent, #c7a45b);
}

.footer-copy {
  text-align: center;
  color: var(--muted, #aba89f);
  font-size: 0.875rem;
  margin: 0;
}

/* Animations */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseBadge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .comp-row {
    grid-template-columns: 150px 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .breadcrumb {
    font-size: 0.75rem;
  }
  
  .edu-hero-visual {
    padding: 30px 20px 40px;
  }
  
  .hero-visual {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
  }
  
  .visual-item {
    padding: 1.5rem;
  }
  
  .visual-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent, #c7a45b), transparent);
    margin: 0 auto;
  }
  
  .comp-row {
    grid-template-columns: 1fr;
  }
  
  .comp-row.comp-header .comp-cell:first-child {
    display: none;
  }
  
  .comp-cell {
    padding: 1rem;
  }
  
  .thesis-accent-bar {
    left: -16px;
  }
  
  .thesis-quote {
    padding-left: 1.5rem;
  }
}

@media (max-width: 640px) {
  .edu-hero {
    padding: 80px 16px 60px;
  }
  
  .demo-col {
    padding: 1.5rem;
  }
  
  .why-list li {
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
  }
}

/* Accessibility & Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

