
:root {
  --primary: #0a66ff;
  --dark: #0f172a;
  --light: #eff6ff;
  --muted: #f8fafc;
  --text: #334155;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-white { background: #fff; }
.section-muted { background: var(--muted); }
.section-tint { background: rgba(10,102,255,0.06); }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-title { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); line-height: 1.12; }
.section-subtitle { margin: 0; color: #64748b; max-width: 720px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
  background: rgba(255,255,255,0.75); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
body.scrolled .site-header { box-shadow: 0 10px 30px rgba(15,23,42,.08); border-color: rgba(226,232,240,.8); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; color: var(--dark); }
.brand-badge {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 800;
}
.brand-text { font-size: 1.45rem; letter-spacing: -0.03em; }
.desktop-nav, .desktop-nav-links { display: flex; align-items: center; gap: 28px; }
.desktop-nav-links a, .footer-nav a { font-weight: 600; color: #475569; }
.desktop-nav-links a:hover, .footer-nav a:hover { color: var(--primary); }
.btn {
  border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 14px 32px rgba(10,102,255,.18); }
.btn-secondary { background: #fff; color: var(--dark); border: 1px solid var(--border); }
.pill {
  display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px;
  background: #fff; color: var(--primary); font-weight: 800; box-shadow: var(--shadow);
}
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; cursor: pointer;
}
.mobile-actions, .mobile-menu { display: none; }
.lang-dropdown { position: relative; }
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; cursor: pointer; font-weight: 600; color: #334155; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 128px; background: #fff; border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow); padding: 8px; display: none;
}
.lang-dropdown.open .lang-menu { display: block; }
.lang-option {
  width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 10px 12px; border-radius: 12px; cursor: pointer;
}
.lang-option.active, .lang-option:hover { background: var(--light); color: var(--primary); }
.hero {
  position: relative; overflow: hidden; padding-top: 72px;
  background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy h1 {
  margin: 18px 0; font-size: clamp(3rem, 7vw, 5.2rem); line-height: .98; letter-spacing: -0.05em; color: var(--dark);
}
.hero-title-brand-wrap { position: relative; display: inline-block; color: var(--primary); }
.hero-title-brand-wrap::after { content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 14px; background: rgba(10,102,255,.14); z-index: -1; }
.hero-desc { margin: 0 0 28px; max-width: 620px; font-size: 1.125rem; line-height: 1.8; color: #475569; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-proof { display: flex; align-items: center; gap: 18px; }
.avatars { display: flex; }
.avatars img {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }
.hero-visual-wrap { position: relative; }
.hero-visual { overflow: hidden; border-radius: 32px; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; }
.hero-stat-card {
  position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow);
}
.mini-label { margin: 0 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; font-weight: 800; }
.hero-rate-value { font-size: 1.6rem; color: var(--dark); }
.usp-grid, .blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card, .blog-card, .testimonial-card, .teacher-detail, .course-panel, .contact-card {
  background: #fff; border: 1px solid rgba(226,232,240,.8); border-radius: var(--radius);
}
.feature-card { padding: 30px; box-shadow: 0 8px 18px rgba(15,23,42,.03); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.06); margin-bottom: 18px; font-size: 1.35rem;
}
.feature-card h3, .blog-card h3 { margin: 0 0 12px; font-size: 1.25rem; color: var(--dark); }
.feature-card p, .blog-card p { margin: 0; line-height: 1.7; color: #64748b; }
.course-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 32px; }
.course-tab {
  border: 0; border-radius: 999px; background: #fff; color: #475569; padding: 12px 20px; cursor: pointer; font-weight: 800;
}
.course-tab.active { background: var(--primary); color: #fff; box-shadow: 0 14px 30px rgba(10,102,255,.22); }
.course-panel {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; padding: 34px; align-items: center; box-shadow: var(--shadow);
}
.course-copy h3, .teacher-copy h3 { margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--dark); }
.eyebrow, .teacher-role { color: var(--primary); font-weight: 800; margin-bottom: 12px; }
.course-desc { font-size: 1.05rem; line-height: 1.8; color: #475569; }
.course-meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.meta-box { padding: 18px; border-radius: 18px; background: rgba(10,102,255,.06); }
.meta-box span, .teacher-meta span, .blog-body time { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; font-weight: 800; margin-bottom: 8px; }
.meta-box strong, .teacher-meta strong { color: var(--dark); }
.text-link { color: var(--primary); font-weight: 800; }
.course-visual { border-radius: 24px; overflow: hidden; background: var(--light); aspect-ratio: 1 / 1; }
.course-visual img, .teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.testimonials-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial-card { padding: 28px; scroll-snap-align: start; background: #f8fafc; }
.stars { color: #f59e0b; letter-spacing: .15em; margin-bottom: 16px; }
.testimonial-card p { margin: 0 0 22px; line-height: 1.7; color: #475569; font-style: italic; }
.testimonial-user { display: flex; align-items: center; gap: 14px; }
.testimonial-user img, .teacher-tab img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testimonial-user strong, .teacher-tab strong { display: block; color: var(--dark); }
.testimonial-user span, .teacher-tab span { color: var(--primary); font-weight: 700; font-size: .95rem; }
.teachers-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: start; }
.teacher-tabs { display: flex; flex-direction: column; gap: 12px; }
.teacher-tab {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; background: transparent; border: 0; border-radius: 20px; cursor: pointer;
}
.teacher-tab.active { background: #fff; box-shadow: var(--shadow); border-left: 4px solid var(--primary); }
.teacher-detail { display: grid; grid-template-columns: 1fr .85fr; gap: 30px; padding: 28px; box-shadow: var(--shadow); }
.teacher-meta { display: grid; gap: 18px; margin-bottom: 18px; }
.teacher-copy blockquote { margin: 0; padding-top: 18px; border-top: 1px solid var(--border); color: #64748b; font-style: italic; line-height: 1.8; }
.teacher-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; }
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card { overflow: hidden; box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.blog-image-wrap { position: relative; height: 220px; overflow: hidden; }
.blog-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-image-wrap img { transform: scale(1.05); }
.blog-badge {
  position: absolute; top: 16px; left: 16px; background: var(--primary); color: #fff; padding: 8px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800;
}
.blog-body { padding: 24px; }
.blog-body h3 { min-height: 60px; }
.blog-body button { border: 0; padding: 0; background: transparent; color: var(--primary); font-weight: 800; cursor: pointer; }
.cta-shell {
  background: var(--dark); color: #fff; border-radius: 40px; padding: 40px; display: grid; grid-template-columns: 1fr .85fr; gap: 32px; position: relative; overflow: hidden;
}
.cta-shell::before, .cta-shell::after {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(10,102,255,.16); filter: blur(24px);
}
.cta-shell::before { right: -120px; top: -120px; }
.cta-shell::after { left: -120px; bottom: -120px; }
.cta-title { position: relative; z-index: 1; margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
.cta-subtitle { position: relative; z-index: 1; margin: 0 0 26px; color: rgba(255,255,255,.78); line-height: 1.8; }
.cta-benefits { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cta-benefits li { display: flex; align-items: center; gap: 14px; }
.cta-benefits span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #7dd3fc; }
.contact-card {
  position: relative; z-index: 1; padding: 28px; display: grid; gap: 10px; color: var(--dark); box-shadow: var(--shadow);
}
.contact-card label { font-size: .92rem; font-weight: 800; color: #334155; }
.contact-card input, .contact-card select {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); outline: none;
}
.site-footer { background: #020617; color: #fff; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-desc { color: #94a3b8; line-height: 1.8; max-width: 420px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06);
}
.footer-nav-wrap { text-align: center; }
.footer-nav-wrap h4, .footer-contact h4 { color: var(--primary); margin-top: 0; text-transform: uppercase; letter-spacing: .1em; }
.footer-nav { display: grid; gap: 14px; }
.footer-contact { text-align: right; color: #94a3b8; }
.footer-bottom { display: flex; justify-content: gap: 16px; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.08); color: #64748b; font-size: .9rem; }
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-actions { display: flex; align-items: center; gap: 10px; }
  .mobile-menu {
    display: block; max-height: 0; overflow: hidden; transition: max-height .25s ease; background: #fff; border-top: 1px solid transparent;
  }
  body.menu-open .mobile-menu { max-height: 100vh; border-color: var(--border); }
  .mobile-menu-inner { display: grid; gap: 18px; padding: 18px 0 22px; }
  .mobile-nav-links, .mobile-lang-list { display: grid; gap: 10px; }
  .mobile-nav-links a { padding: 10px 0; font-weight: 700; }
  .hero-grid, .teachers-layout, .teacher-detail, .course-panel, .cta-shell, .footer-grid { grid-template-columns: 1fr; }
  .hero-stat-card { position: static; transform: none; margin-top: 16px; display: inline-block; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-nav-wrap, .footer-contact { text-align: left; }
  .footer-bottom, .section-head.split { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero-copy h1 { font-size: 2.8rem; }
  .usp-grid, .course-meta-grid { grid-template-columns: 1fr; }
  .container { width: min(100% - 24px, 1180px); }
  .cta-shell { padding: 28px; border-radius: 28px; }
}
