/* =========================================
   1. FONTS & VARIABLES
========================================= */
@font-face {
    font-family: "HeliosExt";
    src: url("fonts/HeliosExt.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "HeliosExt";
    src: url("fonts/HeliosExt-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "HeliosExt";
    src: url("fonts/HeliosExt-Italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "HeliosExt";
    src: url("fonts/HeliosExt-Bold-Italic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

:root {
    --bg-black: #000000;
    --text-white: #ffffff;
    --text-grey: #cccccc;
    --purple-top: #5424bb;
    --brand-gradient: linear-gradient(90deg, #000000, #5424bb, #c59dff);
    --font-main:
        "HeliosExt", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================================
   2. BASE STYLES & LAYOUT
========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none !important;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

.page-wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* --- ANIMATED BACKGROUNDS --- */
body::before {
    content: "";
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 75vh;
    background-image:
        radial-gradient(
            ellipse at 30% 40%,
            var(--purple-top) 0%,
            transparent 55%
        ),
        radial-gradient(ellipse at 70% 60%, #c59dff 0%, transparent 50%),
        radial-gradient(circle at 50% 30%, #2b135c 0%, transparent 60%);
    background-size: 100% 100%;
    filter: blur(80px);
    opacity: 0.65;
    z-index: -1;
    animation: panAbstract 15s linear infinite;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.text-gold {
    background: linear-gradient(
        -45deg,
        #d4ae0c 20%,
        #ffe67a 40%,
        #feeb96 50%,
        #ffe67a 60%,
        #d4ae0c 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
    animation: goldShine 5s linear infinite;
}

/* SVG OVERRIDES (Forces HTML SVGs to be White) */
.arsenal-icon,
.announcement-icon-wrapper svg {
    stroke: #ffffff !important;
}

/* =========================================
   3. HERO & TYPOGRAPHY
========================================= */
.hero {
    padding: 60px 20px 40px;
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.top-subtitle {
    font-size: clamp(0.8rem, 2vw, 1rem);
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    color: #e0e0e0;
}
.hero h1 {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
    will-change: transform;
    transform-style: preserve-3d;
}
.hero-desc {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 40px;
    color: #f1f1f1;
}

.section-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
    margin: 80px 20px 40px;
    padding-bottom: 10px;
    text-align: left;
}
.section-title strong {
    font-weight: 700;
}
.section-title em {
    font-style: italic;
    font-weight: 700;
}

.hover-word {
    position: relative;
    display: inline-block;
}
.hover-word::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -1px;
    left: 0;
    background-color: var(--text-white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.hover-word:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.text-gold.hover-word::after {
    background: linear-gradient(90deg, #ffe67a 0%, #d4ae0c 100%);
}

/* --- CTA BUTTON (ORIGINAL GLOWING DESIGN) --- */
.cta-container {
    display: flex;
    justify-content: center;
}
.cta-container.right-align {
    justify-content: flex-end;
    margin-top: 15px;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    background:
        linear-gradient(90deg, #000000 40%, #2b135c 100%) padding-box,
        linear-gradient(
                -45deg,
                #000000 15%,
                #5424bb 40%,
                #c59dff 50%,
                #5424bb 60%,
                #000000 85%
            )
            border-box;
    background-size:
        100% 100%,
        200% 100%;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 5px 5px 5px 25px;
    color: white;
    text-decoration: none;
    overflow: hidden;
    animation: borderShine 4s linear infinite;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(84, 36, 187, 0.4);
}

.cta-text {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}
.cta-text span {
    font-weight: 700;
    font-style: italic;
    text-decoration: underline;
}

.cta-icon {
    background:
        linear-gradient(135deg, #111111 0%, #351a6b 100%) padding-box,
        linear-gradient(
                -45deg,
                #000000 15%,
                #5424bb 40%,
                #c59dff 50%,
                #5424bb 60%,
                #000000 85%
            )
            border-box;
    background-size:
        100% 100%,
        200% 100%;
    border: 1px solid transparent;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}
.cta-icon svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* --- UNIVERSAL HOVER GLOW LAYER --- */
.cta-button::before,
.feature-card::before,
.comparison-wrapper::before,
.calculator-wrapper::before,
.arsenal-card::before,
.audio-builder-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle 150px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(197, 157, 255, 0.15),
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}
.cta-button:hover::before,
.feature-card:hover::before,
.comparison-wrapper:hover::before,
.calculator-wrapper:hover::before,
.arsenal-card:hover::before,
.audio-builder-card:hover::before {
    opacity: 1;
}

.feature-card,
.cta-button,
.comparison-wrapper,
.calculator-wrapper,
.arsenal-card,
.audio-builder-card {
    transition:
        transform 0.1s ease-out,
        box-shadow 0.3s ease;
    will-change: transform;
}

/* =========================================
   4. SCROLL-TRIGGERED BUBBLES (NON-STICKY)
========================================= */
.ambient-bubbles-container {
    position: absolute; /* No longer sticky! */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Adapts to the audio player section height */
    z-index: 90;
    pointer-events: none;
}

.feature-bubble {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;

    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    pointer-events: auto;

    opacity: 0;
    visibility: hidden;
    top: 50%;
    left: 50%;
    margin-top: -85px;
    margin-left: -85px;
    transform: scale(0) rotateZ(-90deg);

    /* PERFORMANCE FIX 1: Set the final blur statically. Do NOT animate blur values in Safari. */
    filter: blur(1.5px);

    /* PERFORMANCE FIX 2: Hardware acceleration */
    -webkit-transform: translate3d(0, 0, 0);

    /* PERFORMANCE FIX 3: Stripped 'filter' and 'box-shadow' out of the transition math */
    transition:
        top 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        left 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s ease,
        visibility 0.6s ease;

    animation: floatBubble 8s infinite alternate ease-in-out;
}

/* Base Angles */
.bubble-1 {
    --thrown-angle: perspective(800px) rotateX(-20deg) rotateY(25deg)
        skew(-10deg, 10deg);
}
.bubble-2 {
    --thrown-angle: perspective(800px) rotateX(5deg) rotateY(-30deg)
        skew(10deg, -5deg);
}
.bubble-3 {
    --thrown-angle: perspective(800px) rotateX(25deg) rotateY(20deg)
        skew(10deg, -10deg);
}
.bubble-4 {
    --thrown-angle: perspective(800px) rotateX(20deg) rotateY(-25deg)
        skew(5deg, 5deg);
}

.feature-bubble::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.7) 0%,
        #5424bb 40%,
        #c59dff 50%,
        #5424bb 60%,
        rgba(255, 255, 255, 0.7) 100%
    );
    background-size: 200% 100%;

    /* TEXTURE FIX: Safari requires 'destination-out' to cut the hole */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;

    pointer-events: none;
    animation: borderShine 3s linear infinite;
    z-index: -1;
    display: block !important;
}
.feature-bubble::after {
    display: none !important;
}

/* =========================================
   EXPLODED FINAL STATES
========================================= */
.ambient-bubbles-container.exploded .feature-bubble {
    opacity: 1;
    visibility: visible;
    box-shadow: 0 0 15px rgba(197, 157, 255, 0.6) !important;
}

.ambient-bubbles-container.exploded .bubble-1 {
    top: 5%;
    left: calc(0% - ((100vw - 1000px) / 4) + 25px);
    transform: var(--thrown-angle);
    transition-delay: 0s;
}
.ambient-bubbles-container.exploded .bubble-2 {
    top: 30%;
    left: calc(100% + ((100vw - 1000px) / 4) - 35px);
    transform: var(--thrown-angle);
    transition-delay: 0.15s;
}
.ambient-bubbles-container.exploded .bubble-3 {
    top: 85%;
    left: calc(0% - ((100vw - 1000px) / 4) - 25px);
    transform: var(--thrown-angle);
    transition-delay: 0.08s;
}
.ambient-bubbles-container.exploded .bubble-4 {
    top: 75%;
    left: calc(100% + ((100vw - 1000px) / 4) + 25px);
    transform: var(--thrown-angle);
    transition-delay: 0.25s;
}

/* HOVER: Snap to focus */
.feature-bubble:hover {
    filter: blur(0px) !important;
    transform: perspective(800px) rotateY(0deg) rotateX(0deg) rotateZ(360deg)
        scale(1.15) !important;
    background: rgba(15, 5, 30, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow:
        0 0 25px rgba(197, 157, 255, 0.9),
        inset 0 0 30px rgba(197, 157, 255, 0.6),
        0 0 30px rgba(197, 157, 255, 0.4) !important;

    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease !important;
    transition-delay: 0s !important;
    z-index: 100;
}

.feature-bubble h3 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}
.feature-bubble p {
    color: #cccccc;
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

@keyframes floatBubble {
    0% {
        margin-top: 0px;
    }
    100% {
        margin-top: 25px;
    }
}

/* =========================================
   5. CINEMATIC ARSENAL (2-COLUMN GRID)
========================================= */
.blur-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    padding: 25px;
    box-sizing: border-box;
}
.arsenal-card {
    background:
        linear-gradient(135deg, #1a0a3a 0%, #050505 100%) padding-box,
        linear-gradient(
                -45deg,
                #000000 15%,
                #5424bb 40%,
                #c59dff 50%,
                #5424bb 60%,
                #000000 85%
            )
            border-box;
    background-size:
        100% 100%,
        200% 100%;
    border: 2px solid transparent;
    border-radius: 60px;
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.8),
        inset 0 1px 1px rgba(197, 157, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, filter, opacity;
    animation: borderShine 6s linear infinite;
}
/* Titles are now pure white */
.arsenal-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 0 !important;
    font-weight: 800;
}
.arsenal-card p {
    color: #aaaaaa;
    font-size: 0.95rem;
    line-height: 1.6;
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}
.arsenal-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 3px rgba(197, 157, 255, 0.4));
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
    flex-shrink: 0;
}
.blur-grid:hover .arsenal-card {
    filter: blur(4px);
    opacity: 0.4;
    transform: scale(0.95);
}
.blur-grid .arsenal-card:hover {
    filter: blur(0px);
    opacity: 1;
    transform: scale(1.08) translateY(-10px);
    z-index: 10;
    box-shadow:
        0 25px 50px rgba(84, 36, 187, 0.5),
        inset 0 2px 2px rgba(197, 157, 255, 0.6);
    animation: borderShine 3s linear infinite;
}
.blur-grid .arsenal-card:hover .arsenal-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 8px rgba(197, 157, 255, 0.9));
}

/* =========================================
   6. THE LISTEN ZONE & AUDIO DASHBOARD
========================================= */
.samples-section {
    position: relative;
    z-index: 1;
}
.samples-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(
        ellipse at center,
        rgba(84, 36, 187, 0.4) 0%,
        rgba(197, 157, 255, 0.1) 40%,
        transparent 70%
    );
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.genre-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.genre-tab {
    /* Frosted Glass Base */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(197, 157, 255, 0.15);
    border-radius: 40px;
    padding: 12px 30px;
    color: #aaaaaa;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Hardware acceleration for smooth blur */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Hover state for unselected tabs */
.genre-tab:hover {
    background: rgba(197, 157, 255, 0.08);
    border-color: rgba(197, 157, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Active (Selected) state with the glowing border */
.genre-tab.active {
    background: rgba(15, 5, 30, 0.4) padding-box;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid transparent;
    background-image:
        linear-gradient(rgba(15, 5, 30, 0.6), rgba(15, 5, 30, 0.6)),
        linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.1) 15%,
            #5424bb 40%,
            #c59dff 50%,
            #5424bb 60%,
            rgba(255, 255, 255, 0.1) 85%
        );
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #ffffff;
    box-shadow:
        0 10px 25px rgba(84, 36, 187, 0.4),
        inset 0 1px 1px rgba(197, 157, 255, 0.3);
    animation: borderShine 4s linear infinite;
    transform: translateY(-3px);
}
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.tab-content.active {
    display: block;
    animation: tabFadeIn 0.4s ease forwards;
}

.audio-builder-card {
    background:
        radial-gradient(ellipse at top, #1a0a3a 0%, #050505 80%) padding-box,
        linear-gradient(
                -45deg,
                #000000 15%,
                #5424bb 40%,
                #c59dff 50%,
                #5424bb 60%,
                #000000 85%
            )
            border-box;
    background-size:
        100% 100%,
        200% 100%;
    border: 2px solid transparent;
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    animation: borderShine 6s linear infinite;
}

/* Inner Player UI */
.custom-player-ui {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    background: #050505;
    border: 1px solid rgba(197, 157, 255, 0.15);
    border-radius: 60px;
    padding: 10px 30px 10px 10px;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.8);
}

.circle-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #111111 0%, #351a6b 100%);
    border: 1px solid rgba(197, 157, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
    flex-shrink: 0;
}
.circle-play-btn:hover {
    transform: scale(1.1);
    border-color: #c59dff;
}
.circle-play-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    margin-left: 4px;
    transition: margin 0.2s ease;
}
.player-timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.time-displays {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #aaaaaa;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: monospace;
}

/* =========================================
   DYNAMIC AUDIO VISUALIZER
========================================= */
.track-wrapper {
    position: relative;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px; /* Tighter gap */
}

.audio-bar {
    flex: 1;
    max-width: 3px; /* THE FIX: Forces the lines to be super thin */
    height: 15%;
    background-color: #444444;
    border-radius: 5px; /* Gives them a sleek, rounded pill shape */
    transition: background-color 0.3s ease;
    will-change: height;
}

/* THE MAGIC: When playing, they turn white and bounce randomly */
.track-wrapper.is-playing .audio-bar {
    background-color: #ffffff;
    animation: activeWave var(--anim-duration) infinite alternate ease-in-out;
    animation-delay: var(--anim-delay);
}

@keyframes activeWave {
    0% {
        height: 15%;
    }
    100% {
        height: 100%;
    }
}

/* Builder Options (Unselected Pills) */
.builder-options {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
}
.mix-toggle input {
    display: none;
}
.mix-pill {
    background: #0a0a0a;
    border: 1px solid rgba(197, 157, 255, 0.15);
    border-radius: 50px;
    padding: 12px 28px;
    color: #aaaaaa;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s ease;
    user-select: none;
}
.mix-toggle:hover .mix-pill {
    background: #111111;
    border-color: rgba(197, 157, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.error-pulse {
    animation: softDecline 0.6s ease-in-out both;
}
.error-pulse svg {
    fill: #ffffff !important; /* Turns a gentle gold instead of angry red */
}
@keyframes softDecline {
    0%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }
    25% {
        transform: translateX(-3px);
        opacity: 0.6;
    }
    75% {
        transform: translateX(3px);
        opacity: 0.6;
    }
}

/* =========================================
   7. QUOTE CALCULATOR BUILDER
========================================= */
.calculator-wrapper {
    position: relative;
    margin: 0 20px 80px;
    background:
        radial-gradient(ellipse at top, #1a0a3a 0%, #050505 80%) padding-box,
        linear-gradient(
                -45deg,
                #000000 15%,
                #5424bb 40%,
                #c59dff 50%,
                #5424bb 60%,
                #000000 85%
            )
            border-box;
    background-size:
        100% 100%,
        200% 100%;
    border: 2px solid transparent;
    border-radius: 40px;
    padding: 50px 30px;
    text-align: center;
    overflow: hidden;
    animation: borderShine 6s linear infinite;
    z-index: 2;
}
.calc-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 10px;
}
.input-group label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #cccccc;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.calc-input {
    background: #0a0a0a;
    border: 1px solid rgba(197, 157, 255, 0.2);
    border-radius: 15px;
    padding: 15px 30px;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-main);
    color: var(--text-white);
    text-align: center;
    width: 100%;
    max-width: 350px;
    outline: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;

    /* THE FIX: Forces both inputs to be exactly the same height */
    height: 76px;
    box-sizing: border-box;
}

.calc-input:focus {
    border-color: #c59dff;
    box-shadow: 0 0 20px rgba(197, 157, 255, 0.2);
}
.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.calc-input[type="number"] {
    -moz-appearance: textfield;
}
.rate-display {
    text-align: right;
    min-width: 140px;
}
.rate-value {
    font-size: 1.8rem;
    font-weight: 800;
}
.rate-value span {
    font-size: 0.9rem;
    color: #aaaaaa;
}

/* Custom Dropdown Styling for the Calculator */
select.calc-input.custom-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;

    /* Injects a crisp white arrow instead of the ugly OS default */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 25px center;
    background-size: 22px;

    /* Makes room for the arrow so text doesn't overlap */
    padding-right: 60px;

    /* Slightly smaller text than the massive number input so it fits nicely */
    font-size: 1.2rem;
    font-weight: 700;
}

/* Forces the dropdown menu items to match the dark theme */
select.calc-input.custom-select option {
    background-color: #0a0a0a;
    color: #ffffff;
    font-weight: 700;
    padding: 15px;
}

/* Keep the purple glow active when the user opens the dropdown */
select.calc-input.custom-select:focus {
    border-color: #c59dff;
    box-shadow: 0 0 20px rgba(197, 157, 255, 0.2);
}

.calc-options-flex {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 30px;
    width: 100%;
}
.calc-toggle {
    display: none;
}
.calc-card {
    flex: 1;
    cursor: pointer;
    min-width: 0;
    display: flex;
    transition: all 0.4s ease;
}

/* Unselected Pricing Cards */
.calc-card-content {
    background: #0a0a0a;
    border: 1px solid rgba(197, 157, 255, 0.15);
    border-radius: 50px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.calc-opt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.calc-opt-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Price text is now Gold instead of light purple */
.calc-opt-price {
    color: #d4ae0c;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.bg-dependent {
    display: none;
    opacity: 0;
}
.bg-dependent.show {
    display: block;
    animation: popInCard 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.narrator-input {
    width: 32px;
    height: 22px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(197, 157, 255, 0.4);
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    padding: 0;
    outline: none;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
}
.narrator-input::-webkit-outer-spin-button,
.narrator-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.calc-toggle:checked ~ .calc-card-content .narrator-input {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.calc-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(197, 157, 255, 0.2);
    padding-top: 25px;
    margin-top: 10px;
}
.result-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.result-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 5px;
}
.calc-price {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 10px;
    background-clip: text;
    -webkit-background-clip: text;
}
.gst-note {
    position: absolute;
    bottom: 25px;
    right: 35px;
    font-size: 0.7rem;
    color: #666666;
    font-style: italic;
    z-index: 2;
    letter-spacing: 0.5px;
}
.asterisk {
    font-size: 0.2em;
    vertical-align: super;
    margin-left: 2px;
    opacity: 1;
}
.centered-btn {
    width: auto !important;
    justify-content: center !important;
    gap: 12px;
    padding-left: 20px !important;
    padding-right: 8px !important;
    margin-top: 0 !important;
}

/* =========================================
   8. UNIFIED "ACTIVE" STATE
   (Matches Original CTA Aesthetic)
========================================= */
.genre-tab.active,
.mix-toggle input:checked + .mix-pill,
.calc-toggle:checked + .calc-card-content {
    background:
        linear-gradient(90deg, #000000 40%, #2b135c 100%) padding-box,
        linear-gradient(
                -45deg,
                #000000 15%,
                #5424bb 40%,
                #c59dff 50%,
                #5424bb 60%,
                #000000 85%
            )
            border-box;
    background-size:
        100% 100%,
        200% 100%;
    border: 1px solid transparent;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(84, 36, 187, 0.4);
    animation: borderShine 4s linear infinite;
    transform: translateY(-3px);
}

/* =========================================
   9. FOOTER
========================================= */
.site-footer {
    border-top: 2px solid transparent;
    border-image: linear-gradient(
            90deg,
            #111111 0%,
            #5424bb 20%,
            #c59dff 50%,
            #5424bb 80%,
            #111111 100%
        )
        1;
    background: linear-gradient(135deg, #2b135c 0%, #05020a 100%);
    padding: 60px 20px 30px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto 60px auto;
}
.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}
.brand-name {
    font-size: 1.4rem;
    font-weight: 400;
}
.footer-links h3,
.footer-about h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.mt-4 {
    margin-top: 25px;
}
.footer-links a {
    display: inline-block;
    color: var(--text-white);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 0.95rem;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}
/* Links hover in Gold */
.footer-links a:hover {
    color: #d4ae0c;
}
.link-list {
    display: flex;
    flex-direction: column;
}
.social-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 130px;
}
.social-link svg {
    width: 8px;
    height: 8px;
    color: var(--text-white);
    transition: color 0.2s ease;
}
/* Social SVGs hover in Gold */
.social-link:hover svg {
    color: #d4ae0c;
}
.footer-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
}
.footer-bottom {
    font-size: 0.9rem;
    color: var(--text-white);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* =========================================
   10. MODALS & FORMS
========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    position: relative;
    width: 90%;
    max-width: 480px;
    overflow-y: visible;
    background:
        linear-gradient(#050505, #050505) padding-box,
        linear-gradient(
                -45deg,
                #000000 15%,
                #5424bb 40%,
                #c59dff 50%,
                #5424bb 60%,
                #000000 85%
            )
            border-box;
    background-size:
        100% 100%,
        200% 100%;
    border: 2px solid transparent;
    border-radius: 30px;
    padding: 40px 35px;
    animation: borderShine 6s linear infinite;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    transform-style: preserve-3d;
}
.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}
.modal-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a0a3a 0%, #050505 100%);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.8),
        inset 0 1px 1px rgba(197, 157, 255, 0.3);
    border: 1px solid rgba(197, 157, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
    z-index: 10;
}
.modal-close-btn:hover {
    transform: scale(1.15) rotate(90deg);
    box-shadow:
        0 6px 15px rgba(197, 157, 255, 0.5),
        inset 0 1px 1px rgba(197, 157, 255, 0.5);
}
.modal-close-btn svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}
.modal-header {
    text-align: center;
    margin-bottom: 35px;
}
.modal-header h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}
.modal-header p {
    font-size: 0.95rem;
    color: #aaaaaa;
    line-height: 1.6;
    padding: 0 10px;
}
.modal-form {
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
.modal-form::-webkit-scrollbar {
    width: 4px;
}
.modal-form::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
.modal-form::-webkit-scrollbar-thumb {
    background: #c59dff;
    border-radius: 10px;
}
.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}
.form-row .input-group {
    width: 100%;
}
.modal-form .input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}
/* Form labels are now crisp white */
.modal-form label {
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0;
}
.modal-form input,
.modal-form textarea,
.modal-form select {
    width: 100%;
    box-sizing: border-box;
    background: #0a0a0a !important;
    border: 1px solid rgba(197, 157, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    color: #ffffff !important;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}
.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
    border-color: #c59dff;
    box-shadow: 0 0 20px rgba(197, 157, 255, 0.15);
    background: #111111 !important;
}
.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}
/* Dropdown arrow is now white */
.modal-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 18px !important;
    cursor: pointer;
}
.modal-form select option {
    background: #050505;
    color: #ffffff;
    padding: 10px;
}
.submit-btn {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    margin-top: 15px;
    padding: 10px 25px;
}
.submit-btn .cta-text {
    margin-right: 0;
    font-size: 0.95rem;
}
body.modal-open {
    overflow: hidden;
}

/* =========================================
   11. GLOBAL UI (CURSOR, PRELOADER, CART)
========================================= */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999999;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(197, 157, 255, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999998;
    pointer-events: none;
    transition:
        width 0.2s ease-out,
        height 0.2s ease-out,
        background-color 0.2s ease-out,
        border-color 0.2s ease-out,
        opacity 0.2s ease-out;
}
.cursor-outline.hovering {
    width: 70px;
    height: 70px;
    background-color: rgba(197, 157, 255, 0.1);
    border-color: rgba(197, 157, 255, 0.9);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    transition:
        opacity 0.6s cubic-bezier(0.8, 0, 0.2, 1),
        visibility 0.6s;
}
.preloader-logo {
    width: 100px;
    height: auto;
    will-change: transform, filter;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    animation: preloaderPulse 1.5s infinite alternate ease-in-out;
}
#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background:
        linear-gradient(135deg, #1a0a3a 0%, #050505 100%) padding-box,
        linear-gradient(
                -45deg,
                #000000 15%,
                #5424bb 40%,
                #c59dff 50%,
                #5424bb 60%,
                #000000 85%
            )
            border-box;
    background-size:
        100% 100%,
        200% 100%;
    border: 2px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(197, 157, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s ease,
        box-shadow 0.3s ease;
    animation: borderShine 6s linear infinite;
}
.floating-cart.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.floating-cart:hover {
    transform: scale(1.1);
    box-shadow:
        0 12px 30px rgba(197, 157, 255, 0.4),
        inset 0 1px 1px rgba(197, 157, 255, 0.5);
}
.floating-cart svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}
.floating-cart:hover svg {
    transform: rotate(-10deg) scale(1.1);
}

.aura {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    animation: auraBreathe 8s infinite alternate ease-in-out;
}
.aura-left {
    width: 500px;
    height: 500px;
    background: rgba(53, 26, 107, 0.6);
    top: 10%;
    left: -200px;
}
.aura-right {
    width: 600px;
    height: 600px;
    background: rgba(197, 157, 255, 0.2);
    bottom: -10%;
    right: -200px;
    animation-delay: -4s;
}
.side-frame {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    letter-spacing: 6px;
    font-weight: 500;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.frame-left {
    left: 30px;
    transform: translateY(-50%) rotate(180deg);
}
.frame-right {
    right: 30px;
}

/* =========================================
   12. ANIMATIONS & RESPONSIVE
========================================= */
@keyframes borderShine {
    to {
        background-position:
            0% 0%,
            200% center;
    }
}
@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}
@keyframes panAbstract {
    0% {
        background-position:
            0% 0%,
            0% 0%,
            0% 0%;
    }
    100% {
        background-position:
            -100% 0%,
            -200% 0%,
            -100% 0%;
    }
}
@keyframes auraBreathe {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2) translate(30px, -30px);
        opacity: 0.8;
    }
}
@keyframes preloaderPulse {
    0% {
        transform: scale(0.8) translateZ(0);
        opacity: 0.7;
        filter: drop-shadow(0 0 10px rgba(197, 157, 255, 0.2));
    }
    100% {
        transform: scale(1) translateZ(0);
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(197, 157, 255, 0.8));
    }
}
@keyframes tabFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes popInCard {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes hardwareReject {
    0%,
    100% {
        transform: translateX(0);
    }
    20%,
    60% {
        transform: translateX(-6px);
    }
    40%,
    80% {
        transform: translateX(6px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .side-frame {
        display: none;
    }
    .aura {
        filter: blur(100px);
        opacity: 0.3;
    }
}

@media (max-width: 900px) {
    .calc-options-flex {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }
    .calc-card {
        flex: 0 0 160px;
        scroll-snap-align: start;
    }
}

@media (max-width: 1200px) {
    .side-frame {
        display: none;
    }
    .aura {
        filter: blur(100px);
        opacity: 0.3;
    }

    /* Hides the bubbles when the screen gets too tight */
    .ambient-bubbles-container {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 20px !important;
    }
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }
    h2.section-title {
        font-size: 2rem !important;
    }
    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .blur-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    .gst-note {
        bottom: 15px;
        right: 20px;
        font-size: 0.6rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .floating-cta {
        top: 20px;
        right: 20px;
        transform: translateY(-20px) scale(0.85);
    }
    .floating-cta.show {
        transform: translateY(0) scale(0.85);
    }
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
    body,
    a,
    button,
    input,
    .sample-row {
        cursor: auto !important;
    }
    .calc-top-row,
    .calc-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .rate-display {
        text-align: left;
    }
    #calc-order-btn {
        width: 100% !important;
    }
    .feature-card,
    .cta-button,
    .comparison-wrapper,
    .calculator-wrapper,
    .arsenal-card {
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 600px) {
    .audio-builder-card {
        padding: 30px 20px;
    }
    .custom-player-ui {
        padding: 8px 20px 8px 8px;
    }
    .mix-pill {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }
    .genre-tabs {
        flex-wrap: wrap;
    }
    .genre-tab {
        flex: 1;
        text-align: center;
        padding: 12px 10px;
    }
    .form-row {
        flex-direction: column;
        gap: 24px;
    }
}

/* =========================================
   13. BOTTOM ANNOUNCEMENT BAR
========================================= */
.announcement-bar {
    position: relative;
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, #0a0a0a 0%, #1a0a3a 50%, #0a0a0a 100%);
    border-top: 1px solid rgba(197, 157, 255, 0.15);
    border-bottom: 1px solid rgba(197, 157, 255, 0.15);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

.announcement-bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(270deg, #0a0a0a 10%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.announcement-icon-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    padding: 0 20px;
    background: linear-gradient(90deg, #050505 60%, transparent 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.announcement-icon-wrapper svg {
    width: 18px;
    height: 18px;
    animation: pulseMegaphone 2.5s infinite ease-in-out;
}

@keyframes pulseMegaphone {
    0% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 2px rgba(197, 157, 255, 0.4));
    }
    10% {
        transform: scale(1.15) rotate(-15deg);
        filter: drop-shadow(0 0 8px rgba(197, 157, 255, 1));
    }
    20% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 2px rgba(197, 157, 255, 0.4));
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.marquee-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-left: 50px;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scrollMarquee 25s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #cccccc;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding-right: 60px;
}

.marquee-content span strong {
    font-size: 0.8rem;
    letter-spacing: 2px;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-content span {
        font-size: 0.7rem;
    }
    .announcement-icon-wrapper {
        padding: 0 15px;
    }
}

/* =========================================
   14. INDIAN VOICES (AMBIENT NATIVE PARTICLES)
========================================= */
.indian-bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* No interaction needed */
}

.lang-bubble {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;

    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    opacity: 0;
    visibility: hidden;
    top: 50%;
    left: 50%;
    margin-top: -45px;
    margin-left: -45px;
    transform: scale(0) rotateZ(-90deg);

    /* Removed the heavy 20px blur entirely */

    transition:
        top 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        left 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s ease,
        filter 0.9s ease,
        visibility 0.6s ease;
    will-change: top, left, transform, filter, opacity;
}
/* Restored the Purple & White gradient */
.lang-bubble::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.7) 0%,
        #5424bb 40%,
        #c59dff 50%,
        #5424bb 60%,
        rgba(255, 255, 255, 0.7) 100%
    );
    background-size: 200% 100%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderShine 4s linear infinite;
    z-index: -1;
    display: block !important;
}

.lang-bubble h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 2px 10px rgba(197, 157, 255, 0.3);
}

/* =========================================
   EXPLOSION SCATTER MAP
========================================= */
.indian-bubbles-container.exploded .lang-bubble {
    opacity: 1;
    visibility: visible;
    /* Removed the 1px blur, leaving ONLY the ambient glow */
    filter: drop-shadow(0 0 10px rgba(197, 157, 255, 0.2));
}

/* Base Angles & Independent Floating */
.ind-1 {
    --thrown-angle: perspective(800px) rotateX(-15deg) rotateY(20deg)
        skew(-5deg, 5deg);
    animation: floatBubble 7s infinite alternate ease-in-out;
}
.ind-2 {
    --thrown-angle: perspective(800px) rotateX(10deg) rotateY(-25deg)
        skew(5deg, -5deg);
    animation: floatBubble 11s infinite alternate ease-in-out;
}
.ind-3 {
    --thrown-angle: perspective(800px) rotateX(20deg) rotateY(15deg)
        skew(8deg, -8deg);
    animation: floatBubble 9s infinite alternate ease-in-out;
}
.ind-4 {
    --thrown-angle: perspective(800px) rotateX(-10deg) rotateY(-20deg)
        skew(-5deg, -5deg);
    animation: floatBubble 13s infinite alternate ease-in-out;
}
.ind-5 {
    --thrown-angle: perspective(800px) rotateX(25deg) rotateY(10deg)
        skew(10deg, 0deg);
    animation: floatBubble 15s infinite alternate ease-in-out;
}
.ind-6 {
    --thrown-angle: perspective(800px) rotateX(-5deg) rotateY(-35deg)
        skew(0deg, 10deg);
    animation: floatBubble 8s infinite alternate ease-in-out;
}

/* Left Side Gutter */
.indian-bubbles-container.exploded .ind-1 {
    top: 10%;
    left: calc(0% - ((100vw - 1000px) / 4) + 10px);
    transform: var(--thrown-angle);
    transition-delay: 0s;
}
.indian-bubbles-container.exploded .ind-3 {
    top: 50%;
    left: calc(0% - ((100vw - 1000px) / 4) - 40px);
    transform: var(--thrown-angle);
    transition-delay: 0.1s;
}
.indian-bubbles-container.exploded .ind-5 {
    top: 85%;
    left: calc(0% - ((100vw - 1000px) / 4) + 20px);
    transform: var(--thrown-angle);
    transition-delay: 0.2s;
}

/* Right Side Gutter */
.indian-bubbles-container.exploded .ind-2 {
    top: 15%;
    left: calc(100% + ((100vw - 1000px) / 4) - 20px);
    transform: var(--thrown-angle);
    transition-delay: 0.05s;
}
.indian-bubbles-container.exploded .ind-4 {
    top: 45%;
    left: calc(100% + ((100vw - 1000px) / 4) + 30px);
    transform: var(--thrown-angle);
    transition-delay: 0.15s;
}
.indian-bubbles-container.exploded .ind-6 {
    top: 75%;
    left: calc(100% + ((100vw - 1000px) / 4) - 10px);
    transform: var(--thrown-angle);
    transition-delay: 0.25s;
}

/* =========================================
   15. TOAST NOTIFICATIONS
========================================= */
.toast-notification {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); /* Starts hidden below the screen */

    background: rgba(15, 5, 30, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 157, 255, 0.3);
    border-radius: 50px;
    padding: 15px 35px;

    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.8),
        inset 0 0 15px rgba(197, 157, 255, 0.1);
    z-index: 99999999;

    opacity: 0;
    visibility: hidden;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease,
        visibility 0.4s ease;
}

/* Slides up into view */
.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-sending {
    animation: toastPulse 1s infinite alternate ease-in-out;
}
@keyframes toastPulse {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 30px;
}

.trust-badge {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(197, 157, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
}
.floating-cta.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-cta {
    top: 20px;
    right: 20px;
    transform: translateY(-20px) scale(0.85);
}
.floating-cta.show {
    transform: translateY(0) scale(0.85);
}

.floating-cta {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s ease;
}

.floating-cta.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
