.buy-page {
    --ink: #0f0826;
    --muted: #6b5e8e;
    --soft: #f9f8ff;
    --line: #eeeaf8;
    --purple: #5946d2;
    --purple-light: #7c5ffa;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    color: var(--ink);
    background: white;
}

.buy-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 28px 102px;
    text-align: center;
    background: linear-gradient(135deg, #0f0826 0%, #1e0a4a 40%, #2d1472 100%);
}

.hero-aura {
    position: absolute;
    top: -150px;
    left: 50%;
    width: 620px;
    height: 420px;
    transform: translateX(-50%);
    border-radius: 999px;
    opacity: 0.22;
    background: radial-gradient(ellipse, #7c5ffa 0%, transparent 70%);
    pointer-events: none;
}

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

.buy-hero-content > span,
.perks-copy > span,
.section-heading > span {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.buy-hero-content > span {
    color: #c4b8e8;
}

.buy-hero h1 {
    margin: 0 0 18px;
    color: white;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.1;
    font-weight: 800;
}

.buy-hero p {
    max-width: 680px;
    margin: 0 auto 36px;
    color: #c4b8e8;
    font-size: 1.1rem;
    line-height: 1.7;
}

.store-actions,
.banner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.store-button {
    min-height: 64px;
    min-width: 210px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 28px;
    border-radius: 18px;
    text-align: left;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.store-button:hover {
    transform: translateY(-2px);
}

.store-button small {
    display: block;
    font-size: 0.64rem;
    line-height: 1.05;
    opacity: 0.7;
}

.store-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1;
    font-weight: 900;
}

.store-button-light {
    color: var(--ink);
    background: white;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

.store-button-light .store-icon {
    color: white;
    background: var(--ink);
}

.store-button-glass {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
}

.store-button-glass .store-icon {
    color: var(--ink);
    background: white;
}

.buy-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 58px;
    fill: var(--soft);
}

.preview-section {
    padding: 82px max(28px, calc((100vw - 1120px) / 2));
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
    background: var(--soft);
}

.app-preview {
    position: relative;
    width: min(100%, 380px);
    margin: 0 auto;
}

.preview-glow {
    position: absolute;
    inset: 5%;
    border-radius: 32px;
    opacity: 0.32;
    filter: blur(34px);
    transform: scale(0.95);
    background: linear-gradient(136deg, #ff4b4b 0%, #ffc800 50%, #58cc02 100%);
}

.app-preview img {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    border-radius: 32px;
    box-shadow: 0 30px 70px rgba(15, 8, 38, 0.22);
}

.perks-copy > span,
.section-heading > span {
    color: var(--purple);
}

.perks-copy h2,
.section-heading h2,
.download-banner h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    line-height: 1.18;
    font-weight: 800;
}

.perks-copy h2 {
    margin-bottom: 30px;
}

.perks-copy ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
    list-style: none;
}

.perks-copy li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #3d3855;
    font-size: 1rem;
    font-weight: 600;
}

.perks-copy li span {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 50%;
    background: linear-gradient(136deg, #ff4b4b 0%, #ffc800 50%, #58cc02 100%);
    font-size: 0.9rem;
    font-weight: 900;
}

/* ── Pricing Section ── */

.pricing-section {
    padding: 82px 28px;
    background: white;
}

.pricing-grid {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: 36px 32px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 24px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: #c9b8ff;
    box-shadow: 0 20px 44px rgba(45, 20, 114, 0.12);
}

.pricing-card-featured {
    background: linear-gradient(135deg, #0f0826 0%, #1e0a4a 40%, #2d1472 100%);
    border-color: rgba(124, 95, 250, 0.4);
}

.pricing-card-featured:hover {
    border-color: #7c5ffa;
    box-shadow: 0 20px 54px rgba(89, 70, 210, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    color: white;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    background: linear-gradient(136deg, #ff4b4b 0%, #ffc800 50%, #58cc02 100%);
}

.pricing-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 12px;
}

.pricing-card-featured .pricing-label {
    color: #c4b8e8;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
}

.price-dollar {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink);
}

.price-value {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
}

.price-cents {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink);
}

.price-period {
    margin-left: 4px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
}

.pricing-card-featured .price-dollar,
.pricing-card-featured .price-value,
.pricing-card-featured .price-cents {
    color: white;
}

.pricing-card-featured .price-period {
    color: #c4b8e8;
}

.pricing-savings {
    margin: 0 0 8px;
    padding: 6px 12px;
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #58cc02;
    background: rgba(88, 204, 2, 0.12);
    border-radius: 999px;
}

.pricing-description {
    margin: 0 0 22px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted);
}

.pricing-card-featured .pricing-description {
    color: #c4b8e8;
}

.pricing-features {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #3d3855;
}

.pricing-card-featured .pricing-features li {
    color: rgba(255, 255, 255, 0.88);
}

.pricing-features li span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 50%;
    background: linear-gradient(136deg, #ff4b4b 0%, #ffc800 50%, #58cc02 100%);
    font-size: 0.82rem;
    font-weight: 900;
}

/* ── Journey Section ── */

.journey-section {
    padding: 82px 28px;
    background: white;
}

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

.section-heading h2 {
    margin-bottom: 16px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.journey-grid {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.buy-step-card {
    position: relative;
    z-index: 1;
    padding: 28px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 24px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.buy-step-card:hover {
    transform: translateY(-4px);
    border-color: #c9b8ff;
    box-shadow: 0 20px 44px rgba(45, 20, 114, 0.12);
}

.step-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.step-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 16px;
    background: linear-gradient(135deg, #5946d2 0%, #7c5ffa 100%);
    font-size: 1.1rem;
    font-weight: 800;
}

.step-top span {
    padding: 6px 10px;
    color: var(--purple);
    background: #eeeaf8;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.buy-step-card h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.buy-step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.download-banner-section {
    padding: 82px 28px;
    background: var(--soft);
}

.download-banner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 64px 32px;
    text-align: center;
    border-radius: 32px;
    background: linear-gradient(136deg, #ff4b4b 15%, #ffc800 50%, #58cc02 85%);
}

.banner-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.5) 0%, transparent 48%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.5) 0%, transparent 48%);
}

.banner-content {
    position: relative;
    z-index: 1;
}

.download-banner h2 {
    color: white;
    margin-bottom: 16px;
}

.download-banner p {
    max-width: 600px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.7;
}

.banner-actions a {
    min-height: 54px;
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.banner-actions a:hover {
    transform: translateY(-2px);
}

.banner-store-light {
    color: var(--ink);
    background: white;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.banner-store-dark {
    color: white;
    background: rgba(15, 8, 38, 0.82);
}

.banner-store-dark:hover {
    color: white;
    background: var(--ink);
}

.download-banner small {
    display: block;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
}

.learn-first-link {
    width: fit-content;
    display: flex;
    margin: 32px auto 0;
    color: var(--purple);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
    transition: transform 0.2s ease;
}

.learn-first-link:hover {
    color: var(--purple);
    transform: translateX(3px);
}

@media (max-width: 920px) {
    .preview-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .perks-copy ul {
        max-width: 520px;
        margin: 0 auto;
        text-align: left;
    }

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

    .journey-grid::before {
        display: none;
    }

    .pricing-grid {
        max-width: 480px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .buy-hero {
        padding: 72px 22px 94px;
    }

    .store-button,
    .banner-actions a {
        width: 100%;
    }

    .journey-grid {
        grid-template-columns: 1fr;
    }

    .download-banner {
        padding: 54px 22px;
    }
}
