/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --violet-50:  #f6f3ff;
    --violet-100: #ede8ff;
    --violet-200: #d9cbff;
    --violet-300: #c4b5fd;
    --violet-400: #a78bfa;
    --violet-500: #8b5cf6;
    --violet-600: #7c3aed;
    --violet-700: #6d28d9;
    --violet-900: #2e1065;
    --pink-400:   #f472b6;
    --pink-500:   #ec4899;
    --green-400:  #34d399;
    --green-500:  #10b981;
    --amber-500:  #f59e0b;
    --ink:        #15112e;
    --ink-80:     #30284d;
    --ink-60:     #5f5880;
    --ink-40:     #9591b0;
    --bg:         #ffffff;
    --bg-soft:    #faf8ff;
    --bg-muted:   #f7f3ff;
    --border:     #ece7f7;
    --border-soft:#f4eeff;
    --shadow-sm:  0 2px 8px rgba(110, 80, 200, .06);
    --shadow-md:  0 10px 30px rgba(110, 80, 200, .10);
    --shadow-lg:  0 20px 50px rgba(110, 80, 200, .15);
    --radius-md:  16px;
    --radius-lg:  20px;
    --radius-xl:  28px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    border-radius: 12px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 14px; border-radius: 10px; }
.btn--primary {
    background: linear-gradient(135deg, var(--violet-600), var(--violet-500));
    color: #fff;
    box-shadow: 0 10px 25px rgba(124, 58, 237, .3);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(124, 58, 237, .4); }
.btn--ghost {
    background: #fff;
    color: var(--violet-700);
    border-color: var(--violet-100);
}
.btn--ghost:hover { background: var(--violet-50); border-color: var(--violet-200); }
.btn--white {
    background: #fff;
    color: var(--violet-700);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.5);
}
.btn--outline-white:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.header__inner {
    display: flex;
    align-items: center;
    padding: 16px 28px;
    gap: 32px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    color: var(--ink);
}
.logo__mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--violet-100);
    color: var(--violet-700);
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__img { display: block; height: 36px; width: auto; }
.logo--light { color: #fff; }
.logo--light .logo__mark { background: rgba(255,255,255,.12); color: #fff; }

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}
.nav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--ink-60);
    transition: color .2s;
}
.nav a:hover { color: var(--violet-700); }

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

.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 4px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Badge ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--violet-100);
    color: var(--violet-700);
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 24px;
}
.badge__plus {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--violet-500);
    color: #fff;
    font-size: 11px;
    line-height: 14px;
    text-align: center;
    font-weight: 700;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 56px 0 96px;
    background:
        radial-gradient(ellipse 60% 70% at 50% 20%, rgba(199, 180, 255, .18), transparent 70%),
        linear-gradient(180deg, #faf8ff 0%, #ffffff 100%);
    overflow: hidden;
}
.hero__bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(196, 181, 253, .3) 60%, transparent);
    filter: blur(.5px);
    opacity: .7;
}
.orb--1 { width: 80px; height: 80px; top: 20%; right: 6%; }
.orb--2 { width: 40px; height: 40px; top: 65%; right: 4%; opacity: .5; }
.orb--3 { width: 24px; height: 24px; top: 40%; right: 40%; }
.orb--4 { width: 60px; height: 60px; bottom: 18%; left: 48%; opacity: .5; }

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
}
.hero__title {
    font-size: clamp(38px, 4.6vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    color: var(--ink);
}
.accent {
    color: var(--violet-600);
}
.hero__text {
    font-size: 17px;
    color: var(--ink-60);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.65;
}
.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.hero__proof {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.avatar-stack {
    display: inline-flex;
}
.avatar-stack__item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.avatar-stack__item + .avatar-stack__item { margin-left: -12px; }

.hero__proof-text { line-height: 1.2; }
.hero__proof-main {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
}
.hero__proof-main--rating { display: flex; align-items: center; gap: 6px; }
.rating-stars { color: var(--amber-500); letter-spacing: 1px; font-size: 12px; }
.hero__proof-sub { font-size: 12px; color: var(--ink-60); }
.hero__divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Hero visual — circular photo + floating dashboard cards */
.hero__visual {
    position: relative;
    aspect-ratio: 1 / 1.1;
    width: 100%;
    max-width: 560px;
    justify-self: end;
}
.hero__photo-frame {
    position: absolute;
    inset: 4% 10% 4% 10%;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,255,255,.9), rgba(230, 220, 255, .4) 60%, transparent 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.hero__photo-frame::before {
    content: "";
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, .25), rgba(236, 72, 153, .15) 60%, transparent);
    filter: blur(6px);
}
.hero__photo {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(35,20,60,.25) 100%),
        url("hero.jpg") center/cover;
    background-color: #f3e8ff;
    box-shadow: 0 30px 60px rgba(60, 30, 120, .25);
}

.dash-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(90, 60, 180, .12);
    border: 1px solid var(--border-soft);
    min-width: 200px;
    z-index: 3;
}
.dash-card--1 { top: 4%; right: -6%; animation: floaty 6s ease-in-out infinite; }
.dash-card--2 { top: 42%; right: -14%; animation: floaty 7s ease-in-out infinite 1.5s; }
.dash-card--3 { bottom: 6%; right: -2%; animation: floaty 8s ease-in-out infinite 3s; }
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.dash-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.dash-card__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--violet-100);
    color: var(--violet-600);
    display: flex;
    align-items: center;
    justify-content: center;
}
.dash-card__title {
    font-size: 13px;
    color: var(--ink-60);
    font-weight: 500;
}
.dash-card__text {
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 8px;
}
.dash-card__link {
    color: var(--violet-600);
    font-size: 13px;
    font-weight: 600;
}
.dash-card__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.dash-card__big {
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}
.dash-card__delta {
    color: var(--green-500);
    font-weight: 600;
    font-size: 12px;
}
.dash-card__chart {
    display: block;
    width: 100%;
    height: 32px;
    margin-top: 8px;
}
.dash-card__chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
}
.dash-card__chart-bars span {
    width: 6px;
    background: linear-gradient(180deg, var(--green-400), var(--green-500));
    border-radius: 2px;
}
.dash-card__sub {
    font-size: 12px;
    color: var(--ink-60);
    margin-top: 6px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--muted { background: var(--bg-muted); }

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.section__head--compact { margin-bottom: 40px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--violet-100);
    color: var(--violet-700);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
}
.section__title {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
}

/* ---------- Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Product cards ---------- */
.pcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 28px 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.pcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.pcard__illo {
    height: 160px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #faf7ff, #f1ebff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
}
.pcard__illo--brain svg,
.pcard__illo--cap svg { width: 130px; height: 130px; }
.pcard__illo--cards {
    position: relative;
}
.deck-card {
    position: absolute;
    width: 62px;
    height: 86px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(80, 40, 180, .25);
    border: 2px solid #fff;
}
.deck-card--1 { background: linear-gradient(135deg, #7c3aed, #4f1d9f); color: #fff; transform: rotate(-14deg) translateX(-30px); }
.deck-card--2 { background: linear-gradient(135deg, #ec4899, #be185d); color: #fff; transform: rotate(0); z-index: 2; }
.deck-card--3 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; transform: rotate(14deg) translateX(30px); }

.pcard__illo--box {
    position: relative;
}
.wb-box {
    font-size: 72px;
    filter: drop-shadow(0 8px 16px rgba(120, 80, 180, .2));
}
.wb-badge {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(124, 58, 237, .35);
}

.pcard__body { display: flex; flex-direction: column; flex: 1; }
.pcard__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 10px;
}
.pcard__text {
    color: var(--ink-60);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}
.pcard__link {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1.5px solid var(--violet-100);
    color: var(--violet-700);
    font-weight: 600;
    font-size: 14px;
    background: #fff;
    transition: all .2s;
}
.pcard:hover .pcard__link {
    background: var(--violet-50);
    border-color: var(--violet-200);
}

/* ---------- Course cards ---------- */
.ccard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.ccard__illo {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.ccard__illo--1 { background: linear-gradient(135deg, #ede4ff, #d9cbff); }
.ccard__illo--2 { background: linear-gradient(135deg, #ffe4f0, #fbcfe8); }
.ccard__illo--3 { background: linear-gradient(135deg, #e6dfff, #c4b5fd); }
.ccard__illo--4 { background: linear-gradient(135deg, #ddd6fe, #f5d0fe); }
.ccard__illo-emoji {
    font-size: 76px;
    filter: drop-shadow(0 10px 20px rgba(80, 40, 140, .2));
    animation: iconFloat 5s ease-in-out infinite;
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-8px) rotate(3deg); }
}

.ccard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.ccard__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--violet-50);
    color: var(--violet-700);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.ccard__title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 10px;
}
.ccard__text {
    color: var(--ink-60);
    font-size: 14px;
    margin-bottom: 16px;
}
.ccard__list {
    list-style: none;
    margin-bottom: 22px;
    padding: 0;
    flex: 1;
}
.ccard__list li {
    padding: 5px 0 5px 26px;
    position: relative;
    font-size: 14px;
    color: var(--ink-80);
}
.ccard__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--violet-100);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.all-courses-wrap { text-align: center; margin-top: 40px; }

/* ---------- Features strip ---------- */
.features {
    padding: 72px 0 88px;
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 8px;
}
.feature__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--violet-100);
    color: var(--violet-600);
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature__title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--ink);
}
.feature__text {
    color: var(--ink-60);
    font-size: 13px;
    line-height: 1.5;
}

/* ---------- Creator ---------- */
.creator {
    display: grid;
    grid-template-columns: 340px 1fr 260px;
    gap: 40px;
    align-items: center;
}
.creator__photo-wrap {
    position: relative;
    aspect-ratio: 1 / 1.1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.creator__photo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(20,10,40,.5) 100%),
        url("about.jpg") center/cover;
    background-color: #f3e8ff;
}
.creator__play {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: var(--ink);
    border: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-md);
}
.creator__play svg { color: var(--violet-600); }

.creator__content { padding: 0 4px; }
.creator__role {
    color: var(--violet-600);
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 16px;
}
.creator__text {
    color: var(--ink-60);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 560px;
}
.creator__stats {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 28px;
    justify-content: start;
}
.stat-box {
    text-align: left;
}
.stat-box__value {
    font-size: 26px;
    font-weight: 800;
    color: var(--violet-700);
    line-height: 1;
}
.stat-box__label {
    color: var(--ink-60);
    font-size: 12px;
    margin-top: 6px;
    max-width: 120px;
    line-height: 1.35;
}

.creator__side {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}
.creator__side-text {
    color: var(--ink-60);
    font-size: 14px;
    line-height: 1.55;
}
.creator__heart {
    font-size: 20px;
}
.mandala--lg {
    display: flex;
    justify-content: center;
}

/* ---------- Reviews ---------- */
.review {
    background: #fff;
    padding: 26px 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
}
.review__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.review__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.review__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.review__role { color: var(--ink-60); font-size: 13px; }
.review__text {
    color: var(--ink-80);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}
.review__stars {
    color: var(--amber-500);
    letter-spacing: 2px;
    font-size: 15px;
}

/* ---------- CTA ---------- */
.cta-wrap { padding: 0 28px 40px; }
.cta {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 48px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 60% 120% at 100% 50%, rgba(236, 72, 153, .25), transparent 60%),
        linear-gradient(135deg, var(--violet-600) 0%, var(--violet-700) 50%, var(--violet-900) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(109, 40, 217, .35);
}
.cta__text-block {
    flex: 1;
    z-index: 1;
}
.cta__title {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}
.cta__text {
    color: rgba(255,255,255,.85);
    font-size: 15px;
}
.cta__buttons {
    display: flex;
    gap: 10px;
    z-index: 1;
}
.cta__mandala {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .35;
    pointer-events: none;
}

/* ---------- Footer ---------- */
.footer {
    background: #0f0826;
    color: rgba(255,255,255,.75);
    padding: 60px 0 30px;
    margin-top: 40px;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__about {
    margin-top: 14px;
    font-size: 14px;
    color: rgba(255,255,255,.55);
    max-width: 280px;
}
.footer__title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    font-size: 15px;
}
.footer__col a {
    display: block;
    padding: 6px 0;
    color: rgba(255,255,255,.55);
    font-size: 14px;
    transition: color .2s;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,.35);
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .creator { grid-template-columns: 1fr; gap: 32px; }
    .creator__photo-wrap { max-width: 380px; margin: 0 auto; aspect-ratio: 1; width: 100%; }
    .creator__side { max-width: 480px; margin: 0 auto; }
    .creator__stats { justify-content: center; }
}

@media (max-width: 960px) {
    .container { padding: 0 24px; }
    .header__inner { padding: 14px 20px; gap: 16px; }
    .nav { display: none; }
    .burger { display: flex; order: 3; }
    .header__cta { order: 2; margin-left: auto; }
    .header__cta .btn:first-child { display: none; }

    .hero { padding: 40px 0 72px; }
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { max-width: 440px; margin: 0 auto; }

    .grid--3 { grid-template-columns: 1fr 1fr; }
    .grid--4 { grid-template-columns: 1fr 1fr; }
    .features__grid { grid-template-columns: 1fr 1fr; }
    .creator__stats { grid-template-columns: repeat(2, auto); gap: 24px; }
    .section { padding: 72px 0; }
    .cta { flex-direction: column; align-items: flex-start; padding: 32px 32px 32px; }
    .cta__buttons { width: 100%; }
    .cta__mandala { right: 0; top: auto; bottom: -20px; transform: none; opacity: .2; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .header__inner { padding: 12px 16px; gap: 12px; }
    .logo { font-size: 17px; }
    .logo__mark { width: 30px; height: 30px; }
    .logo__mark svg { width: 18px; height: 18px; }
    .logo__img { height: 30px; }

    .btn--sm { padding: 9px 14px; font-size: 13px; }
    .btn { padding: 13px 22px; font-size: 14px; }

    /* Hero mobile */
    .hero { padding: 24px 0 48px; }
    .hero__inner { gap: 36px; }
    .hero__title { font-size: 34px; line-height: 1.1; margin-bottom: 16px; }
    .hero__text { font-size: 15px; margin-bottom: 24px; }
    .badge { font-size: 12px; padding: 6px 14px; margin-bottom: 18px; }
    .hero__cta { gap: 10px; margin-bottom: 28px; }
    .hero__cta .btn { flex: 1; min-width: 140px; }

    /* Social proof stacks */
    .hero__proof { gap: 14px; flex-direction: column; align-items: flex-start; width: 100%; }
    .hero__divider { display: none; }
    .avatar-stack__item { width: 32px; height: 32px; font-size: 12px; }

    /* Hero visual: clean centered photo on mobile */
    .hero__visual { max-width: 320px; aspect-ratio: 1; }
    .hero__photo-frame { inset: 0; }
    .hero__photo { inset: 4%; }
    /* hide all floating dashboard notifications on mobile for a clean photo */
    .dash-card { display: none; }

    /* Section heads */
    .section { padding: 52px 0; }
    .section__head { margin-bottom: 32px; }
    .section__title { font-size: 26px; }
    .eyebrow { font-size: 12px; padding: 5px 12px; margin-bottom: 12px; }

    /* Grids -> 1 col */
    .grid--3, .grid--4 { grid-template-columns: 1fr; gap: 16px; }

    /* Product cards */
    .pcard { padding: 20px 20px 22px; }
    .pcard__illo { height: 140px; margin-bottom: 18px; }
    .pcard__title { font-size: 18px; }
    .pcard__text { font-size: 14px; margin-bottom: 16px; }

    /* Course cards */
    .ccard__illo { height: 150px; }
    .ccard__illo-emoji { font-size: 64px; }
    .ccard__body { padding: 22px 22px 24px; }
    .ccard__title { font-size: 18px; }

    /* Features box -> single col */
    .features { padding: 48px 0 56px; }
    .features__grid { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
    .feature { padding: 4px; }

    /* Creator */
    .creator__content { text-align: center; }
    .creator__content .eyebrow { margin-top: 4px; }
    .creator__role { font-size: 15px; }
    .creator__text { font-size: 15px; margin-bottom: 22px; }
    .creator__stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
        justify-content: center;
        text-align: center;
    }
    .stat-box { text-align: center; }
    .stat-box__value { font-size: 24px; }
    .stat-box__label { max-width: none; font-size: 11px; }
    .creator__side { padding: 24px 20px; }

    /* Reviews */
    .review { padding: 22px 20px; }
    .review__text { font-size: 14px; }

    /* CTA */
    .cta-wrap { padding: 0 16px 32px; }
    .cta { border-radius: 22px; padding: 28px 22px; gap: 22px; }
    .cta__title { font-size: 22px; }
    .cta__text { font-size: 14px; }
    .cta__buttons { flex-direction: column; gap: 10px; width: 100%; }
    .cta__buttons .btn { width: 100%; }
    .cta__mandala { display: none; }

    /* Footer */
    .footer { padding: 48px 0 24px; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 28px; }
    .footer__col:first-child { grid-column: span 2; }
    .footer__about { max-width: none; }
}

@media (max-width: 380px) {
    .hero__title { font-size: 30px; }
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; }
    .footer__inner { grid-template-columns: 1fr; }
    .footer__col:first-child { grid-column: span 1; }
}

/* ---------- Mobile nav (burger menu) ---------- */
.nav--open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(90, 60, 180, .10);
    z-index: 40;
    justify-content: flex-start;
}
.nav--open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 16px;
    width: 100%;
}
.nav--open a:last-child { border-bottom: 0; }

/* ---------- Legal pages (refund / offer / privacy) ---------- */
.legal-page {
    background: var(--bg-soft);
    min-height: 100vh;
}
.legal-page__header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.legal-page__header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.legal-page__back {
    color: var(--violet-600);
    font-weight: 500;
    font-size: 14px;
}
.legal-page__back:hover { color: var(--violet-700); }

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 28px 80px;
}
.legal-content h1 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--ink);
}
.legal-content h2 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    margin: 36px 0 14px;
    color: var(--ink);
}
.legal-content h3 {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--ink-80);
}
.legal-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-80);
    margin-bottom: 14px;
}
.legal-content ul, .legal-content ol {
    margin: 0 0 16px 22px;
    color: var(--ink-80);
    font-size: 15px;
    line-height: 1.7;
}
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}
.legal-content code {
    background: var(--violet-50);
    color: var(--violet-700);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'SFMono-Regular', Consolas, monospace;
}
.legal-content a {
    color: var(--violet-600);
    text-decoration: underline;
    text-decoration-color: var(--violet-200);
}
.legal-content a:hover { color: var(--violet-700); }
.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 22px;
    font-size: 14px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.legal-content th, .legal-content td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
    color: var(--ink-80);
}
.legal-content th {
    background: var(--violet-50);
    color: var(--ink);
    font-weight: 600;
    font-size: 13px;
}
.legal-content tr:last-child td { border-bottom: 0; }

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 28px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    color: var(--ink-60);
}
.legal-meta strong { color: var(--ink-80); }

.legal-footer {
    background: var(--ink);
    color: #fff;
    padding: 32px 0;
    margin-top: 60px;
    font-size: 14px;
}
.legal-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.legal-footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-footer__links a {
    color: rgba(255,255,255,.7);
    font-size: 13px;
}
.legal-footer__links a:hover { color: #fff; }

@media (max-width: 600px) {
    .legal-content { padding: 28px 20px 60px; }
    .legal-content h1 { font-size: 26px; }
    .legal-content h2 { font-size: 19px; }
    .legal-content table { font-size: 13px; }
    .legal-content th, .legal-content td { padding: 10px 10px; }
}
