@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Colors from getfinspired.com/national-olympiad/ */
  --bg: #241631;             /* Deep Purple/Navy Background */
  --bg-alt: #1c0f27;         /* Slightly darker purple for alternate sections */
  --card-bg: #2f1e3f;        /* Lighter purple for cards and containers */
  --text: #ffffff;           /* White text for dark theme */
  --text-light: #dad1e6;     /* Light lavender-grey for secondary text */
  
  /* Brand Gradients & Colors */
  --primary-gradient: linear-gradient(135deg, #ff6680 5%, #ff4da9 45%, #cd42d7 85%);
  --primary: #ff4da9;
  --primary-dark: #cd42d7;
  --primary-light: rgba(255, 77, 169, 0.15);
  
  --accent: #cd42d7;
  --accent-light: rgba(205, 66, 215, 0.15);
  
  --green: #10b981;
  --green-light: rgba(16, 185, 129, 0.15);
  
  --purple: #8b5cf6;
  --purple-light: rgba(139, 92, 246, 0.15);
  
  --red: #ef4444;
  
  /* Navbar styling (Matches the white nav from the original site) */
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-text: #1e293b;
  --nav-text-light: #64748b;
  
  /* Borders and Shadows */
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: #ff4da9;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

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

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 10px 24px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 45px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nav-text-light);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--nav-text); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-school-btn {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 14px !important;
  border-radius: 20px;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  transition: var(--transition);
}
.nav-school-btn:hover {
  background: rgba(245, 158, 11, 0.28);
  color: #ffffff !important;
  border-color: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}
.nav-school-btn::after { display: none !important; }

.nav-cta {
  background: var(--primary-gradient);
  color: #000000 !important; padding: 8px 20px; border-radius: 50px;
  font-weight: 700; transition: var(--transition);
  font-size: 0.88rem !important;
  box-shadow: 0 4px 12px rgba(255, 77, 169, 0.2);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 77, 169, 0.4); }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--nav-text); transition: var(--transition); }


/* ─── HERO ─── */
.hero {
  padding: 160px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(205, 66, 215, 0.15) 0%, transparent 50%), 
              radial-gradient(circle at 20% 80%, rgba(255, 102, 128, 0.1) 0%, transparent 50%),
              var(--bg);
  position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-light); color: #ff6680;
  padding: 8px 18px; border-radius: 50px; font-weight: 700; font-size: 0.85rem;
  margin-bottom: 20px; border: 1px solid rgba(255, 102, 128, 0.2);
  animation: fadeInUp 0.6s ease;
}
.hero h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 20px; animation: fadeInUp 0.6s ease 0.1s both; color: #ffffff; }
.hero h1 .highlight { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero h1 .accent { color: #ffffff; }
.hero p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 36px; max-width: 520px; animation: fadeInUp 0.6s ease 0.2s both; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.6s ease 0.3s both; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 700;
  font-size: 1rem; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--primary-gradient); color: #000000; box-shadow: 0 4px 15px rgba(255, 77, 169, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255, 77, 169, 0.5); }
.btn-outline { background: transparent; color: #ffffff; border: 2px solid rgba(255, 255, 255, 0.2); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #ffffff; transform: translateY(-3px); }
.btn-accent { background: var(--primary-gradient); color: #000000; }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255, 77, 169, 0.4); }
.hero-image { position: relative; animation: fadeInRight 0.8s ease 0.3s both; text-align: center; }
.hero-image img { max-width: 440px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); }
.hero-stats {
  display: flex; gap: 40px; margin-top: 44px; animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-stat { text-align: center; }
.hero-stat h3 { font-size: 2.2rem; font-weight: 800; color: #ff6680; }
.hero-stat p { font-size: 0.9rem; color: var(--text-light); }

/* ─── SECTION STYLES ─── */
.section, .hero, .registration, .contact-strip {
  scroll-margin-top: 80px;
}
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .tag {
  display: inline-block; padding: 6px 20px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.tag-blue { background: var(--primary-light); color: #ff6680; border: 1px solid rgba(255, 102, 128, 0.2); }
.tag-green { background: var(--green-light); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.2); }
.tag-purple { background: var(--purple-light); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.2); }
.tag-amber { background: var(--accent-light); color: #f472b6; border: 1px solid rgba(205, 66, 215, 0.2); }
.section-header h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; color: #ffffff; }
.section-header p { font-size: 1.15rem; color: var(--text-light); max-width: 640px; margin: 0 auto; }

/* ─── OLYMPIAD CARDS ─── */
.olympiad-section { background: var(--bg-alt); }
.olympiad-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.olympiad-card {
  background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--border); transition: var(--transition); position: relative;
  display: flex; flex-direction: column;
}
.olympiad-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.olympiad-card.fin-lit { border-color: rgba(255, 102, 128, 0.4); }
.olympiad-card.crit-think { border-color: rgba(205, 66, 215, 0.4); }
.card-header {
  padding: 32px 32px 20px; text-align: center;
}
.card-header.fin-lit-header { background: linear-gradient(135deg, rgba(255, 102, 128, 0.15), rgba(255, 77, 169, 0.05)); }
.card-header.crit-think-header { background: linear-gradient(135deg, rgba(205, 66, 215, 0.15), rgba(139, 92, 246, 0.05)); }
.card-header h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; color: #ffffff; }
.card-header .subtitle { font-size: 0.95rem; color: var(--text-light); font-style: italic; }
.card-body { padding: 32px; flex-grow: 1; }
.card-body .includes-title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 16px; }
.includes-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 1rem; color: #ffffff; }
.includes-list .check { width: 22px; height: 22px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 0.8rem; flex-shrink: 0; font-weight: bold; }
.card-image { text-align: center; padding: 10px 32px 24px; }
.card-image img { max-height: 200px; border-radius: var(--radius-sm); filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2)); }
.card-image .transparent-img {
  max-height: 220px;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.4));
  transition: transform 0.4s ease;
}
.card-image .transparent-img:hover {
  transform: scale(1.05);
}
.fin-lit .transparent-img {
  transform: translateX(45px);
}
.fin-lit .transparent-img:hover {
  transform: scale(1.05) translateX(45px);
}
.card-pricing {
  display: flex; gap: 16px; padding: 24px 32px; background: rgba(0, 0, 0, 0.2); border-top: 1px solid var(--border);
  align-items: center; justify-content: center;
  margin-top: auto;
}
.price-box {
  text-align: center; padding: 14px 20px; border-radius: var(--radius-sm);
  background: var(--card-bg); border: 1px solid var(--border); flex: 1;
}
.price-box .label { font-size: 0.75rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.price-box .amount { font-size: 1.6rem; font-weight: 800; color: #ff6680; margin: 4px 0; }
.price-box .amount.accent { color: #cd42d7; }
.price-box .note { font-size: 0.75rem; color: var(--text-light); }

/* ─── COMBO BANNER ─── */
.combo-banner {
  background: var(--primary-gradient);
  color: #000000; border-radius: var(--radius); padding: 36px 48px;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 48px; flex-wrap: wrap; gap: 24px;
  box-shadow: 0 12px 32px rgba(255, 77, 169, 0.25);
}
.combo-banner h3 { font-size: 1.5rem; font-weight: 800; }
.combo-banner .combo-price { display: flex; align-items: baseline; gap: 12px; }
.combo-banner .old-price { font-size: 1.3rem; text-decoration: line-through; opacity: 0.6; font-weight: 600; }
.combo-banner .new-price { font-size: 2.8rem; font-weight: 900; }
.combo-banner .btn { background: #000000; color: #ffffff; font-weight: 700; }
.combo-banner .btn:hover { background: #1c0f27; color: #ffffff; transform: translateY(-2px); }

/* ─── BENEFITS ─── */
.benefits { background: var(--bg); }
.benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.benefit-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; transition: var(--transition);
  border: 1px solid var(--border);
}
.benefit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(255, 77, 169, 0.25); }
.benefit-icon {
  width: 64px; height: 64px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 20px;
  font-size: 1.6rem;
}
.benefit-card:nth-child(1) .benefit-icon { background: rgba(255, 102, 128, 0.15); }
.benefit-card:nth-child(2) .benefit-icon { background: rgba(205, 66, 215, 0.15); }
.benefit-card:nth-child(3) .benefit-icon { background: var(--green-light); }
.benefit-card:nth-child(4) .benefit-icon { background: var(--purple-light); }
.benefit-card:nth-child(5) .benefit-icon { background: rgba(244, 114, 182, 0.15); }
.benefit-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: #ffffff; }
.benefit-card p { font-size: 0.85rem; color: var(--text-light); }

/* ─── HOW IT WORKS ─── */
.how-it-works { background: var(--bg-alt); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 3px;
  background: linear-gradient(90deg, #ff6680, #ff4da9, #cd42d7, #8b5cf6);
  border-radius: 2px; z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit'; font-weight: 800; font-size: 1.4rem;
  margin: 0 auto 24px; color: #000000; border: 4px solid var(--bg-alt); box-shadow: var(--shadow);
}
.step-card:nth-child(1) .step-num { background: #ff6680; }
.step-card:nth-child(2) .step-num { background: #ff4da9; }
.step-card:nth-child(3) .step-num { background: #cd42d7; }
.step-card:nth-child(4) .step-num { background: #8b5cf6; }
.step-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: #ffffff; }
.step-card p { font-size: 0.9rem; color: var(--text-light); }

/* ─── REGISTRATION FORM ─── */
.registration {
  background: radial-gradient(circle at 10% 20%, rgba(255, 77, 169, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
              var(--bg);
  color: white; position: relative; overflow: hidden;
}
.reg-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.reg-info h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 20px; }
.reg-info h2 .accent { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.reg-info p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 36px; }
.reg-features { display: flex; flex-direction: column; gap: 16px; }
.reg-feature {
  display: flex; align-items: center; gap: 16px;
  background: var(--card-bg); border-radius: var(--radius-sm);
  padding: 16px 20px; backdrop-filter: blur(8px);
  border: 1px solid var(--border);
}
.reg-feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.reg-feature:nth-child(1) .reg-feature-icon { background: rgba(255, 102, 128, 0.15); }
.reg-feature:nth-child(2) .reg-feature-icon { background: rgba(255, 77, 169, 0.15); }
.reg-feature:nth-child(3) .reg-feature-icon { background: var(--green-light); }
.reg-feature:nth-child(4) .reg-feature-icon { background: var(--purple-light); }
.reg-feature h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; color: #ffffff; }
.reg-feature p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; }

/* ─── WHY PARTICIPATE (beside registration form) ─── */
.why-section {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.why-header {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
  line-height: 1.4;
}
.why-fin {
  background: rgba(255, 102, 128, 0.12);
  color: #ff8fa3;
  border-left: 3px solid #ff6680;
}
.why-crit {
  background: rgba(205, 66, 215, 0.12);
  color: #e07ef0;
  border-left: 3px solid #cd42d7;
}
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: why-counter;
}
.why-list li {
  counter-increment: why-counter;
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.why-list li:last-child { border-bottom: none; }
.why-list li::before {
  content: counter(why-counter);
  position: absolute;
  left: 0;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: #ff6680;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-section:has(.why-crit) .why-list li::before {
  background: rgba(205, 66, 215, 0.15);
  color: #cd42d7;
}
.why-list li strong {
  color: #ffffff;
  font-weight: 700;
}

.reg-form-card {
  background: var(--card-bg); border-radius: 20px; padding: 40px;
  color: #ffffff; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative; z-index: 1;
}
.form-toggle-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  gap: 8px;
}
.form-toggle-tabs .tab-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-toggle-tabs .tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.form-toggle-tabs .tab-btn.active {
  background: var(--primary-gradient);
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 77, 169, 0.3);
}
.reg-form-card h3 { font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 6px; color: #ffffff; }
.reg-form-card .form-sub { text-align: center; color: var(--text-light); font-size: 0.95rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-light); }
.form-group label .required { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-family: 'Inter'; font-size: 0.95rem;
  transition: var(--transition); background: rgba(0, 0, 0, 0.2); color: #ffffff; outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--border-focus); background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 4px rgba(255, 77, 169, 0.15);
}
.form-group select option { background: var(--card-bg); color: #ffffff; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; }

.exam-options { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.exam-options.exam-options-two { grid-template-columns: 1fr 1fr; }
.exam-options.exam-options-full { grid-template-columns: 1fr; margin-top: -8px; }
.exam-option-both .option-label {
  flex-direction: row !important; justify-content: center; gap: 16px;
  background: rgba(205, 66, 215, 0.06);
  border-color: rgba(205, 66, 215, 0.25);
}
.exam-option-both input:checked + .option-label {
  border-color: var(--accent); background: rgba(205, 66, 215, 0.12);
  box-shadow: 0 0 0 4px rgba(205, 66, 215, 0.15);
}
.exam-option {
  position: relative; cursor: pointer;
}
.exam-option input { position: absolute; opacity: 0; }
.exam-option .option-label {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 12px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  text-align: center; transition: var(--transition); background: rgba(0, 0, 0, 0.2);
}
.exam-option input:checked + .option-label {
  border-color: var(--primary); background: rgba(255, 77, 169, 0.12);
  box-shadow: 0 0 0 4px rgba(255, 77, 169, 0.15);
}
.exam-option .option-label:hover { border-color: var(--primary); }
.option-label .opt-title { font-weight: 700; font-size: 0.85rem; color: #ffffff; }
.option-label .opt-price { font-weight: 800; font-size: 1.2rem; color: #ff6680; margin-top: 2px; }
.option-label .opt-save { font-size: 0.75rem; color: var(--green); font-weight: 700; }

.submit-btn {
  width: 100%; padding: 16px; border: none; border-radius: 50px;
  background: var(--primary-gradient);
  color: #000000; font-family: 'Outfit'; font-size: 1.15rem; font-weight: 800;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 77, 169, 0.3);
}
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255, 77, 169, 0.5); }
.submit-btn:active { transform: translateY(-1px); }
.form-footer { text-align: center; margin-top: 16px; font-size: 0.8rem; color: var(--text-light); }

/* ─── PAYMENT ERROR TOAST ─── */
.payment-error-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3000; animation: slideUpFade 0.4s ease;
  max-width: 500px; width: 90%;
}
.error-toast-content {
  display: flex; align-items: center; gap: 12px;
  background: #1e0a0a; border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px; padding: 16px 20px;
  color: #fca5a5; font-size: 0.95rem; font-weight: 500;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2);
}
.error-icon { font-size: 1.3rem; flex-shrink: 0; }
.error-close {
  background: none; border: none; color: #fca5a5; cursor: pointer;
  font-size: 1.1rem; margin-left: auto; padding: 4px; opacity: 0.7;
  transition: opacity 0.2s;
}
.error-close:hover { opacity: 1; }
@keyframes slideUpFade {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}



/* ─── ABOUT US ─── */
.about-section {
  background: radial-gradient(circle at 30% 70%, rgba(205, 66, 215, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(255, 102, 128, 0.06) 0%, transparent 50%),
              var(--bg-alt);
}
.about-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-accent-bar {
  height: 5px;
  background: var(--primary-gradient);
  border-radius: 4px 4px 0 0;
}
.about-content {
  padding: 48px 52px 52px;
}
.about-intro {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.about-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 102, 128, 0.7);
  box-shadow: 0 10px 30px rgba(255, 77, 169, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.about-avatar:hover {
  transform: scale(1.05);
  border-color: #ff4da9;
}
.about-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}
.about-role {
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.about-block:hover {
  background: rgba(255, 255, 255, 0.03);
  border-left-color: var(--primary);
  transform: translateX(4px);
}
.about-block-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.about-block:hover .about-block-icon {
  background: var(--primary-light);
  border-color: rgba(255, 77, 169, 0.25);
  transform: scale(1.08);
}
.about-block h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.about-block p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}
.about-block p strong {
  color: #ff8fa3;
  font-weight: 700;
}

/* ─── FOOTER ─── */
.footer { background: #0f0a14; color: rgba(255, 255, 255, 0.6); padding: 64px 0 24px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 16px; display: block; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { font-size: 0.95rem; line-height: 1.6; }
.footer-col h4 { color: white; font-size: 0.95rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.95rem; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px; text-align: center; font-size: 0.85rem; color: var(--text-light); }

/* ─── MODAL / SUCCESS ─── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 2000;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--card-bg); border-radius: 20px; padding: 48px; text-align: center;
  max-width: 460px; width: 90%; animation: scaleIn 0.3s ease;
  border: 1px solid var(--border);
  color: #ffffff;
}
.modal .success-icon { width: 80px; height: 80px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 2.2rem; color: var(--green); }
.modal h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; }
.modal p { color: var(--text-light); margin-bottom: 28px; font-size: 1rem; }
.modal .btn { margin: 0 auto; }

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

.float-anim { animation: float 3.5s ease-in-out infinite; }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── CONFETTI ─── */
.confetti {
  position: absolute;
  top: -20px;
  border-radius: 3px;
  opacity: 0.85;
  animation: confettiFall linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes confettiFall {
  0%   { transform: translateY(-20px) rotate(0deg);   opacity: 0.9; }
  80%  { opacity: 0.7; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--nav-bg); flex-direction: column; padding: 24px; gap: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.8rem; }
  .olympiad-cards { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .reg-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 280px; }
  .hero h1 { font-size: 2.2rem; }
  .section-header h2 { font-size: 2rem; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .exam-options { grid-template-columns: 1fr; }
  .combo-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
  .combo-banner .combo-price { justify-content: center; }
  .contact-inner { flex-direction: column; gap: 16px; }
  .reg-form-card { padding: 28px 20px; }
  .about-content { padding: 32px 28px 36px; }
  .about-block { padding: 18px 14px; }
  .about-intro { flex-direction: column; text-align: center; gap: 14px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 130px 0 60px; }
  .section { padding: 60px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .about-content { padding: 24px 20px 28px; }
  .about-avatar { width: 100px; height: 100px; }
  .about-block { gap: 14px; padding: 16px 10px; }
  .about-block-icon { width: 38px; height: 38px; font-size: 1.1rem; }
  .about-name { font-size: 1.5rem; }
}

/* ─── SINGLE EXAM CARD FOR DEDICATED PAGES ─── */
.single-exam-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 77, 169, 0.15);
}
.single-exam-card .exam-title-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}
.single-exam-card .exam-price-tag {
  background: var(--primary-gradient);
  color: #000000;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 1rem;
}

