/* :root {
  --bg: #f7f9fc;
  --surface: #fff;
  --surface-2: #eef3f9;
  --text: #10223d;
  --muted: #5e6f86;
  --brand: #175cd3;
  --brand-2: #0b3b8c;
  --accent: #f3b61f;
  --border: #dfe7f1;
  --success: #15803d;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(31, 55, 88, .12);
  --radius: 18px;
  --header: 74px;
  --sidebar: 290px
}

[data-theme="dark"] {
  --bg: #07111f;
  --surface: #0d1b2c;
  --surface-2: #12243a;
  --text: #eff6ff;
  --muted: #a9bad0;
  --brand: #6ea8ff;
  --brand-2: #9dc3ff;
  --accent: #ffd65a;
  --border: #20364f;
  --shadow: 0 22px 60px rgba(0, 0, 0, .28)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65
}

a {
  color: inherit
}

img {
  max-width: 100%
}

button,
input,
textarea,
select {
  font: inherit
}

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

.skip-link {
  position: absolute;
  left: -999px
}

.skip-link:focus {
  left: 16px;
  top: 12px;
  z-index: 999;
  background: #fff;
  padding: 10px;
  border-radius: 8px
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border)
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  line-height: 1
}

.main-nav {
  display: flex;
  gap: 20px;
  margin-left: auto
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.icon-btn,
.menu-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer
}

.menu-btn {
  display: none
}

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 360px
}

.search-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text)
}

.search-wrap:before {
  content: '⌕';
  position: absolute;
  left: 14px;
  top: 8px;
  font-size: 21px;
  color: var(--muted)
}

.search-results {
  display: none;
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-height: 380px;
  overflow: auto;
  padding: 8px
}

.search-results.active {
  display: block
}

.search-result {
  display: block;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none
}

.search-result:hover {
  background: var(--surface-2)
}

.hero {
  padding: 86px 0 72px;
  background: radial-gradient(circle at 85% 15%, rgba(23, 92, 211, .18), transparent 32%), radial-gradient(circle at 10% 85%, rgba(243, 182, 31, .18), transparent 30%)
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 54px
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--brand);
  font-weight: 800;
  font-size: .85rem
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  margin: 20px 0
}

.hero h1 span {
  color: var(--brand)
}

.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 720px
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer
}

.btn-primary {
  background: var(--brand);
  color: white
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border)
}

.btn-accent {
  background: var(--accent);
  color: #1a2433
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 25px;
  box-shadow: var(--shadow)
}

.code-window {
  background: #091522;
  color: #dbeafe;
  border-radius: 18px;
  padding: 18px;
  font-family: ui-monospace, monospace;
  overflow: auto
}

.code-window .yellow {
  color: #ffd65a
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px
}

.stat {
  background: var(--surface-2);
  padding: 14px;
  border-radius: 14px;
  text-align: center
}

.stat strong {
  display: block;
  font-size: 1.4rem
}

.section {
  padding: 76px 0
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 620px
}

.grid {
  display: grid;
  gap: 20px
}

.course-grid {
  grid-template-columns: repeat(3, 1fr)
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 26px rgba(31, 55, 88, .06)
}

.card h3 {
  margin: 8px 0
}

.card p {
  color: var(--muted)
}

.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--surface-2);
  font-size: .78rem;
  font-weight: 800;
  color: var(--brand)
}

.card-link {
  text-decoration: none
}

.card-link:hover .card {
  transform: translateY(-3px);
  box-shadow: var(--shadow)
}

.card {
  transition: .2s
}

.path-grid {
  grid-template-columns: repeat(4, 1fr)
}

.path-card {
  min-height: 220px;
  display: flex;
  flex-direction: column
}

.path-card .btn {
  margin-top: auto
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr)
}

.feature-icon {
  font-size: 1.7rem
}

.cta {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  border-radius: 28px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.site-footer {
  padding: 50px 0;
  background: #07111f;
  color: #dbeafe
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 30px
}

.site-footer a {
  color: #dbeafe
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: calc(100vh - var(--header))
}

.sidebar {
  position: sticky;
  top: var(--header);
  height: calc(100vh - var(--header));
  overflow: auto;
  border-right: 1px solid var(--border);
  background: var(--surface);
  padding: 18px
}

.sidebar h3 {
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted)
}

.side-link {
  display: flex;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: .92rem
}

.side-link:hover,
.side-link.active {
  background: var(--surface-2);
  color: var(--brand)
}

.content {
  padding: 34px;
  max-width: 1040px;
  width: 100%;
  margin: auto
}

.breadcrumbs {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 14px
}

.lesson-head {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px
}

.lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px
}

.lesson-meta span {
  background: var(--surface-2);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700
}

.progress-bar {
  height: 9px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--brand);
  width: 0
}

.lesson-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  margin-top: 18px
}

.lesson-section h2 {
  margin-top: 0
}

.lesson-section pre {
  background: #07111f;
  color: #e6f0ff;
  padding: 18px;
  border-radius: 14px;
  overflow: auto;
  position: relative
}

.copy-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer
}

.callout {
  border-left: 5px solid var(--brand);
  background: var(--surface-2);
  padding: 16px;
  border-radius: 0 12px 12px 0
}

.assignment {
  border-left-color: var(--accent)
}

.check-list {
  padding-left: 1.2rem
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  margin: 8px 0;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer
}

.quiz-option.correct {
  border-color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, var(--surface))
}

.quiz-option.wrong {
  border-color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, var(--surface))
}

.lesson-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0
}

.table-wrap {
  overflow: auto
}

table {
  width: 100%;
  border-collapse: collapse
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px
}

.contact-list {
  display: grid;
  gap: 12px
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.field {
  display: grid;
  gap: 6px
}

.field.full {
  grid-column: 1/-1
}

.field input,
.field textarea {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg);
  color: var(--text)
}

.playground {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.editors {
  display: grid;
  gap: 12px
}

.editor-panel label {
  font-weight: 800
}

.editor-panel textarea {
  width: 100%;
  min-height: 180px;
  background: #07111f;
  color: #e6f0ff;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  font-family: ui-monospace, monospace
}

.preview {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 620px;
  width: 100%
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer
}

.filter-btn.active {
  background: var(--brand);
  color: white
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 900;
  box-shadow: var(--shadow);
  z-index: 40
}

@media(max-width:1000px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 18px;
    flex-direction: column;
    border-bottom: 1px solid var(--border)
  }

  .main-nav.open {
    display: flex
  }

  .menu-btn {
    display: block
  }

  .search-wrap {
    max-width: none
  }

  .hero-grid,
  .contact-grid,
  .playground {
    grid-template-columns: 1fr
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .path-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr
  }

  .layout {
    grid-template-columns: 1fr
  }

  .sidebar {
    display: none
  }

  .content {
    padding: 24px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:650px) {
  .container {
    width: min(100% - 22px, 1180px)
  }

  .site-header {
    height: auto;
    min-height: 68px
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0
  }

  .brand small {
    display: none
  }

  .search-wrap {
    order: 3;
    width: 100%
  }

  .hero {
    padding-top: 54px
  }

  .hero-card {
    padding: 16px
  }

  .stats {
    grid-template-columns: 1fr
  }

  .course-grid,
  .path-grid,
  .feature-grid {
    grid-template-columns: 1fr
  }

  .section {
    padding: 54px 0
  }

  .section-head {
    display: block
  }

  .cta {
    padding: 28px;
    display: block
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .content {
    padding: 16px
  }

  .lesson-head,
  .lesson-section {
    padding: 18px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .field.full {
    grid-column: auto
  }

  .lesson-nav {
    flex-direction: column
  }

  .header-actions .btn {
    display: none
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }
}

.brand-mark {
  font-size: .9rem
}

.brand span:last-child {
  line-height: 1.1
}

.lesson-steps {
  counter-reset: step;
  list-style: none;
  padding: 0
}

.lesson-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  margin: 12px 0
}

.lesson-steps li:before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: white;
  font-weight: 800
}

.key-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.curriculum-note {
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 16px;
  border-radius: 14px
}

.course-grid .card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.brand-name {
  max-width: 220px
}

.master-pdf {
  margin-top: 18px
}

.quiz-explanation {
  font-size: .92rem;
  color: var(--muted)
}


=== PREMIUM ACADEMY UI V3 ===
:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #edf3fb;
  --surface-3: #e4ecf8;
  --text: #0b1730;
  --muted: #5f6f87;
  --brand: #2563eb;
  --brand-2: #6d5dfc;
  --cyan: #0891b2;
  --accent: #f59e0b;
  --border: #d9e4f2;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 24px 70px rgba(24, 52, 91, .13);
  --shadow-sm: 0 12px 36px rgba(24, 52, 91, .09);
  --glow: 0 22px 60px color-mix(in srgb, var(--brand) 18%, transparent);
  --radius: 20px;
  --header: 78px;
  --sidebar: 310px;
}

[data-theme="dark"] {
  --bg: #050b16;
  --surface: #0a1628;
  --surface-2: #0e1e34;
  --surface-3: #142942;
  --text: #f4f8ff;
  --muted: #a7b6cc;
  --brand: #5b8cff;
  --brand-2: #8a6cff;
  --cyan: #35c7e8;
  --accent: #ffc857;
  --border: #1d3552;
  --success: #35c96f;
  --danger: #ff6b6b;
  --shadow: 0 28px 80px rgba(0, 0, 0, .36);
  --shadow-sm: 0 14px 42px rgba(0, 0, 0, .22);
  --glow: 0 26px 75px color-mix(in srgb, var(--brand) 20%, transparent);
}

html {
  background: var(--bg);
  color-scheme: light
}

html[data-theme="dark"] {
  color-scheme: dark
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% -10%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 30rem),
    radial-gradient(circle at -8% 38%, color-mix(in srgb, var(--cyan) 9%, transparent), transparent 32rem),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 98%, var(--brand)), var(--bg));
  letter-spacing: -.008em;
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at 82% -12%, rgba(91, 140, 255, .18), transparent 34rem),
    radial-gradient(circle at -10% 42%, rgba(53, 199, 232, .08), transparent 36rem),
    linear-gradient(180deg, #06101f 0%, #050b16 42%, #06101c 100%);
}

::selection {
  background: color-mix(in srgb, var(--brand) 35%, transparent);
  color: var(--text)
}

.container {
  width: min(1480px, calc(100% - clamp(28px, 5.5vw, 96px)));
  margin-inline: auto
}

.site-header {
  height: var(--header);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
  backdrop-filter: blur(22px) saturate(140%);
}

.header-inner {
  gap: 20px
}

.brand {
  min-width: max-content;
  gap: 12px
}

.brand-mark {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: linear-gradient(145deg, #72b0ff 0%, #3979f6 48%, #7157e8 100%);
  box-shadow: 0 11px 28px rgba(65, 118, 244, .34), inset 0 1px 0 rgba(255, 255, 255, .46);
  font-size: .9rem;
  letter-spacing: .03em
}

.brand-name {
  max-width: none;
  font-size: 1rem;
  line-height: 1.05
}

.brand small {
  margin-top: 4px;
  font-size: .64rem;
  letter-spacing: .015em;
  color: var(--muted)
}

.search-wrap {
  max-width: 410px;
  min-width: 250px
}

.search-input {
  min-height: 47px;
  padding: 11px 16px 11px 45px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-color: color-mix(in srgb, var(--border) 90%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: border-color .2s, box-shadow .2s, background .2s
}

.search-input::placeholder {
  color: color-mix(in srgb, var(--muted) 82%, transparent)
}

.search-input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent), 0 10px 30px color-mix(in srgb, var(--brand) 8%, transparent);
  background: var(--surface)
}

.search-wrap:before {
  content: '⌕';
  left: 16px;
  top: 8px;
  font-size: 23px
}

.search-results {
  top: 55px;
  border-radius: 16px;
  padding: 9px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(18px)
}

.search-result {
  padding: 11px 12px;
  border-radius: 11px
}

.search-result:hover {
  background: color-mix(in srgb, var(--brand) 10%, var(--surface))
}

.main-nav {
  gap: 0;
  align-self: stretch
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: color-mix(in srgb, var(--text) 87%, var(--muted));
  font-size: .87rem;
  font-weight: 780
}

.main-nav a:after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transition: .22s
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text)
}

.main-nav a:hover:after,
.main-nav a[aria-current="page"]:after {
  transform: scaleX(1)
}

.icon-btn,
.menu-btn {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  transition: .2s
}

.icon-btn:hover,
.menu-btn:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 14%, transparent)
}

.section {
  padding: 70px 0 96px
}

.section-head {
  margin-bottom: 28px;
  align-items: flex-end
}

.section-head h1,
.section-head h2 {
  letter-spacing: -.038em
}

.section-head h1 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.06;
  margin: 17px 0 0
}

.section-head p {
  font-size: 1rem;
  line-height: 1.7
}

.eyebrow {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, var(--surface)), color-mix(in srgb, var(--brand-2) 10%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--border));
  padding: 7px 13px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06)
}

.curriculum-note {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--border));
  background: linear-gradient(105deg, color-mix(in srgb, var(--brand) 13%, var(--surface)), color-mix(in srgb, var(--brand-2) 5%, var(--surface)) 70%, var(--surface));
  padding: 23px 27px;
  border-radius: 19px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px
}

.curriculum-note:before {
  content: '★';
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.18rem;
  border-radius: 15px;
  background: linear-gradient(145deg, #69a7ff, #436ff6 55%, #7957e8);
  box-shadow: 0 12px 30px rgba(67, 111, 246, .34)
}

.curriculum-note:after {
  content: '';
  position: absolute;
  right: -20px;
  top: -46px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(108, 145, 255, .25) 1px, transparent 1.5px);
  background-size: 13px 13px;
  opacity: .52;
  pointer-events: none
}

#courseSections {
  display: grid;
  gap: 28px
}

.lesson-section.course-section {
  --section-accent: var(--brand);
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 97%, var(--section-accent)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--section-accent));
  box-shadow: var(--shadow-sm)
}

.lesson-section.course-section:before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--section-accent), transparent 75%)
}

#courseSections>.course-section:nth-child(6n+1) {
  --section-accent: #5b8cff
}

#courseSections>.course-section:nth-child(6n+2) {
  --section-accent: #35c7e8
}

#courseSections>.course-section:nth-child(6n+3) {
  --section-accent: #8a6cff
}

#courseSections>.course-section:nth-child(6n+4) {
  --section-accent: #35c96f
}

#courseSections>.course-section:nth-child(6n+5) {
  --section-accent: #ffb84d
}

#courseSections>.course-section:nth-child(6n) {
  --section-accent: #f472b6
}

.course-section .section-head {
  align-items: center;
  margin-bottom: 25px
}

.course-title-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 19px;
  align-items: center;
  margin-top: 15px
}

.course-symbol {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: var(--section-accent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--section-accent) 18%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--section-accent) 38%, var(--border));
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 12px 28px color-mix(in srgb, var(--section-accent) 10%, transparent)
}

.course-symbol svg {
  width: 33px;
  height: 33px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.course-section h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  margin: 0 0 6px;
  letter-spacing: -.042em
}

.course-section .section-head p {
  font-size: 1rem;
  max-width: 720px
}

.course-progress {
  min-width: 260px;
  text-align: right
}

.course-progress strong {
  display: block;
  margin-bottom: 11px;
  font-size: .94rem
}

.course-progress .progress-bar {
  height: 8px;
  background: color-mix(in srgb, var(--surface-3) 78%, transparent)
}

.course-progress .progress-bar span {
  background: linear-gradient(90deg, var(--section-accent), color-mix(in srgb, var(--section-accent) 65%, white));
  box-shadow: 0 0 18px color-mix(in srgb, var(--section-accent) 38%, transparent)
}

.course-grid {
  gap: 18px
}

.course-grid .card-link {
  display: block;
  height: 100%;
  border-radius: 19px;
  text-decoration: none
}

.course-grid .card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 238px;
  padding: 19px 20px 18px;
  border-radius: 19px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 98%, var(--section-accent)), color-mix(in srgb, var(--surface) 96%, var(--section-accent)));
  border: 1px solid color-mix(in srgb, var(--border) 84%, var(--section-accent));
  box-shadow: none;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 16px;
  align-content: start
}

.course-grid .card:after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  right: -70px;
  bottom: -75px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--section-accent) 9%, transparent);
  transition: .28s
}

.course-grid .card:hover {
  border-color: color-mix(in srgb, var(--section-accent) 72%, var(--border));
  transform: translateY(-5px);
  box-shadow: 0 20px 52px color-mix(in srgb, var(--section-accent) 13%, transparent)
}

.course-grid .card:hover:after {
  transform: scale(1.65)
}

.course-grid .card .tag {
  grid-column: 1/-1;
  justify-self: start;
  margin-bottom: 14px;
  color: var(--section-accent);
  background: color-mix(in srgb, var(--section-accent) 11%, var(--surface));
  border-color: color-mix(in srgb, var(--section-accent) 25%, var(--border))
}

.lesson-symbol {
  grid-column: 1;
  grid-row: 2/5;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--section-accent);
  background: color-mix(in srgb, var(--section-accent) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--section-accent) 30%, var(--border));
  z-index: 1
}

.lesson-symbol svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round
}

.course-grid .card h3 {
  grid-column: 2;
  margin: 1px 0 7px;
  font-size: 1.03rem;
  line-height: 1.35;
  letter-spacing: -.016em;
  z-index: 1
}

.course-grid .card p {
  grid-column: 2;
  margin: 0 0 11px;
  color: var(--muted);
  line-height: 1.58;
  -webkit-line-clamp: 3;
  font-size: .92rem;
  z-index: 1
}

.course-grid .card strong {
  grid-column: 2;
  color: var(--section-accent);
  font-size: .89rem;
  align-self: end;
  z-index: 1
}

.tag {
  background: color-mix(in srgb, var(--brand) 11%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--border));
  font-size: .75rem;
  padding: 5px 10px
}

.card,
.hero-card,
.lesson-head,
.lesson-section {
  box-shadow: var(--shadow-sm)
}

.card {
  border-color: color-mix(in srgb, var(--border) 92%, var(--brand));
  transition: transform .22s, box-shadow .22s, border-color .22s
}

#homeCourses .card-link {
  --card-accent: var(--brand)
}

#homeCourses .card-link:nth-child(6n+2) {
  --card-accent: #35c7e8
}

#homeCourses .card-link:nth-child(6n+3) {
  --card-accent: #8a6cff
}

#homeCourses .card-link:nth-child(6n+4) {
  --card-accent: #35c96f
}

#homeCourses .card-link:nth-child(6n+5) {
  --card-accent: #ffb84d
}

#homeCourses .card-link:nth-child(6n) {
  --card-accent: #f472b6
}

#homeCourses .card {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--card-accent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 97%, var(--card-accent)), var(--surface))
}

#homeCourses .card .tag,
#homeCourses .card strong {
  color: var(--card-accent)
}

#homeCourses .card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 55%, var(--border));
  box-shadow: 0 20px 52px color-mix(in srgb, var(--card-accent) 13%, transparent)
}

.btn {
  min-height: 46px;
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--brand) 27%, transparent)
}

.btn-primary:hover {
  box-shadow: 0 18px 38px color-mix(in srgb, var(--brand) 34%, transparent)
}

.btn-secondary {
  background: color-mix(in srgb, var(--surface) 88%, transparent)
}

.btn-secondary:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, var(--surface))
}

.btn-accent {
  background: linear-gradient(135deg, #ffd76d, #ffb743);
  box-shadow: 0 12px 30px rgba(245, 158, 11, .2)
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
  background:
    radial-gradient(circle at 84% 20%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 25rem),
    radial-gradient(circle at 12% 84%, color-mix(in srgb, var(--cyan) 13%, transparent), transparent 27rem)
}

.hero:after {
  content: '';
  position: absolute;
  right: 5%;
  top: 7%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 24%, transparent) 1px, transparent 1.5px);
  background-size: 18px 18px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
  opacity: .38;
  pointer-events: none
}

.hero-grid {
  grid-template-columns: 1.08fr .92fr;
  gap: 70px
}

.hero h1 {
  letter-spacing: -.06em;
  text-wrap: balance
}

.hero h1 span {
  background: linear-gradient(90deg, #4d8cff, #8a6cff 58%, #35c7e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero p {
  font-size: 1.14rem;
  line-height: 1.75
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border-color: color-mix(in srgb, var(--brand) 30%, var(--border));
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 96%, var(--brand)), var(--surface));
  box-shadow: 0 30px 90px color-mix(in srgb, var(--brand) 15%, rgba(0, 0, 0, .2))
}

.hero-card:before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--cyan))
}

.code-window {
  background: linear-gradient(145deg, #071325, #0a1a31);
  border: 1px solid #1d385c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035)
}

.stat {
  border: 1px solid color-mix(in srgb, var(--border) 82%, var(--brand));
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 8%, var(--surface-2)), var(--surface-2))
}

.stat:nth-child(2) {
  border-color: color-mix(in srgb, var(--border) 76%, var(--cyan))
}

.stat:nth-child(3) {
  border-color: color-mix(in srgb, var(--border) 76%, var(--brand-2))
}

.feature-card,
.feature-grid .card {
  position: relative;
  overflow: hidden
}

.feature-grid .card:nth-child(1) {
  border-top: 3px solid var(--brand)
}

.feature-grid .card:nth-child(2) {
  border-top: 3px solid var(--cyan)
}

.feature-grid .card:nth-child(3) {
  border-top: 3px solid var(--brand-2)
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 16%, var(--surface)), var(--surface));
  color: var(--brand);
  font-weight: 900
}

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #173d9e 0%, #416cf3 46%, #7258e7 100%);
  box-shadow: 0 28px 75px rgba(42, 79, 184, .25)
}

.cta:after {
  content: '';
  position: absolute;
  right: -60px;
  top: -120px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  border: 55px solid rgba(255, 255, 255, .06)
}

.cta>* {
  position: relative;
  z-index: 1
}

.lesson-head,
.lesson-section {
  border-color: color-mix(in srgb, var(--border) 88%, var(--brand));
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 98%, var(--brand)), var(--surface))
}

.lesson-head {
  border-radius: 24px
}

.lesson-section {
  border-radius: 20px
}

.sidebar {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(16px)
}

.side-link {
  transition: .2s
}

.side-link:hover,
.side-link.active {
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 14%, var(--surface)), transparent);
  border-left: 3px solid var(--brand)
}

.content {
  max-width: 1180px;
  padding: 42px clamp(24px, 4vw, 58px)
}

.quiz-option,
.filter-btn {
  transition: .2s
}

.quiz-option:hover,
.filter-btn:hover {
  border-color: var(--brand);
  transform: translateY(-1px)
}

.field input,
.field textarea {
  background: color-mix(in srgb, var(--surface) 90%, var(--bg));
  min-height: 46px
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent)
}

.site-footer {
  background: linear-gradient(180deg, #06101e, #040912);
  border-top: 1px solid #17304d
}

.wa-float {
  width: 60px;
  height: 60px;
  right: 24px;
  bottom: 24px;
  font-size: 0;
  border: 3px solid color-mix(in srgb, #fff 86%, transparent);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .3);
  transition: .2s
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.03)
}

.wa-float:before {
  content: '';
  width: 30px;
  height: 30px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='white' d='M19.11 17.21c-.26-.13-1.54-.76-1.78-.85-.24-.09-.41-.13-.59.13-.17.26-.67.85-.82 1.02-.15.17-.3.2-.56.07-.26-.13-1.1-.41-2.1-1.3-.78-.69-1.3-1.54-1.45-1.8-.15-.26-.02-.4.11-.53.12-.12.26-.3.39-.46.13-.15.17-.26.26-.43.09-.17.04-.33-.02-.46-.07-.13-.59-1.41-.8-1.93-.21-.51-.43-.44-.59-.45h-.5c-.17 0-.46.07-.69.33-.24.26-.91.89-.91 2.17s.93 2.52 1.06 2.69c.13.17 1.83 2.8 4.43 3.92.62.27 1.1.43 1.48.55.62.2 1.19.17 1.64.1.5-.07 1.54-.63 1.76-1.24.22-.61.22-1.13.15-1.24-.06-.11-.24-.17-.5-.3z'/%3E%3Cpath fill='white' d='M16.03 3.2A12.74 12.74 0 0 0 5.18 22.62L3.37 29.2l6.73-1.77a12.72 12.72 0 1 0 5.93-24.23zm0 23.33c-2.02 0-4-.54-5.72-1.56l-.41-.24-3.99 1.05 1.06-3.89-.27-.4a10.61 10.61 0 1 1 9.33 5.04z'/%3E%3C/svg%3E")
}

@media(max-width:1320px) {
  .container {
    width: min(100% - 40px, 1480px)
  }

  .main-nav a {
    padding-inline: 9px;
    font-size: .82rem
  }

  .search-wrap {
    max-width: 320px;
    min-width: 210px
  }

  .brand-name {
    font-size: .94rem
  }
}

@media(max-width:1120px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: color-mix(in srgb, var(--surface) 98%, transparent);
    box-shadow: var(--shadow);
    flex-direction: column;
    border-bottom: 1px solid var(--border)
  }

  .main-nav.open {
    display: flex
  }

  .main-nav a {
    min-height: 45px;
    padding: 0 12px
  }

  .main-nav a:after {
    display: none
  }

  .menu-btn {
    display: block
  }

  .search-wrap {
    max-width: none
  }
}

@media(max-width:860px) {
  .course-section .section-head {
    align-items: flex-start
  }

  .course-progress {
    min-width: 210px
  }

  .hero-grid {
    gap: 38px
  }
}

@media(max-width:760px) {
  .container {
    width: min(100% - 24px, 1480px)
  }

  .section {
    padding-top: 48px
  }

  .section-head {
    display: block
  }

  .section-head>p {
    margin-top: 12px
  }

  .curriculum-note {
    align-items: flex-start;
    padding: 19px;
    gap: 14px
  }

  .curriculum-note:before {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px
  }

  .lesson-section.course-section {
    padding: 21px
  }

  .course-section .section-head {
    display: block
  }

  .course-title-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px
  }

  .course-symbol {
    width: 54px;
    height: 54px;
    border-radius: 15px
  }

  .course-symbol svg {
    width: 27px;
    height: 27px
  }

  .course-progress {
    min-width: 0;
    text-align: left;
    margin-top: 20px
  }
}

@media(max-width:650px) {
  .site-header {
    min-height: 72px
  }

  .header-inner {
    padding: 11px 0;
    gap: 10px
  }

  .brand-mark {
    width: 40px;
    height: 40px
  }

  .brand-name {
    font-size: .88rem
  }

  .brand small {
    display: none
  }

  .search-wrap {
    min-width: 100%
  }

  .hero {
    padding: 64px 0 58px
  }

  .hero h1 {
    font-size: 2.65rem
  }

  .section-head h1 {
    font-size: 2.2rem
  }

  .course-section h2 {
    font-size: 1.9rem
  }

  .course-grid .card {
    min-height: 0
  }

  .cta {
    padding: 30px
  }
}



=== PROFESSIONAL MULTI-TUTORIAL UI V4 ===
:root {
  --course-accent: #5b8cff;
  --course-accent-2: #8a6cff
}

[data-theme="dark"] {
  --bg: #040914;
  --surface: #09162a;
  --surface-2: #0d1e38;
  --surface-3: #142b49;
  --border: #1d3a5d;
  --text: #f7faff;
  --muted: #aebdd2;
  --brand: #5a91ff;
  --brand-2: #8b6cff;
  --cyan: #36d1f2
}

[data-theme="dark"] body {
  background: radial-gradient(circle at 78% -8%, rgba(77, 126, 255, .22), transparent 34rem), radial-gradient(circle at -5% 35%, rgba(54, 209, 242, .10), transparent 34rem), linear-gradient(180deg, #061020 0%, #030812 52%, #06101d 100%)
}

.container {
  width: min(1540px, calc(100% - clamp(30px, 4vw, 72px)))
}

.header-inner {
  max-width: 1540px
}

.site-header {
  background: rgba(4, 12, 27, .88);
  border-bottom-color: rgba(76, 125, 184, .28)
}

[data-theme="light"] .site-header {
  background: rgba(247, 250, 255, .9)
}

.main-nav {
  position: relative
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: stretch
}

.nav-dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--text) 87%, var(--muted));
  font-size: .87rem;
  font-weight: 780;
  cursor: pointer
}

.nav-dropdown-toggle:after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transition: .22s
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-current="page"] {
  color: var(--text)
}

.nav-dropdown-toggle:hover:after,
.nav-dropdown-toggle[aria-current="page"]:after {
  transform: scaleX(1)
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: -150px;
  width: 600px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 0 0 20px 20px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: .2s;
  z-index: 100
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none
}

.nav-all {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: auto !important;
  padding: 13px 14px !important;
  border-radius: 13px !important;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 13%, var(--surface)), color-mix(in srgb, var(--brand-2) 7%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--border));
  margin-bottom: 12px
}

.nav-all:after,
.nav-menu-grid a:after {
  display: none !important
}

.nav-all small {
  color: var(--muted);
  font-weight: 600
}

.nav-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px
}

.nav-menu-grid a {
  display: flex !important;
  gap: 10px !important;
  min-height: 46px !important;
  padding: 8px 10px !important;
  border-radius: 11px !important
}

.nav-menu-grid a:hover {
  background: var(--surface-2)
}

.nav-code {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  font-size: .68rem;
  font-weight: 900;
  color: #fff;
  flex: 0 0 31px
}

.nav-code.html {
  background: #f97316
}

.nav-code.css {
  background: #2563eb
}

.nav-code.js {
  background: #eab308;
  color: #111827
}

.nav-code.react {
  background: #0891b2
}

.nav-code.node {
  background: #16a34a
}

.nav-code.wp {
  background: #6366f1
}

.nav-code.db {
  background: #9333ea
}

.nav-code.ai {
  background: linear-gradient(135deg, #ec4899, #7c3aed)
}

.course-library-hero {
  padding: 78px 0 38px;
  position: relative;
  overflow: hidden
}

.course-library-hero:after {
  content: '';
  position: absolute;
  inset: -100px -5% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 140, 255, .17), transparent 68%);
  pointer-events: none
}

.library-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 18px
}

.library-heading h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.065em;
  margin: 0;
  max-width: 850px
}

.library-heading p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 830px;
  line-height: 1.8
}

.library-stat {
  display: grid;
  place-items: center;
  min-width: 150px;
  min-height: 130px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 17%, var(--surface)), var(--surface));
  box-shadow: var(--glow)
}

.library-stat strong {
  font-size: 3rem;
  line-height: 1
}

.library-stat span {
  color: var(--muted);
  font-size: .85rem
}

.course-library {
  padding-top: 24px
}

.course-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px
}

.course-hub-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 25px;
  border: 1px solid color-mix(in srgb, var(--course-accent) 27%, var(--border));
  border-radius: 25px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--course-accent) 9%, var(--surface)), var(--surface) 46%, color-mix(in srgb, var(--course-accent-2) 5%, var(--surface)));
  box-shadow: var(--shadow-sm);
  transition: .25s
}

.course-hub-card:before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--course-accent), var(--course-accent-2))
}

.course-hub-card:after {
  content: '';
  position: absolute;
  right: -85px;
  top: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--course-accent) 20%, transparent), transparent 65%);
  pointer-events: none
}

.course-hub-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--course-accent) 68%, var(--border));
  box-shadow: 0 26px 70px color-mix(in srgb, var(--course-accent) 15%, transparent)
}

.course-hub-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px
}

.course-hub-symbol {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--course-accent), var(--course-accent-2));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 15px 35px color-mix(in srgb, var(--course-accent) 34%, transparent)
}

.course-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: color-mix(in srgb, var(--course-accent) 25%, transparent)
}

.course-hub-card h2 {
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -.035em;
  margin: 13px 0 9px
}

.course-hub-card>p {
  color: var(--muted);
  line-height: 1.66;
  margin: 0 0 20px
}

.course-hub-progress {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--muted);
  margin-top: auto;
  margin-bottom: 8px
}

.course-hub-card .progress-bar span {
  background: linear-gradient(90deg, var(--course-accent), var(--course-accent-2))
}

.course-preview-list {
  display: grid;
  gap: 8px;
  margin: 18px 0
}

.course-preview-list span {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  font-size: .78rem;
  color: var(--muted)
}

.course-preview-list b {
  color: var(--course-accent)
}

.btn-course {
  margin-top: auto;
  background: linear-gradient(135deg, var(--course-accent), var(--course-accent-2));
  color: #fff;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--course-accent) 24%, transparent)
}

.tutorial-page {
  --course-accent: #5b8cff;
  --course-accent-2: #8a6cff
}

.tutorial-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 58px;
  background: radial-gradient(circle at 78% 38%, color-mix(in srgb, var(--course-accent) 22%, transparent), transparent 28rem)
}

.tutorial-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, color-mix(in srgb, var(--course-accent) 5%, transparent), transparent 58%);
  pointer-events: none
}

.tutorial-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  gap: 80px
}

.tutorial-hero-copy h1 {
  font-size: clamp(3rem, 6.4vw, 6.3rem);
  line-height: .93;
  letter-spacing: -.075em;
  margin: 20px 0
}

.tutorial-hero-copy p {
  font-size: 1.12rem;
  max-width: 850px;
  color: var(--muted);
  line-height: 1.78
}

.tutorial-page .eyebrow {
  color: var(--course-accent);
  border-color: color-mix(in srgb, var(--course-accent) 28%, var(--border));
  background: color-mix(in srgb, var(--course-accent) 10%, var(--surface))
}

.tutorial-page .btn-primary {
  background: linear-gradient(135deg, var(--course-accent), var(--course-accent-2));
  box-shadow: 0 15px 38px color-mix(in srgb, var(--course-accent) 28%, transparent)
}

.tutorial-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px
}

.tutorial-facts span {
  min-width: 125px;
  padding: 12px 15px;
  border: 1px solid color-mix(in srgb, var(--course-accent) 22%, var(--border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  color: var(--muted);
  font-size: .78rem
}

.tutorial-facts strong {
  display: block;
  color: var(--text);
  font-size: 1.15rem
}

.tutorial-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
  border: 1px solid color-mix(in srgb, var(--course-accent) 35%, var(--border));
  border-radius: 38px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--course-accent) 12%, var(--surface)), color-mix(in srgb, var(--course-accent-2) 6%, var(--surface)));
  box-shadow: 0 40px 110px color-mix(in srgb, var(--course-accent) 16%, rgba(0, 0, 0, .2));
  isolation: isolate
}

.tutorial-visual:before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px dashed color-mix(in srgb, var(--course-accent) 30%, transparent);
  border-radius: 29px
}

.course-monogram {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 172px;
  height: 172px;
  border-radius: 42px;
  background: linear-gradient(145deg, var(--course-accent), var(--course-accent-2));
  color: #fff;
  font-size: 2.45rem;
  font-weight: 950;
  letter-spacing: -.06em;
  box-shadow: 0 28px 75px color-mix(in srgb, var(--course-accent) 40%, transparent), inset 0 1px rgba(255, 255, 255, .35)
}

.visual-orbit {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--course-accent) 35%, transparent);
  border-radius: 50%
}

.orbit-one {
  width: 290px;
  height: 290px
}

.orbit-two {
  width: 350px;
  height: 210px;
  transform: rotate(-22deg)
}

.visual-code {
  position: absolute;
  inset: auto 28px 25px;
  display: flex;
  justify-content: space-between;
  color: color-mix(in srgb, var(--course-accent) 75%, white);
  font-size: .72rem;
  letter-spacing: .15em
}

.visual-code strong {
  color: var(--course-accent-2)
}

.visual-code em {
  font-style: normal;
  color: var(--cyan)
}

.visual-code b {
  color: var(--accent)
}

.tutorial-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding-top: 44px;
  padding-bottom: 100px
}

.tutorial-sidebar {
  min-width: 0
}

.sidebar-sticky {
  position: sticky;
  top: calc(var(--header) + 22px);
  max-height: calc(100vh - var(--header) - 44px);
  display: flex;
  flex-direction: column;
  padding: 19px;
  border: 1px solid color-mix(in srgb, var(--course-accent) 23%, var(--border));
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px)
}

.sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 10px
}

.sidebar-heading span {
  color: var(--text);
  font-weight: 900
}

.sidebar-heading strong {
  color: var(--course-accent)
}

.sidebar-sticky .progress-bar span {
  background: linear-gradient(90deg, var(--course-accent), var(--course-accent-2))
}

.course-filter-wrap {
  margin: 15px 0 10px
}

.course-filter {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text)
}

.course-filter:focus {
  outline: 0;
  border-color: var(--course-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--course-accent) 14%, transparent)
}

.tutorial-side-links {
  overflow: auto;
  padding-right: 5px
}

.tutorial-side-link {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 9px;
  align-items: start;
  padding: 9px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.35
}

.tutorial-side-link:hover {
  background: color-mix(in srgb, var(--course-accent) 10%, var(--surface));
  color: var(--text)
}

.side-day {
  display: grid;
  place-items: center;
  min-height: 25px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--course-accent) 12%, var(--surface-2));
  color: var(--course-accent);
  font-size: .68rem;
  font-weight: 900
}

.tutorial-content {
  min-width: 0
}

.content-intro {
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--course-accent) 25%, var(--border));
  border-radius: 25px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--course-accent) 9%, var(--surface)), var(--surface));
  margin-bottom: 24px
}

.content-intro h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.05em;
  margin: 13px 0 8px
}

.content-intro p {
  color: var(--muted);
  max-width: 900px
}

.tutorial-groups {
  display: grid;
  gap: 24px
}

.tutorial-group {
  border: 1px solid color-mix(in srgb, var(--course-accent) 20%, var(--border));
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm)
}

.tutorial-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 23px 25px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--course-accent) 12%, var(--surface)), var(--surface))
}

.tutorial-group-head span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--course-accent);
  font-weight: 900
}

.tutorial-group-head h3 {
  font-size: 1.45rem;
  margin: 3px 0 0
}

.tutorial-group-head>strong {
  color: var(--muted);
  font-size: .82rem
}

.tutorial-lesson-list {
  display: grid
}

.tutorial-lesson-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 165px 28px;
  gap: 15px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: .2s
}

.tutorial-lesson-row:hover {
  background: color-mix(in srgb, var(--course-accent) 7%, var(--surface));
  padding-left: 27px
}

.lesson-row-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--course-accent) 11%, var(--surface-2));
  color: var(--course-accent);
  font-size: .73rem;
  font-weight: 950
}

.lesson-row-copy {
  min-width: 0
}

.lesson-row-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: .98rem
}

.lesson-row-copy small {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: .8rem
}

.lesson-row-meta {
  text-align: right
}

.lesson-row-meta b,
.lesson-row-meta em {
  display: block;
  font-size: .72rem
}

.lesson-row-meta b {
  color: var(--muted)
}

.lesson-row-meta em {
  color: var(--course-accent);
  font-style: normal;
  margin-top: 3px
}

.row-arrow {
  color: var(--course-accent);
  font-size: 1.3rem
}

@media(max-width:1350px) {
  .course-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .tutorial-hero-grid {
    gap: 45px
  }

  .tutorial-layout {
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 28px
  }
}

@media(max-width:1120px) {
  .nav-dropdown {
    display: block
  }

  .nav-dropdown-toggle {
    min-height: 45px;
    width: 100%;
    justify-content: space-between;
    padding: 0 12px
  }

  .nav-dropdown-toggle:after {
    display: none
  }

  .nav-dropdown-menu {
    position: static;
    width: auto;
    left: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 14px;
    margin: 5px 0 10px;
    box-shadow: none;
    background: var(--surface-2)
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block
  }

  .nav-dropdown:hover .nav-dropdown-menu:not(:focus-within) {
    display: none
  }

  .nav-dropdown.open:hover .nav-dropdown-menu {
    display: block
  }

  .tutorial-hero-grid {
    grid-template-columns: 1fr
  }

  .tutorial-visual {
    min-height: 330px;
    max-width: 680px
  }

  .tutorial-layout {
    grid-template-columns: 1fr
  }

  .tutorial-sidebar {
    display: none
  }

  .course-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:760px) {
  .library-heading {
    display: block
  }

  .library-stat {
    display: none
  }

  .library-heading h1 {
    font-size: 3.3rem
  }

  .course-hub-grid {
    grid-template-columns: 1fr
  }

  .course-hub-card {
    min-height: auto
  }

  .tutorial-hero {
    padding-top: 54px
  }

  .tutorial-hero-copy h1 {
    font-size: 3.5rem
  }

  .tutorial-visual {
    min-height: 290px;
    border-radius: 28px
  }

  .course-monogram {
    width: 135px;
    height: 135px;
    border-radius: 34px;
    font-size: 2rem
  }

  .orbit-one {
    width: 220px;
    height: 220px
  }

  .orbit-two {
    width: 270px;
    height: 160px
  }

  .tutorial-layout {
    padding-top: 26px
  }

  .tutorial-lesson-row {
    grid-template-columns: 48px 1fr 24px;
    padding: 15px
  }

  .tutorial-lesson-row:hover {
    padding-left: 18px
  }

  .lesson-row-meta {
    display: none
  }

  .lesson-row-number {
    width: 40px;
    height: 40px
  }

  .tutorial-group-head {
    padding: 19px
  }

  .tutorial-group-head>strong {
    display: none
  }

  .content-intro {
    padding: 22px
  }

  .nav-menu-grid {
    grid-template-columns: 1fr
  }

  .nav-all small {
    display: none
  }
}


Founder profile page — Professional V3
.founder-page {
  overflow: hidden
}

.founder-page .section {
  position: relative
}

.founder-hero {
  padding: 92px 0 84px;
  background: radial-gradient(circle at 78% 22%, color-mix(in srgb, var(--brand) 24%, transparent), transparent 30rem), radial-gradient(circle at 13% 78%, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 26rem)
}

.founder-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 49.8%, color-mix(in srgb, var(--border) 32%, transparent) 50%, transparent 50.2%);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none
}

.founder-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: 78px;
  align-items: center
}

.founder-copy h1 {
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: .98;
  letter-spacing: -.06em;
  margin: 22px 0 26px;
  max-width: 850px
}

.founder-copy h1 span {
  background: linear-gradient(125deg, #fff 10%, var(--brand) 52%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.founder-lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 790px;
  line-height: 1.8
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px
}

.founder-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px
}

.founder-quick-meta span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--muted);
  font-size: .8rem
}

.founder-quick-meta strong {
  color: var(--text);
  font-size: .96rem
}

.founder-portrait-wrap {
  position: relative;
  display: grid;
  place-items: center
}

.founder-portrait-card {
  position: relative;
  width: min(100%, 455px);
  padding: 16px 16px 18px;
  border-radius: 34px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 94%, var(--brand)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 38%, var(--border));
  box-shadow: 0 35px 90px rgba(0, 0, 0, .34)
}

.founder-portrait-card:before {
  content: '';
  position: absolute;
  inset: -18px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 46px;
  transform: rotate(3deg);
  z-index: -1
}

.founder-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  aspect-ratio: 453/551;
  background: linear-gradient(145deg, #0c1e34, #112c4c)
}

.founder-photo-frame:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(3, 10, 20, .35));
  pointer-events: none
}

.founder-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top
}

.founder-status {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 8px 2px
}

.founder-status strong,
.founder-status small {
  display: block
}

.founder-status small {
  color: var(--muted)
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #31d17c;
  box-shadow: 0 0 0 7px rgba(49, 209, 124, .12), 0 0 20px rgba(49, 209, 124, .56)
}

.founder-code-badge {
  position: absolute;
  right: -22px;
  top: 50px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--brand) 36%, transparent);
  transform: rotate(7deg)
}

.founder-snapshot {
  padding-top: 22px
}

.founder-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px
}

.founder-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 97%, var(--brand)), var(--surface));
  box-shadow: var(--shadow-sm)
}

.founder-stat-card:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--cyan))
}

.founder-stat-card strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.05;
  color: var(--brand);
  margin-bottom: 26px;
  letter-spacing: -.035em
}

.founder-stat-card span {
  color: var(--muted);
  line-height: 1.6
}

.founder-two-column {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 80px;
  align-items: start
}

.founder-two-column h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.048em;
  margin: 18px 0 0
}

.founder-rich-copy {
  border-left: 1px solid var(--border);
  padding-left: 42px
}

.founder-rich-copy p {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 20px
}

.founder-rich-copy p:first-child {
  color: var(--text);
  font-size: 1.17rem
}

.founder-career {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 35%, transparent), transparent)
}

.founder-timeline {
  position: relative;
  max-width: 1050px;
  margin: 0 auto
}

.founder-timeline:before {
  content: '';
  position: absolute;
  left: 32px;
  top: 25px;
  bottom: 25px;
  width: 1px;
  background: linear-gradient(var(--brand), var(--cyan), var(--brand-2))
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 26px;
  padding: 0 0 38px
}

.timeline-item:last-child {
  padding-bottom: 0
}

.timeline-number {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  border: 5px solid var(--bg);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--brand) 22%, transparent)
}

.timeline-item>div {
  padding: 20px 25px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm)
}

.timeline-item h3 {
  margin: 0 0 7px;
  font-size: 1.2rem
}

.timeline-item p {
  margin: 0;
  color: var(--muted)
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.expertise-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--surface) 97%, var(--brand)), var(--surface));
  transition: .24s
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
  box-shadow: 0 24px 58px color-mix(in srgb, var(--brand) 12%, transparent)
}

.expertise-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  font-weight: 900;
  margin-bottom: 28px;
  border: 1px solid currentColor;
  background: color-mix(in srgb, currentColor 10%, var(--surface))
}

.expertise-icon.html {
  color: #ff7a45
}

.expertise-icon.wp {
  color: #52a8ff
}

.expertise-icon.backend {
  color: #36d187
}

.expertise-icon.design {
  color: #c287ff
}

.expertise-icon.speed {
  color: #ffbf4d
}

.expertise-icon.tools {
  color: #62d8e8
}

.expertise-card h3 {
  font-size: 1.22rem;
  margin: 0 0 10px
}

.expertise-card p {
  color: var(--muted);
  margin: 0
}

.founder-services-panel {
  padding: 42px;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--border));
  border-radius: 30px;
  background: radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 24rem), linear-gradient(145deg, color-mix(in srgb, var(--surface) 97%, var(--brand)), var(--surface));
  box-shadow: var(--shadow)
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.services-list article {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 17px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: color-mix(in srgb, var(--surface) 83%, transparent)
}

.services-list article>span {
  font-size: .78rem;
  font-weight: 900;
  color: var(--brand);
  padding-top: 4px
}

.services-list h3 {
  margin: 0 0 7px
}

.services-list p {
  margin: 0;
  color: var(--muted)
}

.work-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.selected-work-card,
.academy-mission-card {
  min-height: 360px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 27px;
  background: var(--surface);
  box-shadow: var(--shadow-sm)
}

.selected-work-card {
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 96%, var(--cyan)), var(--surface))
}

.academy-mission-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 94%, var(--brand-2)), var(--surface))
}

.academy-mission-card:after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-2) 12%, transparent)
}

.selected-work-card h3,
.academy-mission-card h3 {
  font-size: 1.55rem;
  margin: 0 0 21px
}

.project-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px
}

.project-chip-grid span {
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  font-weight: 800;
  font-size: .88rem
}

.mission-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 19px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 900;
  margin-bottom: 25px;
  box-shadow: 0 16px 35px color-mix(in srgb, var(--brand) 28%, transparent)
}

.academy-mission-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8
}

.text-link {
  position: relative;
  z-index: 1;
  color: var(--brand);
  font-weight: 850;
  text-decoration: none
}

.text-link:hover {
  text-decoration: underline
}

.founder-connect-panel {
  padding: 45px;
  border-radius: 32px;
  border: 1px solid color-mix(in srgb, var(--brand) 38%, var(--border));
  background: radial-gradient(circle at 12% 15%, color-mix(in srgb, var(--cyan) 14%, transparent), transparent 25rem), radial-gradient(circle at 90% 80%, color-mix(in srgb, var(--brand-2) 13%, transparent), transparent 25rem), var(--surface);
  box-shadow: var(--shadow)
}

.connect-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px
}

.connect-intro h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  letter-spacing: -.045em;
  margin: 18px 0 12px
}

.connect-intro p {
  color: var(--muted)
}

.social-account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: auto
}

.social-account-grid>a {
  display: grid;
  grid-template-columns: 52px 1fr 24px;
  gap: 15px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  text-decoration: none;
  transition: .2s
}

.social-account-grid>a:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, var(--surface))
}

.social-account-grid strong,
.social-account-grid small {
  display: block
}

.social-account-grid small {
  color: var(--muted);
  word-break: break-word
}

.social-account-grid b {
  color: var(--brand);
  font-size: 1.2rem
}

.social-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-weight: 900
}

.social-badge.portfolio {
  background: linear-gradient(145deg, #4c8dff, #6b5be7)
}

.social-badge.linkedin {
  background: #0a66c2
}

.social-badge.instagram {
  background: linear-gradient(145deg, #833ab4, #fd1d1d, #fcb045)
}

.social-badge.x {
  background: #111
}

.social-badge.whatsapp {
  background: #20b85a
}

.social-badge.email {
  background: linear-gradient(145deg, #ff8757, #f04f68)
}

@media(max-width:1100px) {
  .founder-hero-grid {
    grid-template-columns: 1fr .75fr;
    gap: 44px
  }

  .founder-stat-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:860px) {
  .founder-hero {
    padding-top: 58px
  }

  .founder-hero-grid,
  .founder-two-column,
  .work-mission-grid {
    grid-template-columns: 1fr
  }

  .founder-copy {
    text-align: center
  }

  .founder-lead {
    margin-inline: auto
  }

  .founder-actions,
  .founder-quick-meta {
    justify-content: center
  }

  .founder-portrait-wrap {
    margin-top: 16px
  }

  .founder-portrait-card {
    max-width: 390px
  }

  .founder-two-column {
    gap: 25px
  }

  .founder-rich-copy {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 28px 0 0
  }

  .services-list,
  .social-account-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:620px) {
  .founder-copy h1 {
    font-size: 3.25rem
  }

  .founder-quick-meta {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%
  }

  .founder-quick-meta span {
    text-align: left
  }

  .founder-code-badge {
    right: -8px;
    width: 58px;
    height: 58px;
    border-radius: 17px
  }

  .founder-stat-grid,
  .expertise-grid {
    grid-template-columns: 1fr
  }

  .founder-services-panel,
  .founder-connect-panel {
    padding: 25px 18px
  }

  .services-list article {
    grid-template-columns: 40px 1fr;
    padding: 18px
  }

  .timeline-item {
    grid-template-columns: 52px 1fr;
    gap: 14px
  }

  .founder-timeline:before {
    left: 25px
  }

  .timeline-number {
    width: 52px;
    height: 52px;
    border-radius: 16px
  }

  .timeline-item>div {
    padding: 17px
  }

  .selected-work-card,
  .academy-mission-card {
    min-height: auto;
    padding: 24px
  }

  .social-account-grid>a {
    grid-template-columns: 46px 1fr 18px;
    padding: 14px
  }

  .social-badge {
    width: 46px;
    height: 46px
  }

  .social-account-grid small {
    font-size: .78rem
  }
}

Corrected original playground: complete editors + preview stay visible
.playground .editor-panel {
  display: grid;
  gap: 7px
}

.playground .editor-panel textarea {
  resize: vertical;
  min-height: 190px
}

.playground .preview {
  display: block;
  min-height: 650px
}

.playground .toolbar {
  position: sticky;
  top: calc(var(--header) + 8px);
  z-index: 12;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px)
}

@media(max-width:1000px) {
  .playground .preview {
    min-height: 520px
  }

  .playground .toolbar {
    position: static
  }
} */

/* New css Update  */
:root {
  --bg: #f7f9fc;
  --surface: #fff;
  --surface-2: #eef3f9;
  --text: #10223d;
  --muted: #5e6f86;
  --brand: #175cd3;
  --brand-2: #0b3b8c;
  --accent: #f3b61f;
  --border: #dfe7f1;
  --success: #15803d;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(31, 55, 88, .12);
  --radius: 18px;
  --header: 74px;
  --sidebar: 290px
}

[data-theme="dark"] {
  --bg: #07111f;
  --surface: #0d1b2c;
  --surface-2: #12243a;
  --text: #eff6ff;
  --muted: #a9bad0;
  --brand: #6ea8ff;
  --brand-2: #9dc3ff;
  --accent: #ffd65a;
  --border: #20364f;
  --shadow: 0 22px 60px rgba(0, 0, 0, .28)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65
}

a {
  color: inherit
}

img {
  max-width: 100%
}

button,
input,
textarea,
select {
  font: inherit
}

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

.skip-link {
  position: absolute;
  left: -999px
}

.skip-link:focus {
  left: 16px;
  top: 12px;
  z-index: 999;
  background: #fff;
  padding: 10px;
  border-radius: 8px
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border)
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  line-height: 1
}

.main-nav {
  display: flex;
  gap: 20px;
  margin-left: auto
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.icon-btn,
.menu-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer
}

.menu-btn {
  display: none
}

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 360px
}

.search-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text)
}

.search-wrap:before {
  content: '⌕';
  position: absolute;
  left: 14px;
  top: 8px;
  font-size: 21px;
  color: var(--muted)
}

.search-results {
  display: none;
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-height: 380px;
  overflow: auto;
  padding: 8px
}

.search-results.active {
  display: block
}

.search-result {
  display: block;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none
}

.search-result:hover {
  background: var(--surface-2)
}

.hero {
  padding: 86px 0 72px;
  background: radial-gradient(circle at 85% 15%, rgba(23, 92, 211, .18), transparent 32%), radial-gradient(circle at 10% 85%, rgba(243, 182, 31, .18), transparent 30%)
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 54px
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--brand);
  font-weight: 800;
  font-size: .85rem
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  margin: 20px 0
}

.hero h1 span {
  color: var(--brand)
}

.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 720px
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer
}

.btn-primary {
  background: var(--brand);
  color: white
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border)
}

.btn-accent {
  background: var(--accent);
  color: #1a2433
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 25px;
  box-shadow: var(--shadow)
}

.code-window {
  background: #091522;
  color: #dbeafe;
  border-radius: 18px;
  padding: 18px;
  font-family: ui-monospace, monospace;
  overflow: auto
}

.code-window .yellow {
  color: #ffd65a
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px
}

.stat {
  background: var(--surface-2);
  padding: 14px;
  border-radius: 14px;
  text-align: center
}

.stat strong {
  display: block;
  font-size: 1.4rem
}

.section {
  padding: 76px 0
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 620px
}

.grid {
  display: grid;
  gap: 20px
}

.course-grid {
  grid-template-columns: repeat(3, 1fr)
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 26px rgba(31, 55, 88, .06)
}

.card h3 {
  margin: 8px 0
}

.card p {
  color: var(--muted)
}

.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--surface-2);
  font-size: .78rem;
  font-weight: 800;
  color: var(--brand)
}

.card-link {
  text-decoration: none
}

.card-link:hover .card {
  transform: translateY(-3px);
  box-shadow: var(--shadow)
}

.card {
  transition: .2s
}

.path-grid {
  grid-template-columns: repeat(4, 1fr)
}

.path-card {
  min-height: 220px;
  display: flex;
  flex-direction: column
}

.path-card .btn {
  margin-top: auto
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr)
}

.feature-icon {
  font-size: 1.7rem
}

.cta {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  border-radius: 28px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.site-footer {
  padding: 50px 0;
  background: #07111f;
  color: #dbeafe
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 30px
}

.site-footer a {
  color: #dbeafe
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: calc(100vh - var(--header))
}

.sidebar {
  position: sticky;
  top: var(--header);
  height: calc(100vh - var(--header));
  overflow: auto;
  border-right: 1px solid var(--border);
  background: var(--surface);
  padding: 18px
}

.sidebar h3 {
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted)
}

.side-link {
  display: flex;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: .92rem
}

.side-link:hover,
.side-link.active {
  background: var(--surface-2);
  color: var(--brand)
}

.content {
  padding: 34px;
  max-width: 1040px;
  width: 100%;
  margin: auto
}

.breadcrumbs {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 14px
}

.lesson-head {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px
}

.lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px
}

.lesson-meta span {
  background: var(--surface-2);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700
}

.progress-bar {
  height: 9px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--brand);
  width: 0
}

.lesson-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  margin-top: 18px
}

.lesson-section h2 {
  margin-top: 0
}

.lesson-section pre {
  background: #07111f;
  color: #e6f0ff;
  padding: 18px;
  border-radius: 14px;
  overflow: auto;
  position: relative
}

.copy-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer
}

.callout {
  border-left: 5px solid var(--brand);
  background: var(--surface-2);
  padding: 16px;
  border-radius: 0 12px 12px 0
}

.assignment {
  border-left-color: var(--accent)
}

.check-list {
  padding-left: 1.2rem
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  margin: 8px 0;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer
}

.quiz-option.correct {
  border-color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, var(--surface))
}

.quiz-option.wrong {
  border-color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, var(--surface))
}

.lesson-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0
}

.table-wrap {
  overflow: auto
}

table {
  width: 100%;
  border-collapse: collapse
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px
}

.contact-list {
  display: grid;
  gap: 12px
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.field {
  display: grid;
  gap: 6px
}

.field.full {
  grid-column: 1/-1
}

.field input,
.field textarea {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg);
  color: var(--text)
}

.playground {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.editors {
  display: grid;
  gap: 12px
}

.editor-panel label {
  font-weight: 800
}

.editor-panel textarea {
  width: 100%;
  min-height: 180px;
  background: #07111f;
  color: #e6f0ff;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  font-family: ui-monospace, monospace
}

.preview {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 620px;
  width: 100%
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer
}

.filter-btn.active {
  background: var(--brand);
  color: white
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 900;
  box-shadow: var(--shadow);
  z-index: 40
}

@media(max-width:1000px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 18px;
    flex-direction: column;
    border-bottom: 1px solid var(--border)
  }

  .main-nav.open {
    display: flex
  }

  .menu-btn {
    display: block
  }

  .search-wrap {
    max-width: none
  }

  .hero-grid,
  .contact-grid,
  .playground {
    grid-template-columns: 1fr
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .path-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr
  }

  .layout {
    grid-template-columns: 1fr
  }

  .sidebar {
    display: none
  }

  .content {
    padding: 24px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:650px) {
  .container {
    width: min(100% - 22px, 1180px)
  }

  .site-header {
    height: auto;
    min-height: 68px
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0
  }

  .brand small {
    display: none
  }

  .search-wrap {
    order: 3;
    width: 100%
  }

  .hero {
    padding-top: 54px
  }

  .hero-card {
    padding: 16px
  }

  .stats {
    grid-template-columns: 1fr
  }

  .course-grid,
  .path-grid,
  .feature-grid {
    grid-template-columns: 1fr
  }

  .section {
    padding: 54px 0
  }

  .section-head {
    display: block
  }

  .cta {
    padding: 28px;
    display: block
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .content {
    padding: 16px
  }

  .lesson-head,
  .lesson-section {
    padding: 18px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .field.full {
    grid-column: auto
  }

  .lesson-nav {
    flex-direction: column
  }

  .header-actions .btn {
    display: none
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }
}

.brand-mark {
  font-size: .9rem
}

.brand span:last-child {
  line-height: 1.1
}

.lesson-steps {
  counter-reset: step;
  list-style: none;
  padding: 0
}

.lesson-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  margin: 12px 0
}

.lesson-steps li:before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: white;
  font-weight: 800
}

.key-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.curriculum-note {
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 16px;
  border-radius: 14px
}

.course-grid .card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.brand-name {
  max-width: 220px
}

.master-pdf {
  margin-top: 18px
}

.quiz-explanation {
  font-size: .92rem;
  color: var(--muted)
}


/* === PREMIUM ACADEMY UI V3 === */
:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #edf3fb;
  --surface-3: #e4ecf8;
  --text: #0b1730;
  --muted: #5f6f87;
  --brand: #2563eb;
  --brand-2: #6d5dfc;
  --cyan: #0891b2;
  --accent: #f59e0b;
  --border: #d9e4f2;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 24px 70px rgba(24, 52, 91, .13);
  --shadow-sm: 0 12px 36px rgba(24, 52, 91, .09);
  --glow: 0 22px 60px color-mix(in srgb, var(--brand) 18%, transparent);
  --radius: 20px;
  --header: 78px;
  --sidebar: 310px;
}

[data-theme="dark"] {
  --bg: #050b16;
  --surface: #0a1628;
  --surface-2: #0e1e34;
  --surface-3: #142942;
  --text: #f4f8ff;
  --muted: #a7b6cc;
  --brand: #5b8cff;
  --brand-2: #8a6cff;
  --cyan: #35c7e8;
  --accent: #ffc857;
  --border: #1d3552;
  --success: #35c96f;
  --danger: #ff6b6b;
  --shadow: 0 28px 80px rgba(0, 0, 0, .36);
  --shadow-sm: 0 14px 42px rgba(0, 0, 0, .22);
  --glow: 0 26px 75px color-mix(in srgb, var(--brand) 20%, transparent);
}

html {
  background: var(--bg);
  color-scheme: light
}

html[data-theme="dark"] {
  color-scheme: dark
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% -10%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 30rem),
    radial-gradient(circle at -8% 38%, color-mix(in srgb, var(--cyan) 9%, transparent), transparent 32rem),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 98%, var(--brand)), var(--bg));
  letter-spacing: -.008em;
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at 82% -12%, rgba(91, 140, 255, .18), transparent 34rem),
    radial-gradient(circle at -10% 42%, rgba(53, 199, 232, .08), transparent 36rem),
    linear-gradient(180deg, #06101f 0%, #050b16 42%, #06101c 100%);
}

::selection {
  background: color-mix(in srgb, var(--brand) 35%, transparent);
  color: var(--text)
}

.container {
  width: min(1480px, calc(100% - clamp(28px, 5.5vw, 96px)));
  margin-inline: auto
}

.site-header {
  height: var(--header);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
  backdrop-filter: blur(22px) saturate(140%);
}

.header-inner {
  gap: 20px
}

.brand {
  min-width: max-content;
  gap: 12px
}

.brand-mark {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: linear-gradient(145deg, #72b0ff 0%, #3979f6 48%, #7157e8 100%);
  box-shadow: 0 11px 28px rgba(65, 118, 244, .34), inset 0 1px 0 rgba(255, 255, 255, .46);
  font-size: .9rem;
  letter-spacing: .03em
}

.brand-name {
  max-width: none;
  font-size: 1rem;
  line-height: 1.05
}

.brand small {
  margin-top: 4px;
  font-size: .64rem;
  letter-spacing: .015em;
  color: var(--muted)
}

.search-wrap {
  max-width: 410px;
  min-width: 250px
}

.search-input {
  min-height: 47px;
  padding: 11px 16px 11px 45px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-color: color-mix(in srgb, var(--border) 90%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: border-color .2s, box-shadow .2s, background .2s
}

.search-input::placeholder {
  color: color-mix(in srgb, var(--muted) 82%, transparent)
}

.search-input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent), 0 10px 30px color-mix(in srgb, var(--brand) 8%, transparent);
  background: var(--surface)
}

.search-wrap:before {
  content: '⌕';
  left: 16px;
  top: 8px;
  font-size: 23px
}

.search-results {
  top: 55px;
  border-radius: 16px;
  padding: 9px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(18px)
}

.search-result {
  padding: 11px 12px;
  border-radius: 11px
}

.search-result:hover {
  background: color-mix(in srgb, var(--brand) 10%, var(--surface))
}

.main-nav {
  gap: 0;
  align-self: stretch
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: color-mix(in srgb, var(--text) 87%, var(--muted));
  font-size: .87rem;
  font-weight: 780
}

.main-nav a:after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transition: .22s
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text)
}

.main-nav a:hover:after,
.main-nav a[aria-current="page"]:after {
  transform: scaleX(1)
}

.icon-btn,
.menu-btn {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  transition: .2s
}

.icon-btn:hover,
.menu-btn:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 14%, transparent)
}

.section {
  padding: 70px 0 96px
}

.section-head {
  margin-bottom: 28px;
  align-items: flex-end
}

.section-head h1,
.section-head h2 {
  letter-spacing: -.038em
}

.section-head h1 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.06;
  margin: 17px 0 0
}

.section-head p {
  font-size: 1rem;
  line-height: 1.7
}

.eyebrow {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, var(--surface)), color-mix(in srgb, var(--brand-2) 10%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--border));
  padding: 7px 13px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06)
}

.curriculum-note {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--border));
  background: linear-gradient(105deg, color-mix(in srgb, var(--brand) 13%, var(--surface)), color-mix(in srgb, var(--brand-2) 5%, var(--surface)) 70%, var(--surface));
  padding: 23px 27px;
  border-radius: 19px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px
}

.curriculum-note:before {
  content: '★';
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.18rem;
  border-radius: 15px;
  background: linear-gradient(145deg, #69a7ff, #436ff6 55%, #7957e8);
  box-shadow: 0 12px 30px rgba(67, 111, 246, .34)
}

.curriculum-note:after {
  content: '';
  position: absolute;
  right: -20px;
  top: -46px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(108, 145, 255, .25) 1px, transparent 1.5px);
  background-size: 13px 13px;
  opacity: .52;
  pointer-events: none
}

#courseSections {
  display: grid;
  gap: 28px
}

.lesson-section.course-section {
  --section-accent: var(--brand);
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 97%, var(--section-accent)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--border) 78%, var(--section-accent));
  box-shadow: var(--shadow-sm)
}

.lesson-section.course-section:before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--section-accent), transparent 75%)
}

#courseSections>.course-section:nth-child(6n+1) {
  --section-accent: #5b8cff
}

#courseSections>.course-section:nth-child(6n+2) {
  --section-accent: #35c7e8
}

#courseSections>.course-section:nth-child(6n+3) {
  --section-accent: #8a6cff
}

#courseSections>.course-section:nth-child(6n+4) {
  --section-accent: #35c96f
}

#courseSections>.course-section:nth-child(6n+5) {
  --section-accent: #ffb84d
}

#courseSections>.course-section:nth-child(6n) {
  --section-accent: #f472b6
}

.course-section .section-head {
  align-items: center;
  margin-bottom: 25px
}

.course-title-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 19px;
  align-items: center;
  margin-top: 15px
}

.course-symbol {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: var(--section-accent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--section-accent) 18%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--section-accent) 38%, var(--border));
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 12px 28px color-mix(in srgb, var(--section-accent) 10%, transparent)
}

.course-symbol svg {
  width: 33px;
  height: 33px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.course-section h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  margin: 0 0 6px;
  letter-spacing: -.042em
}

.course-section .section-head p {
  font-size: 1rem;
  max-width: 720px
}

.course-progress {
  min-width: 260px;
  text-align: right
}

.course-progress strong {
  display: block;
  margin-bottom: 11px;
  font-size: .94rem
}

.course-progress .progress-bar {
  height: 8px;
  background: color-mix(in srgb, var(--surface-3) 78%, transparent)
}

.course-progress .progress-bar span {
  background: linear-gradient(90deg, var(--section-accent), color-mix(in srgb, var(--section-accent) 65%, white));
  box-shadow: 0 0 18px color-mix(in srgb, var(--section-accent) 38%, transparent)
}

.course-grid {
  gap: 18px
}

.course-grid .card-link {
  display: block;
  height: 100%;
  border-radius: 19px;
  text-decoration: none
}

.course-grid .card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 238px;
  padding: 19px 20px 18px;
  border-radius: 19px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 98%, var(--section-accent)), color-mix(in srgb, var(--surface) 96%, var(--section-accent)));
  border: 1px solid color-mix(in srgb, var(--border) 84%, var(--section-accent));
  box-shadow: none;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 16px;
  align-content: start
}

.course-grid .card:after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  right: -70px;
  bottom: -75px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--section-accent) 9%, transparent);
  transition: .28s
}

.course-grid .card:hover {
  border-color: color-mix(in srgb, var(--section-accent) 72%, var(--border));
  transform: translateY(-5px);
  box-shadow: 0 20px 52px color-mix(in srgb, var(--section-accent) 13%, transparent)
}

.course-grid .card:hover:after {
  transform: scale(1.65)
}

.course-grid .card .tag {
  grid-column: 1/-1;
  justify-self: start;
  margin-bottom: 14px;
  color: var(--section-accent);
  background: color-mix(in srgb, var(--section-accent) 11%, var(--surface));
  border-color: color-mix(in srgb, var(--section-accent) 25%, var(--border))
}

.lesson-symbol {
  grid-column: 1;
  grid-row: 2/5;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--section-accent);
  background: color-mix(in srgb, var(--section-accent) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--section-accent) 30%, var(--border));
  z-index: 1
}

.lesson-symbol svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round
}

.course-grid .card h3 {
  grid-column: 2;
  margin: 1px 0 7px;
  font-size: 1.03rem;
  line-height: 1.35;
  letter-spacing: -.016em;
  z-index: 1
}

.course-grid .card p {
  grid-column: 2;
  margin: 0 0 11px;
  color: var(--muted);
  line-height: 1.58;
  -webkit-line-clamp: 3;
  font-size: .92rem;
  z-index: 1
}

.course-grid .card strong {
  grid-column: 2;
  color: var(--section-accent);
  font-size: .89rem;
  align-self: end;
  z-index: 1
}

.tag {
  background: color-mix(in srgb, var(--brand) 11%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--border));
  font-size: .75rem;
  padding: 5px 10px
}

.card,
.hero-card,
.lesson-head,
.lesson-section {
  box-shadow: var(--shadow-sm)
}

.card {
  border-color: color-mix(in srgb, var(--border) 92%, var(--brand));
  transition: transform .22s, box-shadow .22s, border-color .22s
}

#homeCourses .card-link {
  --card-accent: var(--brand)
}

#homeCourses .card-link:nth-child(6n+2) {
  --card-accent: #35c7e8
}

#homeCourses .card-link:nth-child(6n+3) {
  --card-accent: #8a6cff
}

#homeCourses .card-link:nth-child(6n+4) {
  --card-accent: #35c96f
}

#homeCourses .card-link:nth-child(6n+5) {
  --card-accent: #ffb84d
}

#homeCourses .card-link:nth-child(6n) {
  --card-accent: #f472b6
}

#homeCourses .card {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--card-accent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 97%, var(--card-accent)), var(--surface))
}

#homeCourses .card .tag,
#homeCourses .card strong {
  color: var(--card-accent)
}

#homeCourses .card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 55%, var(--border));
  box-shadow: 0 20px 52px color-mix(in srgb, var(--card-accent) 13%, transparent)
}

.btn {
  min-height: 46px;
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--brand) 27%, transparent)
}

.btn-primary:hover {
  box-shadow: 0 18px 38px color-mix(in srgb, var(--brand) 34%, transparent)
}

.btn-secondary {
  background: color-mix(in srgb, var(--surface) 88%, transparent)
}

.btn-secondary:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, var(--surface))
}

.btn-accent {
  background: linear-gradient(135deg, #ffd76d, #ffb743);
  box-shadow: 0 12px 30px rgba(245, 158, 11, .2)
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
  background:
    radial-gradient(circle at 84% 20%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 25rem),
    radial-gradient(circle at 12% 84%, color-mix(in srgb, var(--cyan) 13%, transparent), transparent 27rem)
}

.hero:after {
  content: '';
  position: absolute;
  right: 5%;
  top: 7%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 24%, transparent) 1px, transparent 1.5px);
  background-size: 18px 18px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
  opacity: .38;
  pointer-events: none
}

.hero-grid {
  grid-template-columns: 1.08fr .92fr;
  gap: 70px
}

.hero h1 {
  letter-spacing: -.06em;
  text-wrap: balance
}

.hero h1 span {
  background: linear-gradient(90deg, #4d8cff, #8a6cff 58%, #35c7e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero p {
  font-size: 1.14rem;
  line-height: 1.75
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border-color: color-mix(in srgb, var(--brand) 30%, var(--border));
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 96%, var(--brand)), var(--surface));
  box-shadow: 0 30px 90px color-mix(in srgb, var(--brand) 15%, rgba(0, 0, 0, .2))
}

.hero-card:before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--cyan))
}

.code-window {
  background: linear-gradient(145deg, #071325, #0a1a31);
  border: 1px solid #1d385c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035)
}

.stat {
  border: 1px solid color-mix(in srgb, var(--border) 82%, var(--brand));
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 8%, var(--surface-2)), var(--surface-2))
}

.stat:nth-child(2) {
  border-color: color-mix(in srgb, var(--border) 76%, var(--cyan))
}

.stat:nth-child(3) {
  border-color: color-mix(in srgb, var(--border) 76%, var(--brand-2))
}

.feature-card,
.feature-grid .card {
  position: relative;
  overflow: hidden
}

.feature-grid .card:nth-child(1) {
  border-top: 3px solid var(--brand)
}

.feature-grid .card:nth-child(2) {
  border-top: 3px solid var(--cyan)
}

.feature-grid .card:nth-child(3) {
  border-top: 3px solid var(--brand-2)
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 16%, var(--surface)), var(--surface));
  color: var(--brand);
  font-weight: 900
}

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #173d9e 0%, #416cf3 46%, #7258e7 100%);
  box-shadow: 0 28px 75px rgba(42, 79, 184, .25)
}

.cta:after {
  content: '';
  position: absolute;
  right: -60px;
  top: -120px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  border: 55px solid rgba(255, 255, 255, .06)
}

.cta>* {
  position: relative;
  z-index: 1
}

.lesson-head,
.lesson-section {
  border-color: color-mix(in srgb, var(--border) 88%, var(--brand));
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 98%, var(--brand)), var(--surface))
}

.lesson-head {
  border-radius: 24px
}

.lesson-section {
  border-radius: 20px
}

.sidebar {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(16px)
}

.side-link {
  transition: .2s
}

.side-link:hover,
.side-link.active {
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 14%, var(--surface)), transparent);
  border-left: 3px solid var(--brand)
}

.content {
  max-width: 1180px;
  padding: 42px clamp(24px, 4vw, 58px)
}

.quiz-option,
.filter-btn {
  transition: .2s
}

.quiz-option:hover,
.filter-btn:hover {
  border-color: var(--brand);
  transform: translateY(-1px)
}

.field input,
.field textarea {
  background: color-mix(in srgb, var(--surface) 90%, var(--bg));
  min-height: 46px
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent)
}

.site-footer {
  background: linear-gradient(180deg, #06101e, #040912);
  border-top: 1px solid #17304d
}

.wa-float {
  width: 60px;
  height: 60px;
  right: 24px;
  bottom: 24px;
  font-size: 0;
  border: 3px solid color-mix(in srgb, #fff 86%, transparent);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .3);
  transition: .2s
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.03)
}

.wa-float:before {
  content: '';
  width: 49px;
  height: 49px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='white' d='M19.11 17.21c-.26-.13-1.54-.76-1.78-.85-.24-.09-.41-.13-.59.13-.17.26-.67.85-.82 1.02-.15.17-.3.2-.56.07-.26-.13-1.1-.41-2.1-1.3-.78-.69-1.3-1.54-1.45-1.8-.15-.26-.02-.4.11-.53.12-.12.26-.3.39-.46.13-.15.17-.26.26-.43.09-.17.04-.33-.02-.46-.07-.13-.59-1.41-.8-1.93-.21-.51-.43-.44-.59-.45h-.5c-.17 0-.46.07-.69.33-.24.26-.91.89-.91 2.17s.93 2.52 1.06 2.69c.13.17 1.83 2.8 4.43 3.92.62.27 1.1.43 1.48.55.62.2 1.19.17 1.64.1.5-.07 1.54-.63 1.76-1.24.22-.61.22-1.13.15-1.24-.06-.11-.24-.17-.5-.3z'/%3E%3Cpath fill='white' d='M16.03 3.2A12.74 12.74 0 0 0 5.18 22.62L3.37 29.2l6.73-1.77a12.72 12.72 0 1 0 5.93-24.23zm0 23.33c-2.02 0-4-.54-5.72-1.56l-.41-.24-3.99 1.05 1.06-3.89-.27-.4a10.61 10.61 0 1 1 9.33 5.04z'/%3E%3C/svg%3E")
}

@media(max-width:1320px) {
  .container {
    width: min(100% - 40px, 1480px)
  }

  .main-nav a {
    padding-inline: 9px;
    font-size: .82rem
  }

  .search-wrap {
    max-width: 320px;
    min-width: 210px
  }

  .brand-name {
    font-size: .94rem
  }
}

@media(max-width:1120px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: color-mix(in srgb, var(--surface) 98%, transparent);
    box-shadow: var(--shadow);
    flex-direction: column;
    border-bottom: 1px solid var(--border)
  }

  .main-nav.open {
    display: flex
  }

  .main-nav a {
    min-height: 45px;
    padding: 0 12px
  }

  .main-nav a:after {
    display: none
  }

  .menu-btn {
    display: block
  }

  .search-wrap {
    max-width: none
  }
}

@media(max-width:860px) {
  .course-section .section-head {
    align-items: flex-start
  }

  .course-progress {
    min-width: 210px
  }

  .hero-grid {
    gap: 38px
  }
}

@media(max-width:760px) {
  .container {
    width: min(100% - 24px, 1480px)
  }

  .section {
    padding-top: 48px
  }

  .section-head {
    display: block
  }

  .section-head>p {
    margin-top: 12px
  }

  .curriculum-note {
    align-items: flex-start;
    padding: 19px;
    gap: 14px
  }

  .curriculum-note:before {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px
  }

  .lesson-section.course-section {
    padding: 21px
  }

  .course-section .section-head {
    display: block
  }

  .course-title-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px
  }

  .course-symbol {
    width: 54px;
    height: 54px;
    border-radius: 15px
  }

  .course-symbol svg {
    width: 27px;
    height: 27px
  }

  .course-progress {
    min-width: 0;
    text-align: left;
    margin-top: 20px
  }
}

@media(max-width:650px) {
  .site-header {
    min-height: 72px
  }

  .header-inner {
    padding: 11px 0;
    gap: 10px
  }

  .brand-mark {
    width: 40px;
    height: 40px
  }

  .brand-name {
    font-size: .88rem
  }

  .brand small {
    display: none
  }

  .search-wrap {
    min-width: 100%
  }

  .hero {
    padding: 64px 0 58px
  }

  .hero h1 {
    font-size: 2.65rem
  }

  .section-head h1 {
    font-size: 2.2rem
  }

  .course-section h2 {
    font-size: 1.9rem
  }

  .course-grid .card {
    min-height: 0
  }

  .cta {
    padding: 30px
  }
}



/* === PROFESSIONAL MULTI-TUTORIAL UI V4 === */
:root {
  --course-accent: #5b8cff;
  --course-accent-2: #8a6cff
}

[data-theme="dark"] {
  --bg: #040914;
  --surface: #09162a;
  --surface-2: #0d1e38;
  --surface-3: #142b49;
  --border: #1d3a5d;
  --text: #f7faff;
  --muted: #aebdd2;
  --brand: #5a91ff;
  --brand-2: #8b6cff;
  --cyan: #36d1f2
}

[data-theme="dark"] body {
  background: radial-gradient(circle at 78% -8%, rgba(77, 126, 255, .22), transparent 34rem), radial-gradient(circle at -5% 35%, rgba(54, 209, 242, .10), transparent 34rem), linear-gradient(180deg, #061020 0%, #030812 52%, #06101d 100%)
}

.container {
  width: min(1540px, calc(100% - clamp(30px, 4vw, 72px)))
}

.header-inner {
  max-width: 1540px
}

.site-header {
  background: rgba(4, 12, 27, .88);
  border-bottom-color: rgba(76, 125, 184, .28)
}

[data-theme="light"] .site-header {
  background: rgba(247, 250, 255, .9)
}

.main-nav {
  position: relative
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: stretch
}

.nav-dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--text) 87%, var(--muted));
  font-size: .87rem;
  font-weight: 780;
  cursor: pointer
}

.nav-dropdown-toggle:after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transition: .22s
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-current="page"] {
  color: var(--text)
}

.nav-dropdown-toggle:hover:after,
.nav-dropdown-toggle[aria-current="page"]:after {
  transform: scaleX(1)
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: -150px;
  width: 600px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 0 0 20px 20px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: .2s;
  z-index: 100
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none
}

.nav-all {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: auto !important;
  padding: 13px 14px !important;
  border-radius: 13px !important;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 13%, var(--surface)), color-mix(in srgb, var(--brand-2) 7%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--border));
  margin-bottom: 12px
}

.nav-all:after,
.nav-menu-grid a:after {
  display: none !important
}

.nav-all small {
  color: var(--muted);
  font-weight: 600
}

.nav-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px
}

.nav-menu-grid a {
  display: flex !important;
  gap: 10px !important;
  min-height: 46px !important;
  padding: 8px 10px !important;
  border-radius: 11px !important
}

.nav-menu-grid a:hover {
  background: var(--surface-2)
}

.nav-code {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  font-size: .68rem;
  font-weight: 900;
  color: #fff;
  flex: 0 0 31px
}

.nav-code.html {
  background: #f97316
}

.nav-code.css {
  background: #2563eb
}

.nav-code.js {
  background: #eab308;
  color: #111827
}

.nav-code.react {
  background: #0891b2
}

.nav-code.node {
  background: #16a34a
}

.nav-code.wp {
  background: #6366f1
}

.nav-code.db {
  background: #9333ea
}

.nav-code.ai {
  background: linear-gradient(135deg, #ec4899, #7c3aed)
}

.course-library-hero {
  padding: 78px 0 38px;
  position: relative;
  overflow: hidden
}

.course-library-hero:after {
  content: '';
  position: absolute;
  inset: -100px -5% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 140, 255, .17), transparent 68%);
  pointer-events: none
}

.library-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 18px
}

.library-heading h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.065em;
  margin: 0;
  max-width: 850px
}

.library-heading p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 830px;
  line-height: 1.8
}

.library-stat {
  display: grid;
  place-items: center;
  min-width: 150px;
  min-height: 130px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 17%, var(--surface)), var(--surface));
  box-shadow: var(--glow)
}

.library-stat strong {
  font-size: 3rem;
  line-height: 1
}

.library-stat span {
  color: var(--muted);
  font-size: .85rem
}

.course-library {
  padding-top: 24px
}

.course-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px
}

.course-hub-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 25px;
  border: 1px solid color-mix(in srgb, var(--course-accent) 27%, var(--border));
  border-radius: 25px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--course-accent) 9%, var(--surface)), var(--surface) 46%, color-mix(in srgb, var(--course-accent-2) 5%, var(--surface)));
  box-shadow: var(--shadow-sm);
  transition: .25s
}

.course-hub-card:before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--course-accent), var(--course-accent-2))
}

.course-hub-card:after {
  content: '';
  position: absolute;
  right: -85px;
  top: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--course-accent) 20%, transparent), transparent 65%);
  pointer-events: none
}

.course-hub-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--course-accent) 68%, var(--border));
  box-shadow: 0 26px 70px color-mix(in srgb, var(--course-accent) 15%, transparent)
}

.course-hub-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px
}

.course-hub-symbol {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--course-accent), var(--course-accent-2));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 15px 35px color-mix(in srgb, var(--course-accent) 34%, transparent)
}

.course-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: color-mix(in srgb, var(--course-accent) 25%, transparent)
}

.course-hub-card h2 {
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -.035em;
  margin: 13px 0 9px
}

.course-hub-card>p {
  color: var(--muted);
  line-height: 1.66;
  margin: 0 0 20px
}

.course-hub-progress {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--muted);
  margin-top: auto;
  margin-bottom: 8px
}

.course-hub-card .progress-bar span {
  background: linear-gradient(90deg, var(--course-accent), var(--course-accent-2))
}

.course-preview-list {
  display: grid;
  gap: 8px;
  margin: 18px 0
}

.course-preview-list span {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  font-size: .78rem;
  color: var(--muted)
}

.course-preview-list b {
  color: var(--course-accent)
}

.btn-course {
  margin-top: auto;
  background: linear-gradient(135deg, var(--course-accent), var(--course-accent-2));
  color: #fff;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--course-accent) 24%, transparent)
}

.tutorial-page {
  --course-accent: #5b8cff;
  --course-accent-2: #8a6cff
}

.tutorial-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 58px;
  background: radial-gradient(circle at 78% 38%, color-mix(in srgb, var(--course-accent) 22%, transparent), transparent 28rem)
}

.tutorial-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, color-mix(in srgb, var(--course-accent) 5%, transparent), transparent 58%);
  pointer-events: none
}

.tutorial-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  gap: 80px
}

.tutorial-hero-copy h1 {
  font-size: clamp(3rem, 6.4vw, 6.3rem);
  line-height: .93;
  letter-spacing: -.075em;
  margin: 20px 0
}

.tutorial-hero-copy p {
  font-size: 1.12rem;
  max-width: 850px;
  color: var(--muted);
  line-height: 1.78
}

.tutorial-page .eyebrow {
  color: var(--course-accent);
  border-color: color-mix(in srgb, var(--course-accent) 28%, var(--border));
  background: color-mix(in srgb, var(--course-accent) 10%, var(--surface))
}

.tutorial-page .btn-primary {
  background: linear-gradient(135deg, var(--course-accent), var(--course-accent-2));
  box-shadow: 0 15px 38px color-mix(in srgb, var(--course-accent) 28%, transparent)
}

.tutorial-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px
}

.tutorial-facts span {
  min-width: 125px;
  padding: 12px 15px;
  border: 1px solid color-mix(in srgb, var(--course-accent) 22%, var(--border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  color: var(--muted);
  font-size: .78rem
}

.tutorial-facts strong {
  display: block;
  color: var(--text);
  font-size: 1.15rem
}

.tutorial-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
  border: 1px solid color-mix(in srgb, var(--course-accent) 35%, var(--border));
  border-radius: 38px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--course-accent) 12%, var(--surface)), color-mix(in srgb, var(--course-accent-2) 6%, var(--surface)));
  box-shadow: 0 40px 110px color-mix(in srgb, var(--course-accent) 16%, rgba(0, 0, 0, .2));
  isolation: isolate
}

.tutorial-visual:before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px dashed color-mix(in srgb, var(--course-accent) 30%, transparent);
  border-radius: 29px
}

.course-monogram {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 172px;
  height: 172px;
  border-radius: 42px;
  background: linear-gradient(145deg, var(--course-accent), var(--course-accent-2));
  color: #fff;
  font-size: 2.45rem;
  font-weight: 950;
  letter-spacing: -.06em;
  box-shadow: 0 28px 75px color-mix(in srgb, var(--course-accent) 40%, transparent), inset 0 1px rgba(255, 255, 255, .35)
}

.visual-orbit {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--course-accent) 35%, transparent);
  border-radius: 50%
}

.orbit-one {
  width: 290px;
  height: 290px
}

.orbit-two {
  width: 350px;
  height: 210px;
  transform: rotate(-22deg)
}

.visual-code {
  position: absolute;
  inset: auto 28px 25px;
  display: flex;
  justify-content: space-between;
  color: color-mix(in srgb, var(--course-accent) 75%, white);
  font-size: .72rem;
  letter-spacing: .15em
}

.visual-code strong {
  color: var(--course-accent-2)
}

.visual-code em {
  font-style: normal;
  color: var(--cyan)
}

.visual-code b {
  color: var(--accent)
}

.tutorial-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding-top: 44px;
  padding-bottom: 100px
}

.tutorial-sidebar {
  min-width: 0
}

.sidebar-sticky {
  position: sticky;
  top: calc(var(--header) + 22px);
  max-height: calc(100vh - var(--header) - 44px);
  display: flex;
  flex-direction: column;
  padding: 19px;
  border: 1px solid color-mix(in srgb, var(--course-accent) 23%, var(--border));
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px)
}

.sidebar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 10px
}

.sidebar-heading span {
  color: var(--text);
  font-weight: 900
}

.sidebar-heading strong {
  color: var(--course-accent)
}

.sidebar-sticky .progress-bar span {
  background: linear-gradient(90deg, var(--course-accent), var(--course-accent-2))
}

.course-filter-wrap {
  margin: 15px 0 10px
}

.course-filter {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text)
}

.course-filter:focus {
  outline: 0;
  border-color: var(--course-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--course-accent) 14%, transparent)
}

.tutorial-side-links {
  overflow: auto;
  padding-right: 5px
}

.tutorial-side-link {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 9px;
  align-items: start;
  padding: 9px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.35
}

.tutorial-side-link:hover {
  background: color-mix(in srgb, var(--course-accent) 10%, var(--surface));
  color: var(--text)
}

.side-day {
  display: grid;
  place-items: center;
  min-height: 25px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--course-accent) 12%, var(--surface-2));
  color: var(--course-accent);
  font-size: .68rem;
  font-weight: 900
}

.tutorial-content {
  min-width: 0
}

.content-intro {
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--course-accent) 25%, var(--border));
  border-radius: 25px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--course-accent) 9%, var(--surface)), var(--surface));
  margin-bottom: 24px
}

.content-intro h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.05em;
  margin: 13px 0 8px
}

.content-intro p {
  color: var(--muted);
  max-width: 900px
}

.tutorial-groups {
  display: grid;
  gap: 24px
}

.tutorial-group {
  border: 1px solid color-mix(in srgb, var(--course-accent) 20%, var(--border));
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm)
}

.tutorial-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 23px 25px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--course-accent) 12%, var(--surface)), var(--surface))
}

.tutorial-group-head span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--course-accent);
  font-weight: 900
}

.tutorial-group-head h3 {
  font-size: 1.45rem;
  margin: 3px 0 0
}

.tutorial-group-head>strong {
  color: var(--muted);
  font-size: .82rem
}

.tutorial-lesson-list {
  display: grid
}

.tutorial-lesson-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 165px 28px;
  gap: 15px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: .2s
}

.tutorial-lesson-row:hover {
  background: color-mix(in srgb, var(--course-accent) 7%, var(--surface));
  padding-left: 27px
}

.lesson-row-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--course-accent) 11%, var(--surface-2));
  color: var(--course-accent);
  font-size: .73rem;
  font-weight: 950
}

.lesson-row-copy {
  min-width: 0
}

.lesson-row-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: .98rem
}

.lesson-row-copy small {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: .8rem
}

.lesson-row-meta {
  text-align: right
}

.lesson-row-meta b,
.lesson-row-meta em {
  display: block;
  font-size: .72rem
}

.lesson-row-meta b {
  color: var(--muted)
}

.lesson-row-meta em {
  color: var(--course-accent);
  font-style: normal;
  margin-top: 3px
}

.row-arrow {
  color: var(--course-accent);
  font-size: 1.3rem
}

@media(max-width:1350px) {
  .course-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .tutorial-hero-grid {
    gap: 45px
  }

  .tutorial-layout {
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 28px
  }
}

@media(max-width:1120px) {
  .nav-dropdown {
    display: block
  }

  .nav-dropdown-toggle {
    min-height: 45px;
    width: 100%;
    justify-content: space-between;
    padding: 0 12px
  }

  .nav-dropdown-toggle:after {
    display: none
  }

  .nav-dropdown-menu {
    position: static;
    width: auto;
    left: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 14px;
    margin: 5px 0 10px;
    box-shadow: none;
    background: var(--surface-2)
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block
  }

  .nav-dropdown:hover .nav-dropdown-menu:not(:focus-within) {
    display: none
  }

  .nav-dropdown.open:hover .nav-dropdown-menu {
    display: block
  }

  .tutorial-hero-grid {
    grid-template-columns: 1fr
  }

  .tutorial-visual {
    min-height: 330px;
    max-width: 680px
  }

  .tutorial-layout {
    grid-template-columns: 1fr
  }

  .tutorial-sidebar {
    display: none
  }

  .course-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:760px) {
  .library-heading {
    display: block
  }

  .library-stat {
    display: none
  }

  .library-heading h1 {
    font-size: 3.3rem
  }

  .course-hub-grid {
    grid-template-columns: 1fr
  }

  .course-hub-card {
    min-height: auto
  }

  .tutorial-hero {
    padding-top: 54px
  }

  .tutorial-hero-copy h1 {
    font-size: 3.5rem
  }

  .tutorial-visual {
    min-height: 290px;
    border-radius: 28px
  }

  .course-monogram {
    width: 135px;
    height: 135px;
    border-radius: 34px;
    font-size: 2rem
  }

  .orbit-one {
    width: 220px;
    height: 220px
  }

  .orbit-two {
    width: 270px;
    height: 160px
  }

  .tutorial-layout {
    padding-top: 26px
  }

  .tutorial-lesson-row {
    grid-template-columns: 48px 1fr 24px;
    padding: 15px
  }

  .tutorial-lesson-row:hover {
    padding-left: 18px
  }

  .lesson-row-meta {
    display: none
  }

  .lesson-row-number {
    width: 40px;
    height: 40px
  }

  .tutorial-group-head {
    padding: 19px
  }

  .tutorial-group-head>strong {
    display: none
  }

  .content-intro {
    padding: 22px
  }

  .nav-menu-grid {
    grid-template-columns: 1fr
  }

  .nav-all small {
    display: none
  }
}


/* Founder profile page — Professional V3 */
.founder-page {
  overflow: hidden
}

.founder-page .section {
  position: relative
}

.founder-hero {
  padding: 92px 0 84px;
  background: radial-gradient(circle at 78% 22%, color-mix(in srgb, var(--brand) 24%, transparent), transparent 30rem), radial-gradient(circle at 13% 78%, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 26rem)
}

.founder-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 49.8%, color-mix(in srgb, var(--border) 32%, transparent) 50%, transparent 50.2%);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  pointer-events: none
}

.founder-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: 78px;
  align-items: center
}

.founder-copy h1 {
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: .98;
  letter-spacing: -.06em;
  margin: 22px 0 26px;
  max-width: 850px
}

.founder-copy h1 span {
  background: linear-gradient(125deg, #fff 10%, var(--brand) 52%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.founder-lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 790px;
  line-height: 1.8
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px
}

.founder-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px
}

.founder-quick-meta span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--muted);
  font-size: .8rem
}

.founder-quick-meta strong {
  color: var(--text);
  font-size: .96rem
}

.founder-portrait-wrap {
  position: relative;
  display: grid;
  place-items: center
}

.founder-portrait-card {
  position: relative;
  width: min(100%, 455px);
  padding: 16px 16px 18px;
  border-radius: 34px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 94%, var(--brand)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 38%, var(--border));
  box-shadow: 0 35px 90px rgba(0, 0, 0, .34)
}

.founder-portrait-card:before {
  content: '';
  position: absolute;
  inset: -18px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: 46px;
  transform: rotate(3deg);
  z-index: -1
}

.founder-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  aspect-ratio: 453/551;
  background: linear-gradient(145deg, #0c1e34, #112c4c)
}

.founder-photo-frame:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(3, 10, 20, .35));
  pointer-events: none
}

.founder-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top
}

.founder-status {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 8px 2px
}

.founder-status strong,
.founder-status small {
  display: block
}

.founder-status small {
  color: var(--muted)
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #31d17c;
  box-shadow: 0 0 0 7px rgba(49, 209, 124, .12), 0 0 20px rgba(49, 209, 124, .56)
}

.founder-code-badge {
  position: absolute;
  right: -22px;
  top: 50px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--brand) 36%, transparent);
  transform: rotate(7deg)
}

.founder-snapshot {
  padding-top: 22px
}

.founder-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px
}

.founder-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 97%, var(--brand)), var(--surface));
  box-shadow: var(--shadow-sm)
}

.founder-stat-card:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--cyan))
}

.founder-stat-card strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.05;
  color: var(--brand);
  margin-bottom: 26px;
  letter-spacing: -.035em
}

.founder-stat-card span {
  color: var(--muted);
  line-height: 1.6
}

.founder-two-column {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 80px;
  align-items: start
}

.founder-two-column h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.048em;
  margin: 18px 0 0
}

.founder-rich-copy {
  border-left: 1px solid var(--border);
  padding-left: 42px
}

.founder-rich-copy p {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 20px
}

.founder-rich-copy p:first-child {
  color: var(--text);
  font-size: 1.17rem
}

.founder-career {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 35%, transparent), transparent)
}

.founder-timeline {
  position: relative;
  max-width: 1050px;
  margin: 0 auto
}

.founder-timeline:before {
  content: '';
  position: absolute;
  left: 32px;
  top: 25px;
  bottom: 25px;
  width: 1px;
  background: linear-gradient(var(--brand), var(--cyan), var(--brand-2))
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 26px;
  padding: 0 0 38px
}

.timeline-item:last-child {
  padding-bottom: 0
}

.timeline-number {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  border: 5px solid var(--bg);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--brand) 22%, transparent)
}

.timeline-item>div {
  padding: 20px 25px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm)
}

.timeline-item h3 {
  margin: 0 0 7px;
  font-size: 1.2rem
}

.timeline-item p {
  margin: 0;
  color: var(--muted)
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.expertise-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--surface) 97%, var(--brand)), var(--surface));
  transition: .24s
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
  box-shadow: 0 24px 58px color-mix(in srgb, var(--brand) 12%, transparent)
}

.expertise-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  font-weight: 900;
  margin-bottom: 28px;
  border: 1px solid currentColor;
  background: color-mix(in srgb, currentColor 10%, var(--surface))
}

.expertise-icon.html {
  color: #ff7a45
}

.expertise-icon.wp {
  color: #52a8ff
}

.expertise-icon.backend {
  color: #36d187
}

.expertise-icon.design {
  color: #c287ff
}

.expertise-icon.speed {
  color: #ffbf4d
}

.expertise-icon.tools {
  color: #62d8e8
}

.expertise-card h3 {
  font-size: 1.22rem;
  margin: 0 0 10px
}

.expertise-card p {
  color: var(--muted);
  margin: 0
}

.founder-services-panel {
  padding: 42px;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--border));
  border-radius: 30px;
  background: radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 24rem), linear-gradient(145deg, color-mix(in srgb, var(--surface) 97%, var(--brand)), var(--surface));
  box-shadow: var(--shadow)
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.services-list article {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 17px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: color-mix(in srgb, var(--surface) 83%, transparent)
}

.services-list article>span {
  font-size: .78rem;
  font-weight: 900;
  color: var(--brand);
  padding-top: 4px
}

.services-list h3 {
  margin: 0 0 7px
}

.services-list p {
  margin: 0;
  color: var(--muted)
}

.work-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.selected-work-card,
.academy-mission-card {
  min-height: 360px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 27px;
  background: var(--surface);
  box-shadow: var(--shadow-sm)
}

.selected-work-card {
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 96%, var(--cyan)), var(--surface))
}

.academy-mission-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 94%, var(--brand-2)), var(--surface))
}

.academy-mission-card:after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-2) 12%, transparent)
}

.selected-work-card h3,
.academy-mission-card h3 {
  font-size: 1.55rem;
  margin: 0 0 21px
}

.project-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px
}

.project-chip-grid span {
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  font-weight: 800;
  font-size: .88rem
}

.mission-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 19px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 900;
  margin-bottom: 25px;
  box-shadow: 0 16px 35px color-mix(in srgb, var(--brand) 28%, transparent)
}

.academy-mission-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8
}

.text-link {
  position: relative;
  z-index: 1;
  color: var(--brand);
  font-weight: 850;
  text-decoration: none
}

.text-link:hover {
  text-decoration: underline
}

.founder-connect-panel {
  padding: 45px;
  border-radius: 32px;
  border: 1px solid color-mix(in srgb, var(--brand) 38%, var(--border));
  background: radial-gradient(circle at 12% 15%, color-mix(in srgb, var(--cyan) 14%, transparent), transparent 25rem), radial-gradient(circle at 90% 80%, color-mix(in srgb, var(--brand-2) 13%, transparent), transparent 25rem), var(--surface);
  box-shadow: var(--shadow)
}

.connect-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px
}

.connect-intro h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  letter-spacing: -.045em;
  margin: 18px 0 12px
}

.connect-intro p {
  color: var(--muted)
}

.social-account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: auto
}

.social-account-grid>a {
  display: grid;
  grid-template-columns: 52px 1fr 24px;
  gap: 15px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  text-decoration: none;
  transition: .2s
}

.social-account-grid>a:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, var(--surface))
}

.social-account-grid strong,
.social-account-grid small {
  display: block
}

.social-account-grid small {
  color: var(--muted);
  word-break: break-word
}

.social-account-grid b {
  color: var(--brand);
  font-size: 1.2rem
}

.social-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-weight: 900
}

.social-badge.portfolio {
  background: linear-gradient(145deg, #4c8dff, #6b5be7)
}

.social-badge.linkedin {
  background: #0a66c2
}

.social-badge.instagram {
  background: linear-gradient(145deg, #833ab4, #fd1d1d, #fcb045)
}

.social-badge.x {
  background: #111
}

.social-badge.whatsapp {
  background: #20b85a
}

.social-badge.email {
  background: linear-gradient(145deg, #ff8757, #f04f68)
}

@media(max-width:1100px) {
  .founder-hero-grid {
    grid-template-columns: 1fr .75fr;
    gap: 44px
  }

  .founder-stat-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:860px) {
  .founder-hero {
    padding-top: 58px
  }

  .founder-hero-grid,
  .founder-two-column,
  .work-mission-grid {
    grid-template-columns: 1fr
  }

  .founder-copy {
    text-align: center
  }

  .founder-lead {
    margin-inline: auto
  }

  .founder-actions,
  .founder-quick-meta {
    justify-content: center
  }

  .founder-portrait-wrap {
    margin-top: 16px
  }

  .founder-portrait-card {
    max-width: 390px
  }

  .founder-two-column {
    gap: 25px
  }

  .founder-rich-copy {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 28px 0 0
  }

  .services-list,
  .social-account-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:620px) {
  .founder-copy h1 {
    font-size: 3.25rem
  }

  .founder-quick-meta {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%
  }

  .founder-quick-meta span {
    text-align: left
  }

  .founder-code-badge {
    right: -8px;
    width: 58px;
    height: 58px;
    border-radius: 17px
  }

  .founder-stat-grid,
  .expertise-grid {
    grid-template-columns: 1fr
  }

  .founder-services-panel,
  .founder-connect-panel {
    padding: 25px 18px
  }

  .services-list article {
    grid-template-columns: 40px 1fr;
    padding: 18px
  }

  .timeline-item {
    grid-template-columns: 52px 1fr;
    gap: 14px
  }

  .founder-timeline:before {
    left: 25px
  }

  .timeline-number {
    width: 52px;
    height: 52px;
    border-radius: 16px
  }

  .timeline-item>div {
    padding: 17px
  }

  .selected-work-card,
  .academy-mission-card {
    min-height: auto;
    padding: 24px
  }

  .social-account-grid>a {
    grid-template-columns: 46px 1fr 18px;
    padding: 14px
  }

  .social-badge {
    width: 46px;
    height: 46px
  }

  .social-account-grid small {
    font-size: .78rem
  }
}

/* Corrected original playground: complete editors + preview stay visible */
.playground .editor-panel {
  display: grid;
  gap: 7px
}

.playground .editor-panel textarea {
  resize: vertical;
  min-height: 190px
}

.playground .preview {
  display: block;
  min-height: 650px
}

.playground .toolbar {
  position: sticky;
  top: calc(var(--header) + 8px);
  z-index: 12;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px)
}

@media(max-width:1000px) {
  .playground .preview {
    min-height: 520px
  }

  .playground .toolbar {
    position: static
  }
}
/* === TABLET + MOBILE HERO FLEX FIX ===
   Converts the existing .hero-grid to a vertical flex layout on tablets
   and mobile devices while keeping the desktop hero layout unchanged.
*/
@media (max-width: 1120px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 40px;
    padding: 20px 0 0 0;
  }

  .hero-grid > * {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 650px) {
  .hero-grid {
    gap: 32px;
    padding: 50px 0 0 0;
  }
}

/* === RESPONSIVE WHATSAPP FLOAT FIX ===
   Keeps the floating WhatsApp button neat on tablets/mobile and prevents
   it from covering footer content.
*/
.wa-float {
  box-sizing: border-box;
  overflow: hidden;
  line-height: 1;
}

.wa-float::before {
  display: block;
  flex: 0 0 auto;
}

@media (max-width: 1120px) {
  .wa-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
    border-width: 2px;
  }

  .wa-float::before {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 650px) {
  .wa-float {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: 12px;
  }

  .wa-float::before {
    width: 45px;
    height: 45px;
  }

  .site-footer {
    padding-bottom: 88px;
  }
}

