
:root {
--primary: #1a56db;
--primary-dark: #1240a8;
--primary-light: #3b82f6;
--accent: #60a5fa;
--accent-soft: #eff6ff;
--sky: #e0f2fe;
--white: #ffffff;
--gray-50: #f8fafc;
--gray-100: #f1f5f9;
--gray-200: #e2e8f0;
--gray-400: #94a3b8;
--gray-600: #475569;
--gray-800: #1e293b;
--gray-900: #0f172a;
--radius-sm: 12px;
--radius-md: 18px;
--radius-lg: 24px;
--radius-xl: 32px;
--shadow-sm: 0 2px 8px rgba(26,86,219,0.08);
--shadow-md: 0 8px 32px rgba(26,86,219,0.12);
--shadow-lg: 0 20px 60px rgba(26,86,219,0.15);
--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; font-size: 16px; }

body {
font-family: 'DM Sans', sans-serif;
color: var(--gray-800);
background: var(--white);
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
font-family: 'Sora', sans-serif;
font-weight: 700;
line-height: 1.15;
letter-spacing: -0.02em;
}

/* ─────────────── NAVBAR ─────────────── */
.navbar {
position: fixed;
top: 0; left: 0; right: 0;
z-index: 1000;
background: rgba(255,255,255,0.92);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(26,86,219,0.08);
transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
box-shadow: 0 4px 24px rgba(26,86,219,0.10);
}
.nav-inner {
max-width: 1180px;
margin: 0 auto;
padding: 0 24px;
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-logo {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
cursor: pointer;
}
.nav-logo-icon {
background: none;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
overflow: visible;
}
.nav-logo-icon img {
  height: 54px;
  width: auto;
  display: block;
  border-radius: 8px;
}
.nav-logo-text {
font-family: 'Sora', sans-serif;
font-weight: 700;
font-size: 20px;
color: var(--gray-900);
letter-spacing: -0.03em;
white-space: nowrap;
}
.nav-logo-text span { color: var(--primary); }
.nav-links {
display: flex;
align-items: center;
gap: 4px;
list-style: none;
}
.nav-links a {
display: block;
padding: 8px 18px;
border-radius: 50px;
font-size: 15px;
font-weight: 500;
color: var(--gray-600);
text-decoration: none;
transition: var(--transition);
cursor: pointer;
}
.nav-links a:hover, .nav-links a.active {
color: var(--primary);
background: var(--accent-soft);
}
.nav-cta {
background: var(--primary) !important;
color: white !important;
font-weight: 600 !important;
padding: 10px 22px !important;
box-shadow: 0 4px 14px rgba(26,86,219,0.3);
}
.nav-cta:hover {
background: var(--primary-dark) !important;
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(26,86,219,0.4) !important;
}
.hamburger {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: 4px;
background: none;
border: none;
}
.hamburger span {
display: block;
width: 24px; height: 2px;
background: var(--gray-800);
border-radius: 2px;
transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────── PAGES ─────────────── */
.page { display: none; padding-top: 68px; }
.page.active { display: block; }

/* ─────────────── HERO ─────────────── */
.hero {
min-height: auto;
background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #e8f4fd 100%);
display: flex;
align-items: stretch;
position: relative;
overflow: hidden;
padding: 80px 24px 80px;
}
.hero::before {
content: '';
position: absolute;
top: -200px; right: -200px;
width: 700px; height: 700px;
background: radial-gradient(circle, rgba(96,165,250,0.12) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
}
.hero::after {
content: '';
position: absolute;
bottom: -150px; left: -100px;
width: 500px; height: 500px;
background: radial-gradient(circle, rgba(26,86,219,0.07) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
}
.hero-inner {
max-width: 1180px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 48px;
align-items: start;
position: relative;
z-index: 1;
width: 100%;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: var(--accent-soft);
border: 1px solid rgba(96,165,250,0.3);
color: var(--primary);
font-size: 13px;
font-weight: 600;
padding: 6px 14px;
border-radius: 50px;
margin-bottom: 24px;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.hero-badge::before {
content: '';
width: 8px; height: 8px;
background: var(--primary-light);
border-radius: 50%;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
font-size: clamp(36px, 5vw, 58px);
color: var(--gray-900);
margin-bottom: 22px;
line-height: 1.1;
}
.hero-title .highlight {
color: var(--primary);
position: relative;
}
.hero-title .highlight::after {
content: '';
position: absolute;
bottom: 4px; left: 0; right: 0;
height: 4px;
background: linear-gradient(90deg, var(--primary), var(--accent));
border-radius: 2px;
opacity: 0.35;
}
.hero-desc {
font-size: 18px;
color: var(--gray-600);
line-height: 1.7;
margin-bottom: 36px;
font-weight: 400;
}
.hero-actions {
display: flex;
gap: 14px;
flex-wrap: wrap;
margin-bottom: 48px;
}
.btn-primary {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 14px 30px;
background: linear-gradient(135deg, var(--primary), var(--primary-light));
color: white;
font-family: 'Sora', sans-serif;
font-weight: 600;
font-size: 16px;
border-radius: 50px;
text-decoration: none;
cursor: pointer;
border: none;
box-shadow: 0 6px 24px rgba(26,86,219,0.35);
transition: var(--transition);
position: relative;
overflow: hidden;
}
.btn-primary::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
opacity: 0;
transition: var(--transition);
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 12px 36px rgba(26,86,219,0.45);
}
.btn-primary:hover::before { opacity: 1; }
.btn-secondary {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 14px 30px;
background: transparent;
color: var(--primary);
font-family: 'Sora', sans-serif;
font-weight: 600;
font-size: 16px;
border-radius: 50px;
text-decoration: none;
cursor: pointer;
border: 2px solid rgba(26,86,219,0.3);
transition: var(--transition);
}
.btn-secondary:hover {
background: var(--accent-soft);
border-color: var(--primary);
transform: translateY(-2px);
}
.hero-social-proof {
display: flex;
align-items: center;
gap: 16px;
}
.hero-avatars {
display: flex;
}
.hero-avatars span {
width: 38px; height: 38px;
border-radius: 50%;
border: 3px solid white;
margin-left: -10px;
background: linear-gradient(135deg, var(--accent), var(--primary));
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 700;
color: white;
font-family: 'Sora', sans-serif;
}
.hero-avatars span:first-child { margin-left: 0; }
.hero-social-text { font-size: 14px; color: var(--gray-600); line-height: 1.4; }
.hero-social-text strong { color: var(--gray-900); display: block; }

/* Hero Visual */
.hero-visual {
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.hero-illustration {
width: 100%;
max-width: 520px;
position: relative;
}
.hero-card {
background: white;
border-radius: var(--radius-lg);
padding: 24px;
box-shadow: var(--shadow-lg);
position: relative;
}
.hero-card-main {
border-radius: var(--radius-xl);
overflow: hidden;
}
.hero-card-visual {
background: linear-gradient(135deg, #1a56db 0%, #3b82f6 50%, #60a5fa 100%);
border-radius: var(--radius-lg);
padding: 40px 30px;
margin-bottom: 20px;
min-height: 240px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.hero-card-visual::before {
content: '';
position: absolute;
top: -30px; right: -30px;
width: 200px; height: 200px;
background: rgba(255,255,255,0.07);
border-radius: 50%;
}
.hero-card-visual::after {
content: '';
position: absolute;
bottom: -50px; left: -20px;
width: 160px; height: 160px;
background: rgba(255,255,255,0.05);
border-radius: 50%;
}
.student-illustration {
position: relative;
z-index: 1;
}
.stu-desk {
width: 220px;
height: 160px;
position: relative;
}
/* SVG student illustration */
.float-card {
position: absolute;
background: white;
border-radius: var(--radius-md);
padding: 12px 16px;
box-shadow: var(--shadow-md);
display: flex;
align-items: center;
gap: 10px;
font-size: 13px;
font-weight: 600;
color: var(--gray-800);
white-space: nowrap;
animation: float 4s ease-in-out infinite;
}
.float-card-1 { top: -20px; right: -30px; animation-delay: 0s; }
.float-card-2 { bottom: 60px; left: -40px; animation-delay: 1.5s; }
.float-card-3 { bottom: -10px; right: -20px; animation-delay: 0.8s; font-size: 12px; }
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-8px); }
}
.float-icon {
width: 32px; height: 32px;
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
font-size: 16px;
}
.fi-blue { background: var(--accent-soft); }
.fi-green { background: #f0fdf4; }
.fi-orange { background: #fff7ed; }

.hero-stats-row {
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 12px;
}
.hero-stat {
background: var(--gray-50);
border-radius: var(--radius-sm);
padding: 14px;
text-align: center;
border: 1px solid var(--gray-100);
}
.hero-stat-num {
font-family: 'Sora', sans-serif;
font-size: 22px;
font-weight: 800;
color: var(--primary);
display: block;
}
.hero-stat-lbl {
font-size: 12px;
color: var(--gray-400);
font-weight: 500;
margin-top: 2px;
display: block;
}

/* ─────────────── SECTIONS ─────────────── */
.section {
padding: 100px 24px;
}
.section-alt { background: var(--gray-50); }
.container {
max-width: 1180px;
margin: 0 auto;
}
.section-label {
display: inline-block;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--primary);
background: var(--accent-soft);
padding: 5px 14px;
border-radius: 50px;
margin-bottom: 16px;
}
.section-title {
font-size: clamp(28px, 4vw, 44px);
color: var(--gray-900);
margin-bottom: 16px;
}
.section-desc {
font-size: 17px;
color: var(--gray-600);
line-height: 1.7;
max-width: 560px;
}
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ─────────────── BENEFITS ─────────────── */
.benefits-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}
.benefit-card {
background: white;
border-radius: var(--radius-lg);
padding: 32px 24px;
border: 1px solid var(--gray-100);
box-shadow: var(--shadow-sm);
transition: var(--transition);
position: relative;
overflow: hidden;
}
.benefit-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 3px;
background: linear-gradient(90deg, var(--primary), var(--accent));
transform: scaleX(0);
transition: var(--transition);
transform-origin: left;
}
.benefit-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
border-color: rgba(96,165,250,0.3);
}
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-icon {
width: 56px; height: 56px;
background: var(--accent-soft);
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
font-size: 26px;
margin-bottom: 20px;
transition: var(--transition);
}
.benefit-card:hover .benefit-icon {
background: var(--primary);
transform: scale(1.05) rotate(-3deg);
}
.benefit-title {
font-family: 'Sora', sans-serif;
font-size: 17px;
font-weight: 700;
color: var(--gray-900);
margin-bottom: 10px;
}
.benefit-desc {
font-size: 14px;
color: var(--gray-600);
line-height: 1.6;
}

/* ─────────────── COURSES ─────────────── */
.courses-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 28px;
max-width: 820px;
margin: 0 auto;
}
.course-card {
background: white;
border-radius: var(--radius-xl);
overflow: hidden;
border: 1px solid var(--gray-100);
box-shadow: var(--shadow-sm);
transition: var(--transition);
display: flex;
flex-direction: column;
}
.course-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-lg);
}
.course-header {
padding: 36px 28px 28px;
position: relative;
}
.course-header-bg-1 { background: linear-gradient(135deg, #fef3c7, #fffbeb); } /* Chemistry - amber/warm */
.course-header-bg-2 { background: linear-gradient(135deg, #d1fae5, #ecfdf5); } /* Biology - green */
.course-emoji {
font-size: 48px;
display: block;
margin-bottom: 16px;
line-height: 1;
}
.course-tag {
display: inline-block;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
padding: 4px 10px;
border-radius: 50px;
background: rgba(26,86,219,0.1);
color: var(--primary);
margin-bottom: 10px;
}
.course-name {
font-family: 'Sora', sans-serif;
font-size: 22px;
font-weight: 700;
color: var(--gray-900);
}
.course-body {
padding: 24px 28px 28px;
flex: 1;
display: flex;
flex-direction: column;
}
.course-desc {
font-size: 15px;
color: var(--gray-600);
line-height: 1.7;
margin-bottom: 20px;
flex: 1;
}
.course-meta {
display: flex;
gap: 16px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.course-meta span {
display: flex;
align-items: center;
gap: 5px;
font-size: 13px;
color: var(--gray-600);
font-weight: 500;
}
.btn-outline {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 11px 22px;
border: 2px solid rgba(26,86,219,0.25);
border-radius: 50px;
color: var(--primary);
font-family: 'Sora', sans-serif;
font-weight: 600;
font-size: 14px;
cursor: pointer;
background: none;
text-decoration: none;
transition: var(--transition);
align-self: flex-start;
}
.btn-outline:hover {
background: var(--primary);
color: white;
border-color: var(--primary);
transform: translateX(3px);
}

/* ─────────────── STATS ─────────────── */
.stats-section {
background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
padding: 80px 24px;
position: relative;
overflow: hidden;
}
.stats-section::before {
content: '';
position: absolute;
top: -100px; right: -100px;
width: 400px; height: 400px;
background: rgba(255,255,255,0.04);
border-radius: 50%;
}
.stats-section::after {
content: '';
position: absolute;
bottom: -80px; left: -60px;
width: 300px; height: 300px;
background: rgba(255,255,255,0.03);
border-radius: 50%;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 48px;
position: relative;
z-index: 1;
}
.stat-item { text-align: center; }
.stat-num {
font-family: 'Sora', sans-serif;
font-size: clamp(44px, 6vw, 72px);
font-weight: 800;
color: white;
display: block;
line-height: 1;
margin-bottom: 8px;
}
.stat-label {
font-size: 16px;
color: rgba(255,255,255,0.75);
font-weight: 500;
}
.stat-divider {
width: 1px;
background: rgba(255,255,255,0.15);
}

/* ─────────────── TESTIMONIALS / CTA ─────────────── */
.cta-section {
padding: 100px 24px;
text-align: center;
background: linear-gradient(135deg, #f0f7ff 0%, #fff 50%, #e8f4fd 100%);
position: relative;
overflow: hidden;
}
.cta-section::before {
content: '';
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%,-50%);
width: 600px; height: 600px;
background: radial-gradient(circle, rgba(96,165,250,0.1) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
font-size: clamp(32px, 5vw, 52px);
color: var(--gray-900);
margin-bottom: 18px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.cta-desc {
font-size: 18px;
color: var(--gray-600);
margin-bottom: 40px;
max-width: 500px;
margin-left: auto;
margin-right: auto;
line-height: 1.7;
}

/* ─────────────── FOOTER ─────────────── */
footer {
background: var(--gray-900);
color: white;
padding: 60px 24px 32px;
}
.footer-inner {
max-width: 1180px;
margin: 0 auto;
}
.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 48px;
margin-bottom: 48px;
}

.footer-logo {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 16px;
}
.footer-logo-icon {
background: none;
border-radius: 9px;
display: flex; align-items: center; justify-content: center;
overflow: visible;
}
.footer-logo-icon img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 8px;
}
.footer-logo-text {
font-family: 'Sora', sans-serif;
font-weight: 700;
font-size: 18px;
color: white;
}
.footer-brand p {
font-size: 14px;
color: rgba(255,255,255,0.5);
line-height: 1.7;
margin-bottom: 20px;
}
.footer-social {
display: flex;
gap: 12px;
}
.social-btn {
width: 46px; height: 46px;
border-radius: 12px;
background: rgba(255,255,255,0.1);
display: flex; align-items: center; justify-content: center;
font-size: 22px;
text-decoration: none;
transition: var(--transition);
cursor: pointer;
border: 1px solid rgba(255,255,255,0.12);
color: white;
padding: 0;
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(26,86,219,0.4); }
.social-btn svg { width: 22px; height: 22px; fill: white; flex-shrink: 0; }
.footer-col h4 {
font-family: 'Sora', sans-serif;
font-size: 14px;
font-weight: 700;
color: white;
margin-bottom: 18px;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a, .footer-col ul li span {
font-size: 14px;
color: rgba(255,255,255,0.5);
text-decoration: none;
cursor: pointer;
transition: var(--transition);
display: block;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.08);
padding-top: 28px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
}
.footer-bottom p {
font-size: 13px;
color: rgba(255,255,255,0.35);
}

/* ─────────────── ABOUT PAGE ─────────────── */
.about-hero {
background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 70%);
padding: 80px 24px 100px;
}
.about-hero-inner {
max-width: 1180px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
align-items: center;
}
.about-hero h1 {
font-size: clamp(32px, 5vw, 50px);
color: var(--gray-900);
margin-bottom: 20px;
}
.about-hero p {
font-size: 17px;
color: var(--gray-600);
line-height: 1.8;
margin-bottom: 16px;
}
.about-visual {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.about-visual-card {
border-radius: var(--radius-lg);
padding: 28px 22px;
display: flex;
flex-direction: column;
gap: 10px;
}
.avc-1 { background: linear-gradient(135deg, #1a56db, #3b82f6); color: white; }
.avc-2 { background: var(--sky); color: var(--gray-800); margin-top: 24px; }
.avc-3 { background: var(--gray-100); color: var(--gray-800); margin-top: -24px; }
.avc-4 { background: linear-gradient(135deg, #1e40af, #1a56db); color: white; }
.avc-num {
font-family: 'Sora', sans-serif;
font-size: 36px;
font-weight: 800;
line-height: 1;
}
.avc-lbl { font-size: 13px; font-weight: 500; opacity: 0.8; }

.mvp-grid {
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 28px;
}
.mvp-card {
background: white;
border-radius: var(--radius-lg);
padding: 36px 28px;
border: 1px solid var(--gray-100);
box-shadow: var(--shadow-sm);
transition: var(--transition);
}
.mvp-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-md);
}
.mvp-num {
font-family: 'Sora', sans-serif;
font-size: 13px;
font-weight: 800;
color: var(--primary);
opacity: 0.5;
margin-bottom: 8px;
letter-spacing: 0.1em;
}
.mvp-title {
font-family: 'Sora', sans-serif;
font-size: 20px;
color: var(--gray-900);
margin-bottom: 12px;
}
.mvp-text {
font-size: 15px;
color: var(--gray-600);
line-height: 1.7;
}

.why-grid {
display: grid;
grid-template-columns: repeat(2,1fr);
gap: 20px;
}
.why-item {
background: white;
border-radius: var(--radius-md);
padding: 24px;
display: flex;
gap: 18px;
border: 1px solid var(--gray-100);
box-shadow: var(--shadow-sm);
transition: var(--transition);
align-items: flex-start;
}
.why-item:hover {
border-color: rgba(96,165,250,0.3);
box-shadow: var(--shadow-md);
transform: translateY(-3px);
}
.why-check {
width: 40px; height: 40px; min-width: 40px;
background: var(--accent-soft);
border-radius: 10px;
display: flex; align-items: center; justify-content: center;
font-size: 18px;
}
.why-text h4 {
font-family: 'Sora', sans-serif;
font-size: 16px;
color: var(--gray-900);
margin-bottom: 5px;
}
.why-text p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ─────────────── REGISTER PAGE ─────────────── */
.register-page {
min-height: calc(100vh - 68px);
background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
display: flex;
align-items: center;
padding: 60px 24px 80px;
}
.register-inner {
max-width: 1180px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
align-items: center;
width: 100%;
}
.register-info h1 {
font-size: clamp(30px, 4vw, 46px);
color: var(--gray-900);
margin-bottom: 18px;
}
.register-info p {
font-size: 16px;
color: var(--gray-600);
line-height: 1.7;
margin-bottom: 32px;
}
.register-perks {
display: flex;
flex-direction: column;
gap: 14px;
}
.perk {
display: flex;
align-items: center;
gap: 12px;
font-size: 15px;
color: var(--gray-700);
font-weight: 500;
}
.perk-icon {
width: 36px; height: 36px;
background: var(--accent-soft);
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
font-size: 16px;
}
.register-form-wrap {
background: white;
border-radius: var(--radius-xl);
padding: 48px 40px;
box-shadow: var(--shadow-lg);
border: 1px solid var(--gray-100);
}
.form-title {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.form-subtitle {
font-size: 14px;
color: var(--gray-400);
margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-label {
display: block;
font-size: 13px;
font-weight: 600;
color: var(--gray-700);
margin-bottom: 7px;
letter-spacing: 0.02em;
}
.form-input {
width: 100%;
padding: 13px 18px;
border: 1.5px solid var(--gray-200);
border-radius: var(--radius-sm);
font-family: 'DM Sans', sans-serif;
font-size: 15px;
color: var(--gray-800);
background: var(--gray-50);
outline: none;
transition: var(--transition);
appearance: none;
}
.form-input:focus {
border-color: var(--primary);
background: white;
box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.form-input::placeholder { color: var(--gray-400); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 110px; line-height: 1.6; }
.btn-submit {
width: 100%;
padding: 15px;
background: linear-gradient(135deg, var(--primary), var(--primary-light));
color: white;
font-family: 'Sora', sans-serif;
font-weight: 700;
font-size: 16px;
border: none;
border-radius: 50px;
cursor: pointer;
box-shadow: 0 6px 24px rgba(26,86,219,0.35);
transition: var(--transition);
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-top: 8px;
}
.btn-submit:hover {
transform: translateY(-2px);
box-shadow: 0 10px 32px rgba(26,86,219,0.45);
}
.btn-submit:active { transform: translateY(0); }
.success-message {
display: none;
text-align: center;
padding: 40px 20px;
animation: fadeInUp 0.5s ease forwards;
}
.success-message.show { display: block; }
.success-icon {
width: 72px; height: 72px;
background: linear-gradient(135deg, #10b981, #34d399);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 32px;
margin: 0 auto 20px;
animation: scaleIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes scaleIn {
from { transform: scale(0); }
to { transform: scale(1); }
}
.success-message h3 {
font-family: 'Sora', sans-serif;
font-size: 22px;
color: var(--gray-900);
margin-bottom: 10px;
}
.success-message p {
font-size: 15px;
color: var(--gray-600);
line-height: 1.6;
}

/* ─────────────── ANIMATIONS ─────────────── */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.animate-in {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
opacity: 1;
transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ─────────────── MOBILE MENU ─────────────── */
.mobile-menu {
position: fixed;
top: 68px; left: 0; right: 0;
background: rgba(255,255,255,0.98);
backdrop-filter: blur(20px);
z-index: 999;
padding: 20px 24px;
display: none;
flex-direction: column;
gap: 4px;
border-bottom: 1px solid var(--gray-100);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
animation: slideDown 0.3s ease;
}
@keyframes slideDown {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
padding: 13px 16px;
border-radius: var(--radius-sm);
font-size: 16px;
font-weight: 500;
color: var(--gray-700);
text-decoration: none;
cursor: pointer;
transition: var(--transition);
display: flex;
align-items: center;
gap: 10px;
}
.mobile-menu a:hover, .mobile-menu a.active {
background: var(--accent-soft);
color: var(--primary);
}
.mobile-menu .mob-cta {
background: var(--primary);
color: white;
font-weight: 700;
justify-content: center;
margin-top: 8px;
border-radius: 50px;
}
.mobile-menu .mob-cta:hover { background: var(--primary-dark); color: white; }

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 1024px) {
.benefits-grid { grid-template-columns: repeat(2,1fr); }
.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
.about-hero-inner { gap: 40px; }
}
@media (max-width: 768px) {
.nav-links { display: none; }
.hamburger { display: flex; }
.hero-inner { grid-template-columns: 1fr; gap: 40px; }
.hero-visual { order: -1; }
.hero-illustration { max-width: 360px; margin: 0 auto; }
.courses-grid { grid-template-columns: 1fr; max-width: 100%; }
.stats-grid { grid-template-columns: 1fr; gap: 32px; }
.stat-divider { display: none; }
.mvp-grid { grid-template-columns: 1fr; }
.why-grid { grid-template-columns: 1fr; }
.about-hero-inner { grid-template-columns: 1fr; }
.about-visual { display: none; }
.register-inner { grid-template-columns: 1fr; gap: 40px; }
.register-form-wrap { padding: 32px 24px; }
.footer-grid { grid-template-columns: 1fr; gap: 28px; }
.footer-bottom { flex-direction: column; text-align: center; }
.hero-card-visual { min-height: 180px; padding: 24px 20px; }
}
@media (max-width: 480px) {
.section { padding: 70px 16px; }
.hero { padding: 40px 16px 60px; }
.benefits-grid { grid-template-columns: 1fr; }
.hero-actions { flex-direction: column; align-items: flex-start; }
.register-perks { display: none; }
}

/* ═══════════════════════════════════════════
    CREATIVE EDUCATION ANIMATIONS
═══════════════════════════════════════════ */

/* ── Floating Symbols Canvas ── */
#edu-canvas {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 0;
opacity: 0.55;
}

/* ── Typewriter cursor ── */
.typewriter-cursor {
display: inline-block;
width: 3px;
height: 0.85em;
background: var(--primary);
margin-left: 3px;
vertical-align: middle;
border-radius: 2px;
animation: blink 0.75s step-end infinite;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}

/* ── Paper Airplane ── */
#paper-plane {
position: fixed;
top: -60px;
left: -60px;
width: 52px;
height: 52px;
pointer-events: none;
z-index: 9999;
opacity: 0;
filter: drop-shadow(0 4px 12px rgba(26,86,219,0.35));
transition: opacity 0.3s;
}
#paper-plane.flying { opacity: 1; }

/* ── Pencil Underline SVG animation ── */
.pencil-underline {
display: block;
width: 80px;
height: 6px;
margin-top: 4px;
margin-bottom: 12px;
overflow: visible;
}
.pencil-underline path {
stroke: var(--primary);
stroke-width: 2.5;
fill: none;
stroke-linecap: round;
stroke-dasharray: 300;
stroke-dashoffset: 300;
opacity: 0.4;
transition: stroke-dashoffset 1s cubic-bezier(0.4,0,0.2,1);
}
.pencil-underline.drawn path {
stroke-dashoffset: 0;
}

/* ── Cursor Sparkle ── */
.sparkle-dot {
position: fixed;
pointer-events: none;
z-index: 9998;
border-radius: 50%;
transform: translate(-50%,-50%) scale(1);
animation: sparkle-out 0.7s ease forwards;
}
@keyframes sparkle-out {
0%   { transform: translate(-50%,-50%) scale(1); opacity: 1; }
100% { transform: translate(-50%,-50%) scale(0); opacity: 0; }
}

/* ── Scroll-reveal hero content ── */
.hero-content {
position: relative;
z-index: 2;
}
.hero-content > * {
opacity: 0;
transform: translateY(28px);
animation: hero-rise 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.42s; }
.hero-content > *:nth-child(4) { animation-delay: 0.58s; }
.hero-content > *:nth-child(5) { animation-delay: 0.72s; }
@keyframes hero-rise {
to { opacity: 1; transform: translateY(0); }
}

/* ── Hero visual entrance ── */
.hero-visual {
position: relative;
z-index: 2;
opacity: 0;
transform: translateX(40px) scale(0.97);
animation: slide-in-right 0.85s 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes slide-in-right {
to { opacity: 1; transform: translateX(0) scale(1); }
}

/* ── Morphing gradient orbs ── */
.orb {
position: absolute;
border-radius: 50%;
pointer-events: none;
filter: blur(60px);
animation: orb-drift 12s ease-in-out infinite alternate;
z-index: 0;
}
.orb-1 {
width: 420px; height: 420px;
background: radial-gradient(circle, rgba(96,165,250,0.18), transparent 70%);
top: -80px; right: -60px;
animation-duration: 14s;
}
.orb-2 {
width: 300px; height: 300px;
background: radial-gradient(circle, rgba(26,86,219,0.12), transparent 70%);
bottom: 0; left: -80px;
animation-duration: 10s;
animation-delay: -5s;
}
.orb-3 {
width: 200px; height: 200px;
background: radial-gradient(circle, rgba(147,197,253,0.2), transparent 70%);
top: 50%; left: 40%;
animation-duration: 8s;
animation-delay: -2s;
}
@keyframes orb-drift {
0%   { transform: translate(0,0) scale(1); }
33%  { transform: translate(30px,-20px) scale(1.05); }
66%  { transform: translate(-15px,25px) scale(0.97); }
100% { transform: translate(20px,10px) scale(1.03); }
}

/* ── Benefit icon bounce on hover ── */
.benefit-card:hover .benefit-icon {
animation: icon-pop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes icon-pop {
0%  { transform: scale(1) rotate(0deg); }
40% { transform: scale(1.25) rotate(-8deg); }
70% { transform: scale(0.95) rotate(4deg); }
100%{ transform: scale(1.05) rotate(-3deg); }
}

/* ── Course card shimmer on hover ── */
.course-card { overflow: hidden; }
.course-card::after {
content: '';
position: absolute;
top: 0; left: -100%;
width: 60%; height: 100%;
background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.45) 50%,
    transparent 60%
);
transition: left 0.55s ease;
pointer-events: none;
}
.course-card { position: relative; }
.course-card:hover::after { left: 150%; }

/* ── Stats section: number pulse ── */
.stat-num {
display: inline-block;
transition: transform 0.15s;
}
.stat-num.popped { animation: num-pop 0.35s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes num-pop {
0%  { transform: scale(1); }
50% { transform: scale(1.18); }
100%{ transform: scale(1); }
}

/* ── Floating edu-icon chips (hero bg) ── */
.edu-chip {
position: absolute;
background: rgba(255,255,255,0.88);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(96,165,250,0.28);
border-radius: 50px;
padding: 7px 14px;
font-size: 13px;
font-weight: 600;
color: var(--gray-700);
display: flex;
align-items: center;
gap: 7px;
box-shadow: 0 4px 16px rgba(26,86,219,0.1);
pointer-events: none;
white-space: nowrap;
animation: chip-float 6s ease-in-out infinite;
z-index: 0;
}
/* All chips pinned to the RIGHT half only — never touch the text column */
.chip-1 { animation-delay: 0s;   top: 12%;    right: 3%; }
.chip-2 { animation-delay: 1.8s; bottom: 28%; right: 2%; }
.chip-3 { animation-delay: 3.2s; top: 52%;    right: 5%; }
.chip-4 { animation-delay: 2.4s; bottom: 10%; right: 18%; }
@keyframes chip-float {
0%,100% { transform: translateY(0px) rotate(-1deg); }
50%     { transform: translateY(-12px) rotate(1deg); }
}
/* Hide chips on anything under 1024px to avoid clutter */
@media (max-width: 1024px) { .edu-chip { display: none; } }

/* ── Page transition ── */
.page.active {
animation: page-fade 0.4s ease forwards;
}
@keyframes page-fade {
from { opacity: 0; transform: translateY(12px); }
to   { opacity: 1; transform: translateY(0); }
}

/* ── Section title draw-in ── */
.section-title-wrap { display: inline-block; position: relative; }

/* ── Progress skill bars (about page) ── */
.skill-bars {
margin-top: 40px;
display: flex;
flex-direction: column;
gap: 18px;
}
.skill-bar-label {
display: flex;
justify-content: space-between;
font-size: 13px;
font-weight: 600;
color: var(--gray-700);
margin-bottom: 7px;
}
.skill-bar-track {
background: var(--gray-100);
border-radius: 50px;
height: 9px;
overflow: hidden;
}
.skill-bar-fill {
height: 100%;
border-radius: 50px;
background: linear-gradient(90deg, var(--primary), var(--accent));
width: 0%;
transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
position: relative;
}
.skill-bar-fill::after {
content: '';
position: absolute;
right: 0; top: 0; bottom: 0;
width: 24px;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
animation: bar-shimmer 1.5s 1.4s ease infinite;
}
@keyframes bar-shimmer {
0%,100% { opacity: 0; }
50%     { opacity: 1; }
}

/* ── Confetti burst on form success ── */
.confetti-piece {
position: fixed;
width: 10px; height: 10px;
border-radius: 2px;
pointer-events: none;
z-index: 99999;
animation: confetti-fall 1.2s ease forwards;
}
@keyframes confetti-fall {
0%   { transform: translate(0,0) rotate(0deg) scale(1); opacity: 1; }
100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0.3); opacity: 0; }
}

/* ── Ripple on CTA buttons ── */
.btn-primary { overflow: hidden; }
.btn-ripple {
position: absolute;
border-radius: 50%;
background: rgba(255,255,255,0.35);
transform: scale(0);
animation: ripple-expand 0.55s linear;
pointer-events: none;
}
@keyframes ripple-expand {
to { transform: scale(4); opacity: 0; }
}

/* ── Chalkboard dots in stats bg ── */
.stats-section {
background-image:
    radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
background-size: 28px 28px;
}

/* ── Radio Button Groups (Language & Time Slot) ── */
.radio-group {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-top: 2px;
}
.radio-option {
position: relative;
}
.radio-option input[type="radio"] {
position: absolute;
opacity: 0;
width: 0; height: 0;
}
.radio-label {
display: flex;
align-items: center;
gap: 10px;
padding: 13px 16px;
border: 1.5px solid var(--gray-200);
border-radius: var(--radius-sm);
background: var(--gray-50);
cursor: pointer;
transition: var(--transition);
font-size: 14px;
font-weight: 500;
color: var(--gray-700);
user-select: none;
}
.radio-label:hover {
border-color: var(--accent);
background: var(--accent-soft);
}
.radio-option input[type="radio"]:checked + .radio-label {
border-color: var(--primary);
background: var(--accent-soft);
color: var(--primary);
font-weight: 600;
box-shadow: 0 0 0 3px rgba(26,86,219,0.09);
}
.radio-dot {
width: 18px; height: 18px; min-width: 18px;
border-radius: 50%;
border: 2px solid var(--gray-300);
transition: var(--transition);
display: flex; align-items: center; justify-content: center;
}
.radio-option input[type="radio"]:checked + .radio-label .radio-dot {
border-color: var(--primary);
background: var(--primary);
box-shadow: inset 0 0 0 3px white;
}
.radio-emoji { font-size: 18px; line-height: 1; }
.radio-text { display: flex; flex-direction: column; gap: 1px; }
.radio-text strong { font-size: 14px; font-weight: 600; display: block; }
.radio-text span { font-size: 11px; opacity: 0.65; font-weight: 400; }

/* Time slot grid — full width for two options */
.timeslot-group {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-top: 2px;
}
.timeslot-label {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
padding: 16px 10px;
border: 1.5px solid var(--gray-200);
border-radius: var(--radius-sm);
background: var(--gray-50);
cursor: pointer;
transition: var(--transition);
text-align: center;
user-select: none;
}
.timeslot-label:hover {
border-color: var(--accent);
background: var(--accent-soft);
}
.radio-option input[type="radio"]:checked + .timeslot-label {
border-color: var(--primary);
background: var(--accent-soft);
box-shadow: 0 0 0 3px rgba(26,86,219,0.09);
}
.timeslot-time {
font-family: 'Sora', sans-serif;
font-size: 15px;
font-weight: 700;
color: var(--gray-900);
display: block;
}
.radio-option input[type="radio"]:checked + .timeslot-label .timeslot-time {
color: var(--primary);
}
.timeslot-sub {
font-size: 11px;
color: var(--gray-400);
font-weight: 500;
}
.timeslot-icon { font-size: 20px; margin-bottom: 2px; }

/* Error highlight for radio groups */
.radio-group.error .radio-label,
.timeslot-group.error .timeslot-label {
border-color: #fca5a5;
background: #fff5f5;
animation: shake 0.4s ease;
}

/* ── Language Switcher ── */
.lang-switcher {
display: flex;
align-items: center;
gap: 2px;
background: var(--gray-100);
border-radius: 50px;
padding: 3px;
margin-left: 8px;
}
.lang-btn {
padding: 5px 13px;
border-radius: 50px;
font-size: 12px;
font-weight: 700;
font-family: 'Sora', sans-serif;
cursor: pointer;
border: none;
background: transparent;
color: var(--gray-400);
transition: var(--transition);
letter-spacing: 0.05em;
}
.lang-btn.active { background: var(--primary); color: white; box-shadow: 0 2px 8px rgba(26,86,219,0.3); }
.lang-btn:hover:not(.active) { color: var(--gray-700); }

/* ── Phone prefix input wrapper ── */
.phone-input-wrap {
display: flex;
border: 1.5px solid var(--gray-200);
border-radius: var(--radius-sm);
background: var(--gray-50);
overflow: hidden;
transition: var(--transition);
}
.phone-input-wrap:focus-within {
border-color: var(--primary);
background: white;
box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.phone-input-wrap.error { border-color: #ef4444; animation: shake 0.4s ease; }
.phone-prefix {
display: flex;
align-items: center;
gap: 6px;
padding: 0 14px;
background: var(--accent-soft);
border-right: 1.5px solid var(--gray-200);
font-size: 14px;
font-weight: 700;
color: var(--primary);
white-space: nowrap;
user-select: none;
flex-shrink: 0;
}
.phone-prefix-flag { font-size: 18px; }
.phone-body {
flex: 1;
padding: 13px 16px;
border: none;
background: transparent;
font-family: 'DM Sans', sans-serif;
font-size: 15px;
color: var(--gray-800);
outline: none;
}
.phone-body::placeholder { color: var(--gray-400); }

/* ── Guarantee Banner ── */
.guarantee-banner {
display: flex;
align-items: flex-start;
gap: 14px;
background: linear-gradient(135deg, #f0fdf4, #dcfce7);
border: 1.5px solid #86efac;
border-radius: var(--radius-md);
padding: 18px 20px;
margin-bottom: 24px;
position: relative;
overflow: hidden;
}
.guarantee-banner::before {
content: '';
position: absolute;
top: -20px; right: -20px;
width: 80px; height: 80px;
background: rgba(134,239,172,0.25);
border-radius: 50%;
pointer-events: none;
}
.guarantee-icon { font-size: 28px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.guarantee-text strong {
display: block;
font-family: 'Sora', sans-serif;
font-size: 13px;
font-weight: 700;
color: #166534;
margin-bottom: 4px;
letter-spacing: 0.01em;
}
.guarantee-text p { font-size: 13px; color: #15803d; line-height: 1.55; margin: 0; }

/* ── Grade hint ── */
.grade-hint { font-size: 11px; color: var(--gray-400); margin-top: 5px; display: block; }

/* ══════════════════════════════════════════
    HERO INLINE FORM CARD
══════════════════════════════════════════ */
.hero-form-card {
background: white;
border-radius: var(--radius-xl);
padding: 28px 26px;
box-shadow: 0 24px 80px rgba(26,86,219,0.18), 0 4px 20px rgba(0,0,0,0.06);
border: 1px solid rgba(26,86,219,0.08);
position: relative;
overflow: visible;
}
.hero-form-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 4px;
background: linear-gradient(90deg, var(--primary), var(--accent));
border-radius: var(--radius-xl) var(--radius-xl) 0 0;
pointer-events: none;
}
.hero-form-title {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px;
}
.hero-form-subtitle {
font-size: 12px;
color: var(--gray-400);
margin-bottom: 16px;
}
/* Compact form groups inside hero */
.hero-form-card .form-group { margin-bottom: 11px; }
.hero-form-card .form-label { font-size: 11px; margin-bottom: 4px; font-weight: 600; letter-spacing: 0.03em; }
.hero-form-card .form-input { padding: 10px 13px; font-size: 13px; }
.hero-form-card .phone-body { padding: 10px 13px; font-size: 13px; }
.hero-form-card .radio-label { padding: 8px 10px; font-size: 12px; gap: 7px; }
.hero-form-card .radio-text strong { font-size: 12px; }
.hero-form-card .radio-text span { font-size: 10px; }
.hero-form-card .radio-emoji { font-size: 15px; }
.hero-form-card .radio-dot { width: 14px; height: 14px; min-width: 14px; }
.hero-form-card .timeslot-label { padding: 10px 6px; gap: 2px; }
.hero-form-card .timeslot-time { font-size: 12px; }
.hero-form-card .timeslot-sub { font-size: 9px; }
.hero-form-card .timeslot-icon { font-size: 16px; margin-bottom: 1px; }
.hero-form-card .guarantee-banner { padding: 10px 14px; margin-bottom: 14px; gap: 10px; }
.hero-form-card .guarantee-icon { font-size: 18px; }
.hero-form-card .guarantee-text strong { font-size: 11px; }
.hero-form-card .guarantee-text p { font-size: 11px; }
.hero-form-card .btn-submit { padding: 12px; font-size: 14px; margin-top: 6px; }
.hero-form-card .radio-group { gap: 7px; }
.hero-form-card .timeslot-group { gap: 7px; }
.hero-form-card .grade-hint { font-size: 10px; margin-top: 3px; }
.hero-form-card .phone-prefix { padding: 0 10px; font-size: 13px; gap: 4px; }
.hero-form-card .phone-prefix-flag { font-size: 14px; }

/* ══════════════════════════════════════════
    STUDENT RESULTS GALLERY
══════════════════════════════════════════ */
.results-section {
padding: 90px 24px;
background: var(--gray-50);
}
.results-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
max-width: 1080px;
margin: 0 auto;
}
.result-frame img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.result-frame:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
}
.result-frame img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.5s ease;
}
.result-frame:hover img {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(26, 86, 219, 0.15);
  border-color: rgba(26, 86, 219, 0.3);
}

.result-placeholder-icon {
width: 60px; height: 60px;
background: var(--accent-soft);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 26px;
border: 2px solid rgba(26,86,219,0.1);
}
.result-placeholder-num {
font-family: 'Sora', sans-serif;
font-size: 13px;
font-weight: 700;
color: var(--primary);
opacity: 0.7;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.result-placeholder-text {
font-size: 12px;
color: var(--gray-400);
line-height: 1.4;
}
.result-badge {
position: absolute;
top: 12px; right: 12px;
background: white;
border-radius: 50px;
padding: 4px 10px;
font-size: 11px;
font-weight: 700;
color: var(--primary);
box-shadow: 0 2px 8px rgba(0,0,0,0.12);
display: flex; align-items: center; gap: 4px;
}
/* Lightbox overlay */
.result-frame {
  cursor: default;
}

.result-frame img {
  transition: transform 0.3s ease;
}

.result-frame:hover img {
  transform: scale(1.04);
}

/* ══════════════════════════════════════════
    HERO BACKGROUND IMAGE READY SLOT
    ─ When you have the image, set:
    .hero { background-image: url('your-image.jpg'); background-size: cover; background-position: center; }
    and the ::before overlay below will dim it nicely.
══════════════════════════════════════════ */
.hero {
/* background-image: url('students-bg.jpg'); */
background-size: cover;
background-position: center top;
background-attachment: scroll;
}
/* Semi-transparent overlay — activates when bg image is set */
.hero-bg-overlay {
position: absolute;
inset: 0;
background: linear-gradient(135deg,
    rgba(240,247,255,0.97) 0%,
    rgba(255,255,255,0.92) 45%,
    rgba(232,244,253,0.88) 100%);
pointer-events: none;
z-index: 0;
transition: background 0.3s;
}

@media (max-width: 900px) {
.results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
.results-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-form-card { padding: 24px 18px; }

/* ══════════════════════════════════════════
    REVIEWS SECTION
══════════════════════════════════════════ */
.reviews-section {
  padding: 90px 24px;
  background: #f8fafc;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid #e8edf5;
  box-shadow: 0 2px 16px rgba(26,86,219,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: #1a56db;
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,86,219,0.13);
  border-color: rgba(96,165,250,0.35);
}

.review-card-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a56db;
  background: #eff6ff;
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 14px;
  width: fit-content;
}

.review-card-name {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.review-card-text {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.75;
  font-style: italic;
}
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .reviews-grid { grid-template-columns: 1fr; }
}



/* ══════════════════════════════════════════
    HERO SUBJECT CARDS (Kimyo & Biologiya)
══════════════════════════════════════════ */
.hero-subject-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-subject-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border-radius: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-100);
  box-shadow: 0 2px 12px rgba(26,86,219,0.06);
  transition: var(--transition);
}
.hero-subject-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(26,86,219,0.12);
}
.hero-subject-card.chem { border-left: 4px solid #f59e0b; }
.hero-subject-card.bio  { border-left: 4px solid #10b981; }
.hsc-icon { font-size: 28px; flex-shrink: 0; }
.hsc-text { display: flex; flex-direction: column; gap: 2px; }
.hsc-text strong {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}
.hsc-text span {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.4;
}

/* Mobile: stack hero to single column with form below */
@media (max-width: 768px) {
  .hero { padding: 72px 16px 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: 1; }
  .hero-content { order: 0; }
  .hero-subject-cards { flex-direction: row; gap: 8px; }
  .hero-subject-card { padding: 10px 14px; }
  .hsc-text strong { font-size: 13px; }
  .hsc-text span { font-size: 11px; }
  .hero-form-card { padding: 22px 16px; }
}
@media (max-width: 480px) {
  .hero-subject-cards { flex-direction: column; }
}


@media (max-width: 480px) {
  .nav-logo-text {
    font-size: 15px;
  }
  .nav-logo-icon img {
    height: 36px;
  }
}

@media (max-width: 768px) {
  #paper-plane {
    display: none !important;
  }
}

#paper-plane {
  will-change: transform;
}

@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}