:root {
    color-scheme: dark;
    --page-bg: #020617;
    --panel-bg: rgba(15, 23, 42, 0.72);
    --panel-border: rgba(148, 163, 184, 0.14);
    --grid-color: rgba(148, 163, 184, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 1)),
        var(--page-bg);
}

/* Header shell: subtle fade so absolute nav blends into the hero background. */
.site-header-shell {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0));
}

::selection {
    background: rgba(33, 173, 121, 0.32);
    color: #f8fafc;
}

.panel-surface {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
    backdrop-filter: blur(18px);
}

.grid-backdrop {
    position: relative;
}

.grid-backdrop::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.75), transparent 92%);
    pointer-events: none;
}

.text-balance {
    text-wrap: balance;
}

[data-site-header].is-scrolled {
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.25);
}

/* Shared brand bars used in both header and footer logo placeholders. */
.brand-mark {
    align-items: flex-end;
    gap: 4px;
    height: 48px;
}

.brand-mark span {
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(215, 176, 243, 0.4));
    box-shadow: 0 0 16px rgba(248, 250, 252, 0.18);
}

.brand-mark span:nth-child(1),
.brand-mark span:nth-child(5) {
    height: 18px;
    opacity: 0.55;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(4) {
    height: 32px;
}

.brand-mark span:nth-child(3) {
    height: 44px;
}

.social-chip {
    display: inline-flex;
    height: 8px;
    width: 8px;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.header-link {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition:
        color 180ms ease,
        opacity 180ms ease;
}

.header-link:hover {
    color: #fbbf24;
}

/* Homepage hero: layered gradients and glows recreate the cinematic banner feel. */
.hero-stage {
    background:
        radial-gradient(circle at 72% 38%, rgba(255, 189, 74, 0.55), transparent 20%),
        radial-gradient(circle at 82% 52%, rgba(255, 145, 32, 0.42), transparent 26%),
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.08), transparent 14%),
        linear-gradient(110deg, rgba(8, 10, 20, 0.9) 6%, rgba(16, 10, 28, 0.68) 42%, rgba(44, 22, 12, 0.28) 100%),
        #060814;
}

.hero-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.4px);
    background-size: 32px 32px;
    opacity: 0.18;
    pointer-events: none;
}

.hero-stage::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.46));
    pointer-events: none;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.75rem 1.1rem;
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

/* Device cluster: abstract phone mockup with tiles for payout/platform messaging. */
.hero-device-shell {
    position: relative;
    width: min(100%, 395px);
    border-radius: 42px;
    padding: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.08)),
        rgba(10, 13, 24, 0.84);
    box-shadow:
        0 32px 90px rgba(255, 147, 41, 0.24),
        0 28px 60px rgba(0, 0, 0, 0.45);
    transform: rotate(8deg);
}

.hero-device-shell::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    height: 18px;
    width: 124px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
}

.hero-device-screen {
    min-height: 650px;
    border-radius: 32px;
    padding: 2rem 1.25rem 1.4rem;
    background:
        linear-gradient(180deg, rgba(16, 18, 31, 0.98), rgba(10, 13, 22, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-chart {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
    height: 120px;
    border-radius: 24px;
    padding: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.hero-chart::before {
    content: '';
    position: absolute;
    inset: 18px 18px auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.65));
    transform: translateY(54px) rotate(10deg);
    transform-origin: left center;
}

.hero-chart span {
    border-radius: 999px 999px 14px 14px;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.92), rgba(34, 197, 94, 0.28));
}

.hero-chart span:nth-child(1) { height: 36px; }
.hero-chart span:nth-child(2) { height: 48px; }
.hero-chart span:nth-child(3) { height: 56px; }
.hero-chart span:nth-child(4) { height: 70px; }
.hero-chart span:nth-child(5) { height: 88px; }
.hero-chart span:nth-child(6) { height: 98px; }

.hero-app-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-orbit {
    position: absolute;
    z-index: 20;
}

.hero-orbit-left {
    top: 8%;
    left: 3%;
    transform: rotate(-14deg);
}

.hero-orbit-right {
    top: 30%;
    right: -1%;
    transform: rotate(12deg);
}

.hero-orbit-bottom {
    right: 9%;
    bottom: 11%;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 1rem 1.2rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 199, 89, 0.95), rgba(255, 153, 34, 0.92));
    color: #111827;
    font-weight: 900;
    box-shadow: 0 24px 50px rgba(255, 166, 31, 0.32);
}

.platform-pill-dark {
    background: linear-gradient(180deg, rgba(27, 28, 38, 0.92), rgba(10, 11, 19, 0.94));
    color: #f8fafc;
}

.hero-primary-button:hover {
    background: #000;
    color: #fff;
}

/* Services block: lighter surface to separate the second section from the dark hero. */
.platforms-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(218, 194, 152, 0.16) 1px, transparent 1px),
        linear-gradient(60deg, rgba(218, 194, 152, 0.12) 1px, transparent 1px);
    background-size: 110px 110px;
    opacity: 0.45;
    pointer-events: none;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-card-panel {
    position: relative;
    z-index: 1;
    border-radius: 2rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 249, 0.94));
    padding: 2rem 1.9rem 2.1rem;
    box-shadow:
        0 18px 34px rgba(148, 163, 184, 0.14),
        0 6px 18px rgba(15, 23, 42, 0.05);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.service-card-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(#f59e0b, #f59e0b) top left / 100% 4px no-repeat,
        linear-gradient(#f59e0b, #f59e0b) top left / 3px 18px no-repeat,
        linear-gradient(#f59e0b, #f59e0b) top right / 3px 18px no-repeat;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 220ms ease,
        transform 220ms ease;
    pointer-events: none;
}

.service-card-panel:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 158, 11, 0.28);
    box-shadow:
        0 26px 48px rgba(148, 163, 184, 0.16),
        0 18px 34px rgba(245, 158, 11, 0.12);
}

.service-card-panel:hover::before {
    opacity: 0.95;
    transform: translateY(0);
}

.service-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
}

/* Pricing section: textured light backdrop with premium comparison cards. */
.pricing-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(213, 190, 149, 0.14) 1px, transparent 1px),
        linear-gradient(60deg, rgba(213, 190, 149, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12), transparent 28%);
    background-size: 110px 110px, 110px 110px, auto;
    opacity: 0.55;
    pointer-events: none;
}

.plan-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 1.7rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 14px 30px rgba(148, 163, 184, 0.14),
        0 6px 14px rgba(15, 23, 42, 0.05);
    transition:
        transform 240ms ease,
        box-shadow 240ms ease,
        border-color 240ms ease;
}

.plan-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 26px 52px rgba(148, 163, 184, 0.2),
        0 16px 32px rgba(245, 158, 11, 0.14);
}

.plan-card-light,
.plan-card-featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 249, 0.95));
}

.plan-card-dark {
    background:
        linear-gradient(180deg, rgba(27, 24, 33, 0.98), rgba(13, 12, 18, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
}

.plan-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.55rem 1.25rem;
}

.plan-card-light .plan-card-top {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.plan-card-dark .plan-card-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-card-featured .plan-card-top {
    background: linear-gradient(180deg, #f8c14c, #f59e0b);
    border-bottom: 1px solid rgba(168, 85, 0, 0.18);
}

.plan-card-title-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.plan-bar-icon {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    color: #f59e0b;
}

.plan-bar-icon span {
    width: 6px;
    border-radius: 999px;
    background: currentColor;
}

.plan-bar-icon span:nth-child(1) { height: 16px; }
.plan-bar-icon span:nth-child(2) { height: 23px; }
.plan-bar-icon span:nth-child(3) { height: 29px; }

.plan-card-dark .plan-bar-icon,
.plan-card-featured .plan-bar-icon {
    color: #ffd88a;
}

.plan-card-title {
    color: #0f172a;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.plan-card-dark .plan-card-title,
.plan-card-featured .plan-card-title {
    color: #fff;
}

.plan-card-top-price {
    color: #ffd27d;
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}

.plan-card-top-price span {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
}

.plan-card-featured .plan-card-top-price {
    color: #fff7e6;
}

.plan-card-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.18rem;
    padding: 1.15rem 1.5rem 1.1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.plan-card-dark .plan-card-price-row {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.plan-currency,
.plan-amount {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.plan-card-dark .plan-currency,
.plan-card-dark .plan-amount {
    color: #ffd27d;
}

.plan-currency {
    font-size: 2rem;
}

.plan-amount {
    font-size: 3.35rem;
    line-height: 0.95;
}

.plan-period {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
}

.plan-card-dark .plan-period {
    color: #fff4da;
}

.plan-feature-list {
    display: grid;
    gap: 0;
    padding: 0.8rem 1.45rem 0;
    list-style: none;
}

.plan-feature-list li {
    position: relative;
    padding: 0.95rem 0 0.95rem 1.55rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    color: #1f2937;
    font-size: 1.08rem;
    line-height: 1.5;
}

.plan-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.96rem;
    color: #f59e0b;
    font-weight: 900;
}

.plan-card-dark .plan-feature-list li {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
}

.plan-card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.6rem auto 1.2rem;
    min-width: 185px;
    border-radius: 0.8rem;
    background: linear-gradient(180deg, #f8c14c, #e8a420);
    padding: 0.9rem 1.4rem;
    color: #fffdf7;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition:
        transform 180ms ease,
        filter 180ms ease;
}

.plan-card-button:hover {
    transform: translateY(-2px);
    background: #000;
    color: #fff;
    filter: brightness(1.04);
}

/* Artist proof section: testimonial cards and local-image gallery for trust building. */
.artist-proof-showcase::before,
.artist-gallery-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(213, 190, 149, 0.13) 1px, transparent 1px),
        linear-gradient(60deg, rgba(213, 190, 149, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.32), transparent 40%);
    background-size: 110px 110px, 110px 110px, auto;
    opacity: 0.45;
    pointer-events: none;
}

.artist-story-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 1.8rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 249, 0.96));
    box-shadow:
        0 18px 34px rgba(148, 163, 184, 0.14),
        0 6px 18px rgba(15, 23, 42, 0.05);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.artist-story-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 28px 52px rgba(148, 163, 184, 0.18),
        0 14px 30px rgba(245, 158, 11, 0.12);
}

.artist-story-image {
    height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.artist-story-body {
    padding: 1.5rem 1.6rem 1.8rem;
    text-align: center;
}

.artist-stars {
    color: #f59e0b;
    font-size: 1.4rem;
    letter-spacing: 0.14em;
}

.artist-story-name {
    margin-top: 0.65rem;
    color: #1f2937;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.artist-story-quote {
    margin-top: 1rem;
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.8;
}

.artist-gallery-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.artist-gallery-tile {
    overflow: hidden;
    border-radius: 0.95rem;
    min-height: 140px;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

.artist-gallery-tile img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition:
        transform 260ms ease,
        filter 260ms ease;
}

.artist-gallery-tile:hover img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.artist-gallery-tile-wide {
    grid-column: span 2;
}

.artist-gallery-tile-tall {
    grid-row: span 2;
}

.footer-brand-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    width: 72px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-image {
    max-height: 78%;
    max-width: 78%;
    object-fit: contain;
}

.footer-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-link {
    transition:
        color 180ms ease,
        opacity 180ms ease;
}

.footer-link:hover {
    color: #fbbf24;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

.footer-social:hover {
    transform: translateY(-2px);
    background: rgba(251, 191, 36, 0.18);
    color: #fbbf24;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 38px;
    width: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #dbeafe;
    margin-top: 2px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 500ms ease,
        transform 500ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1023px) {
    .site-header-shell {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.18));
    }

    /* Tablet/mobile: remove aggressive tilt and keep floating pills inside viewport. */
    .hero-device-shell {
        transform: none;
    }

    .hero-orbit-left {
        left: 2%;
    }

    .hero-orbit-right {
        right: 2%;
    }

    .hero-orbit-bottom {
        right: 8%;
        bottom: 8%;
    }
}

@media (max-width: 767px) {
    /* Small phones: tighten header, simplify decorative chips, and reduce visual crowding. */
    .social-chip:nth-child(n + 6) {
        display: none;
    }

    .hero-stage {
        background:
            radial-gradient(circle at 72% 34%, rgba(255, 189, 74, 0.42), transparent 22%),
            radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.07), transparent 16%),
            linear-gradient(110deg, rgba(8, 10, 20, 0.96) 8%, rgba(16, 10, 28, 0.82) 42%, rgba(44, 22, 12, 0.34) 100%),
            #060814;
    }

    .hero-device-screen {
        min-height: 560px;
        padding: 1.75rem 1rem 1.1rem;
    }

    .platform-pill {
        min-width: 68px;
        padding: 0.75rem 1rem;
        font-size: 0.82rem;
    }

    .hero-app-tile {
        min-height: 66px;
        border-radius: 18px;
        font-size: 0.75rem;
    }

    .service-card-panel {
        border-radius: 1.6rem;
        padding: 1.6rem 1.35rem 1.7rem;
    }

    .plan-card-title {
        font-size: 1.7rem;
    }

    .plan-card-top-price {
        font-size: 1.8rem;
    }

    .plan-currency {
        font-size: 1.6rem;
    }

    .plan-amount {
        font-size: 2.7rem;
    }

    .plan-feature-list li {
        font-size: 1rem;
    }

    .plan-card-button {
        min-width: calc(100% - 2.4rem);
        font-size: 1.1rem;
    }

    .artist-story-image {
        height: 260px;
    }

    .artist-story-name {
        font-size: 1.8rem;
    }

    .artist-story-quote {
        font-size: 1rem;
        line-height: 1.7;
    }

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

    .artist-gallery-tile {
        min-height: 130px;
    }

    .artist-gallery-tile-tall {
        grid-row: span 1;
    }

    .footer-contact-row {
        gap: 12px;
    }
}

@media (max-width: 479px) {
    /* Extra small phones: avoid overflow from floating elements and long footer content. */
    .hero-orbit {
        display: none;
    }

    .hero-device-shell {
        width: min(100%, 330px);
        border-radius: 32px;
        padding: 10px;
    }

    .hero-device-screen {
        min-height: 510px;
        border-radius: 24px;
    }

    .artist-story-image {
        height: 230px;
    }

    .artist-story-body {
        padding: 1.25rem 1.15rem 1.45rem;
    }

    .artist-story-name {
        font-size: 1.55rem;
    }

    .artist-gallery-grid {
        grid-template-columns: 1fr;
    }

    .artist-gallery-tile,
    .artist-gallery-tile-wide {
        grid-column: span 1;
    }

    .footer-brand-box {
        height: 60px;
        width: 60px;
        border-radius: 20px;
    }

    .footer-social {
        height: 44px;
        width: 44px;
    }

    .footer-contact-icon {
        height: 34px;
        width: 34px;
    }
}
