/* ===== Debate X AI – Global Theme (unified) ===== */
* { box-sizing: border-box }
html, body {
  min-height: 100%;
  margin: 0;
  font-family: 'Lemon Milk', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Smooth Page Transitions ---------- */
html {
  opacity: 1; /* Always start visible */
  transition: opacity 0.3s ease-out;
}

/* Ensure overlay exists immediately - NO TRANSITION DELAY */
#page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(to bottom, var(--bg-top, #111), var(--bg-bot, #1b1b1b));
  opacity: 0;
  pointer-events: none;
  transition: none; /* NO TRANSITION - show immediately */
}

/* Page transition overlay: perfectly covers the page with your theme background - NO TRANSITION */
.page-transition{
  position: fixed;
  inset: 0;
  z-index: 9999;
  /* Use your existing gradient tokens so there's NEVER a white frame */
  background: linear-gradient(to bottom, var(--bg-top, #111), var(--bg-bot, #1b1b1b));
  opacity: 0;
  pointer-events: none;
  transition: none; /* NO TRANSITION - show immediately */
}

/* When active, fade in the overlay before navigating */
.page-transition.active{
  opacity: 1;
  pointer-events: auto;
}

/* While transitioning, block clicks and show busy cursor */
body.loading{
  pointer-events: none;
  cursor: progress !important;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .page-transition{ transition: none; }
  body.loading{ cursor: default; }
}


/* Smooth link transitions */
a, button {
  transition: all 0.2s ease-in-out;
}

/* Prevent flash on page load */
body {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* ---------- Dark (default) tokens ---------- */
:root{
  /* background */
  --bg-1:#111213;        /* base */
  --bg-2:#17191b;        /* mid */
  --bg-3:#101415;        /* ring vignette */
  /* text + borders */
  --text:#f2f2f2;
  --muted:rgba(255,255,255,.78);
  --border:rgba(255,255,255,.17);
  /* surfaces */
  --card:rgba(255,255,255,.06);
  --chip:rgba(255,255,255,.10);
  /* buttons */
  --btn-bg:rgba(255,255,255,.14);
  --btn-text:#ffffff;
  --btn-bg-hover:rgba(255,255,255,.20);
  /* toggle */
  --toggle-track:#0b0b0b;
  --toggle-knob:#ffffff;
  --track-w:48px; --track-h:24px; --pad:2px; --knob:20px;
  /* triangles */
  --tri-color:rgba(255,255,255,.22);
  /* layout */
  --container-lg: 1100px;
  --space-xs:6px; --space-sm:10px; --space-md:16px; --space-lg:24px; --space-xl:36px; --space-xxl:64px;
  /* type scale */
  --text-xs:12px; --text-sm:13px; --text-base:15px; --text-lg:17px; --text-xl:22px; --text-2xl:28px; --text-3xl:36px; --text-4xl:48px;
}

/* ---------- Light overrides via HTML class ---------- */
html.light-mode{
  --bg-1:#ffffff;
  --bg-2:#f7f9fb;
  --bg-3:#ffffff;
  --text:#101010;
  --muted:rgba(0,0,0,.74);
  --border:rgba(0,0,0,.25);
  --card:#ffffff;
  --chip:rgba(0,0,0,.06);
  --btn-bg:rgba(0,0,0,.08);
  --btn-text:#101010;
  --btn-bg-hover:rgba(0,0,0,.12);
  /* toggle: white pill + black knob in Light */
  --toggle-track:#ffffff;
  --toggle-knob:#000000;
  --tri-color:rgba(0,0,0,.23);
}

/* ---------- Global background (animated) ---------- */
html, body{
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 15% 85%, var(--bg-3) 0%, transparent 60%) ,
    radial-gradient(1200px 800px at 85% 0%, var(--bg-2) 0%, transparent 60%) ,
    linear-gradient(45deg, var(--bg-1), var(--bg-2), var(--bg-1));
  background-size: 400% 400%;
  animation: bg-morph 16s ease-in-out infinite;
  transition: background-color .35s ease, color .25s ease, border-color .25s ease, filter .25s ease;
}
@keyframes bg-morph{
  0%,100%{ background-position: 0% 50% }
  50%{ background-position: 100% 50% }
}

/* ---------- Generic containers / cards ---------- */
.container{ width:100%; max-width:var(--container-lg); margin:0 auto; padding:var(--space-lg); }
.card{
  background:var(--card); border:1px solid var(--border);
  border-radius:16px; padding:var(--space-lg); backdrop-filter: blur(14px);
}

/* ---------- Titles & text ---------- */
.page-title{
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing:.18em; font-weight:800; text-align:center; margin: var(--space-xxl) 0 var(--space-lg);
  color:var(--text); text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.muted{ color:var(--muted) }

/* ---------- Buttons (anchors or button tags) ---------- */
.btn, .btn:link, .btn:visited{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 22px; border-radius:999px; font-weight:800; text-decoration:none;
  background:var(--btn-bg); color:var(--btn-text); border:1px solid var(--border);
  transition: filter .2s ease, transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{ background:var(--btn-bg-hover); transform: translateY(-1px) }
.btn:active{ transform: translateY(0) }
.btn[disabled], .btn.disabled{ opacity:.55; pointer-events:none }

/* Ghost link that still inverts correctly */
.link{
  background:transparent; color:var(--text); border:1px solid var(--border)
}
.link:hover{ filter: brightness(1.08) }

/* Pills / chips */
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 18px; border-radius:999px; background:var(--chip); border:1px solid var(--border); color:var(--text);
}

/* ---------- Theme toggle pill ---------- */
.theme-toggle{
  position:fixed; top:18px; right:18px; z-index:1000;
  display:flex; align-items:center; gap:10px; padding:8px 10px;
  background:var(--chip); border:1px solid var(--border); border-radius:24px; backdrop-filter: blur(10px);
}

/* Hide theme toggle when loader is active */
body[data-no-theme-toggle] .theme-toggle {
  display: none !important;
}
.toggle-label{ font-size:12px; font-weight:900; letter-spacing:.06em; color:var(--text) }

.toggle-switch{
  width:var(--track-w); height:var(--track-h); border-radius:var(--track-h);
  background:var(--toggle-track); border:1px solid var(--border); position:relative; padding:var(--pad); cursor:pointer;
}
.toggle-slider{
  position:absolute; top:var(--pad); left:var(--pad);
  width:var(--knob); height:var(--knob); border-radius:50%;
  background:var(--toggle-knob); box-shadow:0 2px 8px rgba(0,0,0,.25);
  transition: transform .25s ease, background .2s ease;
}
/* move knob fully right in light-mode */
html.light-mode .toggle-slider{
  transform: translateX(calc(var(--track-w) - var(--knob) - var(--pad)*2));
}

/* ---------- Floating triangles (color sync) ---------- */
.triangle, .tri{ color:var(--tri-color); opacity:1 }   /* if you render via borders, use currentColor in the element */
.triangle svg, .tri svg, .triangle path, .tri path{ fill: currentColor }

/* ---------- Utility for page rows ---------- */
.row{ display:flex; align-items:center; gap:12px; flex-wrap:wrap }

/* ---------- Forms (login/signup/account) ---------- */
.input, input, textarea, select{
  font-family:'Lemon Milk', sans-serif; font-weight:700;
  width:100%; padding:14px 18px; border-radius:20px;
  border:1px solid var(--border); background:var(--chip); color:var(--text);
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
input::placeholder, textarea::placeholder{ color: var(--muted) }
input:focus, textarea:focus, select:focus{
  outline:none; border-color: var(--btn-bg-hover); box-shadow: 0 0 0 4px rgba(127,127,127,.12)
}

/* ---------- Glassmorphism buttons - dark in light mode for white text visibility ---------- */
/* Dark theme: original glassmorphism colors */
.glassmorphism, 
.glass-btn, 
.glass-button,
.submit-btn, 
.google-btn,
.action-oval,
.upload-oval,
.uniform-button {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  color: #ffffff;
  backdrop-filter: blur(14px);
  
}

.glassmorphism:hover, 
.glass-btn:hover, 
.glass-button:hover,
.submit-btn:hover, 
.google-btn:hover,
.action-oval:hover,
.upload-oval:hover,
.uniform-button:hover {
  background: rgba(255,255,255,.26);
  border-color: rgba(255,255,255,.5);
}

/* Light theme: darker glassmorphism so white text is visible */
html.light-mode .glassmorphism, 
html.light-mode .glass-btn, 
html.light-mode .glass-button,
html.light-mode .submit-btn, 
html.light-mode .google-btn,
html.light-mode .action-oval,
html.light-mode .upload-oval,
html.light-mode .uniform-button {
  background: rgba(0,0,0,.3) !important;
  border: 1px solid rgba(0,0,0,.4) !important;
  color: #000000 !important;
  backdrop-filter: blur(14px) !important;
}

html.light-mode .glassmorphism:hover, 
html.light-mode .glass-btn:hover, 
html.light-mode .glass-button:hover,
html.light-mode .submit-btn:hover, 
html.light-mode .google-btn:hover,
html.light-mode .action-oval:hover,
html.light-mode .upload-oval:hover,
html.light-mode .uniform-button:hover {
  background: rgba(0,0,0,.4) !important;
  border-color: rgba(0,0,0,.5) !important;
}

/* ---------- Make all page-local light-mode overrides unnecessary ---------- */
/* (Leave this at the end so it wins over stray page CSS) */
html.light-mode body,
html.light-mode{
  background:
    radial-gradient(1200px 800px at 15% 85%, var(--bg-3) 0%, transparent 60%) ,
    radial-gradient(1200px 800px at 85% 0%, var(--bg-2) 0%, transparent 60%) ,
    linear-gradient(45deg, var(--bg-1), var(--bg-2), var(--bg-1));
}

/* ===== Modern SEO Landing Page Styles ===== */
:root{
  --bg:#0b0f14; --card:#121821; --muted:#90a3b0; --text:#e6f0f7;
  --brand:#5ee1a7; --brand-2:#80a8ff; --border:#1e2632;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
a{color:inherit;text-decoration:none}
.dx-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid var(--border);position:sticky;top:0;background:rgba(11,15,20,.75);backdrop-filter:saturate(150%) blur(6px);z-index:10}
.dx-brand{font-weight:700;font-size:20px}
.dx-brand span{color:var(--brand)}
.dx-nav a{opacity:.9;margin-left:16px}
.dx-main{max-width:1100px;margin:0 auto;padding:40px 20px}
.dx-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center;margin-top:24px}
.dx-hero-text h1{font-size:44px;line-height:1.1;margin:0 0 12px}
.dx-hero-text h1 span{color:var(--brand)}
.dx-sub{color:var(--muted);max-width:60ch}
.dx-cta{display:flex;gap:12px;margin:18px 0 12px}
.dx-btn{border:1px solid var(--border);padding:10px 14px;border-radius:10px;background:transparent}
.dx-btn-primary{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#041015;border-color:transparent}
.dx-badges{list-style:none;display:flex;gap:14px;padding:0;margin:10px 0 0;color:var(--muted);flex-wrap:wrap}
.dx-hero-art img{width:100%;border-radius:16px;border:1px solid var(--border);box-shadow:0 10px 30px rgba(0,0,0,.35)}
.dx-features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:46px 0}
.dx-features article{background:var(--card);padding:18px;border-radius:14px;border:1px solid var(--border)}
.dx-features h3{margin-top:4px}
.dx-proof{text-align:center;margin:40px 0 10px}
.dx-footer{border-top:1px solid var(--border);padding:24px 20px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}
.dx-footer a{color:var(--muted)}
.footer-divider {
  color: var(--muted);
  margin: 0 8px;
  opacity: 0.6;
}
@media (max-width:900px){
  .dx-hero{grid-template-columns:1fr}
  .dx-hero-art{order:-1}
  .dx-hero-text h1{font-size:34px}
  .dx-features{grid-template-columns:1fr}
}

/* ===== About Page Styles ===== */
.about-hero {
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(94, 225, 167, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(128, 168, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

.about-hero h1 span {
  color: var(--brand);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 60px;
}

.about-hero-visual {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.floating-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  animation: float 6s ease-in-out infinite;
  max-width: 200px;
}

.floating-card:nth-child(2) {
  animation-delay: -2s;
}

.floating-card:nth-child(3) {
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

.card-icon svg {
  width: 48px;
  height: 48px;
  color: var(--brand);
}

.floating-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.floating-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.features-showcase {
  padding: 100px 20px;
  background: var(--bg-1);
}

.features-showcase h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.feature-card.coming-soon {
  position: relative;
}

.coming-soon-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #041015;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.coming-soon-badge-small {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #041015;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-left: 8px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: #041015;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-benefits {
  list-style: none;
  padding: 0;
}

.feature-benefits li {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.how-it-works {
  padding: 100px 20px;
  background: var(--bg-2);
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: var(--text);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #041015;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 24px;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.step-card p {
  color: var(--muted);
  line-height: 1.6;
}

.debate-types {
  padding: 100px 20px;
  background: var(--bg-1);
}

.debate-types h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: var(--text);
}

.debate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.debate-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(20px);
}

.debate-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.debate-icon svg {
  width: 48px;
  height: 48px;
  color: var(--brand);
}

.debate-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.debate-card p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.debate-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.debate-card li {
  color: var(--text);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.debate-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.grading-system {
  padding: 100px 20px;
  background: var(--bg-2);
}

.grading-system h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 60px;
}

.grading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.grade-category {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(20px);
}

.grade-category h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.grade-category p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.score-example {
  background: var(--bg-1);
  border-radius: 12px;
  padding: 16px;
}

.score {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #041015;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.score-example p {
  color: var(--text);
  font-size: 0.85rem;
  margin: 0;
  font-style: italic;
}

.cta-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.cta-section p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #041015;
  border: none;
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== Contact Page Styles ===== */
.contact-hero {
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(94, 225, 167, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(128, 168, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

.contact-hero h1 span {
  color: var(--brand);
}

.contact-visual {
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.contact-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: pulse 2s ease-in-out infinite;
}

.contact-icon svg {
  width: 60px;
  height: 60px;
  color: #041015;
}

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

.contact-content {
  padding: 100px 20px;
  background: var(--bg-1);
}

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

.contact-form-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-form-section p {
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(20px);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-1);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(94, 225, 167, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #041015;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(94, 225, 167, 0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spinner {
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.form-status {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-success {
  background: rgba(94, 225, 167, 0.1);
  color: var(--brand);
  border: 1px solid rgba(94, 225, 167, 0.2);
}

.status-error {
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.form-status svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-info-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text);
}

.contact-methods {
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
}

.method-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon svg {
  width: 24px;
  height: 24px;
  color: #041015;
}

.method-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.method-content p {
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.contact-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

.topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topics-list li {
  color: var(--text);
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
}

.topics-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.help-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(20px);
}

.help-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.help-section p {
  color: var(--muted);
  margin-bottom: 16px;
}

.help-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.help-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.help-link:hover {
  background: var(--brand);
  color: #041015;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .about-hero-visual {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .debate-grid {
    grid-template-columns: 1fr;
  }
  
  .grading-grid {
    grid-template-columns: 1fr;
  }
}