:root {
  --navy-950: #06232f;
  --navy-900: #0a2e3d;
  --navy-800: #103e4e;
  --navy-700: #1a5362;
  --teal-700: #067f91;
  --teal-600: #0a99aa;
  --teal-500: #16adbb;
  --teal-100: #dff5f5;
  --teal-50: #f0fbfb;
  --amber-500: #efb441;
  --amber-100: #fff1cf;
  --ink: #102f3c;
  --muted: #607985;
  --line: #dfeaec;
  --surface: #ffffff;
  --canvas: #f5f9fa;
  --success: #28a875;
  --danger: #d85b5b;
  --shadow-sm: 0 8px 24px rgba(8, 45, 58, .07);
  --shadow-lg: 0 24px 60px rgba(8, 45, 58, .14);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  right: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #fff;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #58baf0;
  outline-offset: 3px;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.1px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 5px var(--amber-100);
}
.section { padding: 88px 0; }
.section-soft { background: var(--teal-50); }
.section-dark { color: #fff; background: var(--navy-950); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-heading h2 {
  margin: 6px 0 8px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.45;
  letter-spacing: -.9px;
}
.section-heading p { margin: 0; color: var(--muted); }
.section-dark .section-heading p { color: #b7cbd1; }
.text-link { color: var(--teal-700); font-weight: 700; white-space: nowrap; }
.text-link:hover { color: var(--teal-600); }

.announcement {
  height: 38px;
  color: #cce0e5;
  background: var(--navy-950);
  font-size: 12px;
}
.announcement .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.announcement strong { color: #fff; }
.announcement-contact { display: flex; gap: 24px; direction: ltr; }
.announcement-contact a { color: inherit; }
.announcement-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(223, 234, 236, .9);
  backdrop-filter: blur(14px);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border: 7px solid var(--teal-600);
  border-left-color: #84d9de;
  border-radius: 50%;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -6px;
  width: 13px;
  height: 7px;
  border-radius: 9px;
  background: var(--amber-500);
  transform: rotate(-20deg);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: #3e5965;
  font-size: 14px;
  font-weight: 600;
}
.main-nav a { position: relative; padding: 25px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 0;
  height: 2px;
  border-radius: 3px;
  background: var(--teal-600);
  transition: .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--teal-700); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--teal-600); box-shadow: 0 9px 20px rgba(10, 153, 170, .24); }
.btn-primary:hover { background: var(--teal-700); }
.btn-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-soft { color: var(--teal-700); background: var(--teal-100); }
.btn-dark { color: #fff; background: var(--navy-900); }
.btn-white { color: var(--navy-900); background: #fff; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  color: var(--navy-900);
  background: var(--teal-50);
}
.menu-toggle i, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 94px;
  background:
    radial-gradient(circle at 12% 12%, rgba(130, 221, 225, .34), transparent 25%),
    linear-gradient(115deg, #f3fbfb, #fff 57%, #e4f7f7);
}
.hero::before {
  content: "";
  position: absolute;
  left: -150px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(10, 153, 170, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(10, 153, 170, .035), 0 0 0 110px rgba(10, 153, 170, .025);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 64px; }
.hero h1 {
  max-width: 650px;
  margin: 16px 0 18px;
  font-size: clamp(38px, 5vw, 59px);
  line-height: 1.42;
  letter-spacing: -2.1px;
}
.hero h1 em { color: var(--teal-600); font-style: normal; }
.hero-copy > p { max-width: 590px; margin: 0 0 28px; color: var(--muted); font-size: 17px; line-height: 2.1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 32px; color: var(--muted); font-size: 13px; }
.avatar-stack { display: flex; direction: ltr; }
.avatar-stack span {
  width: 33px;
  height: 33px;
  margin-right: -9px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--navy-700);
  font-size: 11px;
  font-weight: 700;
}
.avatar-stack span:nth-child(2) { background: var(--teal-600); }
.avatar-stack span:nth-child(3) { background: #568897; }
.avatar-stack span:nth-child(4) { background: var(--amber-500); }
.hero-visual { position: relative; min-height: 435px; }
.visual-stage {
  position: absolute;
  inset: 28px 0 0 30px;
  overflow: hidden;
  border-radius: 34px 34px 92px 34px;
  background: linear-gradient(145deg, var(--navy-900), #0b5364);
  box-shadow: var(--shadow-lg);
}
.visual-stage::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: var(--teal-500);
  opacity: .92;
}
.visual-stage::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -95px;
  width: 230px;
  height: 230px;
  border: 40px solid var(--amber-500);
  border-radius: 50%;
}
.dashboard-card {
  position: absolute;
  z-index: 2;
  top: 76px;
  right: 36px;
  width: 285px;
  padding: 24px;
  border-radius: 19px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 20px 42px rgba(0, 24, 34, .34);
}
.dashboard-top { display: flex; align-items: center; justify-content: space-between; }
.dashboard-top strong { font-size: 16px; }
.badge { padding: 4px 8px; border-radius: 20px; color: var(--teal-700); background: var(--teal-100); font-size: 10px; font-weight: 700; }
.bars { height: 128px; display: flex; align-items: end; gap: 11px; padding-top: 24px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(to top, var(--teal-700), var(--teal-500)); }
.bars i:nth-child(1) { height: 27%; }.bars i:nth-child(2) { height: 48%; }.bars i:nth-child(3) { height: 41%; }
.bars i:nth-child(4) { height: 69%; background: var(--amber-500); }.bars i:nth-child(5) { height: 92%; }
.mini-kpi { display: flex; justify-content: space-between; margin-top: 15px; color: var(--muted); font-size: 11px; }
.mini-kpi b { display: block; color: var(--ink); font-size: 19px; }
.floating-note {
  position: absolute;
  z-index: 3;
  left: -8px;
  bottom: 37px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 15px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.floating-note i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--teal-700); background: var(--teal-100); font-style: normal; }
.floating-note b { display: block; font-size: 14px; }.floating-note small { color: var(--muted); }

.stats-wrap { position: relative; z-index: 5; margin-top: -38px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.stat { padding: 3px 28px; border-left: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; color: var(--teal-700); font-size: 30px; line-height: 1.4; }
.stat span { color: var(--muted); font-size: 12px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.service-card {
  position: relative;
  min-height: 196px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: .25s;
}
.service-card:hover { transform: translateY(-5px); border-color: #b9dfe2; box-shadow: var(--shadow-sm); }
.service-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: var(--teal-700); background: var(--teal-100); font-size: 19px; font-style: normal; }
.service-card h3 { margin: 19px 0 8px; font-size: 17px; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.service-card::after {
  content: "←";
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: var(--teal-600);
  opacity: 0;
  transform: translateX(7px);
  transition: .2s;
}
.service-card:hover::after { opacity: 1; transform: none; }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: .25s;
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.course-cover {
  position: relative;
  height: 183px;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0b4658, #0b9bac);
}
.course-card:nth-child(2) .course-cover { background: linear-gradient(135deg, #183d49, #3c8d81); }
.course-card:nth-child(3) .course-cover { background: linear-gradient(135deg, #273b59, #347494); }
.course-cover::before, .course-cover::after { content: ""; position: absolute; border-radius: 50%; }
.course-cover::before { left: -42px; bottom: -78px; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.3); box-shadow: 0 0 0 32px rgba(255,255,255,.05); }
.course-cover::after { left: 24px; top: 24px; width: 28px; height: 28px; background: rgba(239, 180, 65, .95); }
.cover-tag { display: inline-block; padding: 4px 9px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; background: rgba(255,255,255,.12); font-size: 11px; }
.course-cover h3 { position: absolute; right: 22px; bottom: 18px; z-index: 2; margin: 0; font-size: 21px; }
.course-body { padding: 19px; }
.course-body p { min-height: 48px; margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.course-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.course-meta b { color: var(--teal-700); font-size: 13px; }

.platform-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.platform-copy h2 { margin: 8px 0 13px; font-size: clamp(27px, 3.5vw, 40px); line-height: 1.55; }
.platform-copy > p { color: #b5cbd1; line-height: 2.1; }
.feature-list { margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 11px; margin: 13px 0; color: #e6f1f3; }
.feature-list i { flex: 0 0 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: var(--amber-500); background: var(--navy-700); font-style: normal; }
.player-shell { padding: 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 21px; color: var(--ink); background: #fff; box-shadow: 0 25px 60px rgba(0,0,0,.3); transform: rotate(-1.4deg); }
.player-screen {
  position: relative;
  height: 252px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #bce8e9, #5ebfca);
}
.player-screen::before { content: ""; position: absolute; width: 300px; height: 300px; left: -120px; bottom: -170px; border: 40px solid rgba(255,255,255,.2); border-radius: 50%; }
.play-btn { position: relative; width: 64px; height: 64px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--teal-700); background: #fff; box-shadow: 0 12px 30px rgba(7, 75, 87, .25); font-size: 23px; }
.player-progress { height: 5px; margin: 15px 3px 9px; overflow: hidden; border-radius: 8px; background: #e8eff0; }
.player-progress i { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--amber-500); }
.player-info { display: flex; align-items: center; justify-content: space-between; padding: 0 3px 4px; font-size: 12px; }
.player-info span { color: var(--muted); }

.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 62px; }
.process-copy h2 { margin: 8px 0 12px; font-size: 36px; line-height: 1.55; }
.process-copy p { color: var(--muted); line-height: 2.1; }
.process-list { display: grid; gap: 11px; }
.process-item { display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.process-number { flex: 0 0 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: var(--teal-700); background: var(--teal-100); font-weight: 800; }
.process-item b { display: block; font-size: 14px; }.process-item small { color: var(--muted); }

.testimonial-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; }
.quote-card { position: relative; min-height: 270px; padding: 34px; border-radius: var(--radius-lg); color: #fff; background: var(--navy-900); }
.quote-mark { color: var(--amber-500); font-family: Georgia, serif; font-size: 72px; line-height: .6; }
.quote-card blockquote { margin: 22px 0; color: #e4eff1; font-size: 16px; line-height: 2.15; }
.quote-person { display: flex; align-items: center; gap: 12px; }
.person-avatar { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--teal-600); font-weight: 800; }
.quote-person b { display: block; }.quote-person small { color: #9fb9c0; }
.quote-side { display: grid; gap: 14px; }
.mini-quote { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.mini-quote p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.mini-quote b { font-size: 13px; }

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 35px 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(115deg, var(--teal-700), var(--navy-800));
  box-shadow: var(--shadow-lg);
}
.cta-panel h2 { margin: 0 0 5px; font-size: 26px; }.cta-panel p { margin: 0; color: #d5e8eb; }

.site-footer { margin-top: 90px; color: #aac0c6; background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 45px; padding: 58px 0; }
.site-footer .brand { color: #fff; }.footer-about p { max-width: 320px; color: #aac0c6; font-size: 13px; line-height: 2; }
.footer-trust-seal { width: 94px; min-height: 104px; display: grid; place-items: center; margin-top: 18px; padding: 7px; border: 1px solid rgba(138,190,211,.22); border-radius: 15px; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.2); transition: transform .2s ease, box-shadow .2s ease; }
.footer-trust-seal:hover { transform: translateY(-3px); box-shadow: 0 17px 34px rgba(0,0,0,.28); }
.footer-trust-seal img { width: 80px; height: auto; display: block; object-fit: contain; }
.footer-title { margin: 3px 0 17px; color: #fff; font-size: 14px; }
.footer-links { display: grid; gap: 9px; font-size: 13px; }.footer-links a:hover { color: #fff; }
.newsletter { display: flex; overflow: hidden; border: 1px solid #32515e; border-radius: 10px; }
.newsletter input { min-width: 0; flex: 1; padding: 11px; border: 0; outline: 0; color: #fff; background: transparent; }
.newsletter button { width: 43px; border: 0; color: #fff; background: var(--teal-600); }
.footer-bottom { display: flex; justify-content: space-between; padding: 18px 0; border-top: 1px solid #1b414f; font-size: 11px; }

.page-hero { padding: 64px 0; background: linear-gradient(125deg, #eefafa, #fff); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.page-hero h1 { margin: 9px 0 10px; font-size: clamp(32px, 4vw, 48px); line-height: 1.5; }
.page-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; }
.breadcrumb { color: var(--muted); font-size: 12px; }.breadcrumb b { color: var(--teal-700); }
.course-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.search-box { flex: 1; display: flex; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.search-box input { width: 100%; padding: 13px 0; border: 0; outline: 0; background: transparent; }
.filter-chip { padding: 11px 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: #fff; }
.filter-chip.active { color: #fff; border-color: var(--teal-600); background: var(--teal-600); }

.course-detail { padding: 60px 0; }
.course-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px; align-items: start; }
.course-detail h1 { margin: 12px 0; font-size: 42px; line-height: 1.5; }
.course-lead { color: var(--muted); font-size: 16px; line-height: 2.1; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 23px 0; color: var(--muted); font-size: 13px; }
.instructor { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.instructor .person-avatar { background: var(--navy-700); }
.purchase-card { position: sticky; top: 104px; padding: 15px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.purchase-cover { height: 230px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--navy-900), var(--teal-600)); }
.purchase-cover .play-btn { width: 58px; height: 58px; }
.purchase-body { padding: 19px 8px 8px; }
.price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }.price-row strong { font-size: 24px; }.price-row del { color: #9bacb2; }
.purchase-card .btn { width: 100%; }
.guarantees { display: grid; gap: 10px; padding: 17px 3px 4px; color: var(--muted); font-size: 12px; }
.curriculum { padding: 30px 0 80px; }
.curriculum-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 45px; }
.curriculum-summary { padding: 23px; border-radius: var(--radius); background: var(--navy-900); color: #fff; }
.curriculum-summary h3 { margin: 0 0 8px; }.curriculum-summary p { color: #b7cbd1; font-size: 13px; }
.progress-ring { width: 110px; height: 110px; margin: 25px auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--amber-500) 0 62%, #2a5361 62%); }
.progress-ring::before { content: "۶۲٪"; width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); font-size: 21px; font-weight: 800; }
.module { margin-bottom: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.module-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; background: #fbfdfd; }
.module-head b { font-size: 14px; }.module-head span { color: var(--muted); font-size: 11px; }
.lesson-row { display: flex; align-items: center; gap: 12px; padding: 14px 19px; border-top: 1px solid var(--line); font-size: 13px; }
.lesson-state { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--teal-700); background: var(--teal-100); font-size: 11px; }
.lesson-state .icon { width: 14px; height: 14px; stroke-width: 2; }
.lesson-row.locked { color: #9cacb2; }.lesson-row.locked .lesson-state { color: #8b9ba1; background: #edf2f3; }
.lesson-time { margin-right: auto; color: var(--muted); font-size: 11px; }

.learn-layout { min-height: 100vh; display: grid; grid-template-columns: 340px 1fr; background: #eef3f4; }
.learn-sidebar { height: 100vh; position: sticky; top: 0; overflow-y: auto; border-left: 1px solid var(--line); background: #fff; }
.learn-sidebar-head { padding: 21px; border-bottom: 1px solid var(--line); }
.back-link { display: inline-block; margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.learn-sidebar-head h2 { margin: 0 0 13px; font-size: 16px; }
.course-progress { height: 6px; overflow: hidden; border-radius: 8px; background: #e7eeef; }
.course-progress i { display: block; width: 33%; height: 100%; border-radius: inherit; background: var(--teal-600); transition: width .3s; }
.progress-label { display: flex; justify-content: space-between; margin-top: 7px; color: var(--muted); font-size: 10px; }
.lesson-list { padding: 12px; }
.lesson-button { width: 100%; display: flex; align-items: center; gap: 11px; padding: 12px; border: 0; border-radius: 10px; text-align: right; color: var(--ink); background: transparent; }
.lesson-button:hover, .lesson-button.active { background: var(--teal-50); }
.lesson-button.active { color: var(--teal-700); }
.lesson-button[disabled] { color: #a4b2b7; cursor: not-allowed; }
.lesson-button .lesson-state { flex: 0 0 26px; }
.lesson-button span:nth-child(2) { flex: 1; }.lesson-button small { display: block; color: var(--muted); }
.learn-main { min-width: 0; }
.learn-topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line); background: #fff; }
.learn-content { max-width: 980px; margin: auto; padding: 34px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); box-shadow: var(--shadow-lg); }
.video-frame::before { content: ""; position: absolute; width: 460px; height: 460px; left: -180px; top: -250px; border: 60px solid rgba(22,173,187,.22); border-radius: 50%; }
.video-frame .play-btn { z-index: 2; width: 72px; height: 72px; }
.video-controls { position: absolute; right: 24px; left: 24px; bottom: 19px; }
.video-controls .player-progress { background: rgba(255,255,255,.25); }
.lesson-article { margin-top: 25px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.lesson-article h1 { margin: 0 0 9px; font-size: 26px; }.lesson-article p { color: var(--muted); }
.lesson-actions { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--line); }
.quiz-box { display: none; margin-top: 18px; padding: 22px; border: 1px solid #b9dfe2; border-radius: 14px; background: var(--teal-50); }
.quiz-box.open { display: block; }
.quiz-option { width: 100%; display: block; margin-top: 9px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; text-align: right; background: #fff; }
.quiz-option.selected { border-color: var(--teal-600); background: var(--teal-100); }
.toast { position: fixed; left: 24px; bottom: 24px; z-index: 300; padding: 13px 18px; border-radius: 11px; color: #fff; background: var(--navy-900); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: none; }

.dashboard-page { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #f3f7f8; }
.dashboard-nav { padding: 24px 18px; color: #bed0d5; background: var(--navy-950); }
.dashboard-nav .brand { color: #fff; margin: 0 10px 30px; }
.dash-links { display: grid; gap: 6px; }
.dash-links a { padding: 11px 13px; border-radius: 9px; font-size: 13px; }.dash-links a:hover, .dash-links a.active { color: #fff; background: var(--navy-700); }
.dash-main { padding: 32px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.dash-head h1 { margin: 0; font-size: 27px; }.dash-head p { margin: 2px 0 0; color: var(--muted); }
.dashboard-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi-card { padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.kpi-card span { color: var(--muted); font-size: 12px; }.kpi-card b { display: block; margin-top: 7px; font-size: 25px; }
.dash-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 18px; }
.dash-panel { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.dash-panel h2 { margin: 0 0 18px; font-size: 17px; }
.active-course { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.active-course:first-of-type { border-top: 0; }
.active-thumb { width: 70px; height: 52px; border-radius: 9px; background: linear-gradient(135deg, var(--navy-800), var(--teal-600)); }
.active-course div:nth-child(2) { flex: 1; }.active-course b { display: block; font-size: 13px; }.active-course small { color: var(--muted); }
.mini-progress { height: 5px; margin-top: 7px; border-radius: 7px; background: #e5edee; }.mini-progress i { display: block; height: 100%; border-radius: inherit; background: var(--teal-600); }
.activity-list { display: grid; gap: 15px; }.activity { display: flex; gap: 11px; }.activity i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: var(--teal-700); background: var(--teal-100); font-style: normal; }.activity b { display: block; font-size: 12px; }.activity small { color: var(--muted); }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; overflow: hidden; color: #fff; background: linear-gradient(145deg, var(--navy-950), var(--teal-700)); }
.auth-visual::before { content: ""; position: absolute; width: 500px; height: 500px; left: -220px; bottom: -250px; border: 70px solid rgba(239,180,65,.45); border-radius: 50%; }
.auth-visual::after { content: ""; position: absolute; width: 430px; height: 430px; right: -230px; top: -230px; border-radius: 50%; background: rgba(22,173,187,.28); }
.auth-visual .brand { position: relative; z-index: 2; color: #fff; }
.auth-message { position: relative; z-index: 2; max-width: 520px; }.auth-message h1 { margin: 0 0 14px; font-size: 44px; line-height: 1.55; }.auth-message p { color: #c6dade; font-size: 16px; }
.auth-form-wrap { display: grid; place-items: center; padding: 35px; }
.auth-card { width: min(440px, 100%); }.auth-card h2 { margin: 0 0 7px; font-size: 30px; }.auth-card > p { margin: 0 0 27px; color: var(--muted); }
.form-grid { display: grid; gap: 15px; }.form-group { display: grid; gap: 6px; }.form-group label { font-size: 13px; font-weight: 700; }
.form-control { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: #fff; transition: .2s; }
.form-control:focus { border-color: var(--teal-600); box-shadow: 0 0 0 4px var(--teal-100); }
.form-error { min-height: 24px; color: var(--danger); font-size: 12px; }
.demo-accounts { margin-top: 22px; padding: 15px; border-radius: 12px; color: var(--muted); background: var(--teal-50); font-size: 12px; }
.demo-accounts b { color: var(--ink); }.demo-account { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; direction: ltr; }
.loading-state { min-height: 180px; display: grid; place-items: center; color: var(--muted); }
.spinner { width: 32px; height: 32px; border: 4px solid var(--teal-100); border-top-color: var(--teal-600); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: right; }.admin-table th { color: var(--muted); background: #f8fbfb; }
.admin-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; margin-top: 18px; }.admin-form { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.admin-form h2 { margin: 0 0 17px; font-size: 17px; }
.status-pill { display: inline-block; padding: 3px 8px; border-radius: 20px; color: var(--success); background: #e6f7ef; font-size: 10px; font-weight: 700; }.status-pill.off { color: var(--danger); background: #fbeaea; }
.user-menu { display: flex; align-items: center; gap: 10px; }.user-menu button { border: 0; color: var(--muted); background: transparent; font-size: 12px; }
.empty-state { padding: 40px 20px; border: 1px dashed #bdd3d7; border-radius: 14px; text-align: center; color: var(--muted); }

@media (max-width: 1000px) {
  .main-nav { gap: 17px; }
  .header-actions .btn-secondary { display: none; }
  .hero-grid, .platform-grid, .process-grid, .page-hero-grid, .course-detail-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }.hero-copy > p { margin-inline: auto; }.hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { width: min(570px, 100%); margin: auto; }
  .service-grid, .course-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }.footer-main > div:last-child { grid-column: 1 / -1; }
  .curriculum-grid { grid-template-columns: 1fr; }.purchase-card { position: static; }
  .dashboard-kpis { grid-template-columns: repeat(2, 1fr); }
  .auth-page { grid-template-columns: .8fr 1.2fr; }.admin-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body.menu-open { overflow: hidden; }
  .announcement-contact, .header-actions { display: none; }
  .site-header .container { justify-content: space-between; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 116px 0 auto;
    display: none;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 116px);
    overflow-y: auto;
  }
  .menu-open .main-nav { display: flex; }
  .main-nav a { padding: 12px; }.main-nav a::after { display: none; }
  .hero { padding: 55px 0 75px; }.hero h1 { font-size: 38px; letter-spacing: -1.2px; }
  .hero-visual { min-height: 365px; max-width: 100%; overflow: hidden; border-radius: 26px; }.visual-stage { inset: 18px 0 0; }.dashboard-card { right: 20px; width: 260px; }.floating-note { left: 5px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }.stat { border: 0; padding: 2px 17px; }
  .section { padding: 66px 0; }.section-heading { align-items: start; flex-direction: column; }
  .service-grid, .course-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .platform-grid { gap: 38px; }.player-screen { height: 210px; }
  .cta-panel { align-items: stretch; flex-direction: column; padding: 28px; }
  .footer-main { grid-template-columns: 1fr 1fr; }.footer-about, .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 8px; flex-direction: column; }
  .course-toolbar { align-items: stretch; flex-wrap: wrap; }.search-box { flex-basis: 100%; }
  .curriculum-grid { gap: 22px; }
  .learn-layout { grid-template-columns: 1fr; }.learn-sidebar { height: auto; position: static; border-left: 0; }.lesson-list { display: none; }.learn-sidebar.open .lesson-list { display: block; }
  .learn-content { padding: 18px; }.learn-topbar { padding: 0 18px; }
  .dashboard-page { grid-template-columns: 1fr; }.dashboard-nav { padding: 15px; }.dash-links { grid-template-columns: repeat(4, 1fr); overflow-x: auto; }.dash-links a { white-space: nowrap; }.dashboard-nav .brand { margin-bottom: 15px; }
  .dash-main { padding: 20px; }.dash-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }.auth-visual { min-height: 260px; padding: 30px; }.auth-message h1 { font-size: 30px; }.auth-form-wrap { padding: 30px 20px; }
}
@media (max-width: 480px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero h1 { font-size: 33px; }.hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 330px; }.visual-stage { border-radius: 26px 26px 70px 26px; }.dashboard-card { top: 50px; right: 12px; width: 230px; padding: 18px; }.floating-note { bottom: 20px; }
  .stats { padding: 17px 5px; }.stat strong { font-size: 25px; }
  .footer-main, .dashboard-kpis { grid-template-columns: 1fr; }.footer-main > * { grid-column: auto !important; }
  .detail-meta { gap: 10px; flex-direction: column; }
  .lesson-actions { gap: 8px; flex-direction: column; }.lesson-actions .btn { width: 100%; }
  .dash-links { grid-template-columns: repeat(2, 1fr); }
}
