:root {
  --ink: #111318;
  --muted: #606774;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --line: #dfe5ee;
  --blue: #1f6bff;
  --coral: #f06b4f;
  --green: #2fb884;
  --yellow: #f3bd3e;
  --shadow: 0 18px 48px rgba(17, 19, 24, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px;
  background: rgba(247, 249, 252, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  font-size: 13px;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px;
  background: var(--ink);
}

.main-nav {
  display: none;
  grid-column: 1 / -1;
  gap: 2px;
  padding: 10px 0 6px;
}

.main-nav a {
  padding: 13px 4px;
  border-top: 1px solid var(--line);
  color: #303744;
  font-weight: 800;
}

.main-nav a.active { color: var(--blue); }
.site-header.nav-open .main-nav { display: grid; }

.btn,
.small-btn,
.video-link,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.btn {
  width: 100%;
  padding: 0 18px;
}

.small-btn,
.video-link,
.card-action {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(31, 107, 255, 0.24);
}

.secondary {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.dark { color: white; background: var(--ink); }
.coral { color: white; background: var(--coral); }

.hero,
.page-hero,
.section,
.split-section,
.video-section,
.contact-section {
  padding: 38px 16px;
}

.hero {
  display: grid;
  gap: 26px;
  background:
    linear-gradient(160deg, rgba(47, 184, 132, 0.14), transparent 36%),
    linear-gradient(330deg, rgba(240, 107, 79, 0.12), transparent 36%),
    #f6f9fd;
}

.page-hero {
  background: #edf4ff;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 13vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 9vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.18;
}

p { color: var(--muted); }

.lead {
  max-width: 680px;
  font-size: 18px;
}

.hero-actions,
.page-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.proof-row {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.proof-row span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #424a58;
  font-size: 13px;
  font-weight: 800;
}

.phone-preview {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.preview-screen {
  padding: 18px;
  background: white;
  border-radius: 14px;
}

.camera-visual,
.editing-visual,
.lighting-visual,
.wedding-visual {
  min-height: 230px;
  border-radius: 8px;
}

.camera-visual {
  background:
    radial-gradient(circle at 52% 46%, #9bd4ff 0 9%, #111318 10% 21%, transparent 22%),
    linear-gradient(90deg, transparent 18%, #111318 19% 78%, transparent 79%),
    linear-gradient(180deg, transparent 28%, #303846 29% 70%, transparent 71%),
    #eaf1fb;
}

.editing-visual {
  background:
    linear-gradient(90deg, var(--blue) 0 34%, var(--green) 34% 63%, var(--coral) 63% 100%) 28px 170px / calc(100% - 56px) 18px no-repeat,
    linear-gradient(#ffffff, #ffffff) 24px 32px / calc(100% - 48px) 130px no-repeat,
    #101722;
}

.lighting-visual {
  background:
    radial-gradient(circle at 70% 28%, rgba(255,255,255,0.95) 0 16%, transparent 17%),
    linear-gradient(135deg, #fff4dd, #eaf6ff);
}

.wedding-visual {
  background:
    radial-gradient(circle at 70% 42%, var(--green) 0 17%, transparent 18%),
    linear-gradient(135deg, #ffffff 0 40%, transparent 41%) 36px 56px / 150px 96px no-repeat,
    linear-gradient(135deg, #f8eff0, #edf8f2);
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px;
  background: #eaf0f8;
  border-radius: 8px;
}

.filters button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #4d5668;
  font-weight: 900;
}

.filters button.active { color: var(--ink); background: white; }

.grid,
.course-grid,
.workshop-grid,
.path-grid,
.video-grid,
.testimonial-grid {
  display: grid;
  gap: 14px;
}

.card,
.course-card,
.workshop-card,
.path-card,
.video-card,
.testimonial,
.faq-card,
.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 19, 24, 0.06);
  overflow: hidden;
}

.course-card.is-hidden { display: none; }

.course-art { min-height: 190px; }
.card-body { padding: 18px; }
.tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.meta span {
  padding: 10px;
  background: #f4f7fb;
  border-radius: 8px;
  color: #363d4a;
  font-size: 13px;
  font-weight: 800;
}

.workshop-card {
  padding: 18px;
  color: var(--ink);
}

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

.workshop-date {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 64px;
  margin-bottom: 14px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.dark-band {
  color: white;
  background: #111722;
}

.dark-band p { color: #b8c0cc; }

.path-card {
  padding: 18px;
}

.path-card strong {
  color: var(--coral);
  font-size: 13px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111722;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card .card-body {
  display: grid;
  gap: 10px;
}

.youtube-url {
  display: block;
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.split-section {
  display: grid;
  gap: 22px;
  background: #eef8f3;
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 13px 14px;
  background: rgba(255,255,255,0.78);
  border: 1px solid #d3e8dd;
  border-radius: 8px;
  font-weight: 800;
}

.mentor-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: white;
  border: 1px solid #d3e8dd;
  border-radius: 8px;
}

.mentor-avatar {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: white;
  background:
    radial-gradient(circle at 50% 34%, #ffd7b5 0 12%, transparent 13%),
    linear-gradient(145deg, var(--coral), var(--blue));
  border-radius: 8px;
  font-weight: 900;
}

.testimonial {
  padding: 18px;
}

.testimonial blockquote {
  margin: 0 0 14px;
  color: #202633;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.faq-card details {
  padding: 16px;
  border-top: 1px solid var(--line);
}

.faq-card details:first-child { border-top: 0; }
.faq-card summary { font-weight: 900; cursor: pointer; }
.faq-card p { margin: 10px 0 0; }

.contact-section {
  display: grid;
  gap: 16px;
  background: #eef3fa;
}

.contact-card {
  padding: 20px;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #3d4655;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #ccd5e1;
  border-radius: 8px;
  background: #fbfcff;
  color: var(--ink);
}

textarea { min-height: 120px; resize: vertical; }

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(31, 107, 255, 0.16);
  border-color: var(--blue);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 28px 16px;
  color: white;
  background: var(--ink);
}

.site-footer p { margin-bottom: 0; color: #b9c1cf; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 900; }

.admin-body {
  background:
    linear-gradient(135deg, rgba(31, 107, 255, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(47, 184, 132, 0.08), transparent 30%),
    #eef3f8;
}

.admin-header {
  background: rgba(238, 243, 248, 0.94);
}

.admin-shell {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.admin-sidebar,
.admin-main,
.admin-card,
.metric-card,
.student-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 19, 24, 0.06);
}

.admin-sidebar {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.admin-kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-sidebar h1 {
  margin-bottom: 0;
  font-size: clamp(30px, 9vw, 44px);
}

.admin-sidebar-copy {
  margin: 10px 0 0;
  font-size: 14px;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8fb;
  color: #3b4351;
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs button.active {
  color: white;
  background: linear-gradient(135deg, var(--ink), #243042);
  border-color: #243042;
}

.admin-profile {
  display: grid;
  gap: 2px;
  padding: 14px;
  background: #f5f8fc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-profile span,
.admin-profile small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-profile strong {
  font-size: 15px;
}

.admin-main {
  min-width: 0;
  padding: 16px;
}

.admin-command {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-search {
  display: grid;
  gap: 7px;
  color: #3d4655;
  font-weight: 900;
}

.admin-search input {
  min-height: 44px;
  background: #f8fbff;
}

.admin-command-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: grid;
  gap: 16px;
}

.admin-top {
  display: grid;
  gap: 14px;
}

.admin-top h2 {
  font-size: clamp(26px, 8vw, 40px);
}

.admin-hero-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  color: white;
  background:
    linear-gradient(135deg, rgba(31, 107, 255, 0.92), rgba(17, 19, 24, 0.96)),
    var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-hero-card h2 {
  margin-top: 8px;
  color: white;
}

.admin-hero-card p {
  color: rgba(255, 255, 255, 0.74);
}

.admin-chip {
  display: inline-flex;
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-chip.live {
  color: #063f2a;
  background: #b9f8d5;
}

.admin-hero-stat {
  display: grid;
  place-items: center;
  min-height: 130px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  text-align: center;
}

.admin-hero-stat span,
.admin-hero-stat small {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.admin-hero-stat strong {
  color: white;
  font-size: 56px;
  line-height: 1;
}

.metric-grid,
.admin-grid,
.student-grid {
  display: grid;
  gap: 12px;
}

.metric-card,
.student-card,
.admin-card {
  padding: 16px;
}

.metric-card {
  position: relative;
  display: grid;
  gap: 4px;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 86px;
  height: 86px;
  background: rgba(31, 107, 255, 0.1);
  border-radius: 50%;
}

.metric-card span,
.metric-card small,
.student-card span,
.student-card small {
  color: var(--muted);
  font-weight: 800;
}

.metric-card strong {
  font-size: 36px;
  line-height: 1;
}

.pipeline-card,
.quick-actions-card {
  min-height: 190px;
}

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

.pipeline-cols div {
  display: grid;
  gap: 6px;
  padding: 14px 10px;
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.pipeline-cols span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.pipeline-cols strong {
  font-size: 28px;
}

.quick-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.quick-actions button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: #283241;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.admin-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.admin-list li {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: #f5f8fc;
  border-radius: 8px;
}

.admin-list span,
.admin-list em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.progress-row {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.progress-row span {
  color: #374151;
  font-weight: 900;
}

.progress-row::after {
  content: "";
  display: block;
  height: 10px;
  background: #e7edf5;
  border-radius: 999px;
}

.progress-row b {
  display: block;
  height: 10px;
  margin-bottom: -18px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
  z-index: 1;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-row.head {
  display: none;
}

.admin-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.admin-row button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.status {
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
}

.status.live {
  color: #067647;
  background: #dff8eb;
}

.status.draft {
  color: #8a4b00;
  background: #fff1cf;
}

.status.review {
  color: #1f55bd;
  background: #e2ebff;
}

.lesson-card {
  display: grid;
  gap: 10px;
}

.student-card {
  display: grid;
  gap: 8px;
}

.student-card strong {
  font-size: 20px;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: #3d4655;
  font-weight: 900;
}

.admin-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: white;
  background: transparent;
  border-radius: 8px;
  font-weight: 900;
  pointer-events: none;
}

.admin-toast.show {
  padding: 12px 14px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.profile-body {
  background: #f8f9fd;
}

.profile-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.profile-logo {
  display: grid;
  line-height: 0.9;
}

.profile-logo strong {
  color: #6d32e8;
  font-size: 28px;
  letter-spacing: 0;
}

.profile-logo span {
  color: #1f2430;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.26em;
}

.profile-menu-toggle {
  justify-self: end;
}

.profile-nav {
  display: none;
  grid-column: 1 / -1;
  gap: 8px;
}

.profile-topbar.nav-open .profile-nav {
  display: grid;
}

.profile-nav a {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.profile-nav a.active {
  color: #6d32e8;
}

.profile-search {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.profile-search input {
  border-radius: 999px;
}

.profile-mini {
  display: none;
}

.profile-shell {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.profile-sidebar,
.profile-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.profile-card,
.creator-hero,
.profile-tabs,
.learning-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(17, 19, 24, 0.06);
}

.identity-card {
  position: relative;
  overflow: hidden;
  padding: 0 18px 18px;
  text-align: center;
}

.profile-cover {
  height: 116px;
  margin: 0 -18px;
  background: linear-gradient(135deg, #8d48f5, #c56aff);
}

.avatar-xl,
.avatar-sm {
  background:
    radial-gradient(circle at 50% 32%, #ffd3b0 0 19%, transparent 20%),
    radial-gradient(circle at 50% 100%, #111318 0 46%, transparent 47%),
    linear-gradient(135deg, #f3f4f8, #dfe4ee);
}

.avatar-xl {
  width: 120px;
  height: 120px;
  margin: -62px auto 12px;
  border: 5px solid white;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.avatar-sm {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.identity-card h1 {
  margin: 0 0 4px;
  font-size: 24px;
}

.identity-card p,
.identity-card small,
.identity-card span {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 700;
}

.outline-action {
  width: 100%;
  min-height: 42px;
  margin: 10px 0 14px;
  border: 1px solid #6d32e8;
  border-radius: 8px;
  color: #6d32e8;
  background: white;
  font-weight: 900;
  cursor: pointer;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-row i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d32e8, #ff426a);
}

.stat-list-card,
.achievement-card,
.level-card {
  padding: 18px;
}

.profile-card h2 {
  font-size: 18px;
}

.stat-list-card dl,
.achievement-card ul,
.course-list,
.activity-card ul,
.wishlist-card ul,
.project-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.stat-list-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stat-list-card dt,
.achievement-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stat-list-card dd {
  margin: 0;
  font-weight: 900;
}

.achievement-card li {
  display: grid;
  gap: 3px;
  padding-left: 38px;
  position: relative;
}

.achievement-card li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffd166, #6d32e8);
}

.level-card strong {
  color: #6d32e8;
  font-size: 26px;
}

.level-bar,
.course-progress {
  display: grid;
  gap: 8px;
}

.level-bar {
  height: 12px;
  background: #e9e2ff;
  border-radius: 999px;
}

.level-bar b {
  display: block;
  height: 12px;
  background: #6d32e8;
  border-radius: 999px;
}

.creator-hero {
  display: grid;
  gap: 20px;
  padding: 22px;
}

.creator-hero h2 {
  font-size: clamp(30px, 8vw, 42px);
}

.creator-hero h2 span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: white;
  background: #6d32e8;
  font-size: 12px;
  vertical-align: middle;
}

.creator-badge {
  display: inline-flex;
  width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #6d32e8;
  background: #efe7ff;
  font-weight: 900;
}

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

.creator-stats span {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-weight: 800;
}

.creator-stats b {
  color: var(--ink);
  font-size: 22px;
}

.creator-visual {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(135deg, #fbfbff, #f2edff);
  border-radius: 8px;
}

.creator-visual .camera-visual {
  min-height: 180px;
}

.creator-visual span {
  color: #6d32e8;
  font-weight: 900;
  text-align: center;
}

.profile-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
}

.profile-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #303744;
  font-weight: 900;
  cursor: pointer;
}

.profile-tabs button.active {
  color: #6d32e8;
  background: #efe7ff;
}

.profile-panel {
  display: none;
}

.profile-panel.active {
  display: grid;
  gap: 16px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.panel-head h2 {
  margin: 0;
  font-size: 20px;
}

.panel-head a {
  color: #6d32e8;
  font-weight: 900;
}

.learning-grid,
.profile-lower-grid,
.profile-widget-grid {
  display: grid;
  gap: 16px;
}

.learning-card {
  position: relative;
  overflow: hidden;
}

.learning-card .thumb {
  min-height: 170px;
}

.thumb,
.mini-thumb {
  display: block;
  border-radius: 8px;
}

.wedding-thumb {
  background:
    radial-gradient(circle at 72% 25%, #ffbd66 0 8%, transparent 9%),
    linear-gradient(135deg, #171a22, #7b3fe4);
}

.drone-thumb {
  background:
    radial-gradient(circle at 72% 34%, #111318 0 8%, transparent 9%),
    linear-gradient(135deg, #c7e7ff, #e9bd69);
}

.edit-thumb {
  background:
    linear-gradient(90deg, #6d32e8 0 40%, #32c28b 40% 70%, #f06b4f 70% 100%) 24px 120px / calc(100% - 48px) 14px no-repeat,
    linear-gradient(135deg, #111318, #32384b);
}

.learning-card > span {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: white;
  background: #6d32e8;
  font-size: 12px;
  font-weight: 900;
}

.learning-card h3,
.learning-card p,
.learning-card .course-progress,
.learning-card button {
  margin-left: 16px;
  margin-right: 16px;
}

.learning-card h3 {
  margin-top: 16px;
}

.course-progress strong {
  font-size: 13px;
}

.course-progress::after {
  content: "";
  height: 8px;
  background: #e7e1fb;
  border-radius: 999px;
}

.course-progress b {
  display: block;
  height: 8px;
  margin-bottom: -16px;
  background: #6d32e8;
  border-radius: 999px;
  z-index: 1;
}

.learning-card button,
.certificate-actions button {
  min-height: 42px;
  margin-top: 16px;
  margin-bottom: 16px;
  border: 1px solid #6d32e8;
  border-radius: 8px;
  color: #6d32e8;
  background: white;
  font-weight: 900;
  cursor: pointer;
}

.completed-card,
.certificate-card,
.activity-card,
.wishlist-card,
.project-card,
.reviews-card,
.profile-settings-form {
  padding: 18px;
}

.course-list li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.mini-thumb {
  width: 64px;
  height: 52px;
}

.course-list small,
.course-list em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.course-list em {
  color: #13a566;
}

.certificate-preview {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 20px;
  border: 8px solid #e8cf9a;
  background: #fffdf8;
  text-align: center;
}

.certificate-preview strong {
  font-size: 26px;
  letter-spacing: 0.12em;
}

.certificate-preview span {
  font-weight: 900;
}

.certificate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.profile-widget-grid .profile-card ul {
  display: grid;
  gap: 12px;
}

.profile-widget-grid li,
.reviews-card p {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.profile-widget-grid b {
  display: block;
  color: #6d32e8;
}

.profile-settings-form {
  display: grid;
  gap: 12px;
}

.profile-settings-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.profile-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  margin: 0;
  padding: 0;
  color: white;
  border-radius: 8px;
  font-weight: 900;
  pointer-events: none;
}

.profile-toast.show {
  padding: 12px 14px;
  background: #111318;
  box-shadow: var(--shadow);
}

@media (min-width: 720px) {
  .btn { width: auto; }
  .hero-actions,
  .page-actions,
  .proof-row { display: flex; flex-wrap: wrap; }
  .course-grid,
  .workshop-grid,
  .path-grid,
  .video-grid,
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-section,
  .split-section { grid-template-columns: 1fr 1fr; align-items: start; }
  .metric-grid,
  .student-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid.two { grid-template-columns: 1fr 1fr; }
  .admin-row {
    grid-template-columns: 1.2fr 1fr 0.8fr auto;
    align-items: center;
  }
  .admin-row.head {
    display: grid;
    color: var(--muted);
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .hero,
  .page-hero,
  .section,
  .split-section,
  .video-section,
  .contact-section { padding: 58px 36px; }
  .profile-shell {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
  .profile-sidebar {
    position: sticky;
    top: 90px;
  }
  .creator-hero {
    grid-template-columns: 1.3fr 0.8fr;
    align-items: center;
  }
  .learning-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .profile-lower-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .profile-widget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 76px;
    padding: 14px 56px;
  }
  .menu-toggle { display: none; }
  .main-nav {
    display: flex;
    grid-column: auto;
    justify-content: center;
    gap: 26px;
    padding: 0;
  }
  .main-nav a { border-top: 0; padding: 0; }
  .hero {
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    min-height: calc(100vh - 76px);
    padding: 84px 72px 64px;
  }
  .page-hero,
  .section,
  .split-section,
  .video-section,
  .contact-section { padding: 86px 72px; }
  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .course-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .workshop-grid,
  .video-grid,
  .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 34px 72px;
  }
  .admin-shell {
    grid-template-columns: 280px 1fr;
    align-items: start;
    padding: 24px;
  }
  .admin-sidebar {
    position: sticky;
    top: 100px;
    min-height: calc(100vh - 124px);
    align-content: start;
    color: white;
    background:
      linear-gradient(160deg, rgba(126, 58, 242, 0.34), transparent 26%),
      linear-gradient(180deg, #11124a 0%, #071234 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 48px rgba(17, 24, 39, 0.18);
  }
  .admin-kicker,
  .admin-sidebar-copy {
    color: rgba(255, 255, 255, 0.72);
  }
  .admin-sidebar h1 {
    color: white;
    font-size: 36px;
  }
  .admin-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }
  .admin-tabs button {
    justify-content: start;
    min-height: 46px;
    color: rgba(255, 255, 255, 0.86);
    background: transparent;
    border-color: transparent;
    text-align: left;
  }
  .admin-tabs button.active {
    color: white;
    background: linear-gradient(135deg, #7c3aed, #551cf2);
    border-color: rgba(255, 255, 255, 0.12);
  }
  .admin-profile {
    margin-top: auto;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .admin-profile span,
  .admin-profile small {
    color: rgba(255, 255, 255, 0.68);
  }
  .admin-main {
    padding: 24px;
  }
  .admin-command {
    grid-template-columns: minmax(260px, 460px) auto;
    justify-content: space-between;
    align-items: end;
  }
  .admin-command-actions {
    min-width: 240px;
  }
  .admin-toast {
    left: auto;
    right: 24px;
    max-width: 420px;
  }
  .admin-top {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .admin-hero-card {
    grid-template-columns: 1fr 220px;
    align-items: center;
    padding: 28px;
  }
  .metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .student-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .profile-topbar {
    grid-template-columns: auto 1fr auto;
    padding: 10px 48px;
  }
  .profile-menu-toggle {
    display: none;
  }
  .profile-nav {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) repeat(5, auto);
    grid-column: auto;
    align-items: center;
    gap: 22px;
  }
  .profile-nav a {
    padding: 0;
    border-top: 0;
  }
  .profile-search {
    min-width: 360px;
  }
  .profile-mini {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .notif {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: white;
    background: #ff3152;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
  }
  .profile-shell {
    grid-template-columns: 300px 1fr;
    padding: 22px;
  }
  .profile-tabs {
    grid-template-columns: repeat(6, auto);
    justify-content: start;
    gap: 16px;
  }
  .profile-widget-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .profile-toast {
    left: auto;
    right: 24px;
    max-width: 420px;
  }
}
