/* ===== CSS RESET & VARIABLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Dark Mode Default */
    --primary-orange: #ff6b35;
    --gradient-primary: linear-gradient(135deg, #e55a2b 0%, #d04e26 100%);
    --background-light: #0f1419;
    --background-dark: #1a202c;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-light: #ffffff;
    
    /* Supporting Colors */
    --secondary: #1e293b;
    --tertiary: #334155;
    --accent: #e55a2b;
    
    /* Gradients */
    --hero-bg: linear-gradient(135deg, rgba(15, 20, 25, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    --background-gradient: linear-gradient(135deg, #0f1419 0%, #1e293b 100%);
    --button-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    /* Spacing */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-light);
    overflow-x: hidden;
    transition: background var(--transition-normal), color var(--transition-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Emoji Support - Ensure emojis display properly across all browsers */
.emoji,
[data-emoji],
*:has(emoji) {
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    font-style: normal;
    font-weight: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Font Awesome Icons - Comprehensive icon display fix */
.fa, .fas, .far, .fal, .fab, .fad, .fa-brands, .fa-solid, .fa-regular,
[class^="fa-"], [class*=" fa-"],
i[class^="fa"], i[class*=" fa"] {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'FontAwesome' !important;
    font-weight: 900;
    font-style: normal !important;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-brands, .fab,
i[class*="fa-brands"], i[class*="fab"] {
    font-family: 'Font Awesome 6 Brands', 'FontAwesome' !important;
    font-weight: 400;
}

/* Ensure Font Awesome pseudo-elements work */
.fa::before, .fas::before, .far::before, .fal::before, .fab::before,
[class^="fa-"]::before, [class*=" fa-"]::before,
i[class^="fa"]::before, i[class*=" fa"]::before {
    font-family: inherit !important;
    font-weight: inherit;
    font-style: normal;
    display: inline-block;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.1;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: var(--font-weight-black); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 2rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p {
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== BUTTON SYSTEM ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Touch-friendly */
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Calculator specific button styling for better contrast */
.calculator-actions .btn-primary {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--text-light);
    border: 2px solid #475569;
}

.calculator-actions .btn-primary:hover {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.calculator-actions .btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.calculator-actions .btn-secondary:hover {
    background: var(--text-light);
    color: var(--background-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-xl);
    max-width: 1440px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    color: var(--text-primary);
}

.brand-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
}

.brand-link:hover {
    color: var(--primary-orange);
    transform: translateY(-1px);
}

.brand-logo {
    height: 40px;
    width: auto;
    transition: transform var(--transition-normal);
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-icon {
    color: var(--accent);
    font-size: 1.5rem;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        padding: var(--spacing-sm) var(--spacing-md);
        backdrop-filter: blur(20px);
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-brand {
        z-index: 1001;
    }
    
    .brand-logo {
        height: 35px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 20, 25, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--spacing-xl);
        gap: var(--spacing-lg);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: var(--spacing-md) 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        color: var(--accent);
        background: rgba(255, 107, 53, 0.1);
        border-radius: var(--radius-sm);
        transform: translateX(10px);
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1001;
        transition: all 0.3s ease;
    }
    
    .nav-toggle .bar {
        width: 100%;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: var(--accent);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: var(--accent);
    }
    
    /* Prevent body scroll when menu is open */
    .menu-open {
        overflow: hidden;
    }
    
    .nav-actions {
        gap: var(--spacing-sm);
    }
}

/* ===== ADMIN FLOAT BUTTON ===== */
.admin-float-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.4;
}

.admin-float-button:hover {
    background: rgba(255, 118, 0, 0.9);
    border-color: rgba(255, 118, 0, 1);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 118, 0, 0.4);
}

.admin-float-button svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.admin-float-button:hover svg {
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--hero-bg);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(255, 107, 53, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-3xl);
    align-items: center;
    width: 100%;
    max-width: 1400px;
    color: var(--text-light);
    z-index: 1;
    padding: 0 var(--spacing-lg);
}

.hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: 700px;
}

.hero-stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    margin-bottom: var(--spacing-lg);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: left;
}

/* Animated Text Effect */
.animated-text {
    position: relative;
    display: inline-block;
    min-width: 380px;
    text-align: left;
    height: 1.2em;
    overflow: visible;
}

.text-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--primary-orange);
    white-space: nowrap;
    width: 100%;
    filter: blur(3px);
    transform-origin: left center;
}

.text-item.active {
    opacity: 1;
    transform: scale(1);
    position: absolute;
    filter: blur(0px);
    animation: popIn 0.6s ease-out forwards;
}

.text-item:not(.active) {
    position: absolute;
}

.text-item.exit {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(3px);
    animation: fadeOut 0.4s ease-in forwards;
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
        filter: blur(3px);
    }
    60% {
        transform: scale(1.02);
        opacity: 0.8;
        filter: blur(1px);
    }
    100% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0px);
        text-shadow: 0 0 15px rgba(255, 107, 53, 0.2);
    }
}

@keyframes fadeOut {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
        filter: blur(3px);
    }
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.6;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.stat-enhanced {
    text-align: center;
    transition: transform 0.3s ease;
    min-width: 200px;
}

.stat-enhanced:hover {
    transform: translateY(-5px);
}

.stat-header {
    margin-bottom: 1.5rem;
}

.stat-number {
    display: inline;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: var(--font-weight-black);
    color: var(--accent);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stat-unit {
    display: inline;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: var(--font-weight-black);
    color: var(--accent);
    margin-left: 3px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-top: var(--spacing-sm);
    font-weight: 600;
    position: relative;
    z-index: 1;
    display: block;
}

/* CTR Comparison Visualization */
.ctr-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.ctr-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ctr-bar .bar-fill {
    height: 8px;
    border-radius: 4px;
    width: 0;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ctr-bar.traditional .bar-fill {
    background: linear-gradient(90deg, #FF6B35, #FF8F65);
    animation: barGrowTraditional 2.5s ease-out 1s forwards;
    max-width: 60px;
}

.ctr-bar.animation .bar-fill {
    background: linear-gradient(90deg, #2ED573, #55E68A);
    animation: barGrowAnimation 2.5s ease-out 1.5s forwards;
    max-width: 150px;
}

.ctr-bar .bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: barShine 2s ease-in-out 2s infinite;
}

.bar-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    min-width: 60px;
    text-align: left;
}

.bar-value {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    min-width: 30px;
    text-align: right;
}

/* Global Reach Visualization */
.global-reach {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.reach-meter {
    position: relative;
    width: 160px;
    height: 12px;
    margin: 1.5rem auto 0;
}

.meter-track {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.meter-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #2ED573, #FF6B35);
    border-radius: 6px;
    width: 0;
    animation: meterGrow 2.5s ease-out 1s forwards;
    overflow: hidden;
}

.meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: meterShine 2s ease-in-out 2.5s infinite;
}

.meter-indicator {
    position: absolute;
    top: -40px;
    right: 0;
    text-align: center;
    opacity: 0;
    animation: indicatorFadeIn 0.8s ease-out 2s forwards;
}

.meter-value {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2ED573;
    line-height: 1;
}

.meter-label {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

.reach-platforms {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0;
    animation: platformFadeIn 0.6s ease-out forwards;
    padding: 8px 12px;
    background: rgba(255, 118, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.platform-item[data-delay="0.2"] { animation-delay: 2.2s; }
.platform-item[data-delay="0.4"] { animation-delay: 2.4s; }
.platform-item[data-delay="0.6"] { animation-delay: 2.6s; }

.platform-item:hover {
    background: rgba(255, 118, 0, 0.2);
    transform: translateY(-2px);
}

.platform-item span {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

/* Remove old audience visual styles and add new animations */
@keyframes meterGrow {
    from { width: 0; }
    to { width: 85%; }
}

@keyframes meterShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes indicatorFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes platformFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animations */
@keyframes barGrowTraditional {
    from { width: 0; }
    to { width: 40%; }
}

@keyframes barGrowAnimation {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes barShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes ringExpand {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.3);
    }
    50% { 
        opacity: 0.7; 
    }
    100% { 
        opacity: 0.4; 
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes pointFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pointPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes pointRipple {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(2); }
}

.stat {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    min-width: 160px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(255, 107, 53, 0.15) 100%);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.stat-number {
    display: inline-block;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: var(--font-weight-black);
    color: var(--accent);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.hero-stats .stat-unit {
    display: inline-block;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: var(--font-weight-black);
    color: var(--accent);
    margin-left: 3px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-top: var(--spacing-sm);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    opacity: 0.8;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin-bottom: var(--spacing-sm);
    animation: scrollIndicator 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scrollIndicator {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* Hero Section Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 80px; /* Account for mobile header */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
        padding: var(--spacing-lg);
        max-width: 100%;
    }
    
    .hero-main {
        order: 1;
    }
    
    .hero-stats-container {
        order: 2;
        justify-self: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        text-align: center;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
    
    .stat {
        padding: var(--spacing-lg);
        min-width: 140px;
    }
    
    .stat-number {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .hero-stats .stat-unit {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        gap: var(--spacing-lg);
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
        max-width: 500px;
    }
    
    .stat {
        min-width: 150px;
    }
}

/* ===== SECTION STYLES ===== */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel-container {
    margin-bottom: var(--spacing-lg);
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* Changed from hidden to visible */
    width: 300%; /* Increased from 200% to 300% */
    max-width: 3000px; /* Increased max-width */
    perspective: 1000px;
    margin-left: -100%; /* Adjust centering for wider container */
}

.hero-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 200%; /* Increased from 100% to 200% */
    height: 100%;
    transform-style: preserve-3d;
}

.hero-carousel-item {
    position: absolute;
    font-size: 3.5rem;
    font-weight: var(--font-weight-black);
    font-family: var(--font-family);
    white-space: nowrap;
    transition: all 1s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-origin: center center;
    color: #6b7280;
    opacity: 0;
    transform: translateX(0) scale(0.7) rotateY(45deg);
    pointer-events: none;
    z-index: 1;
    visibility: hidden; /* Hide items without classes */
    padding: 0 50px; /* Add horizontal padding for spacing */
    text-align: center; /* Center text within padding */
}

/* Only show items with positioning classes */
.hero-carousel-item.active,
.hero-carousel-item.prev,
.hero-carousel-item.next,
.hero-carousel-item.far-prev,
.hero-carousel-item.far-next {
    visibility: visible;
}

.hero-carousel-item.active {
    opacity: 1;
    color: #ffffff;
    transform: translateX(0) scale(1) rotateY(0deg);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    z-index: 10;
}

.hero-carousel-item.prev {
    opacity: 0.7;
    color: #9ca3af;
    transform: translateX(-800px) scale(0.8) rotateY(-20deg);
    z-index: 5;
}

.hero-carousel-item.next {
    opacity: 0.7;
    color: #9ca3af;
    transform: translateX(800px) scale(0.8) rotateY(20deg);
    z-index: 5;
}

.hero-carousel-item.far-prev {
    opacity: 0.3;
    color: #4b5563;
    transform: translateX(-1400px) scale(0.6) rotateY(-45deg);
    z-index: 1;
}

.hero-carousel-item.far-next {
    opacity: 0.3;
    color: #4b5563;
    transform: translateX(1400px) scale(0.6) rotateY(45deg);
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-carousel-container {
        height: 90px;
        width: 150%; /* Smaller increase for tablets */
        margin-left: -25%; /* Adjust centering */
    }
    
    .hero-carousel-item {
        font-size: 2.8rem;
    }
    
    .hero-carousel-item.prev {
        transform: translateX(-600px) scale(0.7) rotateY(-15deg);
    }
    
    .hero-carousel-item.next {
        transform: translateX(600px) scale(0.7) rotateY(15deg);
    }
    
    .hero-carousel-item.far-prev {
        transform: translateX(-900px) scale(0.5) rotateY(-35deg);
    }
    
    .hero-carousel-item.far-next {
        transform: translateX(900px) scale(0.5) rotateY(35deg);
    }
}

@media (max-width: 480px) {
    .hero-carousel-container {
        height: 70px;
        width: 120%; /* Smaller increase for mobile */
        margin-left: -10%; /* Adjust centering */
    }
    
    .hero-carousel-item {
        font-size: 2rem;
    }
    
    .hero-carousel-item.prev {
        transform: translateX(-450px) scale(0.6) rotateY(-10deg);
    }
    
    .hero-carousel-item.next {
        transform: translateX(450px) scale(0.6) rotateY(10deg);
    }
    
    .hero-carousel-item.far-prev {
        transform: translateX(-700px) scale(0.4) rotateY(-25deg);
    }
    
    .hero-carousel-item.far-next {
        transform: translateX(700px) scale(0.4) rotateY(25deg);
    }
    
    .admin-float-button {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .admin-float-button svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 53, 0.3) 20%, 
        rgba(255, 107, 53, 0.6) 50%, 
        rgba(255, 107, 53, 0.3) 80%, 
        transparent 100%);
    z-index: 1;
    animation: scrollIndicator 3s ease-in-out infinite;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 53, 0.2) 25%, 
        rgba(255, 107, 53, 0.4) 50%, 
        rgba(255, 107, 53, 0.2) 75%, 
        transparent 100%);
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.company-intro {
    margin-bottom: var(--spacing-2xl);
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.intro-text strong {
    color: var(--accent);
    font-weight: var(--font-weight-semibold);
}

.highlight-box {
    background: rgba(229, 90, 43, 0.15);
    border-left: 4px solid var(--accent);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    border-radius: var(--radius-md);
}

.highlight-box h4 {
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--text-primary);
}

.vision-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    height: 100%;
}

.vision-card,
.experience-card {
    background: rgba(15, 20, 25, 0.9);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-normal);
}

.vision-card:hover,
.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.vision-card h4,
.experience-card h4 {
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.tagline {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.4;
}

.features {
    margin-top: var(--spacing-2xl);
}

.feature-card {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(15, 20, 25, 0.8);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-content h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: 1.125rem;
}

.feature-content p {
    margin-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin: 0 auto;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    position: relative;
    padding: var(--spacing-3xl) 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 213, 115, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(255, 107, 53, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, var(--bg-primary) 0%, rgba(20, 25, 30, 0.95) 100%);
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 53, 0.03) 2px,
            rgba(255, 107, 53, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.services::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 107, 53, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: floatingDots 60s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    position: relative;
    z-index: 10;
}

.service-card {
    padding: var(--spacing-2xl);
    background: rgba(15, 20, 25, 0.9);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-light);
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.service-card p {
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-count {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .service-card {
        padding: var(--spacing-xl);
    }
}

/* ===== ANIMATION CARD SPECIAL EFFECTS ===== */
.animation-card {
    position: relative;
    overflow: hidden;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.animation-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animation-video:first-child {
    opacity: 0.3;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 20, 25, 0.85);
    transition: background var(--transition-normal);
    z-index: 2;
}

.service-content {
    position: relative;
    z-index: 3;
}

/* Animation cycling on hover */
.animation-card:hover .card-overlay {
    background: rgba(15, 20, 25, 0.6);
}

.animation-card:hover .animation-video:nth-child(1) {
    animation: videoSequence 2.5s infinite;
    animation-delay: 0s;
}

.animation-card:hover .animation-video:nth-child(2) {
    animation: videoSequence 2.5s infinite;
    animation-delay: 0.5s;
}

.animation-card:hover .animation-video:nth-child(3) {
    animation: videoSequence 2.5s infinite;
    animation-delay: 1s;
}

.animation-card:hover .animation-video:nth-child(4) {
    animation: videoSequence 2.5s infinite;
    animation-delay: 1.5s;
}

.animation-card:hover .animation-video:nth-child(5) {
    animation: videoSequence 2.5s infinite;
    animation-delay: 2s;
}

@keyframes videoSequence {
    0%, 80% { opacity: 0; }
    10%, 70% { opacity: 1; }
}

/* Play videos on hover */
.animation-card:hover .animation-video {
    animation-play-state: running;
}

/* Services section background animations */
@keyframes floatingDots {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-10px, -40px) rotate(180deg); }
    75% { transform: translate(-30px, -10px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes floatShape1 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        border-radius: 50% 30% 50% 30%;
    }
    25% { 
        transform: translate(15px, -25px) rotate(45deg);
        border-radius: 30% 50% 30% 50%;
    }
    50% { 
        transform: translate(-10px, -40px) rotate(90deg);
        border-radius: 40% 60% 40% 60%;
    }
    75% { 
        transform: translate(-20px, -15px) rotate(135deg);
        border-radius: 60% 40% 60% 40%;
    }
}

@keyframes floatShape2 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 30% 50% 30% 50%;
    }
    33% { 
        transform: translate(-20px, 15px) rotate(60deg) scale(1.1);
        border-radius: 50% 30% 50% 30%;
    }
    66% { 
        transform: translate(25px, -10px) rotate(120deg) scale(0.9);
        border-radius: 40% 60% 40% 60%;
    }
}

/* ===== PRICING CALCULATOR ===== */
.pricing {
    position: relative;
    padding: var(--spacing-3xl) 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 213, 115, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(255, 107, 53, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, var(--bg-primary) 0%, rgba(20, 25, 30, 0.95) 100%);
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 53, 0.03) 2px,
            rgba(255, 107, 53, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.pricing::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 107, 53, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: floatingDots 60s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.pricing .container {
    position: relative;
    z-index: 2;
}

.pricing-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-form {
    background: rgba(15, 20, 25, 0.9);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.tier-options {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.tier-options input[type="radio"] {
    display: none;
}

.tier-label {
    flex: 1;
    min-width: 120px;
    padding: var(--spacing-lg);
    border: 2px solid var(--tertiary);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.tier-label:hover {
    border-color: var(--accent);
}

.tier-options input[type="radio"]:checked + .tier-label {
    border-color: var(--accent);
    background: rgba(229, 90, 43, 0.25);
    color: var(--text-light);
}

.tier-options input[type="radio"]:checked + .tier-label .tier-price {
    color: var(--text-light);
}

.tier-name {
    display: block;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
}

.tier-price {
    color: var(--accent);
    font-size: 0.875rem;
}

input[type="number"],
select {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--tertiary);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
}

.addon-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.addon-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    cursor: pointer;
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    border: 2px solid var(--tertiary);
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.addon-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 90, 43, 0.1), transparent);
    transition: left 0.5s ease;
}

.addon-item:hover {
    background: rgba(229, 90, 43, 0.08);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 90, 43, 0.15);
}

.addon-item:hover::before {
    left: 100%;
}

.addon-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--tertiary);
    border-radius: var(--radius-md);
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--background-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.1);
}

.addon-item input[type="checkbox"]:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 
        0 0 0 2px rgba(229, 90, 43, 0.2),
        0 2px 8px rgba(229, 90, 43, 0.3);
    transform: scale(1.05);
}

.addon-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: 900;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    animation: checkPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes checkPop {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 0.8; }
    100% { transform: scale(1) rotate(360deg); opacity: 1; }
}

.addon-text {
    flex: 1;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.addon-item:hover .addon-text {
    color: var(--accent);
}

.addon-item input[type="checkbox"]:checked ~ .addon-text {
    color: var(--accent);
    font-weight: var(--font-weight-bold);
}

.voice-actor-options {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(229, 90, 43, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(229, 90, 43, 0.3);
}

.voice-gender-selection h4 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-size: 1.125rem;
}

.gender-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.gender-option {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.gender-option label {
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.gender-option input[type="number"] {
    max-width: 100px;
}

.recording-hours {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(229, 90, 43, 0.3);
}

.recording-hours label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.recording-hours input[type="number"] {
    max-width: 120px;
    margin-bottom: var(--spacing-sm);
}

.hours-note {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ===== LANGUAGE SELECTION POPUP WIDGET ===== */
.language-selection {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid rgba(229, 90, 43, 0.2);
}

.language-selection h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.language-selection h4 i {
    color: var(--accent);
    font-size: 1.125rem;
}

.language-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(229, 90, 43, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(229, 90, 43, 0.2);
}

.language-note strong {
    color: var(--accent);
    font-weight: var(--font-weight-bold);
}

/* Language Selector Button */
.language-selector-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.language-selector-button:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 90, 43, 0.3);
    box-shadow: 0 8px 25px rgba(229, 90, 43, 0.15);
}

.language-selector-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 90, 43, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.language-selector-button:hover::before {
    left: 100%;
}

.selector-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.selector-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(229, 90, 43, 0.8), rgba(229, 90, 43, 0.6));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.selector-icon i {
    font-size: 1.5rem;
    color: white;
}

.selector-text {
    flex: 1;
}

.selector-text h5 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.selector-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.selector-arrow {
    color: var(--accent);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.language-selector-button:hover .selector-arrow {
    transform: translateX(4px);
}

/* Selected Languages Summary */
.selected-languages-summary {
    margin-top: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(229, 90, 43, 0.15) 0%, rgba(229, 90, 43, 0.08) 100%);
    border: 2px solid var(--accent);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    backdrop-filter: blur(10px);
}

.selected-languages-summary h5 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.selected-languages-summary h5 i {
    color: var(--accent);
}

.language-summary-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.language-summary-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-language-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.summary-language-flag {
    font-size: 1.5rem;
}

.summary-language-name {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.summary-actor-counts {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.summary-actor-count {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.summary-actor-count i.fa-mars {
    color: #4FC3F7;
}

.summary-actor-count i.fa-venus {
    color: #F06292;
}

.btn-modify-selection {
    background: linear-gradient(135deg, rgba(229, 90, 43, 0.8), rgba(229, 90, 43, 0.6));
    border: none;
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-modify-selection:hover {
    background: linear-gradient(135deg, var(--accent), #d4511f);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(229, 90, 43, 0.4);
}

/* ===== LANGUAGE SELECTION MODAL ===== */
.language-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.language-modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.language-modal {
    background: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    min-height: 600px;
    overflow: visible;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.language-modal-overlay.active .language-modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.modal-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.modal-header h3 i {
    color: var(--accent);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-content {
    padding: var(--spacing-xl);
    overflow-y: auto;
    flex: 1;
    min-height: 400px;
    max-height: calc(85vh - 200px);
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 4px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent), rgba(229, 90, 43, 0.8));
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d4511f, var(--accent));
    box-shadow: 0 2px 8px rgba(229, 90, 43, 0.4);
}

.modal-description {
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(229, 90, 43, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(229, 90, 43, 0.2);
}

.modal-description strong {
    color: var(--accent);
}

.modal-language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
    margin-bottom: var(--spacing-lg);
}

.modal-language-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
}

.modal-language-card:hover {
    transform: translateY(-2px);
    border-color: rgba(229, 90, 43, 0.3);
    box-shadow: 0 8px 25px rgba(229, 90, 43, 0.15);
}

.modal-language-card.modal-language-selected {
    background: linear-gradient(135deg, rgba(229, 90, 43, 0.15) 0%, rgba(229, 90, 43, 0.08) 100%);
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(229, 90, 43, 0.2);
    transform: translateY(-2px);
}

.modal-language-header {
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-lg);
}

.modal-language-checkbox {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    cursor: pointer;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    width: 100%;
}

.modal-language-checkbox:hover {
    background: rgba(255, 255, 255, 0.08);
}

.modal-language-checkbox input[type="checkbox"] {
    display: none;
}

.modal-language-checkbox:hover {
    background: rgba(255, 255, 255, 0.08);
}

.modal-language-checkbox input[type="checkbox"] {
    display: none;
}

.modal-language-checkmark {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.modal-language-checkmark i {
    font-size: 16px;
    color: white;
    opacity: 0;
    transform: scale(0) rotate(180deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-language-checkbox input[type="checkbox"]:checked + .modal-language-checkmark {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(229, 90, 43, 0.2);
}

.modal-language-checkbox input[type="checkbox"]:checked + .modal-language-checkmark i {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.modal-language-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
    min-height: 2rem;
}

.modal-language-flag {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    display: block;
    min-width: 2rem;
}

.modal-language-name {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.modal-language-actors {
    opacity: 1;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-language-card.modal-language-selected .modal-language-actors {
    opacity: 1;
    pointer-events: auto;
    max-height: 200px;
    overflow: visible;
}

.modal-actor-controls {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.modal-actor-input-group {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.modal-actor-input-group:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(229, 90, 43, 0.4);
    transform: translateY(-1px);
}

.modal-actor-input-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    flex-shrink: 0;
}

.modal-actor-input-group label i.fa-mars {
    color: #4FC3F7;
}

.modal-actor-input-group label i.fa-venus {
    color: #F06292;
}

.modal-number-input {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    width: 130px;
    flex-shrink: 0;
}

.modal-number-input button {
    width: 36px;
    height: 36px;
    border: none;
    background: linear-gradient(135deg, rgba(229, 90, 43, 0.8), rgba(229, 90, 43, 0.6));
    color: white;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    line-height: 1;
}

.modal-number-input button:hover {
    background: linear-gradient(135deg, var(--accent), #d4511f);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(229, 90, 43, 0.4);
}

.modal-number-input button:active {
    transform: scale(0.95);
}

.modal-minus-btn {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.modal-plus-btn {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.modal-number-input input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    text-align: center;
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    padding: var(--spacing-sm);
    min-width: 58px;
    height: 36px;
}

.modal-number-input input:focus {
    outline: none;
}

.modal-footer {
    padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-xl) var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    flex-shrink: 0;
}

.modal-btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-size: 1rem;
}

.modal-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.modal-btn-primary {
    background: linear-gradient(135deg, rgba(229, 90, 43, 0.8), rgba(229, 90, 43, 0.6));
    color: white;
}

.modal-btn-primary:hover {
    background: linear-gradient(135deg, var(--accent), #d4511f);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(229, 90, 43, 0.4);
}

/* Modal Header Actions */
.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-access-btn {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(52, 73, 94, 0.8) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
    backdrop-filter: blur(10px);
}

.admin-access-btn:hover {
    background: linear-gradient(135deg, rgba(26, 37, 47, 0.9) 0%, rgba(44, 62, 80, 0.9) 100%);
    border-color: #9B59B6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
}

.admin-access-btn i {
    font-size: 14px;
    color: #9B59B6;
}

/* Enhanced Voice Actor Selection Styles */
.modal-voice-actors {
    margin: 15px 0;
    padding: 0 10px;
}

.voice-actor-section {
    margin-bottom: 25px;
}

.voice-actor-section h4 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(155, 89, 182, 0.3);
}

.voice-actor-section h4 i {
    color: #9B59B6;
    font-size: 16px;
}

.voice-actor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

/* Enhanced Actor Card Design - Dark Theme */
.voice-actor-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
}

.voice-actor-btn:hover {
    border-color: #9B59B6;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2) 0%, rgba(155, 89, 182, 0.1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.25);
}

.voice-actor-btn.selected {
    border-color: #9B59B6;
    background: linear-gradient(135deg, #9B59B6 0%, #8e44ad 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
}

.voice-actor-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9B59B6, #e74c3c, #f39c12, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.voice-actor-btn.selected::before {
    opacity: 1;
}

/* Actor Profile Layout */
.actor-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.actor-avatar {
    position: relative;
    flex-shrink: 0;
}

.actor-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.voice-actor-btn.selected .actor-avatar img {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Play Demo Button */
.play-demo {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 50%;
    display: none; /* Hidden by default until admin adds demo reels */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

.play-demo.available {
    display: flex; /* Show when demo reel is available */
}

.play-demo:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
}

.play-demo i {
    color: white;
    font-size: 8px;
    margin-left: 1px;
}

.voice-actor-btn.selected .play-demo {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Actor Information */
.actor-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.actor-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

.actor-specialties {
    font-size: 11px;
    opacity: 0.8;
    line-height: 1.2;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(155, 89, 182, 0.2);
    padding: 2px 6px;
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.voice-actor-btn.selected .actor-specialties {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.actor-experience {
    font-size: 10px;
    opacity: 0.7;
    line-height: 1;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== VOICE ACTOR ADMIN CONTROLS ===== */
.actor-remove-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.voice-actor-btn:hover .actor-remove-controls,
.actor-card:hover .actor-remove-controls,
.voice-actor:hover .actor-remove-controls {
    opacity: 1;
    transform: scale(1);
}

.remove-mode .actor-remove-controls {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.remove-actor-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    transition: all 0.2s ease;
}

.remove-actor-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    transform: translateY(-1px);
}

.remove-actor-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.4);
}

.actor-edit-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.voice-actor-btn:hover .actor-edit-controls,
.actor-card:hover .actor-edit-controls,
.voice-actor:hover .actor-edit-controls {
    opacity: 1;
    transform: scale(1);
}

.edit-mode .actor-edit-controls {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.edit-actor-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    transition: all 0.2s ease;
}

.edit-actor-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    transform: translateY(-1px);
}

.edit-actor-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.4);
}

/* ===== VOICE ACTOR CONTEXT MENU STYLES ===== */
.voice-actor-context-menu {
    position: fixed;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--secondary) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    min-width: 250px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    animation: contextMenuAppear 0.2s ease-out;
}

@keyframes contextMenuAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.context-menu-header {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(229, 90, 43, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.context-menu-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.actor-context-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.actor-context-name {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
}

.actor-context-specialties {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.context-menu-body {
    padding: 0.5rem 0;
}

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.context-menu-item:hover:not(.disabled) {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
}

.context-menu-item.disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}

.context-menu-item.admin-item {
    border-left: 3px solid var(--primary-orange);
}

.context-menu-item.danger:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.context-menu-item i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.context-menu-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Responsive context menu */
@media (max-width: 768px) {
    .voice-actor-context-menu {
        min-width: 200px;
        font-size: 0.8rem;
    }
    
    .context-menu-header {
        padding: 0.75rem;
    }
    
    .context-menu-header img {
        width: 32px;
        height: 32px;
    }
    
    .context-menu-item {
        padding: 0.6rem 0.75rem;
    }
}

/* ===== MODAL ADMIN CONTROLS STYLES ===== */
.modal-admin-controls.top-controls {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(229, 90, 43, 0.1) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
}

/* Ensure only one admin controls panel per modal */
.modal-admin-controls.top-controls:not(:first-of-type) {
    display: none !important;
}

.admin-controls-header {
    margin-bottom: 1rem;
}

.admin-controls-header h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-controls-header i {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.admin-controls-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-admin-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    min-width: 100px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.modal-admin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.modal-admin-btn:hover::before {
    left: 100%;
}

.modal-admin-btn.add-btn {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e55a2b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.modal-admin-btn.add-btn:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d04e26 100%);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.modal-admin-btn.edit-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.modal-admin-btn.edit-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
}

.modal-admin-btn.remove-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.modal-admin-btn.remove-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    transform: translateY(-2px);
}

.modal-admin-btn:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.modal-admin-btn i {
    font-size: 1rem;
}

/* Active states for edit and remove modes */
.modal-admin-btn.edit-btn[style*="background"] {
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.6);
    transform: translateY(-2px);
}

.modal-admin-btn.remove-btn[style*="background"] {
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.6);
    transform: translateY(-2px);
}

/* Responsive design for modal admin controls */
@media (max-width: 480px) {
    .admin-controls-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-admin-btn {
        width: 100%;
    }
    
    .modal-admin-controls.top-controls {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

.voice-actor-btn.selected .actor-experience {
    color: rgba(255, 255, 255, 0.8);
}

/* Actor Summary */
.modal-actor-summary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.selected-actors-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.selected-actors-count i {
    color: #9B59B6;
    font-size: 16px;
}

.male-count, .female-count {
    font-weight: 700;
    color: #9B59B6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-modal {
        width: 95%;
        max-height: 90vh;
        min-height: 500px;
        margin: var(--spacing-lg);
    }
    
    .modal-content {
        padding: var(--spacing-lg);
        max-height: calc(90vh - 180px);
    }
    
    .modal-header {
        padding: var(--spacing-lg);
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-language-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .modal-language-card {
        padding: var(--spacing-lg);
        min-height: 280px;
    }
    
    .modal-number-input {
        width: 120px;
    }
    
    .modal-number-input button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .modal-number-input input {
        height: 32px;
        min-width: 56px;
        font-size: 1rem;
    }
    
    .modal-footer {
        padding: var(--spacing-lg);
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .modal-btn {
        width: 100%;
        padding: var(--spacing-lg);
    }
    
    .selector-content {
        gap: var(--spacing-md);
    }
    
    .selector-icon {
        width: 50px;
        height: 50px;
    }
    
    .selector-icon i {
        font-size: 1.25rem;
    }
    
    .selector-text h5 {
        font-size: 1.1rem;
    }
}

/* Sound Design Options */
.sound-design-options {
    margin-top: var(--spacing-lg);
}

.sound-option-title {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.sound-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.sound-option-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.sound-option-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(229, 90, 43, 0.4);
    transform: translateY(-2px);
}

/* Branches Page Styles */
.branches-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.branch-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
}

.branch-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(229, 90, 43, 0.4);
    transform: translateY(-2px);
}

/* Sound Design Options */
.sound-design-options {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(229, 90, 43, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(229, 90, 43, 0.3);
}

.sound-team-selection h4 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-size: 1.125rem;
}

.team-option {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.team-option label {
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.team-option input[type="number"] {
    max-width: 120px;
    margin-bottom: var(--spacing-sm);
}

.team-note {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Music Options */
.music-options {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(229, 90, 43, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(229, 90, 43, 0.3);
}

.music-selection h4 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-size: 1.125rem;
}

.arranger-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.arranger-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    border: 2px solid var(--tertiary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.arranger-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 90, 43, 0.1), transparent);
    transition: left 0.5s ease;
}

.arranger-option:hover {
    border-color: var(--accent);
    background: rgba(229, 90, 43, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 90, 43, 0.15);
}

.arranger-option:hover::before {
    left: 100%;
}

.arranger-option input[type="radio"] {
    display: none;
}

.arranger-checkmark {
    width: 50px;
    height: 50px;
    border: 3px solid var(--tertiary);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--background-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.arranger-option input[type="radio"]:checked + .arranger-checkmark {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 
        0 0 0 3px rgba(229, 90, 43, 0.2),
        0 4px 15px rgba(229, 90, 43, 0.3);
    transform: scale(1.1);
}

.arranger-option input[type="radio"]:checked + .arranger-checkmark::after {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: radioPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes radioPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.3); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.arranger-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    transition: all var(--transition-fast);
}

.arranger-name {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.arranger-price {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.arranger-option:hover .arranger-name {
    color: var(--accent);
}

.arranger-option:hover .arranger-price {
    color: var(--text-primary);
}

.arranger-option input[type="radio"]:checked ~ .arranger-info .arranger-name {
    color: var(--accent);
    font-weight: var(--font-weight-bold);
}

.arranger-option input[type="radio"]:checked ~ .arranger-info .arranger-price {
    color: var(--text-primary);
}

.music-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(229, 90, 43, 0.3);
}

.music-input {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.music-input label {
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.music-input input[type="number"] {
    max-width: 120px;
}

.calculator-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    border: 2px dashed var(--tertiary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.upload-label:hover {
    border-color: var(--accent);
    background: rgba(229, 90, 43, 0.1);
}

.calculator-result {
    display: flex;
    align-items: flex-start;
}

.result-card {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    width: 100%;
    position: sticky;
    top: 100px;
}

.result-card h3 {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.price-breakdown {
    margin-bottom: var(--spacing-xl);
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.price-total {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-lg) 0;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
}

.estimate-note {
    font-size: 0.875rem;
    opacity: 0.8;
    text-align: center;
    margin-top: var(--spacing-lg);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .pricing-calculator {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .tier-options {
        flex-direction: column;
    }
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--background-light);
}

.projects-preview {
    max-width: 1200px;
    margin: 0 auto;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.preview-category {
    background: var(--background-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--tertiary);
}

.preview-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 2rem;
    color: var(--text-light);
    transition: transform var(--transition-normal);
}

.preview-category:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.preview-category h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.preview-category p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.category-count {
    background: var(--secondary);
    color: var(--accent);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
    display: inline-block;
}

.projects-cta {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
}

.projects-cta .btn {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    padding: var(--spacing-lg) var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.projects-cta .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
}

.btn-large {
    font-size: 1.125rem;
    padding: var(--spacing-lg) var(--spacing-2xl);
}

.cta-description {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .preview-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .preview-category {
        padding: var(--spacing-lg);
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .projects-cta {
        padding: var(--spacing-xl);
    }
    
    .projects-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== CLIENTS SECTION ===== */
.clients {
    position: relative;
    padding: var(--spacing-3xl) 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 213, 115, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(255, 107, 53, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, var(--bg-primary) 0%, rgba(20, 25, 30, 0.95) 100%);
    overflow: hidden;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 53, 0.03) 2px,
            rgba(255, 107, 53, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.clients::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 107, 53, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: floatingDots 60s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.clients .container {
    position: relative;
    z-index: 2;
}

.clients-section,
.partners-section {
    margin-bottom: var(--spacing-3xl);
}

.clients-section h3,
.partners-section h3 {
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    font-size: 1.75rem;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.client-card {
    padding: var(--spacing-xl);
    background: rgba(15, 20, 25, 0.9);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.partner-card {
    border-color: rgba(229, 90, 43, 0.4);
}

.subsidiary-card {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.05);
}

.client-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

/* Specific styling for Kuro Games logo - white background */
.client-logo img[alt="Kuro Games"] {
    background: white;
    border-radius: 8px;
    padding: 8px;
}

.client-card:hover .client-logo img {
    transform: scale(1.1);
}

.client-card h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: 1.25rem;
}

.client-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.partnership-type {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--accent);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-card .partnership-type {
    background: var(--accent);
}

.subsidiary-card .partnership-type {
    background: #22c55e;
}

.partnership-cta {
    margin-top: var(--spacing-3xl);
    text-align: center;
    padding: var(--spacing-3xl);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    color: var(--text-light);
}

.partnership-cta .cta-content h3 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
}

.partnership-cta .cta-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.partnership-cta .btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-size: 1.125rem;
    padding: var(--spacing-lg) var(--spacing-2xl);
}

.partnership-cta .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .client-card {
        padding: var(--spacing-lg);
    }
    
    .client-logo {
        width: 80px;
        height: 80px;
    }
    
    .partnership-cta {
        padding: var(--spacing-xl);
    }
    
    .partnership-cta .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .partnership-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(15, 20, 25, 0.9);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.contact-form label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--tertiary);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.info-card {
    padding: var(--spacing-xl);
    background: rgba(15, 20, 25, 0.9);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-light);
    font-size: 1.5rem;
}

.info-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--background-dark);
    color: var(--text-light);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand p {
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

.footer .brand-logo {
    height: 35px;
    filter: brightness(0) invert(1); /* Makes logo white for dark footer */
    transition: all var(--transition-normal);
}

[data-theme="dark"] .footer .brand-logo {
    filter: none; /* Remove filter in dark mode since we're switching the actual logo */
}

.footer-brand-text {
    color: var(--accent) !important;
    font-weight: var(--font-weight-bold);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.social-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
    border-color: var(--accent);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.link-group h4 {
    margin-bottom: var(--spacing-lg);
    color: var(--accent);
}

.link-group a {
    display: block;
    padding: var(--spacing-xs) 0;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.link-group a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    opacity: 0.8;
    font-size: 0.875rem;
    transition: opacity var(--transition-fast);
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--accent);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-lg);
        max-width: 500px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 var(--spacing-lg);
        gap: var(--spacing-xl);
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        max-width: 280px;
    }
    
    .stat {
        padding: var(--spacing-lg);
    }
    
    .stat-number, .hero-stats .stat-unit {
        font-size: 2.5rem;
    }
}

/* ===== CAREER CTA SECTION ===== */
.career-cta-section {
    position: relative;
    padding: 120px 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 213, 115, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(255, 107, 53, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, var(--bg-primary) 0%, rgba(20, 25, 30, 0.95) 100%);
    overflow: hidden;
}

.career-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 53, 0.03) 2px,
            rgba(255, 107, 53, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.career-cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 107, 53, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: floatingDots 60s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.career-cta-section .container {
    position: relative;
    z-index: 2;
}

.career-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cta-icon i {
    font-size: 2.5rem;
    color: white;
}

.career-cta-content h2 {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.career-cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

.btn-large i {
    margin-right: 12px;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .career-cta-section {
        padding: 80px 0;
    }
    
    .cta-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .cta-icon i {
        font-size: 2rem;
    }
    
    .career-cta-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .career-cta-content p {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #e0e0e0;
        --background-light: #0f1419;
        --tertiary: #999999;
    }
}

/* ===== QUOTE REQUEST MODAL ===== */
.quote-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.quote-modal-content {
    background: var(--background-dark);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid var(--tertiary);
}

.quote-modal.active .quote-modal-content {
    transform: translateY(0);
}

.quote-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--tertiary);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--tertiary) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.quote-modal-header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.quote-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-modal-close:hover {
    background: var(--tertiary);
    color: var(--text-primary);
}

.quote-modal-body {
    padding: var(--spacing-xl);
}

.quote-section {
    margin-bottom: var(--spacing-2xl);
}

.quote-section h3 {
    color: var(--primary-orange);
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.quote-form-group {
    margin-bottom: var(--spacing-lg);
}

.quote-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.quote-form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.quote-form-group input,
.quote-form-group select,
.quote-form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--secondary);
    border: 1px solid var(--tertiary);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.quote-form-group input:focus,
.quote-form-group select:focus,
.quote-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.quote-form-group input[readonly] {
    background: var(--tertiary);
    color: var(--primary-orange);
    font-weight: var(--font-weight-semibold);
    cursor: not-allowed;
}

.quote-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.schedule-info {
    background: var(--secondary);
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.estimated-timeline h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
}

.estimated-timeline p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.rush-options {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--tertiary);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Radio-style circular button for rush delivery */
.radio-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
    user-select: none;
}

.radio-label input[type="checkbox"] {
    display: none;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid var(--tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.radio-circle::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary-orange);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.radio-label:hover .radio-circle {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.radio-label input[type="checkbox"]:checked + .radio-circle {
    border-color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.1);
}

.radio-label input[type="checkbox"]:checked + .radio-circle::before {
    transform: scale(1);
}

.rush-info {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-left: 24px;
}

.quote-form-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--tertiary);
    margin-top: var(--spacing-xl);
}

.quote-form-actions .btn {
    min-width: 120px;
}

/* Timeline Display Styles */
.timeline-active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 90, 0.1) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
}

.timeline-active h4 {
    color: var(--primary-orange);
}

.timeline-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.timeline-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-value {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .quote-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .quote-modal-header,
    .quote-modal-body {
        padding: var(--spacing-lg);
    }
    
    .quote-form-row {
        grid-template-columns: 1fr;
    }
    
    .quote-form-actions {
        flex-direction: column;
    }
    
    .timeline-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .quote-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .quote-section h3 {
        font-size: 1.1rem;
    }
}

/* ===== COMPANY CAROUSEL STYLES ===== */
.company-carousel {
    position: relative;
    margin-top: var(--spacing-3xl);
    padding: 0 100px; /* Add padding for external arrows */
    scroll-behavior: smooth;
}

/* Custom Scroll Design for About Section */
.about {
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 53, 0.3) 20%, 
        rgba(255, 107, 53, 0.6) 50%, 
        rgba(255, 107, 53, 0.3) 80%, 
        transparent 100%);
    z-index: 1;
    animation: scrollIndicator 3s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.carousel-container {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--tertiary);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.carousel-nav {
    position: absolute;
    top: calc(50% + 20px); /* Adjust to center with carousel content area */
    transform: translateY(-50%);
    background: rgba(255, 107, 53, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000 !important; /* Very high z-index */
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 2rem !important; /* Larger for Unicode arrows */
    font-weight: bold !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(5px);
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1 !important;
}

.carousel-nav:hover {
    background: var(--primary-orange) !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    border-color: rgba(255, 255, 255, 1) !important;
}

.carousel-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav.prev {
    left: 15px !important; /* Position inside container with margin */
}

.carousel-nav.next {
    right: 15px !important; /* Position inside container with margin */
}

.carousel-slides {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 850px; /* Increased from 800px for more space */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: var(--spacing-lg) var(--spacing-md);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center; /* Center content vertically */
    overflow-y: auto; /* Allow scrolling if needed */
    cursor: pointer; /* Make slide clickable */
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-slide.next {
    transform: translateX(100%);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(255, 107, 53, 0.05) 100%);
    position: relative;
}

.carousel-indicators::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), transparent);
    z-index: 0;
}

.indicator {
    width: 16px; /* Increased from 8px */
    height: 16px; /* Increased from 8px */
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 53, 0.4);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    margin: 0 6px; /* Increased margin for better spacing */
}

.indicator:hover {
    background: rgba(255, 107, 53, 0.6);
    border-color: var(--primary-orange);
    transform: scale(1.3);
}

.indicator.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: scale(1.5);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.indicator.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ===== SIMPLIFIED CAROUSEL CONTENT STYLES ===== */
.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

/* Content Card Styling - Updated for better visibility */
.content-card {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(26, 32, 44, 0.95) 100%) !important;
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl); /* Reduced from 3xl for better fit */
    max-width: 850px; /* Increased from 800px */
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 107, 53, 0.2);
    backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 0 auto; /* Center the card */
    min-height: fit-content; /* Allow content to determine height */
}

/* Additional override for any conflicting styles */
.carousel-slide .content-card {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(26, 32, 44, 0.95) 100%) !important;
}

.carousel-slide.active .content-card {
    opacity: 1;
    transform: translateY(0);
}

.content-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.content-card p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: var(--spacing-xl);
}

.content-card .highlight {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.5;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background-color: rgba(255, 107, 53, 0.15);
    background-image: none;
    color: var(--primary-orange);
    -webkit-text-fill-color: var(--primary-orange);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.chart-visual {
    margin-top: var(--spacing-xl);
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 107, 53, 0.2);
    min-width: 150px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    backdrop-filter: blur(10px);
}

.carousel-slide.active .stat-item:nth-child(1) { animation-delay: 0.3s; }
.carousel-slide.active .stat-item:nth-child(2) { animation-delay: 0.5s; }
.carousel-slide.active .stat-item:nth-child(3) { animation-delay: 0.7s; }

.stat-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.stat-unit {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-left: 2px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness for simplified carousel */
@media (max-width: 768px) {
    .company-carousel {
        padding: 0 var(--spacing-md);
    }
    
    .carousel-nav {
        width: 55px; /* Slightly larger for mobile */
        height: 55px; /* Slightly larger for mobile */
        font-size: 1.3rem;
    }
    
    .carousel-nav.prev {
        left: 15px; /* Moved in from edge for easier access */
        top: 50%;
        transform: translateY(-50%); /* Keep centered vertically */
    }
    
    .carousel-nav.next {
        right: 15px; /* Moved in from edge for easier access */
        top: 50%;
        transform: translateY(-50%); /* Keep centered vertically */
    }
    
    .carousel-slides {
        height: auto;
        min-height: 650px; /* Increased for better content fit */
    }
    
    .content-card {
        padding: var(--spacing-xl);
        margin: var(--spacing-lg);
        max-width: 90%; /* Responsive width */
        background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(26, 32, 44, 0.95) 100%) !important;
    }
    
    .indicator {
        width: 18px; /* Larger for touch */
        height: 18px; /* Larger for touch */
        margin: 0 8px; /* More spacing on mobile */
    }
    
    .content-card h2 {
        font-size: 1.8rem;
    }
    
    .content-card p {
        font-size: 1.1rem;
    }
    
    .chart-visual {
        gap: var(--spacing-md);
    }
    
    .stat-item {
        min-width: 120px;
        padding: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ===== EDITORIAL CAROUSEL STYLES ===== */
.editorial-layout {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-2xl);
}

.editorial-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.editorial-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out;
}

.editorial-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    height: auto;
}

.editorial-text-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.text-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--tertiary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
}

.text-box.primary {
    animation-delay: 0.4s;
    border-left: 4px solid var(--primary-orange);
}

.text-box.secondary {
    animation-delay: 0.6s;
    border-left: 4px solid #4CAF50;
}

.text-box.tertiary {
    animation-delay: 0.8s;
    border-left: 4px solid #2196F3;
}

.text-box h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.text-box p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.text-box strong {
    color: var(--primary-orange);
    font-weight: 700;
}

.editorial-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 1s ease-out 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== CLEAN EDITORIAL ANIMATIONS ===== */
.carousel-slide.active .editorial-title {
    animation: fadeInUp 1s ease-out;
}

.carousel-slide.active .editorial-subtitle {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.carousel-slide.active .text-box.primary {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.carousel-slide.active .text-box.secondary {
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.carousel-slide.active .text-box.tertiary {
    animation: slideInUp 0.8s ease-out 0.8s both;
}

.carousel-slide.active .editorial-visual {
    animation: scaleIn 1s ease-out 1s both;
}

/* Remove old YouTube-style classes */
.youtube-title,
.youtube-subtitle,
.highlight-text,
.pop-number {
    /* Reset to clean styling */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    animation: none;
    text-shadow: none;
}

/* ===== MARKET DATA STYLES ===== */
.market-data-container,
.marketing-data-container {
    width: 100%;
    max-width: none;
}

.market-header,
.marketing-header {
    text-align: center;
    margin-bottom: var(--spacing-md); /* Further reduced */
}

.market-header h3,
.marketing-header h3 {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-orange), #ff8c5a, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    animation: textPop 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.market-subtitle,
.marketing-subtitle {
    color: var(--text-secondary);
    font-size: 1.4rem;
    animation: slideInRight 1s ease-out 0.7s both;
    text-align: center;
}

.data-grid,
.marketing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl); /* Reduced from 4xl */
    align-items: start;
    width: 100%;
    max-width: none;
}

/* ===== EDITORIAL CHART STYLES ===== */
.editorial-visual .chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--tertiary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    width: 100%;
    max-width: 500px;
}

.editorial-visual .chart-container h4 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.editorial-visual .engagement-chart {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--tertiary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    width: 100%;
    max-width: 500px;
}

.editorial-visual .engagement-chart h4 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ===== BAR CHART STYLES ===== */
.chart-container {
    background: rgba(255, 107, 53, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl); /* Reduced from 2xl */
    border: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.chart-container h4 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    font-size: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: end;
    height: 350px;
    gap: var(--spacing-xl);
}

.chart-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
    animation: barSlideUp 1.2s ease-out;
    transform-origin: bottom;
    position: relative;
    transition: all 0.3s ease;
}

.chart-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.chart-bar:hover::before {
    opacity: 1;
}

.chart-bar:hover {
    transform: scale(1.05) translateY(-5px);
    filter: brightness(1.1);
}

@keyframes barSlideUp {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.carousel-slide.active .chart-bar:nth-child(1) { animation-delay: 0.1s; }
.carousel-slide.active .chart-bar:nth-child(2) { animation-delay: 0.3s; }
.carousel-slide.active .chart-bar:nth-child(3) { animation-delay: 0.5s; }

.bar {
    width: 60px;
    background: linear-gradient(180deg, var(--primary-orange) 0%, #ff8c5a 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    min-height: 80px;
    transform: scaleY(0);
    transform-origin: bottom;
    overflow: hidden;
}

.bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.3), transparent);
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50% { transform: translateY(-3px) scaleY(1.05); }
}

.bar.animated {
    transform: scaleY(1);
}

.anime-bar {
    background: linear-gradient(180deg, var(--primary-orange) 0%, #ff8c5a 100%);
}

.manga-bar {
    background: linear-gradient(180deg, #4CAF50 0%, #66BB6A 100%);
}

.projected-bar {
    background: linear-gradient(180deg, #2196F3 0%, #42A5F5 100%);
}

.bar-label {
    color: white;
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    text-align: center;
}

.bar-value {
    color: white;
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    text-align: center;
}

.year {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-top: var(--spacing-sm);
    font-size: 1rem;
}

/* ===== MARKET INSIGHTS ===== */
.market-insights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.insight-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--tertiary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.carousel-slide.active .insight-card {
    opacity: 1;
    transform: translateY(0);
}

.insight-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.insight-content h5 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.insight-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.market-opportunity {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 90, 0.1) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl); /* Reduced from 2xl */
    margin-top: var(--spacing-lg); /* Reduced from xl */
}

.market-opportunity h4 {
    color: var(--primary-orange);
    margin-bottom: var(--spacing-md);
    font-size: 1.4rem;
}

.market-opportunity p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* ===== PIE CHART STYLES ===== */
.engagement-chart {
    background: rgba(33, 150, 243, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl); /* Reduced from 2xl */
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.engagement-chart h4 {
    text-align: center;
    background: linear-gradient(45deg, var(--text-primary), #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xl);
    font-size: 1.6rem;
    font-weight: 800;
    animation: textPop 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-2xl);
}

.pie-chart {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary-orange) 0% 85%,
        #4CAF50 85% 163%,
        #2196F3 163% 255%,
        var(--tertiary) 255% 360%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pieSpinIn 1.5s ease-out;
    transition: all 0.4s ease;
    cursor: pointer;
}

.pie-chart::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(
        rgba(255, 107, 53, 0.3) 0% 85%,
        rgba(76, 175, 80, 0.3) 85% 163%,
        rgba(33, 150, 243, 0.3) 163% 255%,
        rgba(255, 255, 255, 0.1) 255% 360%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.pie-chart:hover::before {
    opacity: 1;
}

.pie-chart:hover {
    transform: scale(1.05) rotate(5deg);
    filter: brightness(1.1);
}

@keyframes pieSpinIn {
    from {
        transform: rotate(-90deg) scale(0);
        opacity: 0;
    }
    to {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-item span {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===== MARKETING STATS ===== */
.marketing-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.stat-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--tertiary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: statCardFloat 3s ease-in-out infinite;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

@keyframes statCardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: 1s; }
.stat-card:nth-child(3) { animation-delay: 2s; }

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-orange), #ff8c5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    animation: bounceInDown 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.stat-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    opacity: 0;
    animation: shimmer 2s infinite;
}

.stat-card:hover .stat-number {
    transform: scale(1.15) rotateY(5deg);
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

.stat-label {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-xs);
    font-size: 1.05rem;
}

.stat-growth {
    color: #4CAF50;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
}

.brand-examples {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--tertiary);
}

.brand-examples h4 {
    background: linear-gradient(45deg, var(--primary-orange), #ff8c5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    animation: textPop 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.6s both;
}

.brand-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: var(--spacing-lg);
}

.brand-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.brand-item .brand-logo {
    background: var(--primary-orange);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
}

.brand-item span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.vilostudios-advantage {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 90, 0.1) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.vilostudios-advantage h4 {
    color: var(--primary-orange);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.vilostudios-advantage p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== RESPONSIVE CAROUSEL ===== */
@media (max-width: 768px) {
    .carousel-slide {
        padding: var(--spacing-xl);
        min-height: auto;
    }
    
    .data-grid,
    .marketing-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
    
    .bar-chart {
        height: 250px;
        gap: var(--spacing-md);
    }
    
    .bar {
        width: 50px;
    }
    
    .brand-logos {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .stat-cards {
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .market-header h3,
    .marketing-header h3 {
        font-size: 1.5rem;
    }
    
    .carousel-slide {
        padding: var(--spacing-lg);
    }
    
    .pie-chart {
        width: 150px;
        height: 150px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Enhanced stats responsive styling */
    .hero-stats {
        flex-direction: column;
        gap: 2.5rem;
        margin-top: 1.5rem;
        align-items: center;
        padding: 0 1rem;
    }
    
    .stat-enhanced {
        min-width: auto;
        width: 100%;
        max-width: 280px;
    }
    
    .stat-header {
        margin-bottom: 2rem;
    }
    
    .global-reach {
        gap: 1.2rem;
    }
    
    .reach-meter {
        width: 200px;
        height: 10px;
        margin: 1rem auto 0;
    }
    
    .meter-indicator {
        top: -45px;
        right: 10px;
    }
    
    .meter-value {
        font-size: 0.9rem;
    }
    
    .meter-label {
        font-size: 0.65rem;
    }
    
    .reach-platforms {
        gap: 2rem;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .platform-item {
        gap: 0.4rem;
    }
    
    .platform-item i {
        font-size: 1.4rem;
    }
    
    .platform-item span {
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .ctr-comparison {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .ctr-bar {
        gap: 1rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .ctr-bar .bar-fill {
        height: 10px;
    }
    
    .ctr-bar.traditional .bar-fill {
        max-width: 60px;
    }
    
    .ctr-bar.animation .bar-fill {
        max-width: 150px;
    }
    
    .bar-label {
        font-size: 0.8rem;
        min-width: 70px;
    }
    
    .bar-value {
        font-size: 0.75rem;
        min-width: 40px;
    }
    
    .stat-number,
    .stat-unit {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }
    
    .stat-label {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
}

/* Tablet responsive design */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-stats {
        flex-direction: row;
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-enhanced {
        flex: 1;
        min-width: 250px;
        max-width: 300px;
    }
    
    .reach-meter {
        width: 180px;
    }
    
    .reach-platforms {
        gap: 1.5rem;
    }
    
    .platform-item i {
        font-size: 1.3rem;
    }
    
    .platform-item span {
        font-size: 0.7rem;
    }
    
    .ctr-comparison {
        gap: 0.8rem;
    }
    
    .ctr-bar .bar-fill {
        height: 9px;
    }
    
    .stat-number,
    .stat-unit {
        font-size: clamp(2.2rem, 3vw, 3rem);
    }
}

/* Utaites Corner Notification */
.utaites-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(20, 25, 30, 0.98) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    max-width: 280px;
    animation: popInFromBottom 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    transform-origin: bottom right;
}

.notification-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10001;
    font-weight: bold;
    line-height: 1;
    opacity: 0.8;
    pointer-events: all;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 0, 0, 0.8);
    color: #fff;
    transform: scale(1.1);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notification-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.notification-text {
    flex: 1;
    padding-top: 2px;
}

.notification-text h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.notification-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.listen-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.listen-btn:hover {
    background: #e85d30;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

@keyframes popInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100%) scale(0.3);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes popOutToBottom {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(100%) scale(0.8);
    }
}

.utaites-notification.closing {
    animation: popOutToBottom 0.3s ease forwards;
}

/* Hide notification on small screens */
@media (max-width: 768px) {
    .utaites-notification {
        display: none;
    }
}

@media (max-width: 1024px) {
    .utaites-notification {
        bottom: 15px;
        right: 15px;
        max-width: 250px;
    }
    
    .avatar-img {
        width: 45px;
        height: 45px;
    }
    
    .notification-text h4 {
        font-size: 0.9rem;
    }
    
    .notification-text p {
        font-size: 0.8rem;
    }
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-panel-container {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.admin-panel-header {
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: between;
    align-items: center;
}

.admin-panel-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-user-info {
    color: #94a3b8;
    font-size: 0.9rem;
}

.admin-user-info strong {
    color: #ff6b35;
}

.admin-close-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-close-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
}

.admin-panel-content {
    height: calc(90vh - 80px);
    overflow-y: auto;
}

.admin-nav-tabs {
    display: flex;
    background: rgba(30, 41, 59, 0.5);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.admin-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.admin-tab-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #ffffff;
}

.admin-tab-btn.active {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

.admin-tab-content {
    display: none;
    padding: 2rem;
}

.admin-tab-content.active {
    display: block;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-section-header h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
}

.admin-btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border: none;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.admin-btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-btn-secondary:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

.admin-actors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.admin-actor-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.admin-actor-card:hover {
    transform: translateY(-4px);
    border-color: #ff6b35;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.admin-actor-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-actor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
}

.admin-actor-info h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.admin-actor-info p {
    color: #94a3b8;
    font-size: 0.875rem;
}

.admin-actor-details {
    margin-bottom: 1rem;
}

.admin-actor-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.admin-actor-detail strong {
    color: #ff6b35;
}

.admin-actor-detail span {
    color: #94a3b8;
}

.admin-actor-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-account-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-account-card.current-user {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.account-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.account-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
}

.account-details h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-badge {
    background: #10b981;
    color: #ffffff;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.account-details p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.account-role {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.account-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.settings-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.settings-card h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.settings-form label {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.settings-form input,
.settings-form select {
    background: rgba(15, 20, 25, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #ffffff;
    padding: 0.75rem;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.settings-form input:focus,
.settings-form select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Admin Modal Styles */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-modal {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.admin-modal-header {
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
}

.admin-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.admin-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.admin-modal-form {
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(15, 20, 25, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #ffffff;
    padding: 0.75rem;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group small {
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.admin-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-panel-overlay {
        padding: 1rem;
    }
    
    .admin-panel-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .admin-nav-tabs {
        flex-direction: column;
    }
    
    .admin-tab-content {
        padding: 1rem;
    }
    
    .admin-section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .admin-actors-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-settings-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-account-card {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .account-actions {
        justify-content: center;
    }
}

/* ===== CONFIRMATION DIALOG STYLES ===== */
.confirmation-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

.confirmation-dialog {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 400px;
    animation: slideIn 0.2s ease-out;
    overflow: hidden;
}

.confirmation-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-bottom: 1px solid rgba(220, 53, 69, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.confirmation-header i {
    color: #fbbf24;
    font-size: 1.5rem;
}

.confirmation-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin: 0;
}

.confirmation-body {
    padding: 1.5rem;
}

.confirmation-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.confirmation-actions {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.confirm-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    min-width: 80px;
    justify-content: center;
}

.confirm-btn.yes-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.confirm-btn.yes-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #b21e2f 100%);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    transform: translateY(-1px);
}

.confirm-btn.no-btn {
    background: var(--tertiary);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.confirm-btn.no-btn:hover {
    background: var(--secondary);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.confirm-btn:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive confirmation dialog */
@media (max-width: 480px) {
    .confirmation-dialog {
        width: 95%;
        margin: 1rem;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirm-btn {
        width: 100%;
    }
}

/* ===== EDIT ACTOR DIALOG STYLES ===== */
.edit-actor-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

.edit-actor-dialog {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 500px;
    animation: slideIn 0.2s ease-out;
    overflow: hidden;
}

.edit-dialog-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(229, 90, 43, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.edit-dialog-header i {
    color: var(--primary-orange);
    font-size: 1.5rem;
}

.edit-dialog-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin: 0;
    flex: 1;
}

.close-edit-dialog {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-edit-dialog:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.edit-dialog-body {
    padding: 1.5rem;
}

.edit-form-group {
    margin-bottom: 1.25rem;
}

.edit-form-group:last-child {
    margin-bottom: 0;
}

.edit-form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.edit-form-group input {
    width: 100%;
    padding: 0.75rem;
    background: var(--tertiary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.edit-form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.edit-form-group input::placeholder {
    color: var(--text-secondary);
}

.edit-dialog-actions {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.edit-save-btn,
.edit-cancel-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    min-width: 120px;
    justify-content: center;
}

.edit-save-btn {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e55a2b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.edit-save-btn:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d04e26 100%);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    transform: translateY(-1px);
}

.edit-cancel-btn {
    background: var(--tertiary);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.edit-cancel-btn:hover {
    background: var(--secondary);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.edit-save-btn:focus,
.edit-cancel-btn:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Responsive edit dialog */
@media (max-width: 480px) {
    .edit-actor-dialog {
        width: 95%;
        margin: 1rem;
    }
    
    .edit-dialog-actions {
        flex-direction: column;
    }
    
    .edit-save-btn,
    .edit-cancel-btn {
        width: 100%;
    }
}
