:root {
  --ink: #152238;
  --muted: #65728a;
  --brand: #2457f5;
  --brand-2: #5d7cff;
  --soft: #eef3ff;
  --line: #e4e9f2;
  --card: #ffffff;
  --bg: #f7f9fc;
  --dark: #101a2d;
  --green: #1ea97c;
  --orange: #ee9857;
  --shadow: 0 22px 60px rgba(25, 52, 105, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

body::selection { background: #dfe7ff; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228,233,242,.75);
}

.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 205px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: white; background: linear-gradient(145deg, var(--brand), #7b8cff); font-weight: 800; font-size: 20px;
  box-shadow: 0 10px 25px rgba(36,87,245,.22);
}
.brand strong { display:block; font-size: 18px; line-height: 1.05; }
.brand small { color: var(--muted); font-size: 10px; font-weight: 600; }
.main-nav { display:flex; gap: 26px; color:#4e5d75; font-size: 14px; font-weight:600; }
.main-nav a { transition: .2s ease; }
.main-nav a:hover { color: var(--brand); }
.nav-actions { display:flex; align-items:center; gap: 10px; }

.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height: 44px; padding: 0 17px; border-radius: 12px; font-size: 13px; font-weight: 700; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color:#fff; box-shadow: 0 11px 26px rgba(36,87,245,.18); }
.btn-ghost { background:transparent; color:#4f5e76; border-color: var(--line); }
.btn-soft { background: #f2f5fb; color:var(--ink); }
.btn-large { min-height: 51px; padding-inline: 21px; }
.btn-dark { color:#fff; background: var(--dark); box-shadow: 0 12px 25px rgba(16,26,45,.16); }
.btn-white { background:#fff; color:var(--brand); }
.btn-outline-white { border-color: rgba(255,255,255,.35); color:#fff; background:transparent; }

.hero {
  position:relative; overflow:hidden; padding: 84px 0 76px;
  background: radial-gradient(circle at 15% 15%, #eef3ff 0, rgba(238,243,255,0) 34%), linear-gradient(180deg,#fff 0%,#f7f9fc 100%);
}
.hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: linear-gradient(rgba(36,87,245,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(36,87,245,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 82%);
}
.hero-grid { position:relative; z-index:1; display:grid; grid-template-columns: 1.04fr .96fr; gap: 72px; align-items:center; }
.hero-copy { padding-inline: 12px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; color:var(--brand); font-size:12px; font-weight:800; letter-spacing:.2px; }
.eyebrow::before { content:""; width:8px; height:8px; border-radius:50%; background:currentColor; box-shadow:0 0 0 5px rgba(36,87,245,.08); }
.eyebrow.muted { color:#75839b; }
.hero h1 { margin: 16px 0 16px; font-size: clamp(38px, 5vw, 66px); line-height:1.15; letter-spacing:-1.6px; }
.hero h1 span { color:var(--brand); }
.hero-copy > p { max-width: 650px; margin:0; color:var(--muted); font-size:15px; }
.hero-actions { display:flex; gap:12px; margin-top:29px; flex-wrap:wrap; }
.hero-meta { display:flex; gap:18px; flex-wrap:wrap; margin-top:22px; color:#5b6981; font-size:11px; font-weight:700; }
.meta-item { display:flex; align-items:center; gap:8px; }
.dot { width:7px; height:7px; border-radius:50%; display:inline-block; }
.dot.green{background:var(--green)} .dot.blue{background:var(--brand)} .dot.orange{background:var(--orange)}
.hero-glow { position:absolute; border-radius:50%; filter: blur(10px); pointer-events:none; }
.glow-one { width:280px; height:280px; background:rgba(93,124,255,.10); left:-100px; top:30px; }
.glow-two { width:230px; height:230px; background:rgba(30,169,124,.08); right:-50px; bottom:10px; }

.search-panel {
  background:#fff; border:1px solid rgba(221,227,238,.95); border-radius:24px; padding:25px;
  box-shadow: var(--shadow); position:relative;
}
.search-panel::after { content:""; position:absolute; inset: 13px -10px -10px 13px; border-radius:24px; background:#dfe7ff; z-index:-1; opacity:.55; }
.panel-top { display:flex; justify-content:space-between; gap:15px; align-items:flex-start; }
.panel-kicker { font-size:10px; color:#8793a9; font-weight:800; }
.panel-top h2 { margin:3px 0 0; font-size:20px; }
.mini-badge { font-size:10px; font-weight:800; color:var(--green); background:#eafaf4; border:1px solid #d4f1e6; padding:6px 9px; border-radius:999px; }
.search-main { margin-top:20px; display:flex; gap:12px; align-items:center; padding:14px 15px; background:#f8faff; border:1px solid #e4eafe; border-radius:15px; }
.search-icon { width:35px; height:35px; display:grid; place-items:center; border-radius:10px; background:#eaf0ff; color:var(--brand); font-size:21px; font-weight:800; }
.search-main span { display:block; color:#8995aa; font-size:10px; }
.search-main strong { font-size:12px; }
.filters { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; }
.field label { display:block; margin-bottom:6px; color:#718098; font-size:10px; font-weight:700; }
.fake-select { display:flex; align-items:center; justify-content:space-between; min-height:43px; padding:0 12px; border:1px solid var(--line); border-radius:11px; background:#fff; font-size:11px; color:#35445d; }
.fake-select b { color:#8b97ac; }
.search-button { width:100%; min-height:48px; margin-top:15px; border:0; border-radius:12px; background:var(--brand); color:#fff; font-weight:800; font-size:12px; cursor:pointer; box-shadow:0 10px 24px rgba(36,87,245,.18); }
.search-button span { margin-right:6px; }
.search-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; color:#8a95a9; font-size:10px; }
.suggestion-tags { display:flex; gap:7px; }
.suggestion-tags span { padding:4px 8px; border-radius:999px; background:#f2f5fa; color:#63718a; }

.quick-section { margin-top:-14px; position:relative; z-index:2; }
.quick-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:12px; }
.quick-card { display:flex; align-items:center; gap:11px; min-height:82px; padding:15px; background:#fff; border:1px solid var(--line); border-radius:17px; box-shadow:0 10px 30px rgba(25,52,105,.07); }
.quick-icon { width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:#f0f4ff; color:var(--brand); font-weight:800; }
.quick-card strong { display:block; font-size:12px; }
.quick-card small { display:block; color:#8a96aa; font-size:9px; line-height:1.55; }

.section { padding: 96px 0; }
.section-heading { margin-bottom:38px; }
.section-heading.split { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; }
.section-heading.center { text-align:center; max-width:760px; margin-inline:auto; margin-bottom:38px; }
.section-heading h2 { margin:9px 0 0; font-size:32px; line-height:1.3; letter-spacing:-.7px; }
.section-heading p { max-width:520px; margin: 0; color:var(--muted); font-size:13px; }

.lesson-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; }
.lesson-card { padding:22px; min-height:250px; border:1px solid var(--line); border-radius:20px; background:#fff; transition:.25s ease; }
.lesson-card:hover { transform:translateY(-5px); box-shadow:0 15px 35px rgba(25,52,105,.08); }
.lesson-card.featured { background:linear-gradient(150deg,#1f55ef 0%,#5375fb 100%); color:#fff; border-color:transparent; box-shadow:0 18px 36px rgba(36,87,245,.22); }
.card-icon { width:44px; height:44px; border-radius:13px; display:grid; place-items:center; background:#eef3ff; color:var(--brand); font-weight:800; font-size:18px; }
.featured .card-icon { background:rgba(255,255,255,.18); color:#fff; }
.card-label { margin-top:20px; font-size:10px; font-weight:800; color:#8a96ab; }
.featured .card-label { color:rgba(255,255,255,.72); }
.lesson-card h3 { margin:5px 0 8px; font-size:19px; }
.lesson-card p { margin:0; color:#77849a; font-size:11px; line-height:1.9; }
.featured p { color:rgba(255,255,255,.80); }
.card-chip { display:inline-flex; margin-top:20px; padding:5px 9px; border-radius:999px; background:#f3f6fb; color:#526078; font-size:9px; font-weight:800; }
.featured .card-chip { background:rgba(255,255,255,.14); color:#fff; }

.feature-band { padding:94px 0; background:#111b2d; color:#fff; overflow:hidden; position:relative; }
.feature-band::before { content:""; position:absolute; width:500px; height:500px; border-radius:50%; background:rgba(64,105,255,.12); left:-180px; top:-180px; }
.feature-grid { position:relative; display:grid; grid-template-columns:1fr .9fr; gap:70px; align-items:center; }
.feature-copy h2 { margin:10px 0 12px; font-size:42px; line-height:1.2; letter-spacing:-1px; }
.feature-copy p { margin:0; color:#a9b4c8; font-size:13px; max-width:630px; }
.steps { display:grid; gap:15px; margin-top:27px; }
.step { display:flex; gap:13px; align-items:flex-start; }
.step > span { width:30px; height:30px; flex:0 0 30px; display:grid; place-items:center; border-radius:9px; background:rgba(255,255,255,.08); color:#9eb0ff; font-size:11px; font-weight:800; }
.step strong { display:block; font-size:12px; }
.step small { display:block; color:#7f8ba1; font-size:9px; line-height:1.7; }
.flow-card { position:relative; padding:22px; border-radius:22px; background:#18243a; border:1px solid rgba(255,255,255,.09); box-shadow:0 24px 70px rgba(0,0,0,.16); }
.flow-header { display:flex; justify-content:space-between; align-items:center; font-size:11px; font-weight:800; }
.status-pill { color:#8ef0cf; background:rgba(30,169,124,.14); border:1px solid rgba(30,169,124,.22); padding:4px 8px; border-radius:999px; font-size:9px; }
.flow-line { height:1px; background:rgba(255,255,255,.08); margin:18px 0 7px; }
.flow-row { display:grid; grid-template-columns:30px 1fr auto; gap:10px; padding:14px 0; position:relative; }
.flow-row::after { content:""; position:absolute; right:14px; top:44px; width:1px; height:27px; background:rgba(255,255,255,.08); }
.flow-row:last-child::after { display:none; }
.flow-dot { width:28px; height:28px; border-radius:9px; display:grid; place-items:center; background:#21314e; color:#70809c; font-size:10px; font-weight:800; }
.flow-dot.done { background:rgba(30,169,124,.12); color:#8ef0cf; }
.flow-dot.active { background:rgba(36,87,245,.22); color:#9eb0ff; }
.flow-row strong { display:block; font-size:11px; }
.flow-row small { display:block; color:#74839e; font-size:9px; }
.flow-row > b { align-self:start; font-size:9px; color:#91a0b9; }

.role-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.role-card { min-height:390px; padding:24px; border:1px solid var(--line); border-radius:20px; background:#fff; position:relative; overflow:hidden; }
.role-card::before { content:""; position:absolute; inset:0 auto auto 0; width:100%; height:4px; background:var(--brand); }
.role-card.parent::before { background:#11a97a; }
.role-card.teacher::before { background:#ef995d; }
.role-avatar { width:54px; height:54px; border-radius:16px; display:grid; place-items:center; background:#edf2ff; color:var(--brand); font-size:20px; font-weight:800; }
.parent .role-avatar { background:#eafaf5; color:#139c75; }
.teacher .role-avatar { background:#fff1e7; color:#d77d3f; }
.role-title { margin-top:13px; display:flex; align-items:baseline; gap:8px; }
.role-title h3 { margin:0; font-size:20px; }
.role-title span { color:#9ba5b6; font-size:10px; font-weight:700; }
.role-card ul { list-style:none; padding:0; margin:17px 0 20px; display:grid; gap:9px; }
.role-card li { position:relative; padding-right:20px; color:#6a778d; font-size:11px; }
.role-card li::before { content:"✓"; position:absolute; right:0; top:1px; color:var(--brand); font-weight:900; }
.parent li::before { color:#149d76; }
.teacher li::before { color:#d98146; }
.text-link { color:var(--brand); font-size:11px; font-weight:800; }
.parent .text-link{color:#149d76}.teacher .text-link{color:#d98146}

.schedule-section { padding:88px 0; background:#edf2f9; }
.schedule-grid { display:grid; grid-template-columns:.77fr 1.23fr; gap:50px; align-items:center; }
.schedule-copy h2 { margin:10px 0 13px; font-size:39px; line-height:1.2; letter-spacing:-1px; }
.schedule-copy p { color:var(--muted); font-size:13px; max-width:450px; }
.table-card { background:#fff; border:1px solid var(--line); border-radius:22px; box-shadow:0 18px 55px rgba(25,52,105,.08); overflow:hidden; }
.table-head { display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:1px solid var(--line); }
.table-head strong { font-size:13px; }
.table-head span { color:#8b96a8; font-size:9px; }
.schedule-row { display:grid; grid-template-columns:1.2fr .8fr 1.45fr .8fr; align-items:center; gap:10px; padding:14px 20px; border-bottom:1px solid #eff2f6; font-size:10px; }
.table-row-head { color:#99a3b4; font-size:9px; background:#fbfcfe; }
.schedule-row strong { font-size:11px; }
.tag { font-style:normal; color:#657289; }
.badge { display:inline-flex; width:max-content; padding:4px 7px; border-radius:999px; font-style:normal; font-size:8px; font-weight:800; }
.badge.confirmed { color:#148d6a; background:#eaf9f4; }
.badge.upcoming { color:#4969d6; background:#edf1ff; }
.table-foot { display:flex; gap:10px; justify-content:flex-start; align-items:center; padding:16px 20px; background:#fbfcfe; font-size:9px; color:#7f8b9e; }
.table-foot strong { color:#415069; }
.table-foot button { margin-right:auto; border:0; background:var(--brand); color:#fff; padding:7px 10px; border-radius:8px; font-size:9px; font-weight:800; }

.cta-section { padding:78px 0; background:#fff; }
.cta-box { display:flex; align-items:center; justify-content:space-between; gap:25px; padding:38px 44px; border-radius:25px; background:linear-gradient(135deg,#1d52e8 0%, #6683fb 100%); color:#fff; box-shadow:0 25px 55px rgba(36,87,245,.18); }
.cta-box .eyebrow { color:#dbe3ff; }
.cta-box h2 { margin:9px 0 8px; font-size:31px; line-height:1.25; }
.cta-box p { margin:0; color:rgba(255,255,255,.77); font-size:12px; }
.cta-actions { display:flex; gap:10px; flex-wrap:wrap; }

.footer { padding:28px 0; background:#101a2d; color:#fff; }
.footer-grid { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:28px; }
.footer-brand { min-width:auto; }
.footer-brand small { color:#8593ab; }
.footer-copy { color:#8d99ad; font-size:10px; }
.footer-links { display:flex; gap:18px; color:#aeb8c8; font-size:10px; }

@media (max-width: 1050px) {
  .main-nav { display:none; }
  .hero-grid, .feature-grid { grid-template-columns:1fr; }
  .hero-grid { gap:42px; }
  .lesson-grid { grid-template-columns:repeat(2,1fr); }
  .schedule-grid { grid-template-columns:1fr; }
  .schedule-copy { text-align:center; }
  .schedule-copy p { margin-inline:auto; }
  .quick-grid { grid-template-columns:repeat(2,1fr); }
  .role-grid { grid-template-columns:1fr; }
  .role-card { min-height:auto; }
}

@media (max-width: 700px) {
  .container { width:min(100% - 24px, 1180px); }
  .site-header { position:relative; }
  .nav-wrap { min-height:70px; }
  .nav-actions .btn-ghost { display:none; }
  .brand { min-width:0; }
  .hero { padding:55px 0 56px; }
  .hero h1 { font-size:40px; }
  .hero-copy { padding-inline:0; }
  .hero-meta { gap:9px 14px; }
  .filters, .lesson-grid, .quick-grid { grid-template-columns:1fr; }
  .search-panel { padding:18px; }
  .section { padding:70px 0; }
  .section-heading.split { display:block; }
  .section-heading p { margin-top:12px; }
  .feature-copy h2, .schedule-copy h2 { font-size:32px; }
  .feature-grid { gap:35px; }
  .cta-box { padding:30px 25px; flex-direction:column; align-items:flex-start; }
  .footer-grid { grid-template-columns:1fr; gap:14px; }
  .schedule-row { grid-template-columns:1fr 1fr; gap:7px; }
  .table-row-head { display:none; }
  .table-foot { flex-wrap:wrap; }
}
