:root {
    --primary-orange: linear-gradient(180deg, #FFB347 0%, #FF8C00 100%);
    --hover-orange: linear-gradient(180deg, #FF8C00 0%, #E67E00 100%);
    --border-yellow: #FFD700;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --safe-green: #22c55e;
    --link-blue: #2563eb;
    --alert-red: #ef4444;

    /* New Blob Animation Vars */
    --color-bg1: #dff9fb;
    --color-bg2: #ffffff;
    --color1: 104, 109, 224;
    --color2: 126, 214, 223;
    --color3: 223, 249, 251;
    --color4: 255, 121, 121;
    --color5: 149, 175, 192;
    --color-interactive: 140, 100, 255;
    --circle-size: 80%;
    --blending: hard-light;
}

/* ... existing body / nav ... */

/* NEW BLOB ANIMATION CSS */
@keyframes moveInCircle {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveVertical {
    0% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateX(-50%) translateY(-10%);
    }

    50% {
        transform: translateX(50%) translateY(10%);
    }

    100% {
        transform: translateX(-50%) translateY(-10%);
    }
}

.gradient-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    /* Fixed to stay background */
    overflow: hidden;
    background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
    top: 0;
    left: 0;
    z-index: -1;
    display: none;
    /* Hidden by default for theme logic */
}

.gradient-bg.active {
    display: block;
}

.gradient-bg svg {
    display: none;
}

.gradients-container {
    filter: url(#goo) blur(40px);
    width: 100%;
    height: 100%;
}

.g1 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: center center;
    animation: moveVertical 30s ease infinite;
    opacity: 1;
}

.g2 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 20s reverse infinite;
    opacity: 1;
}

.g3 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2 + 200px);
    left: calc(50% - var(--circle-size) / 2 - 500px);
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 40s linear infinite;
    opacity: 1;
}

.g4 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 40s ease infinite;
    opacity: 0.7;
}

.g5 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: calc(var(--circle-size) * 2);
    height: calc(var(--circle-size) * 2);
    top: calc(50% - var(--circle-size));
    left: calc(50% - var(--circle-size));
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: moveInCircle 20s ease infinite;
    opacity: 1;
}

.interactive {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    opacity: 0.7;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-light);
    margin: 0;
    color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: 'Outfit', sans-serif;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav.transparent-bg {
    background: transparent !important;
    box-shadow: none !important;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: #FF8C00;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
}

.subtitle {
    font-size: 20px;
    color: black;
    margin-bottom: 40px;
}

/* Main Orange Button */
.upload-box {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.btn-main-upload {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    border-radius: 10px;
    padding: 12px 30px;
    font-size: 20px;
    font-weight: 900;
    border: 3px solid var(--border-yellow);
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-main-upload:hover {
    background: var(--hover-orange);
}

.btn-main-upload:disabled {
    background: #cbd5e1;
    border-color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

#fileIntelDashboard {
    box-shadow: 0 2px 7px 4px rgb(0 0 0 / 7%) !important;
    background: linear-gradient(180deg, white 0%, #f59e0bb8 100%) !important;
}

#card_modAcronym {
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1) !important;
}

#presetsContainer {
    box-shadow: 0px 1px 9px #ffd5d5 !important;
}

/* Standard UI Button (Elegant Gradient) */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #FFB347 0%, #FF8C00 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    /* Elegant pill shape */
    font-size: 16px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    width: auto;
    /* Prevent full width */
    margin-top: 10px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #E67E00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px (255, 140, 0, 0.4);
}

#fileInput {
    display: none;
}

.invitation {
    font-size: 18px;
    font-weight: 700;
    color: #ff8c00;
    margin-top: 15px;
    animation: pulse 2s infinite;
}

/* Hidden Dashboard Logic */
#processingDashboard {
    display: none;
    margin-top: 40px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.stat-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--link-blue);
    display: block;
}

.stat-val.alert {
    color: var(--alert-red);
}

.stat-lbl {
    font-size: 10px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
}

/* Modules Section */
.modules-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    gap: 20px;
    text-align: center;
}

.module-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e2e8f0;
    text-align: left;
}

/* Switch UI */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--safe-green);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* Modals */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 550px;
    text-align: center;
    border: 4px solid var(--border-yellow);
    overflow-y: auto;
    max-height: 90vh;
}

/* Diff Box for Verification */
.diff-box {
    text-align: left;
    padding: 15px;
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 8px;
    margin: 15px 0;
    font-family: 'Consolas', monospace;
    white-space: pre-wrap;
    line-height: 1.4;
    border-left: 5px solid #1a73e8;
    font-size: 14px;
}

/* Viral Section */
.viral-box {
    background: #f0fdf4;
    border: 2px dashed #22c55e;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.btn-fb {
    background: #1877F2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px auto;
    width: fit-content;
}

.trust-banner {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    opacity: 1;
    color: black;
    font-size: 17px;
    font-weight: 600;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: monospace;
}

.btn-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.btn-action {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

/* Premium Footer & Tooltip */
footer.site-footer {
    position: relative;
    margin-top: 80px;
    padding: 64px 24px 48px;
    background: linear-gradient(180deg, #0f172a00 0%, #d5bb9233 20%, #9f650c 100%);
    color: #94a3b8;
    font-size: 14px;
    overflow: hidden;
    border-top: none;
}

footer.site-footer .footer-bg-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(6rem, 18vw, 14rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    opacity: 0.10;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
}

footer.site-footer .footer-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

footer.site-footer .footer-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

footer.site-footer .footer-brand span {
    color: #ff8c00;
}

footer.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 32px;
    margin-bottom: 24px;
}

footer.site-footer .footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

footer.site-footer .footer-links a:hover {
    color: #ff8c00;
}

footer.site-footer .footer-copy {
    font-size: 13px;
    color: #ffffff;
    margin: 0 0 8px 0;
}

footer.site-footer .disclaimer {
    font-size: 11px;
    line-height: 1.5;
    color: #f3f5f7;
    max-width: 640px;
    margin: 0 auto;
}

/* Legacy footer (no .site-footer) */
footer:not(.site-footer) {
    margin-top: 60px;
    padding: 30px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: black;
    font-size: 14px;
}

.disclaimer {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.8;
}

/* Dashboard Layout */
.dashboard-wrap {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
}

.left-menu {
    width: 250px;
    flex-shrink: 0;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.menu-item {
    font-size: 16px;
    font-weight: 600;
    padding: 15px 20px;
    color: #64748b;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.menu-item:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.menu-item.active {
    background: rgba(255, 140, 0, 0.1);
    color: #FF8C00;
}

.main-content {
    flex-grow: 1;
    min-width: 0;
}

/* Hide old dash-container margins since it's now inside main-content */
.main-content .dash-container {
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.view-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.view-section.active {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dashboard-wrap {
        flex-direction: column;
        margin: 20px auto;
        padding: 0 15px;
    }

    .left-menu {
        width: 100%;
        position: static;
        display: flex;
        overflow-x: auto;
        padding: 10px;
        gap: 10px;
        margin-bottom: 20px;
    }

    .menu-item {
        margin-bottom: 0;
        white-space: nowrap;
        padding: 10px 15px;
    }

    .tel-grid {
        grid-template-columns: 1fr !important;
    }

    .credits-roi-row {
        grid-template-columns: 1fr !important;
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    margin-left: 5px;
    color: var(--link-blue);
    border-bottom: 1px dotted var(--link-blue);
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: #334155;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    font-weight: normal;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #334155 transparent transparent transparent;
}

/* ROI / ENTERPRISE VALUE SECTION */
.roi-section {
    position: relative;
    max-width: 1100px;
    margin: 120px auto 40px;
    padding: 56px 32px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(250, 250, 255, 0.98), rgba(241, 245, 249, 0.92)),
        radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.50),
        0 0 0 1px rgba(148, 163, 184, 0.35);
    overflow: hidden;
    color: #0f172a;
}

.roi-glow {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0% 0%, rgba(250, 204, 21, 0.16) 0, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.12) 0, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.roi-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.roi-copy {
    flex: 1 1 360px;
    min-width: 0;
}

.roi-calculator {
    flex: 1 1 380px;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.roi-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.35);
    margin-bottom: 16px;
}

.roi-title {
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 18px 0;
    color: #020617;
}

.roi-lede {
    font-size: 15px;
    line-height: 1.7;
    color: #1f2937;
    margin-bottom: 20px;
}

.roi-divider {
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #facc15);
    margin: 10px 0 22px;
}

.roi-subtitle {
    font-size: 17px;
    margin: 0 0 8px 0;
    color: #0f172a;
}

.roi-body {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 10px 0;
}

.roi-bullets {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    display: grid;
    gap: 14px;
}

.roi-bullets li {
    display: grid;
    gap: 4px;
}

.roi-bullet-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.roi-bullet-text {
    font-size: 13px;
    line-height: 1.7;
    color: #4b5563;
}

.roi-card {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    padding: 22px 22px 24px;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.96));
    color: #e5e7eb;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.5);
    backdrop-filter: blur(18px);
}

.roi-card-header h3 {
    font-size: 20px;
    margin: 4px 0 8px 0;
    color: #f9fafb;
}

.roi-tagline {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: #a5b4fc;
    margin: 0 0 4px 0;
}

.roi-caption {
    font-size: 12px;
    color: #cbd5f5;
    margin: 0 0 18px 0;
}

.roi-slider-block {
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.04), transparent 60%);
    border-radius: 18px;
    padding: 14px 16px 14px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    margin-bottom: 18px;
}

.roi-slider-label-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    font-size: 12px;
    color: #e5e7eb;
    margin-bottom: 8px;
}

.roi-slider-label-row span:first-child {
    opacity: 0.9;
}

.roi-slider-value {
    font-weight: 600;
    color: #fbbf24;
    white-space: nowrap;
}

.roi-slider-block input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #facc15);
    outline: none;
}

.roi-slider-block input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f9fafb;
    border: 2px solid #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.35);
    cursor: pointer;
}

.roi-slider-block input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f9fafb;
    border: 2px solid #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.35);
    cursor: pointer;
}

.roi-slider-scale {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
}

.roi-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.roi-metric {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.95));
    border-radius: 16px;
    padding: 10px 10px 9px;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.roi-metric-label {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 4px;
}

.roi-metric-value {
    font-size: 16px;
    font-weight: 800;
    color: #e5e7eb;
}

.roi-metric-accent {
    color: #22c55e;
}

.roi-metric-sub {
    margin-top: 3px;
    font-size: 10px;
    color: #9ca3af;
}

.roi-summary {
    border-radius: 16px;
    padding: 12px 14px 10px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.65);
}

.roi-summary-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #f59e0b);
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.roi-summary-text {
    font-size: 12px;
    line-height: 1.7;
    color: #e5e7eb;
    margin: 0 0 6px 0;
}

.roi-summary-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .roi-section {
        margin-top: 80px;
        padding: 40px 20px;
    }

    .roi-inner {
        flex-direction: column;
    }

    .roi-card {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .roi-title {
        font-size: 24px;
    }

    .roi-metrics {
        grid-template-columns: 1fr;
    }

    .roi-slider-label-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* NEW BLOB ANIMATION CSS */
@keyframes moveInCircle {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveVertical {
    0% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateX(-50%) translateY(-10%);
    }

    50% {
        transform: translateX(50%) translateY(10%);
    }

    100% {
        transform: translateX(-50%) translateY(-10%);
    }
}

.gradient-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    /* Fixed to stay background */
    overflow: hidden;
    background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
    top: 0;
    left: 0;
    z-index: -1;
    display: none;
    /* Hidden by default for theme logic */
}

.gradient-bg.active {
    display: block;
}

.gradient-bg svg {
    display: none;
}

.gradients-container {
    filter: url(#goo) blur(40px);
    width: 100%;
    height: 100%;
}

.g1 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: center center;
    animation: moveVertical 30s ease infinite;
    opacity: 1;
}

.g2 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 20s reverse infinite;
    opacity: 1;
}

.g3 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2 + 200px);
    left: calc(50% - var(--circle-size) / 2 - 500px);
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 40s linear infinite;
    opacity: 1;
}

.g4 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 40s ease infinite;
    opacity: 0.7;
}

.g5 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: calc(var(--circle-size) * 2);
    height: calc(var(--circle-size) * 2);
    top: calc(50% - var(--circle-size));
    left: calc(50% - var(--circle-size));
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: moveInCircle 20s ease infinite;
    opacity: 1;
}

.interactive {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    opacity: 0.7;
}

/* Glassmorphism Product Cards */
.product-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card .price {
    font-size: 42px;
    font-weight: 900;
    margin: 25px 0 10px 0;
    color: #0f172a;
    background: -webkit-linear-gradient(#0f172a, #334155);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-card .price span {
    font-size: 20px;
    color: #000000;
    font-weight: 600;
    -webkit-text-fill-color: #000000;
}

.product-card .price-large span {
    font-size: 42px !important;
    color: #000000;
    font-weight: 600;
    -webkit-text-fill-color: #000000;
}

.product-card .price-large .price-suffix {
    font-size: 20px !important;
}

.product-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 25px 25px 25px;
    flex-grow: 1;
}

.btn-buy {
    width: calc(100% - 50px);
    margin: 0 25px 25px 25px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #0f172a;
    color: white;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Plan Specific Accents */
.product-card.pro .card-header {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.product-card.pro .btn-buy {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.product-card.pro {
    border-color: #fcd34d;
}

.product-card.platinum .card-header {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}

.product-card.platinum .btn-buy {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.product-card.platinum {
    border-color: #d8b4fe;
}

.product-card.enterprise .card-header {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
}

.product-card.enterprise .btn-buy {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
}

.product-card.enterprise {
    border-color: #94a3b8;
}

.product-card.turbo .card-header {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.product-card.turbo .btn-buy {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.product-card.turbo {
    border-color: #93c5fd;
}

/* Mobile: homepage blob full-bleed — must load AFTER duplicate .gradient-bg rules in this file */
@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    .gradient-bg {
        width: auto;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: visible;
    }

    :root {
        --circle-size: 115%;
    }

    /* Footer: fill iPhone home-indicator / safe-area so gradient isn’t cut off above a white strip */
    footer.site-footer {
        padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    }
}