:root {
    /* Authentic Discord & Developer Slate Design Tokens */
    --discord-brand: #5865F2;
    --discord-brand-hover: #4752C4;
    --discord-green: #23A55A;
    --discord-yellow: #F0B232;
    --discord-red: #DA373C;
    
    /* Background Levels (Official Discord Desktop Client Theme) */
    --bg-app: #0B0C0E;
    --bg-secondary: #141619;
    --bg-tertiary: #1E2024;
    --bg-floating: #272A30;
    --bg-modifier-hover: rgba(255, 255, 255, 0.04);
    --bg-modifier-active: rgba(255, 255, 255, 0.08);
    --bg-modifier-selected: rgba(88, 101, 242, 0.12);
    
    /* Borders & Dividers */
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-default: rgba(255, 255, 255, 0.12);
    --border-focus: #5865F2;
    
    /* Text Colors */
    --text-normal: #C4C9D0;
    --text-muted: #8A929B;
    --text-header: #FFFFFF;
    --text-link: #5865F2;
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-dropdown: 0 8px 32px rgba(0, 0, 0, 0.5);
    --mobile-header-height: calc(64px + env(safe-area-inset-top, 0px));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: #06070a !important;
    color: var(--text-normal);
    min-height: 100vh;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.app-wrapper {
    position: relative;
    min-height: 100vh;
    background: transparent;
}

#main-view {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    background: transparent;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #1e2024;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2b2d33;
}

/* Top Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 2.5rem;
    background: rgba(12, 14, 20, 0.78) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-header);
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--discord-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.1rem;
    box-shadow: 0 0 16px rgba(88, 101, 242, 0.35);
}

.brand-icon-logo {
    position: relative;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-icon-logo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    transform: scale(1.08);
    transform-origin: center;
    filter: drop-shadow(0 0 7px rgba(111, 91, 255, 0.58));
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    background: rgba(88, 101, 242, 0.15);
    color: var(--discord-brand);
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

/* Landing entrance — short, staggered and GPU-friendly. */
@keyframes landingCanvasReveal {
    from { opacity: 0; transform: scale(1.025); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes landingNavReveal {
    from { opacity: 0; transform: translate3d(0, -18px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes landingContentReveal {
    from { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(7px); }
    to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

@keyframes landingLogoReveal {
    0% { opacity: 0; transform: scale(.7) rotate(-10deg); }
    70% { opacity: 1; transform: scale(1.12) rotate(2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

.global-cosmic-canvas {
    animation: landingCanvasReveal 1.15s cubic-bezier(.2, .75, .25, 1) both;
}

.landing-navbar {
    animation: landingNavReveal .58s cubic-bezier(.2, .75, .25, 1) both;
}

.landing-navbar .brand-icon-logo {
    animation: landingLogoReveal .72s .08s cubic-bezier(.2, .85, .25, 1.15) both;
}

.landing-main .hero-launch-pill,
.landing-main .hero-title-enterprise,
.landing-main .hero-desc-enterprise,
.landing-main .hero-actions-enterprise,
.landing-main .hero-stats-section {
    animation: landingContentReveal .68s cubic-bezier(.2, .75, .25, 1) both;
}

.landing-main .hero-launch-pill { animation-delay: .08s; }
.landing-main .hero-title-enterprise { animation-delay: .17s; }
.landing-main .hero-desc-enterprise { animation-delay: .29s; }
.landing-main .hero-actions-enterprise { animation-delay: .4s; }
.landing-main .hero-stats-section { animation-delay: .52s; }

.mobile-swipe-hint {
    display: none;
}

.landing-scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
        opacity .58s cubic-bezier(.2, .75, .25, 1),
        transform .58s cubic-bezier(.2, .75, .25, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.landing-scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@keyframes studioPanelIn {
    from { opacity: 0; transform: translate3d(14px, 8px, 0) scale(.992); filter: blur(5px); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.studio-tab-content > * {
    animation: studioPanelIn .32s cubic-bezier(.2, .75, .25, 1) both;
}

.studio-tab-content > :nth-child(2) {
    animation-delay: 45ms;
}

@media (min-width: 681px) {
    .studio-tab-content {
        transform-origin: 50% 45%;
        transition:
            opacity .17s ease,
            transform .17s ease,
            filter .17s ease;
    }

    .studio-tab-content.is-leaving {
        opacity: 0;
        transform: translate3d(-10px, 0, 0) scale(.994);
        filter: blur(4px);
    }

    .studio-tab-btn {
        position: relative;
        border-bottom-color: transparent;
        transition: color .24s ease, background-color .24s ease, transform .24s ease;
    }

    .studio-tab-btn::after {
        content: '';
        position: absolute;
        right: 0.9rem;
        bottom: -1px;
        left: 0.9rem;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, #7c86ff, #aab0ff);
        box-shadow: 0 0 12px rgba(88, 101, 242, .65);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .28s cubic-bezier(.2, .75, .25, 1);
    }

    .studio-tab-btn:hover {
        transform: translateY(-1px);
    }

    .studio-tab-btn.active::after {
        transform: scaleX(1);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--text-header);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--discord-brand);
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.3);
}

.btn-primary:hover {
    background: var(--discord-brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-header);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: rgba(218, 55, 60, 0.12);
    color: #E06C75;
    border: 1px solid rgba(218, 55, 60, 0.25);
}

.btn-danger:hover {
    background: #DA373C;
    color: #FFFFFF;
    border-color: #DA373C;
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
}

/* Enterprise Layout Container */
.enterprise-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================================
   GLOBAL COSMIC ORBITAL BACKGROUND & 3D FLOATING SCENE
   ============================================================ */

.global-cosmic-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none !important;
    z-index: 0;
    overflow: hidden;
    background-color: #06070a;
}

.global-cosmic-canvas * {
    pointer-events: none !important;
}

/* Cosmic Hero Container */
.hero-enterprise {
    position: relative;
    padding: 6.5rem 0 4.5rem;
    text-align: center;
    overflow: hidden;
    background: transparent;
    min-height: 840px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Ambient Glow Nebulas */
.hero-glow-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-glow-top {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse 65% 50% at 50% 30%, rgba(88, 101, 242, 0.18) 0%, rgba(88, 101, 242, 0.04) 55%, transparent 75%);
    filter: blur(40px);
}

.hero-glow-left {
    position: absolute;
    top: 25%;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.12) 0%, rgba(71, 82, 196, 0.03) 50%, transparent 70%);
    filter: blur(60px);
}

.hero-glow-right {
    position: absolute;
    top: 35%;
    right: -100px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(120, 90, 240, 0.13) 0%, rgba(88, 101, 242, 0.04) 50%, transparent 70%);
    filter: blur(60px);
}

.hero-glow-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 250px;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(88, 101, 242, 0.06) 0%, transparent 70%);
    filter: blur(30px);
}

/* Orbital Rings System */
.orbital-system {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1800px;
    height: 1200px;
    pointer-events: none;
    z-index: 1;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
}

/* Ring 1 - Inner */
.orbit-ring-1 {
    width: 620px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translate(-50%, -50%) rotate(-6deg);
}

/* Ring 2 - Middle */
.orbit-ring-2 {
    width: 980px;
    height: 600px;
    border: 1px solid rgba(88, 101, 242, 0.09);
    transform: translate(-50%, -50%) rotate(-6deg);
}

/* Ring 3 - Outer */
.orbit-ring-3 {
    width: 1380px;
    height: 840px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    transform: translate(-50%, -50%) rotate(-6deg);
}

/* Ring 4 - Far */
.orbit-ring-4 {
    width: 1780px;
    height: 1080px;
    border: 1px solid rgba(88, 101, 242, 0.03);
    transform: translate(-50%, -50%) rotate(-6deg);
}

/* Orbit Nodes (Glowing Celestial Dots) */
.orbit-node {
    position: absolute;
    border-radius: 50%;
    background: #5865F2;
    box-shadow: 0 0 10px #5865F2, 0 0 20px rgba(88, 101, 242, 0.8), 0 0 35px rgba(88, 101, 242, 0.5);
    animation: pulseNodeGlow 3.5s ease-in-out infinite alternate;
}

.node-1 {
    width: 6px;
    height: 6px;
    top: 24%;
    left: 88%;
    background: #5865F2;
}

.node-2 {
    width: 7px;
    height: 7px;
    top: 48%;
    left: 3%;
    background: #5865F2;
    box-shadow: 0 0 12px #5865F2, 0 0 24px rgba(88, 101, 242, 0.9);
}

.node-3 {
    width: 6px;
    height: 6px;
    top: 14%;
    left: 78%;
    background: #7983F5;
}

.node-4 {
    width: 5px;
    height: 5px;
    top: 76%;
    left: 18%;
    background: #5865F2;
}

.node-5 {
    width: 6px;
    height: 6px;
    top: 86%;
    left: 82%;
    background: #5865F2;
}

/* Sparkling Stars ✦ */
.orbit-sparkle {
    position: absolute;
    color: #8EA1E1;
    font-size: 1.1rem;
    line-height: 1;
    text-shadow: 0 0 8px #5865F2, 0 0 16px rgba(88, 101, 242, 0.8);
    animation: sparkleTwinkle 4s ease-in-out infinite;
    user-select: none;
}

.sparkle-1 {
    top: 28%;
    left: 87%;
    animation-delay: 0.5s;
}

.sparkle-2 {
    top: 52%;
    left: 3.5%;
    font-size: 0.9rem;
    animation-delay: 1.8s;
}

.sparkle-3 {
    top: 8%;
    left: 22%;
    font-size: 1rem;
    animation-delay: 2.7s;
}

/* ============================================================
   FLOATING 3D ELEMENTS SCENE (MATCHING REFERENCE IMAGE)
   ============================================================ */

.floating-3d-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.float-3d-item {
    position: absolute;
    pointer-events: auto;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Top-Left: Floating Glass Discord Orb */
.float-tl {
    top: 12%;
    left: 13%;
    animation: floatGentleTL 7s ease-in-out infinite;
}

.glass-orb-discord {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(88, 101, 242, 0.45) 0%, rgba(20, 24, 38, 0.85) 80%);
    border: 1px solid rgba(88, 101, 242, 0.35);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(88, 101, 242, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    transform: rotate(-12deg);
}

/* Middle-Left: Floating Glass Document / Code Card */
.float-ml {
    top: 48%;
    left: 7%;
    animation: floatGentleML 8s ease-in-out infinite;
}

.glass-doc-card {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 34, 45, 0.9) 0%, rgba(15, 17, 24, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #949BA4;
    font-size: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(88, 101, 242, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transform: perspective(600px) rotateY(16deg) rotateX(10deg) rotateZ(-12deg);
}

/* Bottom-Left: Giant 3D Discord Badge */
.float-bl {
    bottom: 2%;
    left: 0.5%;
    animation: floatBobBL 9s ease-in-out infinite;
}

.giant-discord-3d {
    font-size: 6.5rem;
    color: #5865F2;
    opacity: 0.85;
    filter: drop-shadow(0 25px 45px rgba(88, 101, 242, 0.45)) drop-shadow(0 0 80px rgba(88, 101, 242, 0.3));
    transform: perspective(700px) rotateY(20deg) rotateX(12deg) rotateZ(-16deg);
    transition: transform 0.4s ease;
}

/* Top-Right: Floating Green Action / Terminal Badge */
.float-tr {
    top: 13%;
    right: 12%;
    animation: floatGentleTR 7.5s ease-in-out infinite;
}

.glass-action-card {
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(28, 32, 42, 0.9) 0%, rgba(14, 16, 22, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #57F287;
    font-size: 1.15rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(87, 242, 135, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transform: perspective(600px) rotateY(-14deg) rotateX(8deg) rotateZ(8deg);
}

.action-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #57F287;
    box-shadow: 0 0 8px #57F287;
}

/* Bottom-Right: 3D Discord Badge + Glass Discord Chat Card Preview */
.float-br {
    bottom: -2%;
    right: 1.5%;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    animation: floatBobBR 8.5s ease-in-out infinite;
}

.br-discord-badge {
    font-size: 4.8rem;
    color: #5865F2;
    filter: drop-shadow(0 20px 35px rgba(88, 101, 242, 0.45));
    transform: perspective(600px) rotateY(-18deg) rotateX(8deg) rotateZ(6deg);
    margin-bottom: 25px;
}

.br-chat-card {
    width: 220px;
    background: rgba(18, 20, 26, 0.88);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 14px;
    backdrop-filter: blur(16px);
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(88, 101, 242, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transform: perspective(900px) rotateY(-14deg) rotateX(8deg) rotateZ(2deg);
}

.chat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 10px;
}

.chat-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #57F287;
    box-shadow: 0 0 6px #57F287;
}

.chat-header-bar {
    width: 70px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
}

.chat-header-dots {
    display: flex;
    gap: 3px;
}

.chat-header-dots span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.chat-card-body {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.chat-avatar {
    position: relative;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865F2 0%, #3B44B8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.avatar-online-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #23A55A;
    border: 2px solid #141619;
}

.chat-bubbles {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-line {
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.16);
}

.chat-line.line-1 {
    width: 85%;
    background: rgba(88, 101, 242, 0.35);
}

.chat-line.line-2 {
    width: 60%;
}

/* ============================================================
   HERO CENTER CONTENT (MATCHING EXACT SCREENSHOT)
   ============================================================ */

.hero-content-wrap {
    position: relative;
    z-index: 5;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Centered Launch Promo Pill */
.hero-launch-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 4px 14px 4px 6px;
    background: rgba(18, 20, 32, 0.85);
    border: 1px solid rgba(88, 101, 242, 0.38);
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(88, 101, 242, 0.18);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.pill-badge {
    background: #5865F2;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 100px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.pill-text {
    font-size: 0.82rem;
    color: #DBDEE1;
}

.pill-text strong {
    color: #FFFFFF;
    font-weight: 700;
}

.pill-code {
    background: rgba(0, 0, 0, 0.45);
    color: #FFFFFF;
    padding: 2px 7px;
    border-radius: 5px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main Hero Title */
.hero-title-enterprise {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4.6vw, 3.85rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -1.2px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-title-enterprise span {
    background: linear-gradient(135deg, #8EA1E1 0%, #B5C2F7 45%, #FFFFFF 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Hero Description */
.hero-desc-enterprise {
    font-size: 1.1rem;
    color: #949BA4;
    max-width: 780px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
    text-align: center;
    font-weight: 400;
}

/* Hero CTA Buttons */
.hero-actions-enterprise {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #5865F2;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.85rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.45), 0 0 10px rgba(88, 101, 242, 0.25);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-hero-primary:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(88, 101, 242, 0.6), 0 0 18px rgba(88, 101, 242, 0.4);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(28, 30, 38, 0.7);
    color: #F2F3F5;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.85rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-hero-secondary:hover {
    background: rgba(40, 43, 54, 0.9);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   REAL-TIME PERFORMANCE & TRUST METRICS BAR
   ============================================================ */

.hero-stats-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-stats-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #6D737B;
    margin-bottom: 1.25rem;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.75rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: #C4C9D0;
    letter-spacing: -0.1px;
}

.hero-stat-item i {
    font-size: 0.95rem;
}

/* Keyframe Animations */
@keyframes pulseNodeGlow {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
        box-shadow: 0 0 8px #5865F2, 0 0 16px rgba(88, 101, 242, 0.6);
    }
    100% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 14px #5865F2, 0 0 28px rgba(88, 101, 242, 0.95), 0 0 45px rgba(88, 101, 242, 0.6);
    }
}

@keyframes sparkleTwinkle {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        text-shadow: 0 0 12px #5865F2, 0 0 24px rgba(88, 101, 242, 1);
    }
}

@keyframes floatGentleTL {
    0%, 100% {
        transform: translateY(0) rotate(-12deg);
    }
    50% {
        transform: translateY(-14px) rotate(-8deg);
    }
}

@keyframes floatGentleML {
    0%, 100% {
        transform: perspective(600px) rotateY(16deg) rotateX(10deg) rotateZ(-12deg) translateY(0);
    }
    50% {
        transform: perspective(600px) rotateY(12deg) rotateX(6deg) rotateZ(-8deg) translateY(12px);
    }
}

@keyframes floatBobBL {
    0%, 100% {
        transform: perspective(700px) rotateY(20deg) rotateX(12deg) rotateZ(-16deg) translateY(0);
    }
    50% {
        transform: perspective(700px) rotateY(16deg) rotateX(8deg) rotateZ(-12deg) translateY(-18px);
    }
}

@keyframes floatGentleTR {
    0%, 100% {
        transform: perspective(600px) rotateY(-14deg) rotateX(8deg) rotateZ(8deg) translateY(0);
    }
    50% {
        transform: perspective(600px) rotateY(-10deg) rotateX(4deg) rotateZ(12deg) translateY(-12px);
    }
}

@keyframes floatBobBR {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .giant-discord-3d {
        font-size: 5rem;
    }
    .float-br {
        right: -20px;
    }
    .br-chat-card {
        width: 180px;
    }
}

@media (max-width: 860px) {
    .floating-3d-scene {
        opacity: 0.45;
    }
    .hero-stats-row {
        gap: 1.5rem;
    }
    .orbit-ring-3, .orbit-ring-4 {
        display: none;
    }
}

@media (max-width: 580px) {
    .floating-3d-scene {
        display: none;
    }
    .hero-enterprise {
        padding: 4.5rem 0 3rem;
        min-height: auto;
    }
}

/* ============================================================
   COSMIC DASHBOARD PAGE & GLASS GUILD CARDS
   ============================================================ */

.cosmic-dashboard-page {
    position: relative;
    min-height: calc(100vh - 65px);
    background: transparent !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dash-section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 3px 10px;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #9AA4F8;
    margin-bottom: 0.75rem;
}

.guild-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.guild-card-glass {
    position: relative;
    background: rgba(18, 20, 28, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.guild-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.guild-card-glass:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(88, 101, 242, 0.22);
}

.guild-avatar-wrap {
    position: relative;
    margin-bottom: 1.15rem;
}

.guild-avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    transition: transform 0.25s ease;
}

.guild-card-glass:hover .guild-avatar-img {
    transform: scale(1.05);
    border-color: #5865F2;
}

.guild-avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2B2D31 0%, #1E1F22 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease;
}

.guild-card-glass:hover .guild-avatar-placeholder {
    transform: scale(1.05);
    border-color: #5865F2;
}

.guild-title-heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.35rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guild-meta-info {
    color: #949BA4;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.guild-plan-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 1.35rem;
    text-transform: uppercase;
}

.guild-plan-pro {
    background: rgba(88, 101, 242, 0.18);
    color: #8EA1E1;
    border: 1px solid rgba(88, 101, 242, 0.45);
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.15);
}

.guild-plan-standard {
    background: rgba(255, 255, 255, 0.05);
    color: #8A929B;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   ADVANCED OVERVIEW DASHBOARD & REAL-TIME ANALYTICS SUITE
   ============================================================ */

.overview-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.overview-main-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
}

.overview-sub-desc {
    color: #949BA4;
    font-size: 0.88rem;
}

.overview-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Sub-tabs Filter Bar */
.overview-subtabs-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
    margin-bottom: 1.75rem;
    overflow-x: auto;
}

.overview-subtab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #949BA4;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.overview-subtab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.04);
}

.overview-subtab-btn.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid var(--discord-brand);
}

/* Big Hero Summary Banner */
.overview-hero-card {
    background: linear-gradient(135deg, rgba(22, 26, 36, 0.9) 0%, rgba(14, 16, 23, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.overview-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.overview-hero-left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.overview-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #23A55A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-live-tag i {
    font-size: 0.45rem;
}

.overview-server-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.overview-speaker-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865F2;
    font-size: 1rem;
}

.overview-server-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.overview-server-title h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.3px;
}

.badge-pro-tag {
    font-size: 0.65rem;
    font-weight: 800;
    background: #5865F2;
    color: #FFFFFF;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.overview-hero-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.icon-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #949BA4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.icon-action-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.overview-stats-grid-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.overview-stat-col {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-num-val {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
}

.stat-val-green {
    color: #23A55A;
}

.stat-label-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: #949BA4;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* Charts Grid System */
.overview-charts-grid-row {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.charts-row-1 {
    grid-template-columns: 260px 1fr 1.35fr;
}

.charts-row-2 {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 1200px) {
    .charts-row-1 {
        grid-template-columns: 1fr 1fr;
    }
    .charts-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .charts-row-1 {
        grid-template-columns: 1fr;
    }
}

/* Chart Cards */
.analytics-card {
    background: rgba(18, 20, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem;
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.analytics-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.analytics-card-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-filter-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #C4C9D0;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 8px;
    cursor: pointer;
}

.chart-filter-select:focus {
    outline: none;
    border-color: var(--discord-brand);
}

.metric-pill-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
}

.metric-pill-green {
    background: rgba(35, 165, 90, 0.15);
    color: #23A55A;
}

/* SVG Chart Styles */
.svg-chart-container {
    width: 100%;
    height: 100%;
    min-height: 150px;
    position: relative;
}

.chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-grid-line {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-dasharray: 4 4;
}

.chart-axis-label {
    fill: #6D737B;
    font-size: 10px;
    font-family: var(--font-body);
}

/* Bento Grid */
.bento-section {
    padding: 4.5rem 0;
}

.section-header-enterprise {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--discord-brand);
    margin-bottom: 0.4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    margin-bottom: 0.6rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: rgba(18, 20, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(14px);
    transition: all 0.2s ease;
}

.bento-card:hover {
    border-color: rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.bento-col-2 {
    grid-column: span 2;
}

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--discord-brand);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Interactive Product Studio Tabs */
.studio-preview-box {
    background: rgba(18, 20, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 1.5rem;
    backdrop-filter: blur(14px);
}

.studio-nav-bar {
    display: flex;
    background: rgba(10, 12, 18, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
}

.studio-tab-btn {
    padding: 0.9rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.15s ease;
}

.studio-tab-btn:hover {
    color: var(--text-header);
}

.studio-tab-btn.active {
    color: #FFFFFF;
    background: rgba(88, 101, 242, 0.15);
    border-bottom-color: var(--discord-brand);
}

.studio-tab-content {
    padding: 2.25rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: center;
}

/* Pricing Grid Enterprise */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-card {
    background: rgba(18, 20, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    backdrop-filter: blur(14px);
    transition: all 0.2s ease;
}

.pricing-card.featured {
    border-color: var(--discord-brand);
    background: linear-gradient(180deg, rgba(88, 101, 242, 0.15) 0%, rgba(18, 20, 28, 0.85) 100%);
    box-shadow: 0 0 24px rgba(88, 101, 242, 0.25);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--discord-brand);
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 4px;
}

.pricing-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 1rem 0 0.25rem;
}

.pricing-price span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin: 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-features li {
    font-size: 0.88rem;
    color: var(--text-normal);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.pricing-features li i {
    color: var(--discord-green);
    font-size: 0.85rem;
}

/* Enterprise Footer */
.footer-enterprise {
    background: rgba(10, 12, 18, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    backdrop-filter: blur(16px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-header);
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: var(--text-header);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

/* Panels & Studio Dashboard */
.panel {
    background: rgba(18, 20, 28, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(14px);
}

.panel-header {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-header);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-header);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-input,
.form-textarea,
.form-select,
textarea,
select,
input[type="text"],
input[type="number"],
input[type="url"],
input[type="password"] {
    width: 100%;
    padding: 0.65rem 0.9rem;
    background: var(--bg-app);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    color: var(--text-header);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.form-textarea,
textarea {
    min-height: 85px;
    resize: vertical;
    line-height: 1.5;
    background: var(--bg-app);
    color: #FFFFFF;
}

.form-select,
select {
    cursor: pointer;
    background: var(--bg-app);
    color: #FFFFFF;
}

.form-select option,
select option {
    background: #141619;
    color: #FFFFFF;
    padding: 0.5rem;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus,
textarea:focus,
select:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.18);
}

/* Tables */
.clean-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.clean-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid var(--border-subtle);
}

.clean-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-normal);
}

.clean-table tr:hover td {
    background: var(--bg-modifier-hover);
}

/* Studio Layout with Cosmic Ambient Glow */
.studio-layout {
    position: relative;
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: calc(100vh - 65px);
    background: transparent !important;
    overflow: hidden;
}

.studio-layout > .hero-glow-layer,
.studio-layout > .orbital-system,
.studio-layout > .floating-3d-scene {
    position: absolute;
    inset: 0;
    pointer-events: none !important;
    z-index: 1;
}

.studio-layout > .sidebar {
    position: relative;
    z-index: 10;
    grid-column: 1;
    background: rgba(12, 14, 20, 0.86) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0.85rem;
    height: calc(100vh - 65px);
    overflow-y: auto;
}

.studio-layout > .content-area-main {
    position: relative;
    z-index: 5;
    grid-column: 2;
    background: transparent !important;
    padding: 2.5rem 3rem;
    overflow-y: auto;
    min-height: calc(100vh - 65px);
}

.sidebar-guild-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.6rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
}

.sidebar-guild-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(88, 101, 242, 0.4);
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.25);
    object-fit: cover;
}

.sidebar-category {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #6D737B;
    letter-spacing: 0.8px;
    padding: 0.85rem 0.6rem 0.4rem;
}

.sidebar-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    color: #949BA4;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-bottom: 2px;
}

.sidebar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    transform: translateX(2px);
}

.sidebar-nav-btn.active {
    background: linear-gradient(90deg, rgba(88, 101, 242, 0.25) 0%, rgba(88, 101, 242, 0.06) 100%);
    color: #FFFFFF;
    font-weight: 700;
    border-left: 3px solid var(--discord-brand);
    box-shadow: inset 0 0 12px rgba(88, 101, 242, 0.15);
}

.sidebar-nav-btn i {
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

/* Content Main with Ambient Radial Nebulas */
.content-area-main {
    padding: 2.5rem 3rem;
    background: radial-gradient(circle 800px at 70% 10%, rgba(88, 101, 242, 0.09) 0%, transparent 70%),
                radial-gradient(circle 600px at 20% 80%, rgba(35, 165, 90, 0.04) 0%, transparent 70%),
                #06070a;
    overflow-y: auto;
    min-height: calc(100vh - 65px);
    position: relative;
}

/* Switch & Toggles */
.switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #313338;
    transition: .2s;
    border-radius: 24px;
}

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

input:checked + .toggle-slider {
    background-color: var(--discord-brand);
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10000;
}

.toast-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    color: var(--text-header);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-dropdown);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-col-2 {
        grid-column: span 1;
    }
    .studio-tab-content {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .studio-layout {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   Discord Embed Builder & Live Preview System
   ======================================================== */
.discord-msg-preview-container {
    background: #313338;
    border: 1px solid #2B2D31;
    border-radius: 8px;
    padding: 1.25rem;
    font-family: 'Inter', sans-serif;
}

.discord-msg-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.discord-bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.discord-bot-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #F2F3F5;
}

.discord-bot-badge {
    background: #5865F2;
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.discord-msg-timestamp {
    font-size: 0.75rem;
    color: #949BA4;
}

.discord-embed-card {
    background: #2B2D31;
    border-left: 4px solid #5865F2;
    border-radius: 4px;
    padding: 1rem;
    max-width: 520px;
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
}

.discord-embed-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #F2F3F5;
}

.discord-embed-author img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.discord-embed-title {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.35;
}

.discord-embed-description {
    font-size: 0.88rem;
    color: #DBDEE1;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.discord-embed-thumb {
    position: absolute;
    top: 1rem;
    right: 1rem;
    max-width: 80px;
    max-height: 80px;
    border-radius: 4px;
    object-fit: cover;
}

.discord-embed-banner {
    width: 100%;
    max-height: 280px;
    border-radius: 4px;
    object-fit: cover;
    margin-top: 0.4rem;
}

.discord-embed-footer {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    color: #949BA4;
    margin-top: 0.2rem;
}

.discord-embed-footer img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.discord-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    max-width: 520px;
}

.discord-interactive-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.1s ease;
}

.discord-interactive-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.discord-interactive-btn.primary {
    background-color: #5865F2;
}

.discord-interactive-btn.success {
    background-color: #248046;
}

.discord-interactive-btn.secondary {
    background-color: #4E5058;
}

.discord-interactive-btn.danger {
    background-color: #DA373C;
}

.color-presets-row {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-top: 0.4rem;
}

.color-preset-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.color-preset-dot:hover {
    transform: scale(1.2);
    border-color: #FFFFFF;
}

/* ====================================================
   Modern Music & Radio Player Suite
==================================================== */
.music-studio-player {
    background: linear-gradient(135deg, rgba(20, 22, 25, 0.95) 0%, rgba(30, 32, 38, 0.9) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.music-player-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.music-artwork-box {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.music-artwork-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.music-artwork-box:hover .music-artwork-img {
    transform: scale(1.05);
}

/* Equalizer Bars Animation */
.music-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}

.eq-bar {
    width: 3px;
    background: var(--discord-brand);
    border-radius: 2px;
    animation: equalize 1s infinite alternate ease-in-out;
}

.eq-bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 80%; animation-delay: 0.4s; }

@keyframes equalize {
    0% { height: 20%; }
    100% { height: 100%; }
}

/* Radio Stations Grid */
.radio-station-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    position: relative;
}

.radio-station-card:hover {
    border-color: rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.radio-station-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(35, 165, 90, 0.15);
    color: var(--discord-green);
}

.radio-genre-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid var(--border-subtle);
}

/* ====================================================
   Master Console — Finance, CRM & Operations
==================================================== */
.master-console { padding-bottom: 4rem; }

.master-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(88, 101, 242, 0.32);
    border-radius: 16px;
    background: radial-gradient(circle at 85% 10%, rgba(88, 101, 242, 0.22), transparent 38%), linear-gradient(135deg, rgba(22, 24, 31, 0.98), rgba(12, 14, 20, 0.98));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.master-eyebrow, .master-page-header > div > span, .master-section-heading > div > span, .master-modal-title > div > span {
    color: #8f98ff;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.master-hero h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.35rem); margin: 0.55rem 0 0.4rem; }
.master-hero p, .master-page-header p { color: var(--text-muted); margin: 0; max-width: 760px; line-height: 1.6; }
.master-health-pill { display:flex; align-items:center; gap:.55rem; white-space:nowrap; color:#b5f5ca; background:rgba(35,165,90,.1); border:1px solid rgba(35,165,90,.28); padding:.65rem .9rem; border-radius:100px; font-size:.78rem; font-weight:700; }
.master-health-pill span { width:8px; height:8px; background:#23A55A; border-radius:50%; box-shadow:0 0 0 5px rgba(35,165,90,.12); }
.master-health-pill.offline { color:#ffd6d9; background:rgba(237,66,69,.1); border-color:rgba(237,66,69,.32); }
.master-health-pill.offline span { background:#ED4245; box-shadow:0 0 0 5px rgba(237,66,69,.12); }

.master-kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin-bottom:1.5rem; }
.master-kpi { display:flex; align-items:center; gap:1rem; min-height:118px; padding:1.2rem; background:linear-gradient(145deg,rgba(28,30,37,.96),rgba(17,19,24,.96)); border:1px solid var(--border-subtle); border-radius:14px; }
.master-kpi-icon { width:46px; height:46px; border-radius:12px; display:grid; place-items:center; font-size:1.1rem; flex:0 0 auto; }
.master-kpi.purple .master-kpi-icon { background:rgba(139,92,246,.15); color:#a78bfa; }
.master-kpi.green .master-kpi-icon { background:rgba(35,165,90,.15); color:#57F287; }
.master-kpi.red .master-kpi-icon { background:rgba(237,66,69,.14); color:#ff7477; }
.master-kpi.blue .master-kpi-icon { background:rgba(88,101,242,.16); color:#818cf8; }
.master-kpi span { display:block; color:var(--text-muted); text-transform:uppercase; font-size:.68rem; letter-spacing:.08em; font-weight:700; }
.master-kpi strong { display:block; color:#fff; font-size:1.65rem; line-height:1.2; margin:.2rem 0; }
.master-kpi small { color:var(--text-muted); }

.master-quick-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.85rem; margin-bottom:1.2rem; }
.master-quick-actions button { display:flex; align-items:center; gap:.8rem; text-align:left; color:var(--text-normal); background:rgba(24,26,32,.9); border:1px solid var(--border-subtle); border-radius:12px; padding:1rem; cursor:pointer; transition:.18s ease; }
.master-quick-actions button:hover { border-color:rgba(88,101,242,.55); transform:translateY(-2px); background:rgba(88,101,242,.08); }
.master-quick-actions i { display:grid; place-items:center; width:38px; height:38px; border-radius:10px; color:#a5adff; background:rgba(88,101,242,.14); }
.master-quick-actions strong, .master-quick-actions small { display:block; }
.master-quick-actions small { color:var(--text-muted); margin-top:.15rem; }

.master-dashboard-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.master-span-2 { grid-column:span 2; }
.master-section-card { border-radius:14px !important; padding:1.25rem !important; overflow:hidden; }
.master-section-heading, .master-page-header { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1.15rem; }
.master-section-heading h3, .master-page-header h2 { color:#fff; margin:.25rem 0 0; }
.master-page-header { padding:1rem 0 .4rem; }
.master-page-header h2 { font-size:1.7rem; }
.master-count-badge { display:grid; place-items:center; min-width:34px; height:34px; border-radius:10px; background:rgba(237,66,69,.14); color:#ff7477; font-weight:800; }

.master-table-wrap { width:100%; overflow-x:auto; }
.master-table td small { display:block; color:var(--text-muted); margin-top:.25rem; }
.master-empty { text-align:center !important; color:var(--text-muted) !important; padding:2.2rem !important; }
.master-empty.compact { display:flex; flex-direction:column; align-items:center; gap:.55rem; padding:1.5rem !important; }
.master-empty.compact i { color:#57F287; font-size:1.35rem; }
.master-status { display:inline-flex; padding:.3rem .55rem; border-radius:100px; font-size:.7rem; font-weight:800; white-space:nowrap; }
.master-status.success { color:#57F287; background:rgba(35,165,90,.12); border:1px solid rgba(35,165,90,.25); }
.master-status.warning { color:#FEE75C; background:rgba(254,231,92,.09); border:1px solid rgba(254,231,92,.22); }
.master-status.danger { color:#ff7477; background:rgba(237,66,69,.1); border:1px solid rgba(237,66,69,.23); }

.master-refund-list article, .master-payment-list > div, .master-system-list > div { display:flex; justify-content:space-between; gap:1rem; padding:.8rem 0; border-bottom:1px solid var(--border-subtle); }
.master-refund-list article:last-child, .master-payment-list > div:last-child, .master-system-list > div:last-child { border-bottom:0; }
.master-refund-list strong, .master-refund-list small { display:block; }
.master-refund-list small { color:var(--text-muted); max-width:280px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-top:.2rem; }
.master-refund-list article > span { color:#ff9a9c; font-weight:800; }
.master-plan-bars > div { margin-bottom:1rem; }
.master-plan-bars > div > div:first-child { display:flex; justify-content:space-between; margin-bottom:.4rem; }
.master-progress { height:7px; background:rgba(255,255,255,.06); border-radius:10px; overflow:hidden; }
.master-progress span { display:block; height:100%; background:linear-gradient(90deg,#5865F2,#9f7aea); border-radius:inherit; }
.master-payment-list span { display:flex; align-items:center; gap:.55rem; }
.master-payment-list i { color:#8f98ff; }
.master-system-list strong.online { color:#57F287; }

.master-pending-zone { border:1px solid rgba(254,231,92,.22) !important; background:linear-gradient(135deg,rgba(254,231,92,.05),rgba(20,22,27,.96)) !important; margin-bottom:1rem; }
.master-refund-approval-grid { display:grid; gap:.7rem; }
.master-refund-approval-grid article { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1rem; padding:1rem; border:1px solid var(--border-subtle); background:rgba(10,12,16,.48); border-radius:10px; }
.master-refund-approval-grid small { display:block; color:var(--text-muted); margin-top:.2rem; }
.master-refund-approval-grid p { margin:.45rem 0 0; color:var(--text-normal); }
.master-refund-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:11px; color:#ff8588; background:rgba(237,66,69,.12); }
.master-refund-actions { text-align:right; }
.master-refund-actions > strong { display:block; color:#fff; font-size:1.1rem; margin-bottom:.5rem; }
.master-refund-actions > div { display:flex; gap:.4rem; }

.master-orders-toolbar { display:flex; justify-content:space-between; gap:.8rem; margin-bottom:1rem; }
.master-search { flex:1; position:relative; }
.master-search i { position:absolute; left:1rem; top:50%; transform:translateY(-50%); color:var(--text-muted); }
.master-search input { width:100%; height:42px; padding:0 1rem 0 2.7rem; background:var(--bg-app); border:1px solid var(--border-subtle); border-radius:8px; color:#fff; }
.master-orders-toolbar select { width:220px; margin:0; }

.modal-overlay { position:fixed; inset:0; z-index:10000; display:grid; place-items:center; padding:1rem; background:rgba(3,5,9,.78); backdrop-filter:blur(8px); }
.master-refund-modal-card { width:min(620px,100%); max-height:92vh; overflow:auto; border-radius:16px !important; padding:1.4rem !important; box-shadow:0 30px 100px rgba(0,0,0,.5); }
.master-modal-title { display:flex; align-items:center; gap:.8rem; margin-bottom:1.2rem; }
.master-modal-title h3 { color:#fff; margin:.2rem 0 0; }
.master-modal-title > button { margin-left:auto; width:34px; height:34px; border:0; border-radius:8px; background:var(--bg-tertiary); color:var(--text-muted); cursor:pointer; }
.master-refund-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:.6rem; padding:.8rem; margin-bottom:1rem; border:1px solid var(--border-subtle); border-radius:10px; background:rgba(255,255,255,.025); }
.master-refund-summary span, .master-refund-summary strong { display:block; }
.master-refund-summary span { color:var(--text-muted); font-size:.7rem; text-transform:uppercase; }
.master-refund-summary strong { color:#fff; margin-top:.2rem; }
.master-money-input { position:relative; }
.master-money-input input { padding-right:4rem; }
.master-money-input span { position:absolute; right:1rem; top:50%; transform:translateY(-50%); color:var(--text-muted); font-weight:700; }
.master-check-row { display:flex; align-items:flex-start; gap:.7rem; padding:.8rem; border:1px solid var(--border-subtle); border-radius:9px; cursor:pointer; }
.master-check-row strong, .master-check-row small { display:block; }
.master-check-row small { color:var(--text-muted); margin-top:.2rem; }
.master-warning { display:flex; gap:.7rem; padding:.8rem; margin-top:1rem; color:#f5d97a; background:rgba(254,231,92,.07); border:1px solid rgba(254,231,92,.18); border-radius:9px; font-size:.82rem; line-height:1.5; }
.master-modal-actions { display:flex; justify-content:flex-end; gap:.6rem; margin-top:1.2rem; }
.master-order-link { display:inline-flex; align-items:center; gap:.45rem; padding:0; border:0; background:transparent; color:#fff; cursor:pointer; font:inherit; }
.master-order-link code { color:#aab2ff; transition:color .18s ease; }
.master-order-link i { color:var(--text-muted); font-size:.68rem; }
.master-order-link:hover code, .master-order-link:hover i { color:#fff; }
.master-order-detail-card { width:min(850px,100%); max-height:92vh; overflow:auto; border-radius:18px !important; padding:1.5rem !important; box-shadow:0 30px 100px rgba(0,0,0,.55); }
.master-order-detail-icon { width:42px; height:42px; border-radius:12px; display:grid; place-items:center; color:#aab2ff; background:rgba(88,101,242,.14); border:1px solid rgba(88,101,242,.25); }
.master-order-detail-card .master-modal-title > .master-status { margin-left:auto; }
.master-order-detail-card .master-modal-title > button { margin-left:.25rem; }
.master-order-detail-hero { display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; margin:1rem 0 1.35rem; }
.master-order-detail-hero > div { display:flex; flex-direction:column; gap:.3rem; min-width:0; padding:1rem; border-radius:12px; background:var(--bg-tertiary); border:1px solid var(--border-subtle); }
.master-order-detail-hero span, .master-detail-grid span { color:var(--text-muted); font-size:.7rem; font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.master-order-detail-hero strong { color:#fff; font-size:1.05rem; }
.master-order-detail-hero small { color:var(--text-muted); overflow-wrap:anywhere; }
.master-order-detail-hero strong.success { color:#57F287; }
.master-order-detail-hero strong.warning { color:#FEE75C; }
.master-detail-section { padding:1rem 0; border-top:1px solid var(--border-subtle); }
.master-detail-section h4 { display:flex; align-items:center; gap:.55rem; color:#fff; margin:0 0 .8rem; font-size:.88rem; }
.master-detail-section h4 i { color:#8f98ff; }
.master-detail-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.65rem; }
.master-detail-grid > div { position:relative; min-width:0; display:flex; flex-direction:column; gap:.3rem; padding:.8rem 2.4rem .8rem .85rem; border-radius:9px; background:rgba(255,255,255,.025); border:1px solid var(--border-subtle); }
.master-detail-grid strong, .master-detail-grid code { color:#e5e7ee; font-size:.8rem; overflow-wrap:anywhere; }
.master-copy-icon { position:absolute; top:50%; right:.65rem; transform:translateY(-50%); width:27px; height:27px; display:grid; place-items:center; border:0; border-radius:7px; background:var(--bg-tertiary); color:var(--text-muted); cursor:pointer; }
.master-copy-icon:hover { color:#fff; background:rgba(88,101,242,.2); }
.master-detail-empty { color:var(--text-muted); font-size:.78rem; text-transform:none; letter-spacing:0; }
.master-license-copy { display:flex; align-items:center; gap:.75rem; padding:.85rem; border-radius:9px; background:rgba(88,101,242,.08); border:1px solid rgba(88,101,242,.22); }
.master-license-copy code { flex:1; color:#fff; overflow-wrap:anywhere; }
.master-order-detail-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:.6rem; padding-top:1rem; border-top:1px solid var(--border-subtle); }
@media (max-width:760px) {
    .master-order-detail-hero, .master-detail-grid { grid-template-columns:1fr; }
    .master-order-detail-card .master-modal-title { align-items:flex-start; flex-wrap:wrap; }
    .master-order-detail-card .master-modal-title > .master-status { margin-left:0; }
    .master-license-copy { align-items:stretch; flex-direction:column; }
}

@media (max-width: 1050px) {
    .master-kpi-grid, .master-quick-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
    .master-hero, .master-page-header { align-items:flex-start; flex-direction:column; }
    .master-kpi-grid, .master-quick-actions, .master-dashboard-grid { grid-template-columns:1fr; }
    .master-span-2 { grid-column:auto; }
    .master-orders-toolbar { flex-direction:column; }
    .master-orders-toolbar select { width:100%; }
    .master-refund-approval-grid article { grid-template-columns:auto 1fr; }
    .master-refund-actions { grid-column:1 / -1; display:flex; justify-content:space-between; align-items:center; text-align:left; }
    .master-refund-actions > strong { margin:0; }
    .master-refund-summary { grid-template-columns:1fr; }
}

/* ====================================================
   Responsive mobile shell — navigation, dashboards and forms
   ==================================================== */
.mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid var(--border-default);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

html,
body,
.app-wrapper,
#main-view {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

html {
    scroll-behavior: smooth;
}

@keyframes dashboardTabIn {
    from {
        opacity: 0;
        transform: translate3d(18px, 8px, 0) scale(0.994);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@media (min-width: 901px) {
    .content-area-main {
        transition: opacity 170ms ease, transform 170ms ease, filter 170ms ease;
        transform-origin: 50% 35%;
    }

    .content-area-main.is-leaving {
        opacity: 0;
        transform: translate3d(-12px, 0, 0) scale(0.995);
        filter: blur(4px);
        pointer-events: none;
    }

    .content-area-main > * {
        animation: dashboardTabIn 380ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
    }

    .content-area-main > :nth-child(2) {
        animation-delay: 45ms;
    }

    .content-area-main > :nth-child(3) {
        animation-delay: 80ms;
    }
}

.global-cosmic-canvas {
    width: 100%;
    max-width: 100%;
}

.navbar,
.enterprise-container,
.studio-layout,
.studio-layout > *,
.content-area-main,
.panel,
.master-section-card,
.guild-card-glass,
.bento-card,
.pricing-card {
    min-width: 0;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.panel,
.master-section-card,
.bento-card,
.pricing-card,
.guild-card-glass {
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    #main-view {
        padding-top: var(--mobile-header-height);
    }

    .navbar {
        position: fixed;
        inset: 0 0 auto 0;
        width: 100%;
        padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1rem 0.75rem;
        min-height: var(--mobile-header-height);
        height: var(--mobile-header-height);
        gap: 0.75rem;
        background: rgba(10, 12, 18, 0.98) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        contain: layout style;
    }

    .nav-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .brand-name {
        min-width: 0;
        white-space: nowrap;
        font-size: 1rem;
    }

    .mobile-nav-toggle {
        display: inline-grid;
        margin-left: auto;
    }

    .navbar > .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
        max-height: calc(100dvh - var(--mobile-header-height) - 0.75rem);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
        padding: 0.8rem;
        border: 1px solid var(--border-default);
        border-radius: 12px;
        background: rgba(13, 15, 21, 0.98);
        box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(20px);
        z-index: 200;
    }

    .navbar.mobile-open > .nav-links {
        display: flex;
    }

    .navbar > .nav-links .nav-link,
    .navbar > .nav-links .btn,
    .navbar > .nav-links > button,
    .navbar > .nav-links > a {
        width: 100%;
        min-height: 44px;
        justify-content: flex-start;
        padding: 0.7rem 0.85rem;
        border-radius: 8px;
    }

    .navbar > .nav-links .nav-link:hover {
        background: var(--bg-modifier-hover);
    }

    .navbar > .nav-links .user-chip {
        width: 100%;
        min-height: 44px;
        border-radius: 8px;
    }

    .studio-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        overflow: visible;
        min-height: auto;
    }

    .studio-layout > .sidebar {
        position: sticky;
        top: var(--mobile-header-height);
        grid-column: 1;
        display: flex;
        align-items: center;
        gap: 0.45rem;
        width: 100%;
        height: auto;
        padding: 0.65rem 0.75rem;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: 0;
        border-bottom: 1px solid var(--border-default);
        z-index: 50;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .studio-layout > .sidebar::-webkit-scrollbar {
        display: none;
    }

    .studio-layout > .content-area-main {
        grid-column: 1;
        width: 100%;
        min-height: auto;
        padding: 1.5rem 1rem 3rem;
        overflow: visible;
    }

    .sidebar-guild-info {
        flex: 0 0 auto;
        min-width: 185px;
        margin: 0 0.25rem 0 0;
        padding: 0.35rem 0.75rem 0.35rem 0.25rem;
        border: 0;
        border-right: 1px solid var(--border-default);
    }

    .sidebar-guild-meta {
        min-width: 0;
    }

    .sidebar-guild-meta h3 {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sidebar-category {
        display: none;
    }

    .sidebar-nav-btn {
        flex: 0 0 auto;
        min-height: 42px;
        margin: 0;
        padding: 0.6rem 0.8rem;
        white-space: nowrap;
        border: 1px solid transparent;
    }

    .sidebar-nav-btn.active {
        border: 1px solid rgba(88, 101, 242, 0.45);
        border-left-width: 1px;
    }

    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 680px) {
    .enterprise-container {
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .brand-name {
        font-size: 0.9rem;
        letter-spacing: -0.15px;
    }

    .brand-tag {
        display: none;
    }

    .hero-enterprise {
        padding: 3.75rem 0 2.75rem;
    }

    .hero-launch-pill {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.4rem;
        padding: 0.65rem;
        border-radius: 16px;
        text-align: center;
    }

    .pill-text {
        flex: 1 1 210px;
        line-height: 1.45;
    }

    .hero-title-enterprise {
        font-size: clamp(2rem, 10.5vw, 2.8rem);
        line-height: 1.08;
        letter-spacing: -0.9px;
        margin-bottom: 1.2rem;
    }

    .hero-title-enterprise br {
        display: none;
    }

    .hero-desc-enterprise {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 1.75rem;
    }

    .hero-actions-enterprise {
        width: 100%;
        gap: 0.75rem;
        margin-bottom: 2.75rem;
    }

    .hero-actions-enterprise > a,
    .hero-actions-enterprise > button {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .hero-stats-row {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 0.85rem;
        padding: 1rem;
        text-align: left;
        border: 1px solid var(--border-subtle);
        border-radius: 12px;
        background: rgba(12, 14, 20, 0.62);
    }

    .hero-stat-item {
        justify-content: flex-start;
    }

    .bento-section {
        padding: 3.25rem 0;
    }

    .section-header-enterprise {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: clamp(1.65rem, 8vw, 2rem);
        line-height: 1.15;
    }

    .studio-preview-box {
        width: 100%;
        max-width: 100%;
    }

    .studio-nav-bar {
        width: 100%;
        max-width: 100%;
        overscroll-behavior-inline: contain;
    }

    .studio-tab-btn {
        padding: 0.8rem 1rem;
    }

    .studio-tab-content {
        padding: 1.15rem;
        gap: 1.25rem;
    }

    .studio-tab-content pre {
        max-width: 100%;
        font-size: 0.72rem !important;
    }

    .bento-grid,
    .pricing-grid,
    .guild-cards-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .bento-card,
    .pricing-card,
    .guild-card-glass,
    .panel,
    .master-section-card {
        padding: 1rem;
    }

    .pricing-badge {
        position: static;
        align-self: flex-start;
        display: inline-flex;
        width: fit-content;
        margin-bottom: 0.75rem;
    }

    .pricing-price {
        font-size: 2rem;
    }

    .footer-enterprise {
        padding: 3rem 0 1.5rem;
        margin-top: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .overview-main-title,
    .master-page-header h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .overview-header-actions,
    .master-modal-actions,
    .master-order-detail-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .overview-header-actions .btn,
    .master-modal-actions .btn,
    .master-order-detail-actions .btn {
        width: 100%;
    }

    .content-area-main [style*="grid-template-columns"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .content-area-main [style*="display:grid"],
    .content-area-main [style*="display: grid"] {
        min-width: 0;
    }

    .panel:has(.clean-table) {
        overflow-x: auto;
    }

    .clean-table {
        min-width: 640px;
    }

    .master-console {
        padding-top: 1rem !important;
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }

    .master-hero {
        padding: 1.15rem;
    }

    .master-hero h1 {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .master-kpi {
        min-height: 100px;
        padding: 1rem;
    }

    .master-tabs {
        flex-wrap: nowrap !important;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.85rem !important;
        scrollbar-width: thin;
    }

    .master-tabs .btn {
        flex: 0 0 auto;
        min-height: 42px;
        white-space: nowrap;
    }

    .master-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .master-section-heading > .btn {
        width: 100%;
    }

    .master-refund-approval-grid article {
        grid-template-columns: 1fr;
    }

    .master-refund-icon {
        display: none;
    }

    .master-refund-actions,
    .master-refund-actions > div {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .master-refund-actions .btn {
        width: 100%;
    }

    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .master-refund-modal-card,
    .master-order-detail-card {
        width: 100%;
        max-height: 94dvh;
        padding: 1rem !important;
        border-radius: 18px 18px 0 0 !important;
    }

    .switch-row {
        gap: 1rem;
        align-items: flex-start;
    }

    .switch-row > :first-child {
        min-width: 0;
    }

    input,
    select,
    textarea,
    .form-input,
    .form-select,
    .form-textarea {
        max-width: 100%;
        font-size: 16px;
    }

    .toast-container {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .toast-item {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .navbar {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .enterprise-container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .brand-name {
        font-size: 0.84rem;
    }

    .hero-title-enterprise {
        font-size: clamp(1.85rem, 10vw, 2.35rem);
    }

    .hero-glow-top {
        width: 160vw;
    }

    .master-kpi-grid,
    .master-quick-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .master-payment-list > div,
    .master-system-list > div,
    .master-refund-list article {
        align-items: flex-start;
        flex-direction: column;
    }

    .master-refund-list small {
        max-width: 100%;
        white-space: normal;
    }
}

/* Premium touch experience for phones. */
@media (max-width: 680px) {
    html {
        scroll-padding-top: calc(var(--mobile-header-height) + 0.75rem);
    }

    body {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    #solutions,
    #architecture,
    #pricing {
        scroll-margin-top: calc(var(--mobile-header-height) + 0.75rem);
    }

    .landing-main .btn,
    .landing-main button,
    .landing-main a[class*="btn"] {
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin: -0.75rem 0 0.9rem;
        color: var(--text-muted);
        font-size: 0.76rem;
        font-weight: 600;
    }

    .mobile-swipe-hint i {
        color: #8f98ff;
    }

    .studio-nav-bar {
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 1rem;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .studio-nav-bar::-webkit-scrollbar,
    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .studio-tab-btn {
        min-height: 48px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .pricing-grid {
        display: flex;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0.2rem 0 0.85rem;
        gap: 0.85rem;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .pricing-card {
        flex: 0 0 min(86vw, 340px);
        width: min(86vw, 340px);
        scroll-snap-align: center;
        scroll-snap-stop: always;
        padding: 1.15rem;
    }

    .pricing-features {
        margin: 1.25rem 0;
        gap: 0.62rem;
    }

    .pricing-features li {
        align-items: flex-start;
        line-height: 1.4;
    }

    .bento-card {
        padding: 1.15rem;
    }

    .studio-preview-box,
    .pricing-card,
    .bento-card,
    .footer-enterprise,
    .hero-stats-row {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .studio-preview-box,
    .pricing-card,
    .bento-card {
        background-color: rgba(16, 18, 25, 0.96);
    }

    .floating-3d-scene {
        display: none;
    }

    .landing-main .bento-section,
    .landing-main .footer-enterprise {
        content-visibility: auto;
        contain-intrinsic-size: 700px;
    }
}

@media (hover: none) {
    .btn:hover,
    .bento-card:hover,
    .pricing-card:hover,
    .guild-card-glass:hover,
    .master-quick-actions button:hover,
    .radio-station-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
