/* ============================================
   العالمية — Student Platform Styles
   Palette derived from brand reference:
   Purple primary #7C3AED, deep purple #4C1D95→#6D28D9,
   ink #1E1B2E, light lilac surfaces #F6F2FC
   ============================================ */

:root {
  --purple: #7C3AED;
  --purple-dark: #5B21B6;
  --purple-darker: #4C1D95;
  --purple-light: #EFE6FC;
  --purple-lighter: #F7F3FD;
  --ink: #1E1B2E;
  --ink-soft: #574F6B;
  --muted: #8A82A0;
  --border: #E7E1F3;
  --bg: #FBFAFD;
  --white: #FFFFFF;
  --success: #1E8E5A;
  --error: #C4324B;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(76, 29, 149, 0.08);
  --shadow-sm: 0 4px 14px rgba(76, 29, 149, 0.06);
  --font: 'Tajawal', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
p { margin: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 2px solid transparent;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple-light); }
.btn-light { background: #fff; color: var(--purple-darker); }
.btn-light:hover { background: var(--purple-light); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-google { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-google:hover { background: var(--purple-lighter); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { font-size: 24px; font-weight: 900; color: var(--purple-darker); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-weight: 600; color: var(--ink-soft); font-size: 15px; padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--purple); border-bottom-color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 6px; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.user-menu { position: relative; }
.user-menu-btn { display: flex; align-items: center; gap: 8px; background: var(--purple-lighter); border: 1px solid var(--border); padding: 6px 14px 6px 8px; border-radius: 999px; font-weight: 700; color: var(--ink); }
.user-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; overflow: hidden; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-menu-dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); min-width: 160px; padding: 6px; display: none; flex-direction: column; }
.user-menu-dropdown.open { display: flex; }
.user-menu-dropdown a { padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.user-menu-dropdown a:hover { background: var(--purple-lighter); }

/* ===== Flash messages ===== */
.flash { position: fixed; top: 90px; left: 50%; transform: translateX(-50%); z-index: 200; padding: 14px 26px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); animation: fadeInDown .3s ease; }
.flash-success { background: #E7F7EF; color: var(--success); border: 1px solid #BEEBD3; }
.flash-error { background: #FCE9EC; color: var(--error); border: 1px solid #F5C2CC; }
@keyframes fadeInDown { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, var(--purple-lighter) 0%, #FBFAFD 100%); padding: 70px 0 40px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-block; background: var(--purple-light); color: var(--purple-darker); font-weight: 700; font-size: 13px; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px; }
.hero-text h1 { font-size: 44px; line-height: 1.3; margin-bottom: 18px; color: var(--ink); }
.hero-text p { font-size: 17px; color: var(--ink-soft); margin-bottom: 30px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-badges div { display: flex; flex-direction: column; }
.hero-badges strong { font-size: 24px; color: var(--purple-darker); }
.hero-badges span { color: var(--muted); font-size: 13px; }

.hero-visual { position: relative; min-height: 360px; }
.hero-blob { position: absolute; inset: 0; background: linear-gradient(135deg, var(--purple), var(--purple-darker)); border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; opacity: .12; }
.hero-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); width: 78%; }
.hero-card-1 { margin-top: 30px; }
.hero-card-2 { margin-right: auto; margin-top: -20px; margin-left: 0; }
.hero-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--purple-light); color: var(--purple); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.hero-card strong { display: block; color: var(--ink); }
.hero-card span { font-size: 13px; color: var(--muted); }
.progress-ring { width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--purple) 72%, var(--purple-light) 0); flex-shrink: 0; position: relative; }
.progress-ring::after { content: ''; position: absolute; inset: 6px; background: #fff; border-radius: 50%; }

/* ===== Sections generic ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--purple-lighter); }
.section-heading { text-align: center; margin-bottom: 44px; }
.section-heading h2 { font-size: 32px; }
.heading-line { display: block; width: 60px; height: 4px; background: var(--purple); border-radius: 4px; margin: 16px auto 0; }

/* ===== Features (matches reference screenshot) ===== */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--shadow-sm); }
.feature-text h3 { font-size: 19px; margin-bottom: 10px; }
.feature-text p { color: var(--ink-soft); font-size: 14px; }
.feature-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; background: var(--purple-light); display: flex; align-items: center; justify-content: center; font-size: 24px; }

/* ===== Sections/subjects grids ===== */
.sections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.section-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.section-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section-card-img { height: 150px; background: linear-gradient(135deg, var(--purple), var(--purple-darker)); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.section-card-img span { font-size: 40px; font-weight: 900; color: #fff; opacity: .85; }
.section-card h3 { padding: 18px 20px 6px; font-size: 18px; }
.section-card p { padding: 0 20px 20px; color: var(--muted); font-size: 13px; }
.center-cta { text-align: center; margin-top: 40px; }

.subjects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.subject-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease; }
.subject-card:hover { transform: translateY(-4px); }
.subject-card-img { height: 140px; background: linear-gradient(135deg, var(--purple-dark), var(--purple)); display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.subject-card-img span { font-size: 36px; font-weight: 900; color: #fff; opacity: .85; }
.subject-card-body { padding: 18px 20px 22px; }
.subject-card-body h3 { font-size: 17px; margin-bottom: 4px; }
.subject-teacher { color: var(--purple); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.subject-card-body p { color: var(--muted); font-size: 13px; margin-bottom: 14px; }

/* ===== Stats section (purple, matches reference) ===== */
.stats-section { background: linear-gradient(120deg, var(--purple-darker), var(--purple)); padding: 70px 0; color: #fff; }
.stats-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.stats-inner-alt { grid-template-columns: 1fr; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); padding: 26px 20px; text-align: center; }
.stat-box strong { display: block; font-size: 32px; margin-bottom: 6px; }
.stat-box span { font-size: 13px; opacity: .85; }
.stats-eyebrow { display: inline-block; background: rgba(255,255,255,.15); padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.stats-text h2 { font-size: 30px; margin-bottom: 18px; line-height: 1.4; }
.stats-text p { opacity: .9; margin-bottom: 14px; font-size: 15px; }
.stats-text .btn { margin-top: 12px; }

/* ===== CTA banner ===== */
.cta-banner { background: var(--ink); color: #fff; padding: 60px 0; }
.cta-banner-inner { text-align: center; }
.cta-banner h2 { font-size: 28px; margin-bottom: 10px; }
.cta-banner p { opacity: .8; margin-bottom: 26px; }

/* ===== Page header (inner pages) ===== */
.page-header { background: linear-gradient(180deg, var(--purple-lighter), var(--bg)); padding: 60px 0 40px; text-align: center; }
.page-header-sm { padding: 44px 0 30px; text-align: right; }
.page-header h1 { font-size: 34px; margin: 10px 0; }
.page-header p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; }
.page-header-sm p { margin: 0; max-width: none; }

/* ===== About page ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }
.about-box-icon { font-size: 30px; margin-bottom: 14px; }
.about-box h3 { margin-bottom: 10px; font-size: 20px; }
.about-box p { color: var(--ink-soft); }

/* ===== Sales points page ===== */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan-popular { border: 2px solid var(--purple); }
.plan-badge { position: absolute; top: -12px; right: 24px; background: var(--purple); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.plan-card h3 { font-size: 19px; margin-bottom: 10px; }
.plan-price { font-size: 34px; font-weight: 900; color: var(--purple-darker); margin-bottom: 4px; }
.plan-price span { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-count { color: var(--purple); font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.plan-card > p { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; }
.plan-features { margin-bottom: 20px; flex-grow: 1; }
.plan-features li { padding: 6px 0; font-size: 14px; color: var(--ink-soft); border-top: 1px dashed var(--border); }
.plan-features li:first-child { border-top: none; }
.plan-features li::before { content: '✓ '; color: var(--purple); font-weight: 900; }

.points-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.point-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.point-card h4 { margin-bottom: 6px; font-size: 16px; }
.point-region { display: inline-block; background: var(--purple-light); color: var(--purple-darker); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.point-card p { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--purple); }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 22px; margin-bottom: 16px; }
.contact-info-card h4 { font-size: 14px; color: var(--purple); margin-bottom: 6px; }
.contact-social { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-social a { background: var(--purple-light); color: var(--purple-darker); font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 999px; }

/* ===== Auth pages ===== */
.auth-section { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-panel { background: linear-gradient(150deg, var(--purple-darker), var(--purple)); display: flex; align-items: center; justify-content: center; padding: 60px; }
.auth-panel-content { color: #fff; max-width: 380px; }
.auth-logo { color: #fff; font-size: 30px; margin-bottom: 30px; }
.auth-panel-content h2 { font-size: 30px; margin-bottom: 16px; line-height: 1.4; }
.auth-panel-content p { opacity: .85; font-size: 15px; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-form-box { width: 100%; max-width: 400px; }
.auth-form-box h1 { font-size: 26px; margin-bottom: 24px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-switch { text-align: center; margin-top: 20px; font-size: 14px; color: var(--ink-soft); }
.auth-switch a { color: var(--purple); font-weight: 700; }

/* ===== Profile ===== */
.profile-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: start; }
.my-subjects { display: flex; flex-direction: column; gap: 14px; }
.my-subject-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.my-subject-top { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 700; }
.progress-bar { height: 8px; background: var(--purple-light); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.progress-bar-fill { height: 100%; background: var(--purple); border-radius: 999px; }
.profile-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); }
.empty-inline { background: #fff; border: 1px dashed var(--border); border-radius: var(--radius-md); padding: 30px; text-align: center; }
.empty-inline p { margin-bottom: 16px; color: var(--muted); }

/* ===== Subject page (video list) ===== */
.subject-layout { display: grid; grid-template-columns: 1fr .32fr; gap: 34px; align-items: start; }
.progress-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.progress-summary-top { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 700; }
.redeem-box { background: var(--purple-lighter); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; margin-bottom: 24px; }
.redeem-box h3 { margin-bottom: 6px; font-size: 18px; }
.redeem-box p { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; }
.redeem-form { display: flex; gap: 10px; }
.redeem-form input { flex: 1; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 15px; direction: ltr; text-align: center; letter-spacing: 2px; }
.redeem-form input:focus { outline: none; border-color: var(--purple); }

.video-list { display: flex; flex-direction: column; gap: 10px; }
.video-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; transition: background .15s ease; }
.video-row:not(.video-row-locked):hover { background: var(--purple-lighter); }
.video-row-num { width: 26px; height: 26px; border-radius: 50%; background: var(--purple-light); color: var(--purple-darker); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.video-row-icon { width: 30px; text-align: center; flex-shrink: 0; }
.video-row-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.video-row-info strong { font-size: 14.5px; }
.video-row-info span { font-size: 12.5px; }
.video-row-locked { opacity: .55; cursor: not-allowed; }
.video-row-done { border-color: #BEEBD3; }
.video-row-done .video-row-icon { color: var(--success); }
.video-row-active { background: var(--purple-lighter); border-color: var(--purple); }
.badge-free { background: #E7F7EF; color: var(--success); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; flex-shrink: 0; }
.badge-progress { background: var(--purple-light); color: var(--purple-darker); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; flex-shrink: 0; }
.video-list-compact .video-row { padding: 10px 12px; }
.video-list-compact .video-row-info strong { font-size: 13px; }

.teacher-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.teacher-card-photo { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(135deg, var(--purple), var(--purple-darker)); display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.teacher-card-photo span { color: #fff; font-size: 26px; font-weight: 900; }
.teacher-card h4 { font-size: 16px; margin-bottom: 4px; }
.teacher-card .muted { font-size: 12.5px; margin-bottom: 10px; }
.teacher-card p:last-child { font-size: 13px; color: var(--ink-soft); }

/* ===== Watch page ===== */
.watch-section { padding: 30px 0 60px; background: var(--bg); }
.watch-layout { display: grid; grid-template-columns: 1fr .34fr; gap: 30px; align-items: start; }
.video-player-wrap { background: #000; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
.video-player-wrap video { width: 100%; display: block; max-height: 560px; }
.watch-progress-line { height: 6px; background: var(--purple-light); border-radius: 999px; margin-top: 12px; overflow: hidden; }
.watch-progress-fill { height: 100%; background: var(--error); border-radius: 999px; transition: width .3s ease; }
.watch-info { padding-top: 20px; }
.watch-info h1 { font-size: 22px; margin-bottom: 10px; }
.watch-info p { margin-bottom: 18px; }
.watch-side { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-sm); }
.watch-side h3 { font-size: 15px; margin-bottom: 14px; }

/* ===== Empty state / 404 ===== */
.empty-state { text-align: center; padding: 110px 24px; }
.empty-state-code { font-size: 90px; font-weight: 900; color: var(--purple-light); }
.empty-state h1 { font-size: 26px; margin: 10px 0 12px; }
.empty-state p { color: var(--muted); margin-bottom: 26px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 60px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 13.5px; margin-bottom: 10px; color: rgba(255,255,255,.7); }
.footer-bottom { padding: 20px 24px; text-align: center; font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner, .stats-inner, .about-grid, .contact-grid, .profile-grid, .subject-layout, .watch-layout { grid-template-columns: 1fr; }
  .features-grid, .sections-grid, .subjects-grid, .plans-grid, .points-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .auth-panel { display: none; }
  .auth-section { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .features-grid, .sections-grid, .subjects-grid, .plans-grid, .points-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
