/*
 * Waveio macOS-inspired Design System & Visual Tokens
 * Powered by Vanilla CSS
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Tokens - macOS Dark Mode Baseline (Conferencing Ocean Theme) */
    --bg-desktop: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #020617 100%);
    --bg-desktop-light: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    
    --color-primary: #0e71eb; /* World-class Ocean Blue */
    --color-primary-hover: #3b82f6;
    --color-success: #10b981; /* Traffic green */
    --color-warning: #f59e0b; /* Traffic yellow */
    --color-danger: #f43f5e;  /* Rose red */
    
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-bg-light: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-light: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --glass-shadow-light: 0 8px 32px 0 rgba(15, 23, 42, 0.06);
    
    --text-primary: #f3f4f6;
    --text-primary-light: #1f2937;
    --text-secondary: #9ca3af;
    --text-secondary-light: #4b5563;

    --input-bg: rgba(255, 255, 255, 0.06);
    --input-bg-light: #ffffff;
    --option-bg: #0f172a;
    --option-text: #f8fafc;
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: all 0.3s ease;
}

/* Universal Select & Option High Contrast Dropdown Fix */
select,
.form-control,
input,
textarea {
    color-scheme: dark;
}

select option,
select optgroup,
.form-control option {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
}

select option:checked,
select option:hover,
select option:focus {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
}

body.light-theme select,
body.light-theme .form-control,
body.light-theme input,
body.light-theme textarea {
    color-scheme: light;
}

body.light-theme select option,
body.light-theme select optgroup,
body.light-theme .form-control option {
    background-color: #ffffff !important;
    color: #0f172a !important;
    padding: 10px 14px !important;
}

body.light-theme select option:checked,
body.light-theme select option:hover,
body.light-theme select option:focus {
    background-color: #e0f2fe !important;
    color: #0284c7 !important;
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg-desktop);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    transition: var(--transition-smooth);
}

body.light-theme {
    background: var(--bg-desktop-light) !important;
    color: #0f172a !important;
    --text-primary: #0f172a;
    --text-primary-light: #0f172a;
    --text-secondary: #334155;
    --text-secondary-light: #334155;
    --glass-bg: #ffffff;
    --glass-bg-light: #ffffff;
    --glass-border: rgba(0, 0, 0, 0.12);
    --glass-border-light: rgba(0, 0, 0, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
    --glass-shadow-light: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
    --input-bg: #ffffff;
    --option-bg: #ffffff;
    --option-text: #0f172a;
}

/* Light Theme Variables Mappings */
body.light-theme .mac-window,
body.light-theme .glass-card,
body.light-theme .mac-dock {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
}

body.light-theme .mac-window {
    color: #0f172a !important;
}

body.light-theme input,
body.light-theme select,
body.light-theme textarea {
    background: #ffffff !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.light-theme input:focus,
body.light-theme select:focus,
body.light-theme textarea:focus {
    background: #ffffff !important;
    border-color: #0e71eb !important;
    color: #0f172a !important;
}

body.light-theme .text-secondary {
    color: #334155 !important;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
body.light-theme ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}

/* Frosted Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    padding: 24px;
    transition: var(--transition-smooth);
}

/* macOS Window Shell */
.mac-window {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow), 0 30px 60px rgba(0,0,0,0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: window-genie 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mac-window-header {
    height: 44px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.mac-traffic-lights {
    display: flex;
    gap: 8px;
}

.traffic-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    border: none;
    outline: none;
}

.traffic-light.close { background-color: var(--color-danger); }
.traffic-light.minimize { background-color: var(--color-warning); }
.traffic-light.zoom { background-color: var(--color-success); }

.traffic-light::after {
    content: '';
    font-size: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.mac-window-header:hover .traffic-light::after {
    opacity: 0.7;
}

.mac-window-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.85;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mac-window-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* macOS Floating Dock - Positioned on Left-Hand Side of Screen */
.mac-dock-container {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    pointer-events: none;
}

.mac-dock {
    pointer-events: auto;
    background: rgba(17, 24, 39, 0.65);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-spring);
}

.mac-dock-item {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-spring);
    transform-origin: center left;
}

.mac-dock-item img,
.mac-dock-item svg,
.mac-dock-item i {
    width: 26px;
    height: 26px;
    pointer-events: none;
    transition: var(--transition-spring);
}

.mac-dock-item:hover {
    transform: scale(1.25) translateX(8px);
    margin: 2px 0;
}

.mac-dock-item:hover + .mac-dock-item,
.mac-dock-item:has(+ .mac-dock-item:hover) {
    transform: scale(1.12) translateX(4px);
}

/* Dock active indicator dot (Left vertical side) */
.mac-dock-item.active::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.mac-dock-tooltip {
    position: absolute;
    left: 56px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.mac-dock-item:hover .mac-dock-tooltip {
    opacity: 1;
}

/* Animated 3D Perspective Cards */
.card-perspective-container {
    perspective: 1000px;
}

.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.1, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.card-3d:hover {
    transform: rotateX(8deg) rotateY(-8deg) translateZ(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-3d-inner {
    transform: translateZ(20px);
}

/* Controls & UI Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
    text-decoration: none;
    user-select: none;
}

.btn-primary {
    background: #0e71eb;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(14, 113, 235, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: #2563eb;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 113, 235, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #f3f4f6 !important;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-success {
    background: #10b981;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
    background: #059669;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-danger {
    background: #f43f5e;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.25);
}

.btn-danger:hover {
    background: #e11d48;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-warning {
    background: #f59e0b;
    color: #000000 !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Light Theme Button Enhancements (Ensures 100% visibility & readability in white theme) */
body.light-theme .btn-secondary {
    background: #ffffff;
    color: #1e293b !important;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body.light-theme .btn-secondary:hover {
    background: #f8fafc;
    color: #0f172a !important;
    border-color: #94a3b8;
}

body.light-theme .btn-primary {
    background: #0e71eb;
    color: #ffffff !important;
    border: 1px solid #0284c7;
    box-shadow: 0 4px 12px rgba(14, 113, 235, 0.25);
}

body.light-theme .btn-primary:hover {
    background: #1d4ed8;
    color: #ffffff !important;
}

body.light-theme .btn-success {
    background: #059669;
    color: #ffffff !important;
}

body.light-theme .btn-danger {
    background: #e11d48;
    color: #ffffff !important;
}

body.light-theme .mac-window-header {
    background: rgba(241, 245, 249, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .mac-window-title {
    color: #1e293b;
}

body.light-theme .mac-dock {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Light Theme (White Theme) High Contrast & Crystal-Clear Visibility Overrides
   ========================================================================== */
body.light-theme {
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --glass-bg: #ffffff;
    --glass-border: rgba(0, 0, 0, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
    background: var(--bg-desktop-light) !important;
    color: #0f172a !important;
}

body.light-theme .mac-top-bar {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0f172a !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
}

body.light-theme #global-top-theme-toggle {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #0f172a !important;
}

body.light-theme .hero-title {
    background: linear-gradient(to right, #0f172a, #2563eb, #db2777) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.light-theme .hero-subtitle {
    color: #334155 !important;
}

body.light-theme .glass-card,
body.light-theme .mac-window,
body.light-theme .mac-window-body,
body.light-theme .modal-window,
body.light-theme .dropdown-menu {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #0f172a !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6 {
    color: #0f172a !important;
}

body.light-theme p,
body.light-theme li {
    color: #334155 !important;
}

body.light-theme span:not(.btn *):not(.floating-badge *):not([style*="color:#fff"]):not([style*="color: #fff"]):not([style*="color:#ffffff"]):not([style*="color: #ffffff"]):not([style*="color:rgb(255, 255, 255)"]) {
    color: inherit;
}

body.light-theme strong:not(.btn *):not([style*="color:#fff"]):not([style*="color: #fff"]):not([style*="color:#ffffff"]):not([style*="color: #ffffff"]) {
    color: #0f172a !important;
}

body.light-theme label {
    color: #334155 !important;
    font-weight: 700 !important;
}

body.light-theme th {
    color: #334155 !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.12) !important;
    font-weight: 700 !important;
}

body.light-theme td {
    color: #0f172a !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme input, 
body.light-theme select, 
body.light-theme textarea {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #94a3b8 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    color-scheme: light;
}

body.light-theme input:focus, 
body.light-theme select:focus, 
body.light-theme textarea:focus {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #0e71eb !important;
    box-shadow: 0 0 0 3px rgba(14, 113, 235, 0.2) !important;
}

body.light-theme input::placeholder,
body.light-theme textarea::placeholder {
    color: #64748b !important;
}

body.light-theme select option,
body.light-theme select optgroup {
    background-color: #ffffff !important;
    color: #0f172a !important;
    padding: 10px 14px !important;
}

body.light-theme select option:checked,
body.light-theme select option:hover {
    background-color: #e0f2fe !important;
    color: #0284c7 !important;
}

body.light-theme .mac-dock {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

body.light-theme .mac-dock-item {
    color: #0f172a !important;
}

body.light-theme [style*="color:var(--text-primary)"],
body.light-theme [style*="color: var(--text-primary)"] {
    color: #0f172a !important;
}

body.light-theme [style*="color:var(--text-secondary)"],
body.light-theme [style*="color: var(--text-secondary)"] {
    color: #334155 !important;
}

/* Adjust translucent dark boxes for high readability on white backgrounds */
body.light-theme [style*="background:rgba(0,0,0,0.2)"],
body.light-theme [style*="background: rgba(0,0,0,0.2)"],
body.light-theme [style*="background:rgba(0,0,0,0.25)"],
body.light-theme [style*="background: rgba(0,0,0,0.25)"],
body.light-theme [style*="background:rgba(0,0,0,0.3)"],
body.light-theme [style*="background: rgba(0,0,0,0.3)"] {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

/* Adjust translucent light boxes for crisp contrast in white mode */
body.light-theme [style*="background:rgba(255, 255, 255, 0.03)"],
body.light-theme [style*="background: rgba(255, 255, 255, 0.03)"],
body.light-theme [style*="background: rgba(255,255,255,0.03)"],
body.light-theme [style*="background: rgba(255, 255, 255, 0.05)"],
body.light-theme [style*="background: rgba(255,255,255,0.05)"],
body.light-theme [style*="background: rgba(255, 255, 255, 0.06)"],
body.light-theme [style*="background: rgba(255,255,255,0.06)"] {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.light-theme [style*="border:1px solid var(--glass-border)"],
body.light-theme [style*="border: 1px solid var(--glass-border)"],
body.light-theme [style*="border-bottom:1px solid var(--glass-border)"],
body.light-theme [style*="border-bottom: 1px solid var(--glass-border)"] {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

/* Elevate low-opacity texts in white theme for crisp readability */
body.light-theme [style*="opacity:0.5"],
body.light-theme [style*="opacity: 0.5"],
body.light-theme [style*="opacity:0.6"],
body.light-theme [style*="opacity: 0.6"],
body.light-theme [style*="opacity:0.65"],
body.light-theme [style*="opacity: 0.65"],
body.light-theme [style*="opacity:0.7"],
body.light-theme [style*="opacity: 0.7"] {
    color: #334155 !important;
    opacity: 0.95 !important;
}

/* Ensure buttons retain perfect contrast */
body.light-theme .btn-primary,
body.light-theme .btn-success,
body.light-theme .btn-danger,
body.light-theme .btn-vibrant-primary {
    color: #ffffff !important;
}

body.light-theme .btn-primary *,
body.light-theme .btn-success *,
body.light-theme .btn-danger *,
body.light-theme .btn-vibrant-primary * {
    color: #ffffff !important;
}

body.light-theme .btn-secondary {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

body.light-theme .btn-secondary:hover {
    background: #e2e8f0 !important;
    color: #020617 !important;
    border-color: #94a3b8 !important;
}

/* Form controls */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
    color-scheme: dark;
}

select option,
select optgroup {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    padding: 10px 14px !important;
}

select option:checked,
select option:hover {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

/* Animations */
@keyframes window-genie {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(200px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes heartbeat-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Connection indicator breathing orb */
.network-orb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    animation: heartbeat-pulse 1.8s infinite ease-in-out;
}

.network-orb.excellent { background-color: var(--color-success); box-shadow: 0 0 12px var(--color-success); }
.network-orb.good { background-color: #34d399; box-shadow: 0 0 12px #34d399; }
.network-orb.fair { background-color: var(--color-warning); box-shadow: 0 0 12px var(--color-warning); }
.network-orb.poor { background-color: #fb923c; box-shadow: 0 0 12px #fb923c; }
.network-orb.critical { background-color: var(--color-danger); box-shadow: 0 0 12px var(--color-danger); }

/* Layout Grids */
.grid-cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
    .grid-cols-3, .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
}

/* Pricing Page & Toggle Styling */
.billing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.billing-label {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

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

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.15);
    transition: .4s;
    border-radius: 34px;
}

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

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

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

.badge-discount {
    background-color: rgba(16, 185, 129, 0.2);
    color: var(--color-success);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
}

/* Jitsi Frame container */
.jitsi-frame-container {
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* Landing Page Hero Animations */
.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    text-align: center;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    text-align: center;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
}

/* Password Visibility Toggle Button Styling */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-wrapper input {
    padding-right: 40px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: opacity 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.password-toggle-btn:hover {
    opacity: 1;
    color: var(--color-primary-hover);
}

/* Interactive Zoom-like Landing Page Styles & Image Hover Effects */
.landing-hero-container {
    perspective: 1200px;
    width: 100%;
    max-width: 1120px;
    margin: 30px auto 50px auto;
    padding: 0 24px;
}

.zoom-image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(59, 130, 246, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    cursor: pointer;
}

.zoom-image-card:hover {
    transform: translateY(-4px) scale(1.006);
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(59, 130, 246, 0.2);
}

.zoom-image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.zoom-image-card:hover img {
    transform: scale(1.012);
    filter: brightness(1.03);
}

/* Floating interactive badges over images */
.floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
    animation: floatBadge 4s ease-in-out infinite alternate;
}

.floating-badge:hover {
    transform: scale(1.05) translateY(-2px);
    background: rgba(59, 130, 246, 0.9);
    border-color: #ffffff;
}

@keyframes floatBadge {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-6px); }
}

/* Interactive Tab Controls like Zoom */
.zoom-feature-tab {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.zoom-feature-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.zoom-feature-tab.active {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Feature grid item cards with interactive zoom effect */
.zoom-grid-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    overflow: hidden;
}

.zoom-grid-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(139, 92, 246, 0.15);
}

.zoom-grid-card .img-wrapper {
    overflow: hidden;
    border-radius: 12px;
    margin-top: 16px;
}

.zoom-grid-card .img-wrapper img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zoom-grid-card:hover .img-wrapper img {
    transform: scale(1.025);
}

/* Master Landing Page Responsive & Interactive Component Styles */
.landing-sticky-nav {
    position: sticky;
    top: 20px;
    z-index: 990;
    width: calc(100% - 48px);
    max-width: 1120px;
    margin: 10px auto 30px auto;
    padding: 12px 24px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
}

body.light-theme .landing-sticky-nav {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.landing-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.landing-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary-hover);
    border-radius: 2px;
    transition: width 0.25s ease, left 0.25s ease;
}

.landing-nav-links a:hover {
    color: var(--color-primary-hover);
}

.landing-nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.faq-accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion-header {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-primary-hover);
}

.faq-accordion-body {
    padding: 0 24px 18px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-accordion-item.active .faq-accordion-body {
    display: block;
}

.faq-accordion-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* ===========================
   Public Detail Pages Sub-Nav
   =========================== */

/* Responsive adjustments for public sub-nav */
@media (max-width: 900px) {
    .landing-sticky-nav {
        width: calc(100% - 24px);
    }
    .landing-sticky-nav,
    [style*="backdrop-filter:blur"] {
        flex-wrap: wrap;
        height: auto !important;
        padding: 10px 16px !important;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .landing-sticky-nav {
        width: calc(100% - 16px);
        padding: 8px 12px;
    }
    .landing-nav-links {
        display: none;
    }
    .grid-cols-5-pricing {
        grid-template-columns: 1fr !important;
    }
    /* Detail pages: hide mid links on small screens */
    [style*="gap:24px"] > a[href^="#/"] {
        display: none;
    }
}

/* Feature comparison table striping */
table tr:hover td {
    background: rgba(59, 130, 246, 0.05) !important;
    transition: background 0.15s ease;
}

/* Smooth detail page transitions */
.glass-card {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.glass-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Step dividers in WorkSpaces page */
[style*="border-bottom:1px dashed"] {
    border-bottom: 1px dashed var(--glass-border);
}

/* ===========================
   Vibrant Landing Page Enhancements
   =========================== */

/* Ambient Glowing Background Orbs */
.ambient-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    animation: orbPulse 8s ease-in-out infinite alternate;
}

.ambient-glow-blue {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 113, 235, 0.35) 0%, rgba(59, 130, 246, 0.15) 50%, transparent 70%);
}

.ambient-glow-purple {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(99, 102, 241, 0.1) 50%, transparent 70%);
}

.ambient-glow-emerald {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
}

@keyframes orbPulse {
    0% { transform: scale(1) translateY(0); opacity: 0.5; }
    100% { transform: scale(1.15) translateY(-20px); opacity: 0.75; }
}

/* Typewriter Cursor Animation */
@keyframes cursorBlink {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 8px #3b82f6); }
    50% { opacity: 0; filter: drop-shadow(0 0 0px transparent); }
}

.typewriter-cursor {
    display: inline-block;
    color: #3b82f6 !important;
    -webkit-text-fill-color: #3b82f6 !important;
    font-weight: 800 !important;
    font-size: 1.05em;
    margin-left: 4px;
    vertical-align: baseline;
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.9), 0 0 24px rgba(14, 113, 235, 0.7);
    animation: cursorBlink 0.7s step-end infinite;
}

/* Automatic Left-to-Right Marquee Ticker */
.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 16px 0;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: marqueeScrollLeftToRight 28s linear infinite;
}

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

.logo-marquee-item {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.logo-marquee-item:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

/* Vibrant Hero & Card Gradient Enhancements */
.hero-gradient-text {
    background: linear-gradient(135deg, #ffffff 20%, #60a5fa 60%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-gradient-title {
    background: linear-gradient(135deg, #ffffff 40%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-vibrant-primary {
    background: linear-gradient(135deg, #0e71eb 0%, #3b82f6 50%, #8b5cf6 100%) !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45) !important;
    color: #ffffff !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
}

.btn-vibrant-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.6) !important;
}

/* =======================================
   Light Theme Override Compatibility Rules
   ======================================= */
body.light-theme {
    background: #f8fafc !important;
    color: #1e293b !important;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light-theme .hero-gradient-text {
    background: linear-gradient(135deg, #0f172a 15%, #1d4ed8 60%, #6d28d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .section-gradient-title {
    background: linear-gradient(135deg, #0f172a 30%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .glass-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
    color: #1e293b !important;
}

body.light-theme .glass-card:hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
}

body.light-theme .logo-marquee-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: #334155;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

body.light-theme .logo-marquee-item:hover {
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

body.light-theme .floating-badge {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #0f172a !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

body.light-theme #quick-join-section {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
}

body.light-theme [style*="backdrop-filter:blur"] {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-theme footer#footer {
    border-top-color: rgba(0, 0, 0, 0.1) !important;
    color: #475569 !important;
}

body.light-theme footer#footer h5,
body.light-theme footer#footer div[style*="font-weight:800"] {
    color: #0f172a !important;
}

body.light-theme .typewriter-cursor {
    color: #0e71eb !important;
    -webkit-text-fill-color: #0e71eb !important;
    text-shadow: 0 0 10px rgba(14, 113, 235, 0.6);
}

body.light-theme .btn-secondary {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

body.light-theme .btn-secondary:hover {
    background: #cbd5e1 !important;
    color: #020617 !important;
}

body.light-theme .landing-nav-links a {
    color: #334155 !important;
}

body.light-theme .landing-nav-links a:hover {
    color: #0e71eb !important;
}

body.light-theme h1, body.light-theme h2, body.light-theme h3, body.light-theme h4 {
    color: #0f172a !important;
}

body.light-theme p, body.light-theme span, body.light-theme li {
    color: #334155;
}

/* =======================================
   Trust & Security Animated Diagram Glows
   ======================================= */
.security-flow-orb {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    transition: transform 0.3s ease;
    animation: layerPulseGlow 3s ease-in-out infinite alternate;
}

.security-flow-orb.orb-blue {
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4), inset 0 0 10px rgba(59, 130, 246, 0.2);
}

.security-flow-orb.orb-green {
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4), inset 0 0 10px rgba(16, 185, 129, 0.2);
}

.security-flow-orb.orb-purple {
    background: rgba(139, 92, 246, 0.15);
    border: 2px solid #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4), inset 0 0 10px rgba(139, 92, 246, 0.2);
}

.security-flow-orb.orb-amber {
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4), inset 0 0 10px rgba(245, 158, 11, 0.2);
}

@keyframes layerPulseGlow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.75), 0 0 45px rgba(59, 130, 246, 0.35);
    }
}

/* Glowing Flowing Arrows Pointing to Each Layer */
.security-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 12px;
    color: #3b82f6;
    animation: arrowPulseFlow 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes arrowPulseFlow {
    0% {
        opacity: 0.3;
        transform: translateX(-4px);
        filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.3));
    }
    50% {
        opacity: 1;
        transform: translateX(6px);
        filter: drop-shadow(0 0 12px #3b82f6) drop-shadow(0 0 20px #8b5cf6);
    }
    100% {
        opacity: 0.3;
        transform: translateX(-4px);
        filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.3));
    }
}

/* FAQ Accordion Layout & Perfect Alignment */
.faq-accordion-item {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.faq-accordion-item:hover {
    border-color: rgba(59, 130, 246, 0.35);
}

.faq-accordion-item.active {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.15);
}

.faq-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    transition: background 0.2s ease;
}

.faq-accordion-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0 22px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    border-top: 1px solid transparent;
}

.faq-accordion-item.active .faq-accordion-body {
    max-height: 500px;
    opacity: 1;
    padding: 14px 22px 20px 22px;
    border-top-color: rgba(255, 255, 255, 0.06);
}

.faq-accordion-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary-hover);
}

/* ==========================================
   Print & PDF Receipt Export Stylesheet Rules
   ========================================== */
@media print {
    /* Exclude interactive buttons, modal titlebars, close buttons, and site navigation from PDF/Print output */
    .no-print,
    .mac-window-header,
    button,
    .mac-modal-overlay > button,
    header,
    footer,
    nav,
    .app-sidebar,
    .dock-navigation,
    .mac-dock-container {
        display: none !important;
    }

    /* Hide the rest of the application when printing */
    body > *:not(.mac-modal-overlay) {
        display: none !important;
    }

    /* Force background colors and colors to render in print/PDF output */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body {
        background: #ffffff !important;
        color: #0f172a !important;
    }

    .mac-modal-overlay {
        position: static !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mac-window {
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #ffffff !important;
        color: #0f172a !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #printable-receipt-area {
        background: #ffffff !important;
        color: #0f172a !important;
        padding: 20px !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 12px !important;
    }

    #printable-receipt-area strong,
    #printable-receipt-area h1,
    #printable-receipt-area h2,
    #printable-receipt-area h3,
    #printable-receipt-area h4 {
        color: #0f172a !important;
    }

    /* High contrast adjustment for invoice details block under print */
    #printable-receipt-area div[style*="background"] {
        background: #f8fafc !important;
        border-color: #cbd5e1 !important;
    }
}

/* Segmented Control styles for Pricing Page */
.category-segment-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.category-segment-btn.active {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}
body.light-theme .category-segment-btn.active {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

@media (max-width: 600px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   Waveio Official Logo & Animated Loading Effect
   ========================================================================== */
@keyframes waveioLogoTransition {
    0% {
        opacity: 0.3;
        transform: scale(0.85);
        filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.3));
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
        filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.95));
    }
    100% {
        opacity: 0.3;
        transform: scale(0.85);
        filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.3));
    }
}

.waveio-loader-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    animation: waveioLogoTransition 1.1s ease-in-out infinite;
}

.waveio-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 12px;
}

.btn-loading {
    pointer-events: none !important;
    opacity: 0.85 !important;
    cursor: wait !important;
}

.waveio-product-logo-img {
    height: 32px;
    max-width: 140px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.waveio-product-logo-img:hover {
    transform: scale(1.04);
}




/* ==========================================================================
   Mobile Bottom Navigation - Dock repositioned for phone screens only
   ========================================================================== */
@media (max-width: 600px) {
    .mac-dock-container {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        transform: none;
        width: 100%;
        padding: 0;
        justify-content: center;
    }

    .mac-dock {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        align-items: center;
        border-radius: 16px 16px 0 0;
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mac-dock::-webkit-scrollbar {
        display: none;
    }

    .mac-dock-item {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        transform-origin: center;
    }

    .mac-dock-item img,
    .mac-dock-item svg,
    .mac-dock-item i {
        width: 22px;
        height: 22px;
    }

    .mac-dock-item:hover,
    .mac-dock-item:hover + .mac-dock-item,
    .mac-dock-item:has(+ .mac-dock-item:hover) {
        transform: none;
        margin: 0;
    }

    .mac-dock-item.active::after {
        left: 50%;
        top: auto;
        bottom: 2px;
        transform: translateX(-50%);
    }

    .mac-dock-tooltip {
        display: none;
    }

    main {
        padding-bottom: 76px;
    }
}
