/* CSS Variables */
:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.5rem;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Language Switcher */
.language-switcher {
  position: relative;
  width: auto;
}

.lang-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.lang-select-btn:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--primary-color);
}

.lang-select-btn:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.lang-select-btn.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 100%;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1002;
  max-height: 300px;
  overflow-y: auto;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.lang-option:hover {
  background-color: var(--bg-secondary);
  color: var(--primary-color);
}

.lang-option.active {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.lang-option.active:hover {
  background-color: var(--primary-dark);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.hamburger-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

.hamburger-icon::before {
  top: -7px;
}

.hamburger-icon::after {
  top: 7px;
}

/* Mobile Menu Toggle Active State */
.mobile-menu-toggle.active .hamburger-icon {
  background-color: transparent;
}

.mobile-menu-toggle.active .hamburger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary-small {
  padding: 0.625rem 1.25rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(
    180deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: var(--gradient-accent);
  opacity: 0.05;
  border-radius: 50%;
  transform: rotate(-15deg);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Email Form */
.email-form {
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.email-input {
  flex: 1;
  min-width: 250px;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.email-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-note {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Success Message */
.success-message {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success-color);
  border-radius: 0.5rem;
  color: var(--success-color);
  margin-top: 1rem;
}

.success-message.show {
  display: flex;
}

.success-icon {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
}

.visual-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.card-icon {
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.question {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 1rem;
  transition: width 0.6s ease;
}

.progress-text {
  font-size: 0.875rem;
  color: var(--text-light);
  text-align: right;
}

/* Sections */
.features,
.how-it-works,
.benefits,
.cta {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 4rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* How It Works */
.how-it-works {
  background: var(--bg-secondary);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.step-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Benefits */
.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.benefits-text {
  width: 100%;
  min-width: 0;
}

.benefits-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-primary);
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.benefit-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
}

.benefits-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
}

.stat-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.stat-card:first-child {
  grid-column: 1 / -1;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

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

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: white;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta .email-input {
  background: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta .form-note {
  color: rgba(255, 255, 255, 0.8);
}

/* Social Proof */
.social-proof {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 3px solid #667eea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -12px;
  font-size: 1.25rem;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:last-child {
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.875rem;
}

.social-proof-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 4rem 0 2rem;
}

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

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

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

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

.footer-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: white;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

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

.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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

/* Responsive Design */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .benefits-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .benefits-text {
    width: 100%;
  }

  .benefits-visual {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: block;
  }

  /* Mobile Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 2rem 2rem;
    gap: 1.5rem;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
  }

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

  .btn-primary-small {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    white-space: normal;
  }

  .language-switcher {
    width: 100%;
    order: -1;
  }

  .lang-select-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
  }

  .lang-dropdown {
    width: 100%;
    max-height: 250px;
  }

  .lang-option {
    padding: 1rem;
    font-size: 1rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

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

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .form-group {
    flex-direction: column;
  }

  .email-input {
    min-width: 100%;
  }

  .features,
  .how-it-works,
  .benefits,
  .cta {
    padding: 4rem 0;
  }

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

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .benefits-title {
    font-size: 1.875rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav {
    padding: 0.75rem 1rem;
  }

  /* Mobile menu keeps full size on very small screens */
  .nav-links {
    width: 260px;
    padding: 4.5rem 1.5rem 2rem;
  }

  .hero {
    padding: 5.5rem 0 3rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .benefits-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .benefits-text {
    padding: 0;
  }

  .benefit-item {
    font-size: 1rem;
  }
}

/* Extra small devices (iPhone 12, etc - 390px and below) */
@media (max-width: 390px) {
  .container {
    padding: 0 0.875rem;
  }

  .nav {
    padding: 0.625rem 0.875rem;
  }

  .logo {
    font-size: 1.125rem;
  }

  .logo-icon {
    font-size: 1.25rem;
  }

  .btn-primary-small {
    padding: 0.375rem 0.625rem;
    font-size: 0.65rem;
  }

  .hero {
    padding: 5rem 0 2.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }

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

  .section-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .benefits {
    padding: 3rem 0;
  }

  .benefits-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }

  .benefit-item {
    font-size: 0.9375rem;
    gap: 0.75rem;
  }

  .benefit-icon {
    width: 20px;
    height: 20px;
    font-size: 0.688rem;
    flex-shrink: 0;
  }

  .benefits-visual {
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }
}

/* Question Types Section */
.question-types {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.question-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.question-example {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.question-example:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.example-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}

.example-badge {
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.example-badge.math {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.example-badge.literature {
  background: rgba(139, 92, 246, 0.1);
  color: var(--secondary-color);
}

.example-badge.history {
  background: rgba(236, 72, 153, 0.1);
  color: var(--accent-color);
}

.example-badge.chemistry {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.example-badge.programming {
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
}

.example-type {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.example-body {
  padding: 1.5rem;
}

.example-question {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.example-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.example-options.mcq .option,
.example-options.single .option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.example-options.mcq .option:has(input:checked),
.example-options.single .option:has(input:checked) {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary-color);
}

.example-options.mcq .option:hover,
.example-options.single .option:hover {
  border-color: var(--primary-light);
}

.example-options input[type="checkbox"],
.example-options input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.example-options.text .text-input {
  width: 100%;
  min-height: 100px;
  padding: 1rem;
  font-size: 0.938rem;
  font-family: inherit;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}

.example-options.text .text-input:focus {
  border-color: var(--primary-color);
}

.example-options.equation .equation-display {
  font-size: 1.25rem;
  font-family: "Courier New", monospace;
  color: var(--text-primary);
  padding: 1rem;
  background: var(--bg-tertiary);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.example-options.equation .equation-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: "Courier New", monospace;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.example-options.equation .equation-input:focus {
  border-color: var(--primary-color);
}

.example-options.code .code-block {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 0.5rem;
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.938rem;
  line-height: 1.6;
  overflow-x: auto;
  margin: 0;
}

.example-options.code .code-comment {
  color: #64748b;
}

.example-options.code .code-cursor {
  color: var(--primary-light);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.875rem;
  line-height: 1.4;
}

.faq-answer {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Responsive Updates */
@media (max-width: 968px) {
  .question-examples {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .question-types {
    padding: 4rem 0;
  }

  .faq {
    padding: 4rem 0;
  }

  .example-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
}
