:root {
    --brand-primary: #d92ea7;
    --brand-deep: #2644a3;
    --brand-accent: #6b35e8;
    --brand-dark: #141c3d;
    --brand-muted: #606f95;
    --brand-soft: #f4edff;
    --brand-border: rgba(107, 53, 232, 0.16);
    --brand-success: #10b981;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--brand-dark);
    background: linear-gradient(180deg, #fcf8ff 0%, #ffffff 38%, #f7fbff 100%);
}

.navbar-shell {
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.brand-logo {
    width: 180px;
    height: auto;
    max-width: 48vw;
}

.hero {
    padding: 88px 0 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-primary);
    font-weight: 700;
    font-size: .9rem;
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    max-width: 900px;
    margin: 22px auto 16px;
}

.hero p.lead {
    color: var(--brand-muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    max-width: 760px;
    margin: 0 auto 32px;
}

.cta-btn {
    border: 0;
    border-radius: 18px;
    padding: 18px 34px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .02em;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: #fff;
    box-shadow: 0 20px 40px rgba(107, 53, 232, 0.28);
    transition: transform .18s ease, box-shadow .18s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 46px rgba(107, 53, 232, 0.34);
    color: #fff;
}

.hero-card {
    margin-top: 56px;
    border: 1px solid var(--brand-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.tech-blurb {
    max-width: 900px;
    background: linear-gradient(135deg, #ffffff 0%, #f6f0ff 100%);
    border: 1px solid var(--brand-border);
    border-radius: 20px;
    padding: 20px 22px;
    box-shadow: 0 12px 34px rgba(20, 28, 61, 0.07);
}

.tech-blurb h2 {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 800;
    color: var(--brand-deep);
}

.tech-blurb p {
    color: var(--brand-muted);
}

.hero-card-top {
    background: linear-gradient(135deg, #fbf7ff, #eef3ff);
    padding: 28px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mini-window {
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    padding: 22px;
}

.slot-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    margin: 6px 8px 0 0;
}

.slot-chip.active {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}

.slot-chip.pending {
    background: #f1f5f9;
    color: #475569;
}

.stat-badge {
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    text-align: center;
}

.section {
    padding: 72px 0;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-subtitle {
    color: var(--brand-muted);
    max-width: 700px;
    margin: 12px auto 0;
}

.screen-card {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}

.screen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}

@keyframes screenCardEnter {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.screen-image-wrap {
    padding: 10px;
    background: linear-gradient(135deg, #fbf7ff, #eef3ff);
}

.screen-image {
    width: 100%;
    aspect-ratio: 9 / 19;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 26px rgba(20, 28, 61, 0.12);
    display: block;
}

.screen-meta {
    padding: 14px 14px 16px;
}

.screen-meta h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.screen-meta p {
    color: var(--brand-muted);
    font-size: .92rem;
    margin-bottom: 0;
}

.how-card,
.upsell-box,
.banner-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.05);
}

.how-card {
    padding: 28px;
    height: 100%;
}

.icon-shell {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-soft), #ffffff);
    color: var(--brand-primary);
    border: 1px solid var(--brand-border);
    margin-bottom: 18px;
}

.how-card h3,
.upsell-box h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.how-card p,
.upsell-box p,
.banner-card p {
    color: var(--brand-muted);
    margin-bottom: 0;
}

.upsell-box {
    padding: 34px;
    border: 1px solid rgba(91, 61, 245, 0.16);
    background: linear-gradient(135deg, #ffffff 0%, #f7f4ff 100%);
}

.price-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(107, 53, 232, 0.10);
    color: var(--brand-deep);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    margin: 18px 0;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 14px 24px;
    font-weight: 700;
    text-decoration: none;
}

.btn-ramtech {
    background: var(--brand-dark);
    color: #fff;
}

.btn-upgrade {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: #fff;
}

.banner-card {
    padding: 28px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: var(--brand-dark);
}

.banner-card p {
    color: var(--brand-muted);
}

.ramtech-banner-logo {
    width: min(320px, 100%);
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
}

.footer-note {
    color: var(--brand-muted);
    font-size: .95rem;
}

.how-link-btn {
    color: var(--brand-primary);
    border-color: rgba(107,53,232,.24) !important;
}

.upsell-label {
    color: var(--brand-accent);
    letter-spacing: .08em;
}

@media (max-width: 767.98px) {
    .brand-logo {
        width: 140px;
    }

    .hero {
        padding-top: 64px;
    }

    .cta-btn,
    .secondary-btn,
    .btn-upgrade,
    .btn-ramtech {
        width: 100%;
    }

    .hero-actions {
        display: grid !important;
        gap: 12px;
    }

    .ramtech-banner-logo {
        width: min(260px, 90%);
    }

    .screens-rail {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        margin: 0 -10px;
        padding: 2px 10px 10px;
    }

    .screens-rail > [class*='col-'] {
        flex: 0 0 clamp(168px, 58vw, 210px);
        max-width: clamp(168px, 58vw, 210px);
        padding: 0;
        scroll-snap-align: center;
    }

    .screens-rail .screen-card {
        transform: scale(0.94);
        opacity: 0.86;
    }

    .screens-rail .screen-card.is-active {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16);
    }

    .screens-rail .screen-image {
        aspect-ratio: 9 / 18;
    }

    .screens-rail::-webkit-scrollbar {
        height: 6px;
    }

    .screens-rail::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(38, 68, 163, 0.24);
    }

    @media (prefers-reduced-motion: no-preference) {
        .screens-rail .screen-card {
            animation: screenCardEnter .45s ease both;
        }
    }
}
