:root {
    --purple: #50004b;
    --purple-dark: #150014;
    --purple-soft: #6e0067;
    --gold: #d5980a;
    --gold-light: #f6b72a;
    --ink: #130f17;
    --muted: #6b6170;
    --surface: #ffffff;
    --line: rgba(80, 0, 75, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #fffaf0;
    color: var(--ink);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.hiw-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 78px;
    padding: 12px clamp(18px, 5vw, 64px);
    background: rgba(15, 7, 14, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(18px);
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.desktop-nav,
.header-actions {
    display: flex;
    align-items: center;
    gap: 26px;
}

.desktop-nav a,
.header-actions a {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.76);
    transition: color 180ms ease, transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav .active,
.header-actions a:hover {
    color: var(--gold-light);
}

.header-cta {
    padding: 12px 18px;
    border-radius: 6px;
    background: var(--gold);
    color: #1d1200 !important;
    box-shadow: 0 12px 28px rgba(213, 152, 10, 0.22);
}

.header-cta:hover {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 78px;
    left: 0;
    z-index: 19;
    display: none;
    width: 100%;
    padding: 12px 20px 22px;
    background: rgba(18, 5, 17, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav.open {
    display: grid;
    gap: 6px;
}

.mobile-nav a {
    padding: 13px 4px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 82vh;
    padding: 150px clamp(20px, 6vw, 72px) 76px;
    color: #fff;
    overflow: hidden;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(11, 3, 10, 0.92) 0%, rgba(11, 3, 10, 0.72) 44%, rgba(11, 3, 10, 0.38) 100%),
        linear-gradient(180deg, rgba(11, 3, 10, 0.62) 0%, rgba(11, 3, 10, 0.2) 50%, #fffaf0 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-light);
}

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

h1 {
    max-width: 720px;
    margin-bottom: 20px;
    font-size: clamp(42px, 8vw, 88px);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-content p {
    max-width: 640px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.7;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 22px;
    border-radius: 6px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-btn {
    background: var(--gold);
    color: #1d1200;
    box-shadow: 0 18px 34px rgba(213, 152, 10, 0.28);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.secondary-btn.light {
    border-color: rgba(255, 255, 255, 0.42);
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
}

.switch-section {
    padding: 86px clamp(18px, 5vw, 64px) 46px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-heading h2,
.cta-section h2 {
    margin-bottom: 14px;
    color: var(--purple-dark);
    font-size: clamp(30px, 4.5vw, 52px);
    line-height: 1.08;
    letter-spacing: 0;
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.audience-switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto 34px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(80, 0, 75, 0.08);
}

.switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 10px;
    min-height: 48px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--purple);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.switch-btn.active {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 12px 24px rgba(80, 0, 75, 0.2);
}

.flow-panel {
    max-width: 1180px;
    margin: 0 auto;
}

.flow-panel:not(.active) {
    display: none;
}

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

.step-card,
.proof-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 18px 54px rgba(80, 0, 75, 0.08);
}

.step-card {
    min-height: 320px;
    padding: 28px;
    overflow: hidden;
}

.step-card::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -44px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(213, 152, 10, 0.12);
}

.step-number {
    display: block;
    margin-bottom: 26px;
    color: rgba(80, 0, 75, 0.22);
    font-size: 38px;
    font-weight: 800;
}

.step-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 6px;
    background: rgba(80, 0, 75, 0.08);
    color: var(--gold);
    font-size: 21px;
}

.step-card h3 {
    margin-bottom: 12px;
    color: var(--purple-dark);
    font-size: 20px;
    line-height: 1.25;
}

.step-card p,
.proof-card span {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.68;
}

.proof-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px clamp(18px, 5vw, 64px) 90px;
}

.proof-card {
    padding: 24px;
}

.proof-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--purple);
    font-size: 17px;
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 clamp(18px, 5vw, 64px) 78px;
    padding: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--purple) 0%, #260024 100%);
    color: #fff;
    box-shadow: 0 26px 70px rgba(80, 0, 75, 0.22);
}

.cta-section h2 {
    max-width: 720px;
    margin: 0;
    color: #fff;
}

.hiw-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(18px, 5vw, 64px);
    background: #0b030a;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.hiw-footer p {
    margin: 0;
}

.hiw-footer div {
    display: flex;
    gap: 20px;
}

.hiw-footer a:hover {
    color: var(--gold-light);
}

@media (max-width: 1024px) {
    .header-actions {
        display: none;
    }

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

    .proof-section,
    .cta-section {
        grid-template-columns: 1fr;
    }

    .cta-section {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero-section {
        min-height: 76vh;
        padding-top: 128px;
    }

    .audience-switch,
    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .steps-grid,
    .proof-section {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: auto;
    }

    .cta-section {
        padding: 30px 22px;
    }

    .hiw-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .brand img {
        width: 50px;
        height: 50px;
    }

    .hiw-header {
        min-height: 70px;
    }

    .mobile-nav {
        top: 70px;
    }

    .hero-section {
        padding: 116px 18px 58px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }
}
