:root {
    color-scheme: dark;
    --ink: #f8fafc;
    --muted: rgba(255, 255, 255, 0.66);
    --panel: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.13);
    --cyan: #67e8f9;
    --lime: #bef264;
    --rose: #fb7185;
    --amber: #fbbf24;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Admin uses light surfaces, so keep native form controls in light mode there. */
body.bg-slate-100 {
    color-scheme: light;
}

button,
a,
input,
textarea,
select {
    letter-spacing: 0;
}

.site-gradient-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 12% 18%, rgba(103, 232, 249, 0.34), transparent 28rem),
        radial-gradient(circle at 85% 14%, rgba(190, 242, 100, 0.2), transparent 26rem),
        radial-gradient(circle at 50% 85%, rgba(251, 113, 133, 0.22), transparent 28rem),
        linear-gradient(135deg, #070812 0%, #111827 45%, #03131d 100%);
}

#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.glass-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(22px);
}

.glass-panel::before,
.pricing-card::before,
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 30%, transparent 70%, rgba(103, 232, 249, 0.16));
    opacity: 0.5;
}

.hero-title {
    max-width: 16ch;
    background: linear-gradient(110deg, #fff 10%, #cffafe 42%, #bef264 72%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 50px rgba(103, 232, 249, 0.15);
}

.section-kicker {
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.section-title {
    margin-top: 0.7rem;
    max-width: 13ch;
    font-size: clamp(2.4rem, 7vw, 5.6rem);
    font-weight: 900;
    line-height: 0.97;
}

.hero-orbit {
    position: absolute;
    inset: 0;
}

.floating-preview {
    position: absolute;
    width: min(78vw, 250px);
    min-height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.065));
    padding: 1rem;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(24px);
    animation: floatCard 8s ease-in-out infinite;
}

.floating-preview-1 {
    top: 2%;
    left: 4%;
}

.floating-preview-2 {
    top: 11%;
    right: 0;
    animation-delay: -2s;
}

.floating-preview-3 {
    top: 42%;
    left: 0;
    animation-delay: -4s;
}

.floating-preview-4 {
    right: 4%;
    bottom: 5%;
    animation-delay: -1s;
}

.floating-preview-5 {
    left: 28%;
    bottom: 0;
    animation-delay: -5s;
}

.phone-mockup {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(75vw, 310px);
    height: 610px;
    transform: translate(-50%, -50%) rotate(-7deg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
    padding: 0.8rem;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.46), 0 0 80px rgba(103, 232, 249, 0.2);
    backdrop-filter: blur(26px);
}

.phone-speaker {
    position: absolute;
    left: 50%;
    top: 1rem;
    height: 0.35rem;
    width: 5rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
}

.phone-screen {
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, #101827, #05070d);
    padding: 3.2rem 1rem 1rem;
}

.before-after {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.before-after-track,
.before-panel,
.after-panel {
    position: absolute;
    inset: 0;
}

.before-panel {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 2rem;
    background:
        linear-gradient(rgba(7, 8, 18, 0.2), rgba(7, 8, 18, 0.94)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 10px, transparent 10px 20px);
}

.after-panel {
    display: flex;
    flex-direction: column;
    justify-content: end;
    width: 52%;
    overflow: hidden;
    padding: 2rem;
    background:
        radial-gradient(circle at 70% 20%, rgba(103, 232, 249, 0.55), transparent 18rem),
        linear-gradient(135deg, #f8fafc, #cffafe 55%, #bef264);
    color: #020617;
}

.before-after-range {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    width: min(80%, 32rem);
    transform: translateX(-50%);
    accent-color: var(--cyan);
}

.pricing-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at top right, rgba(103, 232, 249, 0.35), transparent 20rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    padding: clamp(1.2rem, 4vw, 2.2rem);
    box-shadow: 0 28px 110px rgba(103, 232, 249, 0.14), 0 34px 100px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(26px);
    animation: pricingPulse 5s ease-in-out infinite;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.8rem;
}

.category-pill {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
    padding: 1rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.category-pill:hover {
    transform: translateY(-4px);
    border-color: rgba(103, 232, 249, 0.55);
    background: rgba(103, 232, 249, 0.14);
}

.cta-band {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 80% 10%, rgba(190, 242, 100, 0.35), transparent 26rem),
        linear-gradient(135deg, rgba(103, 232, 249, 0.16), rgba(251, 113, 133, 0.12));
    padding: clamp(2rem, 8vw, 5rem);
    box-shadow: 0 30px 120px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(20px);
}

.example-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem;
    backdrop-filter: blur(22px);
    transition: transform 180ms ease, border-color 180ms ease;
}

.example-card:hover {
    transform: translateY(-5px);
    border-color: rgba(103, 232, 249, 0.4);
}

.example-card-screen {
    min-height: 220px;
    border-radius: 8px;
    padding: 1rem;
    color: #020617;
}

.form-input-dark {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.9rem 1rem;
    color: white;
    outline: none;
    transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.form-input-dark:focus {
    border-color: rgba(103, 232, 249, 0.7);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.18);
}

.form-input-dark::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.admin-login-glow {
    position: absolute;
    width: 35rem;
    height: 35rem;
    filter: blur(90px);
    opacity: 0.34;
}

.admin-login-glow-a {
    left: -8rem;
    top: -8rem;
    background: #67e8f9;
}

.admin-login-glow-b {
    right: -8rem;
    bottom: -8rem;
    background: #bef264;
}

@media print {
    body {
        background: #fff !important;
        color: #0f172a !important;
    }

    aside,
    header,
    footer,
    .print\:hidden {
        display: none !important;
    }

    main,
    .lg\:pl-72 {
        padding-left: 0 !important;
    }
}

@media (max-width: 900px) {
    .phone-mockup {
        opacity: 0.72;
    }

    .floating-preview {
        width: min(64vw, 220px);
    }

    .floating-preview-2,
    .floating-preview-5 {
        display: none;
    }
}
