/* ==========================================================================
   PERUMALIL CREATIVE - Core Design System & Styling Architecture
   ========================================================================== */

/* 1. Design Tokens & Core Variables */
:root {
    /* Color Palette */
    --bg-dark: #050505;
    /* Space black background */
    --bg-card: #0c0d12;
    /* Luxury editorial charcoal card background */
    --bg-card-hover: #14161f;
    /* Interactive card background */
    --text-primary: #ffffff;
    /* Pure white high-contrast text */
    --text-secondary: #a0a0ab;
    /* Muted silver grey */
    --text-muted: #51515a;
    /* Dark boundary gray for labels & grids */

    --accent: #673AB7;
    /* Creative Purple */
    --accent-glow: rgba(103, 58, 183, 0.25);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(255, 255, 255, 0.15);

    /* Typography Scales */
    --font-heading: 'Syne', sans-serif;
    --font-editorial: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Global Layout Parameters */
    --padding-side: 8vw;
    --padding-side-mobile: 6vw;
    --header-height: 80px;
}

/* 2. Global Resets & Document Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip; /* Fixes browser viewport stickiness restrictions */
}

body.loading {
    overflow: hidden;
}

/* Custom Selection */
::selection {
    background-color: var(--accent);
    color: var(--text-primary);
}

/* Custom Editorial Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* 3. Utility Typographies */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
}

p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Kinetic Line and Word Splitting Helpers */
.split-line {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    margin-right: 0.28em;
}

.split-word {
    display: inline-block;
    transform: translateY(105%);
}

.hero-title-line-wrapper {
    display: block;
    overflow: hidden;
}

.hero-title-line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

/* 4. Canvas & Interactive Curvature Elements */
.webgl-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0d0f1a 0%, #050505 100%);
}

/* Native Cursors Style Fallback */
html,
body {
    cursor: auto;
}

/* 5. Preloader Elements */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--padding-side);
}

.loader-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-family: var(--font-editorial);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: 4vw;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    align-self: center;
    text-transform: uppercase;
}

.loader-counter {
    align-self: flex-end;
    font-family: var(--font-editorial);
    font-size: 10vw;
    font-weight: 300;
    line-height: 0.8;
    color: var(--text-primary);
}

/* 6. Sticky Floating Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    padding: 0 var(--padding-side);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-bottom 0.4s ease, height 0.4s ease;
}

.navbar.scrolled {
    height: 70px;
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand span {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: clamp(12px, 1.6vw, 24px);
    align-items: center;
}

.nav-link {
    font-family: var(--font-editorial);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 8px var(--accent);
}

.nav-link.active {
    color: var(--accent) !important;
    font-weight: 600;
    text-shadow: 0 0 12px var(--accent-glow);
}

/* 6b. Dropdown Navigation Menus */
.nav-item.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-chevron {
    width: 11px;
    height: 11px;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    stroke: currentColor;
    flex-shrink: 0;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown:hover .nav-link,
.nav-dropdown:focus-within .nav-link {
    color: var(--text-primary);
}

.nav-dropdown:hover .nav-link::after,
.nav-dropdown:focus-within .nav-link::after {
    width: 100%;
}

/* Dropdown Menu Container (Clean Dark Agency Theme - No Red Border) */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: 2px solid #673AB7 !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75) !important;
    padding: 8px 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    z-index: 10005 !important;
    list-style: none;
    margin: 0;
    pointer-events: none;
}

/* Hover bridge so moving cursor down into dropdown doesn't lose hover */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Dropdown Submenu Links */
.dropdown-item {
    display: block !important;
    padding: 11px 22px !important;
    color: #cbd5e1 !important;
    font-family: var(--font-editorial, 'Inter', sans-serif) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    text-align: left !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10006 !important;
    transition: background 0.15s ease, padding-left 0.15s ease, color 0.15s ease !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.dropdown-item:last-child {
    border-bottom: none !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(103, 58, 183, 0.22) !important;
    color: #C4B5FD !important;
    padding-left: 26px !important;
}

/* Mobile Submenu Accordion */
.mobile-nav-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mobile-nav-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-nav-header-row .mobile-nav-link {
    flex-grow: 1;
}

.mobile-submenu-toggle {
    background: transparent;
    border: none;
    color: #E2E8F0;
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, color 0.2s ease;
}

.mobile-submenu-toggle svg {
    stroke: #E2E8F0;
}

.mobile-submenu-toggle.active {
    transform: rotate(180deg);
    color: #C4B5FD;
}

.mobile-submenu-toggle.active svg {
    stroke: #C4B5FD;
}

.mobile-submenu {
    display: none;
    flex-direction: column;
    padding-left: 20px;
    margin: 4px 0 12px 18px;
    gap: 4px;
    border-left: 2px solid rgba(168, 85, 247, 0.45);
}

.mobile-submenu.active {
    display: flex;
}

.mobile-sub-link {
    padding: 8px 12px;
    font-family: var(--font-editorial);
    font-size: 0.95rem;
    font-weight: 600;
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-sub-link:hover,
.mobile-sub-link:active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transform: translateX(4px);
}

/* Scroll Lock for Open Modals */
html.site-modal-open,
body.site-modal-open,
html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100% !important;
}

/* Site Modals (Careers & Blog Journal) */
.site-modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 12, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    display: none;
    padding: 32px 16px 60px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    overscroll-behavior: contain;
    touch-action: pan-y;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.site-modal-backdrop.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.site-modal-card {
    background: #11131c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(103, 58, 183, 0.25);
    margin: max(0px, calc(50vh - 350px)) auto 30px auto;
    box-sizing: border-box;
    flex-shrink: 0;
}

.site-modal-card::-webkit-scrollbar {
    width: 6px;
}

.site-modal-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.site-modal-card::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
    border-radius: 999px;
}

.site-modal-card::-webkit-scrollbar-thumb:hover {
    background: #A855F7;
}

.site-modal-backdrop.active .site-modal-card {
    transform: scale(1);
}

.site-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.site-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.35);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-editorial);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 1.8s infinite;
}

.site-modal-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.site-modal-subtitle {
    color: #CBD5E1 !important;
    font-size: 0.98rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.careers-roles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.career-role-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.career-role-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.career-role-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.career-role-info h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.career-role-info span {
    color: #94a3b8;
    font-size: 0.8rem;
}

.site-modal-note {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.4;
}

.site-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #0066ff;
    color: #ffffff !important;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 102, 255, 0.6);
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.blog-articles-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.blog-article-item {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: background 0.2s ease;
}

.blog-article-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.blog-article-meta {
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.blog-article-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
}

.blog-article-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.45;
}

/* Premium Magnetic Button Utility */
.magnetic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--text-primary);
    border-radius: 100px;
    font-family: var(--font-editorial);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.magnetic-btn span {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.magnetic-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 1;
}

.magnetic-btn:hover {
    border-color: var(--accent);
}

.magnetic-btn:hover span {
    color: var(--text-primary);
}

.magnetic-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Mobile Menu Toggle Button */
.menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    z-index: 1000;
}

.menu-btn:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: var(--accent);
}

.menu-btn.active {
    background: rgba(0, 102, 255, 0.2);
    border-color: var(--accent);
    color: #ffffff;
}

/* Mobile Nav Drawer Overlay & Backdrop */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 99999;
    display: flex;
    justify-content: flex-end;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s ease;
}

.mobile-nav-overlay.active {
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav-panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #090a10;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 24px;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 2;
}

.mobile-nav-overlay.active .mobile-nav-panel {
    transform: translateX(0);
}

body.nav-open {
    overflow: hidden !important;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-brand {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mobile-nav-brand span {
    width: 7px;
    height: 7px;
    background: #A855F7;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #A855F7;
}

.mobile-nav-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mobile-nav-close:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.6);
    color: #fca5a5;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.mobile-nav-link .nav-num {
    font-family: var(--font-editorial);
    font-size: 0.78rem;
    font-weight: 800;
    color: #C4B5FD;
    letter-spacing: 1px;
}

.mobile-nav-link .nav-text {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: linear-gradient(90deg, rgba(103, 58, 183, 0.35), rgba(103, 58, 183, 0.12));
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateX(4px);
}

.mobile-nav-link.active .nav-text,
.mobile-nav-link:hover .nav-text {
    color: #FFFFFF;
    text-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
}

.mobile-nav-link.active .nav-num,
.mobile-nav-link:hover .nav-num {
    color: #E9D5FF;
}

.mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta-btn.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    background: #25D366;
    color: #000000;
    font-family: var(--font-editorial);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-cta-btn.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.mobile-nav-contact-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #CBD5E1;
}

.mobile-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F1F5F9;
    font-weight: 600;
    text-decoration: none;
}

.mobile-contact-item i,
.mobile-contact-item svg {
    color: #A855F7;
    stroke: #A855F7;
}

.mobile-nav-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #CBD5E1;
    font-weight: 500;
}

.mobile-nav-location i,
.mobile-nav-location svg {
    color: #A855F7;
    stroke: #A855F7;
}

/* 7. Hero Section Layout */
.hero {
    height: 100vh;
    width: 100%;
    padding: 0 var(--padding-side);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-meta-grid {
    position: absolute;
    top: 130px;
    left: var(--padding-side);
    right: var(--padding-side);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-coords span {
    color: var(--accent);
}

.hero-staggered-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 85%;
    margin-top: 50px;
    pointer-events: none;
    /* Allows mouse through to WebGL canvas and background items */
}

.hero-staggered-wrapper *,
.hero-staggered-wrapper a {
    pointer-events: auto;
    /* Restores clicking on links and buttons inside wrapper */
}

/* Three Floating Cards Container */
.hero-float-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-float-card {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background-color: var(--bg-card);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    pointer-events: auto;
    /* Dynamic hover interaction */
}

.hero-float-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: block;
}

.hero-float-card:hover {
    border-color: var(--accent);
    box-shadow: 0 30px 80px rgba(0, 102, 255, 0.25);
    z-index: 15;
    /* Focus card on hover overlay */
}

.hero-float-card:hover img {
    opacity: 0.85;
    transform: scale(1.05);
}

.hero-float-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 14px;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-family: var(--font-editorial);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    z-index: 3;
}

/* Precise card coordinates distribution */
.hero-float-card.media {
    width: 240px;
    aspect-ratio: 3 / 4;
    top: 20%;
    left: 12%;
}

.hero-float-card.design {
    width: 260px;
    aspect-ratio: 3 / 4;
    bottom: 14%;
    right: 12%;
}

.hero-float-card.web {
    width: 280px;
    aspect-ratio: 4 / 3;
    top: 24%;
    right: 14%;
}

/* Multi-Theme Hero Visibility Controls */
.theme-layout {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-title {
    display: none;
}

/* Theme 1 active (Hover Preview Services + Magnetic CTA) */
.hero.hero-theme-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--padding-side);
}

.hero.hero-theme-1 .theme-1-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
    gap: 60px;
}

/* Theme 2 active (Split Screen Snappy Columns) */
.hero.hero-theme-2 .theme-2-layout {
    display: flex;
    opacity: 1;
}

/* Theme 3 active (Outlined Background Marquee) */
.hero.hero-theme-3 .theme-3-layout {
    display: block;
    opacity: 1;
}

.hero.hero-theme-3 .theme-headline-3 {
    display: block;
}

/* Floating Glassmorphic Theme Switcher Panel */
.theme-switcher-panel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(12, 13, 18, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    z-index: 10000;
    width: 250px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-switcher-panel:hover {
    border-color: var(--accent);
    box-shadow: 0 30px 80px rgba(0, 102, 255, 0.15);
}

.theme-switcher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-family: var(--font-editorial);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: switcher-pulse-dot 1.5s infinite;
}

@keyframes switcher-pulse-dot {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.theme-switcher-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.theme-switcher-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-secondary);
    font-family: var(--font-editorial);
    font-size: 0.82rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    width: 100%;
}

.theme-switcher-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.theme-switcher-btn.active {
    background: rgba(0, 102, 255, 0.12);
    border-color: var(--accent);
    color: var(--text-primary);
    font-weight: 600;
}

.theme-switcher-btn .num {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--accent);
}

/* Option 01: Hover Services Menu styling */
.services-hover-list {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-hover-item {
    font-family: var(--font-heading);
    font-size: 3vw;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: baseline;
    gap: 15px;
    text-transform: uppercase;
    transition: color 0.4s ease, transform 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.services-hover-item:hover {
    color: var(--text-primary);
    transform: translateX(12px);
}

.services-hover-item .item-num {
    font-family: var(--font-editorial);
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--accent);
}

.hover-preview-box {
    position: fixed;
    width: 280px;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    scale: 0.8;
    z-index: 100;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), scale 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.1s ease;
    background: var(--bg-card);
    transform: translate(-50%, -50%);
}

.hover-preview-box.active {
    opacity: 1;
    scale: 1;
}

.hover-preview-inner {
    width: 100%;
    height: 100%;
}

.hover-preview-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Option 01: Magnetic Attractor Sandbox */
.magnetic-sandbox {
    width: 40%;
    background: rgba(12, 13, 18, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.magnetic-sandbox.attracting {
    border-color: var(--accent);
    box-shadow: 0 40px 100px rgba(0, 102, 255, 0.15);
}

/* Dynamic crosshair coordinate lines */
.crosshair-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 1;
    transition: background 0.3s ease;
}

.magnetic-sandbox.attracting .crosshair-line {
    background: rgba(0, 102, 255, 0.1);
}

.crosshair-line.horizontal {
    width: 100%;
    height: 1px;
    left: 0;
    top: 50%;
}

.crosshair-line.vertical {
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
}

.magnetic-attractor-wrapper {
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Proximity SVG border */
.proximity-glow-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.proximity-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
    stroke-dasharray: 4 6;
    transform-origin: center;
    transition: stroke 0.4s ease, stroke-width 0.4s ease, scale 0.4s ease;
}

.magnetic-sandbox.attracting .proximity-circle {
    stroke: var(--accent);
    stroke-width: 1.5;
    scale: 1.02;
    animation: proximity-spin 15s linear infinite;
}

@keyframes proximity-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.magnetic-attractor-btn {
    padding: 16px 36px;
    border-radius: 100px;
    background-color: var(--accent);
    border: 1px solid var(--accent);
    color: var(--text-primary);
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    position: absolute;
    box-shadow: 0 15px 30px rgba(0, 85, 255, 0.2);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    z-index: 10;
    width: 200px;
    line-height: 1.2;
}

.magnetic-attractor-btn:hover {
    box-shadow: 0 25px 50px rgba(0, 85, 255, 0.45);
    border-color: #00f3ff;
}

.magnetic-desc {
    font-family: var(--font-editorial);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Option 02: Split-Screen Snappy columns */
.theme-2-layout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 2;
}

.split-col {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.split-col-left {
    background-color: var(--bg-dark);
    padding: 0 var(--padding-side);
    border-right: 1px solid var(--border-color);
    transform: translateY(-100%);
}

.split-col-right {
    background-color: #08080c;
    transform: translateY(100%);
}

.split-col-content {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.split-meta {
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 2px;
}

.split-title {
    font-family: var(--font-heading);
    font-size: 4vw;
    font-weight: 800;
    line-height: 1.0;
    color: var(--text-primary);
    text-transform: uppercase;
}

.split-desc {
    font-family: var(--font-editorial);
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.split-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.split-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: scale 2s ease;
}

.split-col-right:hover img {
    scale: 1.05;
}

/* Option 03: Infinite Background loop marquees */
.theme-3-layout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(13, 15, 26, 0.8) 0%, #050505 100%);
}

.marquee-track-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 30px;
}

.marquee-track {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
}

.marquee-scroll-container {
    display: inline-block;
    animation: marquee-scroll-left 25s linear infinite;
    white-space: nowrap;
}

.marquee-track.reverse .marquee-scroll-container {
    animation: marquee-scroll-right 25s linear infinite;
}

#marqueeTrack1 .marquee-scroll-container span {
    font-family: var(--font-heading);
    font-size: 11vw;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.38;
    letter-spacing: 6px;
}

#marqueeTrack2 .marquee-scroll-container span {
    font-family: var(--font-heading);
    font-size: 11vw;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.12;
    letter-spacing: 6px;
}

.marquee-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1100px;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--padding-side);
    pointer-events: auto;
}

@keyframes marquee-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-scroll-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.theme-headline-3 {
    display: none;
}

/* Floating Glassmorphic Theme Switcher Panel */
.theme-switcher-panel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(12, 13, 18, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    z-index: 10000;
    width: 250px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-switcher-panel:hover {
    border-color: var(--accent);
    box-shadow: 0 30px 80px rgba(0, 102, 255, 0.15);
}

.theme-switcher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-family: var(--font-editorial);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: switcher-pulse-dot 1.5s infinite;
}

@keyframes switcher-pulse-dot {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.theme-switcher-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.theme-switcher-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-secondary);
    font-family: var(--font-editorial);
    font-size: 0.82rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    width: 100%;
}

.theme-switcher-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.theme-switcher-btn.active {
    background: rgba(0, 102, 255, 0.12);
    border-color: var(--accent);
    color: var(--text-primary);
    font-weight: 600;
}

.theme-switcher-btn .num {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--accent);
}


.hero-title {
    font-size: 7vw;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.0;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.hero-title span.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
}

.hero-subtitle {
    font-family: var(--font-editorial);
    font-size: 1.8rem;
    font-weight: 300;
    margin-top: 40px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.4;
}

.hero-cta-group {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: var(--padding-side);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-editorial);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.scroll-indicator span {
    width: 20px;
    height: 1px;
    background-color: var(--text-muted);
    display: inline-block;
    animation: scroll-line 1.5s infinite;
}

@keyframes scroll-line {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }

    50% {
        transform: scaleX(1);
        transform-origin: left;
    }

    50.1% {
        transform: scaleX(1);
        transform-origin: right;
    }

    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

/* 8. Editorial Intro Section */
.intro {
    padding: 18vh var(--padding-side);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 90% 80%, rgba(0, 102, 255, 0.02) 0%, transparent 50%),
        var(--bg-dark);
    overflow: hidden;
}

/* Premium dot-grid texture backdrop overlay */
.intro-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0),
        radial-gradient(rgba(0, 102, 255, 0.01) 1px, transparent 0);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    pointer-events: none;
    z-index: 1;
}

.intro-spotlight-left {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, rgba(0, 102, 255, 0) 70%);
    top: -10%;
    left: -10%;
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
}

.intro-spotlight-right {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.04) 0%, rgba(0, 102, 255, 0) 70%);
    bottom: -10%;
    right: -10%;
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
}

/* Pristine Asymmetrical Dual Column Grid */
.intro-dual-grid {
    display: grid;
    grid-template-columns: 1.15fr 1px 0.85fr;
    gap: 60px;
    position: relative;
    z-index: 2;
    align-items: stretch;
    margin-bottom: 12vh;
}

.intro-col-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.intro-tagline {
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-tagline::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.intro-col-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.intro-col-title .text-glow {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.intro-col-desc {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Vertical separating wireframe line */
.intro-separator {
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--accent) 30%, var(--border-color) 70%, transparent 100%);
}

/* Three Pillars Showcase Grid */
.intro-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    margin-bottom: 12vh;
    perspective: 1000px;
}

.pillar-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.pillar-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.05);
}

.pillar-icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 30px;
    color: var(--accent);
    position: relative;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.pillar-card:hover .pillar-icon-wrapper {
    color: #ffffff;
    border-color: var(--accent);
    background: var(--accent);
}

.pillar-icon {
    width: 24px;
    height: 24px;
}

.pillar-pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00ffaa;
    box-shadow: 0 0 10px #00ffaa;
    animation: switcher-pulse-dot 1.5s infinite;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.pillar-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pillar-hover-effect {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, var(--accent-glow) 0%, rgba(0, 102, 255, 0) 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.pillar-card:hover .pillar-hover-effect {
    opacity: 1;
}

/* Immersive Visual Vision Spotlight Container */
.vision-banner {
    background: rgba(12, 13, 18, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.vision-banner:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 40px 100px rgba(0, 102, 255, 0.08);
}

.vision-radial-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, rgba(0, 102, 255, 0) 70%);
    pointer-events: none;
    z-index: 1;
    filter: blur(50px);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.vision-left {
    display: flex;
    flex-direction: column;
}

.mini-label {
    margin-bottom: 20px !important;
}

.vision-heading {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.vision-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 35px;
}

.vision-cta-wrap {
    display: flex;
}

.vision-cta {
    padding: 18px 38px !important;
    text-decoration: none;
}

/* Brand Logo Marquee Section - Ultra-Luxury Redesign */
.intro-logos-container {
    margin-top: 12vh;
    padding: 100px var(--padding-side) 70px var(--padding-side);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
    text-align: left;
    background: radial-gradient(ellipse at 50% -20%, rgba(0, 102, 255, 0.09) 0%, transparent 65%), var(--bg-dark);
}

.intro-logos-header {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}

.intro-logos-header-left {
    max-width: 650px;
}

.collab-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: #60a5fa;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.28);
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.logos-section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.logos-section-title .text-glow {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.logos-section-desc {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 580px;
}

/* Header Metrics Bar */
.collab-metrics-bar {
    display: flex;
    align-items: center;
    gap: 28px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 32px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.collab-metric-item {
    display: flex;
    flex-direction: column;
}

.collab-metric-num {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.collab-metric-accent {
    color: var(--accent);
    margin-left: 2px;
}

.collab-metric-star {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-left: 3px;
}

.collab-metric-label {
    font-family: var(--font-body);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--text-secondary);
    margin-top: 5px;
    font-weight: 500;
}

.collab-metric-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
}

/* Dual Marquee Track Pipeline */
.intro-logo-marquee-dual {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 20px 0 25px;
}

.marquee-row {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-fade-left {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(60px, 16vw, 220px);
    height: 100%;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.marquee-fade-right {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(60px, 16vw, 220px);
    height: 100%;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.marquee-track-logos {
    display: flex;
    gap: 22px;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    flex-shrink: 0;
}

/* Card Styling: Obsidian Glass with Soft Inner Bed */
.logo-item-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 105px;
    min-width: 230px;
    max-width: 230px;
    padding: 16px 36px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    cursor: pointer;
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-card-ambient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.22) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.logo-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-item-wrapper:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 102, 255, 0.09) 100%);
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 102, 255, 0.32), inset 0 0 20px rgba(0, 102, 255, 0.12);
    transform: translateY(-6px) scale(1.03);
}

.logo-item-wrapper:hover .logo-card-ambient {
    opacity: 1;
}

/* Logos: High Contrast Crisp Monochrome Inversion */
.marquee-logo-img {
    max-height: 52px;
    max-width: 155px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.82;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-item-wrapper:hover .marquee-logo-img {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 18px rgba(0, 102, 255, 0.55));
    transform: scale(1.06);
}

/* Bottom Collaboration Call-to-Action */
.collab-footer-cta {
    margin-top: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.collab-footer-tag {
    font-size: 0.98rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.collab-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.35);
    padding: 11px 24px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.collab-cta-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

.collab-btn-icon {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.collab-cta-btn:hover .collab-btn-icon {
    transform: translateX(3px);
}

/* 9. Services & Packages Section */
.services {
    padding: 15vh var(--padding-side);
    border-top: 1px solid var(--border-color);
    position: relative;
    background: radial-gradient(circle at 90% 10%, rgba(0, 102, 255, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(0, 102, 255, 0.02) 0%, transparent 60%),
        var(--bg-dark);
}

.services-header {
    margin-bottom: 80px;
    max-width: 800px;
}

.services-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
}

.services-title .text-glow {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.services-desc {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services 3-column grid */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 15vh;
    perspective: 1000px;
}

.service-card-new {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 45px 35px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.service-card-new:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.03);
}

.service-card-new-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-bottom: 25px;
    color: var(--accent);
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.service-card-new:hover .service-card-new-icon-wrap {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.service-card-new-icon {
    width: 24px;
    height: 24px;
}

.service-card-new-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-card-new-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Packages Sub-Section */
.packages-header {
    margin-top: 8vh;
    margin-bottom: 70px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.packages-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1.5px;
}

.packages-title .text-glow {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Packages 4-column grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    perspective: 1000px;
}

.pricing-card {
    background-color: #0d0e12;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 45px 30px 40px 30px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 520px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
}

.pricing-card:hover {
    background-color: #12141a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Most Popular Apple Card Highlight */
.pricing-card.popular {
    background: linear-gradient(135deg, #121319 0%, #0d0e12 100%);
    border-color: rgba(0, 102, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.04);
}

.pricing-card.popular:hover {
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 102, 255, 0.1);
}

.popular-badge {
    position: absolute;
    top: -13px;
    right: 22px;
    background-color: var(--accent);
    color: #ffffff;
    font-family: var(--font-editorial);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(103, 58, 183, 0.35);
    white-space: nowrap;
    z-index: 5;
}

.pricing-card-top {
    margin-bottom: 30px;
}

.pricing-card-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.pricing-card-price-label {
    font-family: var(--font-editorial);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
    font-weight: 600;
}

.pricing-card-price {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 0.9;
    color: var(--text-primary);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.pricing-card-price span {
    font-size: 1.0rem;
    font-family: var(--font-editorial);
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.pricing-card-features li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}

.feature-check-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-card.popular .feature-check-icon {
    color: #ffffff;
}

.pricing-card-action {
    margin-top: auto;
    width: 100%;
}

.pricing-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: 100px;
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s ease;
    cursor: pointer;
}

/* Apple CTAs: Filled and Outline Styles */
.pricing-card-btn.outline {
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--text-primary);
}

.pricing-card-btn.outline:hover {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: #000000;
    transform: scale(1.02);
}

.pricing-card-btn.solid {
    background-color: var(--text-primary);
    border: none;
    color: #000000;
}

.pricing-card-btn.solid:hover {
    background-color: #f5f5f7;
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.08);
}

/* 10. Museum Portfolio Showcase Grid */
.portfolio {
    padding: 15vh var(--padding-side);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.portfolio-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 70px;
}

.portfolio-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    padding: 6px;
    gap: 6px;
}

.portfolio-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.portfolio-tab-btn.active {
    background: var(--text-primary);
    color: #000000;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.tab-badge {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 20px;
    color: var(--text-muted);
    font-weight: 600;
}

.portfolio-tab-btn.active .tab-badge {
    background: rgba(0, 0, 0, 0.08);
    color: #000000;
}

.portfolio-stack-container {
    width: 100%;
    position: relative;
}

.portfolio-stack {
    display: block;
    width: 100%;
    position: relative;
    padding-bottom: 14vh;
}

.portfolio-stack-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 45px;
    background-color: #0d0e13;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 38px;
    height: 65vh;
    min-height: 480px;
    max-height: 620px;
    box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: sticky;
    top: 100px;
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    margin-bottom: 25vh; /* Breathable spacing giving full spotlight to each project before next card slides in */
}

.portfolio-stack-card:last-child {
    margin-bottom: 0;
}

.portfolio-stack-card:hover {
    border-color: var(--accent);
    box-shadow: 0 35px 90px rgba(0, 102, 255, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.card-glass-glow {
    position: absolute;
    top: -30%;
    right: -30%;
    width: 400px;
    height: 400px;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
    transition: opacity 0.5s ease;
}

.portfolio-stack-card:hover .card-glass-glow {
    opacity: 0.75;
}

.portfolio-stack-img-wrap {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #08090b;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-stack-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-stack-card:hover .portfolio-stack-img {
    transform: scale(1.03);
}

.video-play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-stack-card:hover .video-play-btn-overlay {
    transform: translate(-50%, -50%) scale(1.05);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.4);
}

.web-browser-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    background: rgba(12, 13, 18, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    z-index: 5;
}

.browser-dots-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.browser-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.browser-dot.red {
    background-color: #ff5f56;
}

.browser-dot.yellow {
    background-color: #ffbd2e;
}

.browser-dot.green {
    background-color: #27c93f;
}

.browser-address {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 3px 18px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.browser-lock-icon {
    color: #27c93f;
    opacity: 0.8;
    flex-shrink: 0;
}

.portfolio-stack-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10px;
    position: relative;
    z-index: 2;
}

.portfolio-stack-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.portfolio-stack-tag {
    font-family: var(--font-editorial);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-stack-counter {
    font-family: var(--font-editorial);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.portfolio-stack-counter .counter-curr {
    color: var(--text-primary);
}

.portfolio-stack-counter .counter-sep {
    opacity: 0.4;
}

.tag-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent);
    animation: switcher-pulse-dot 1.5s infinite;
}

.portfolio-stack-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.portfolio-stack-desc {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.portfolio-stack-action {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.stack-action-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.portfolio-stack-card:hover .portfolio-stack-action {
    color: var(--accent);
}

.portfolio-stack-card:hover .stack-action-icon {
    color: var(--accent);
    transform: translateX(5px) scale(1.1);
}

@media (max-width: 991px) {
    .portfolio-stack {
        padding-bottom: 0;
    }

    .portfolio-stack-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        min-height: 540px;
        max-height: none;
        padding: 28px;
        gap: 25px;
        position: relative !important;
        top: 0 !important;
        margin-bottom: 30px !important;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        transform: none !important;
    }

    .portfolio-stack-card:last-child {
        margin-bottom: 0 !important;
    }

    .portfolio-stack-details {
        padding-left: 0;
        justify-content: flex-start;
    }

    .portfolio-stack-title {
        font-size: 1.7rem;
    }
}

/* Launching Soon Overlay & In-Page Modal Architecture */
.launching-soon-badge-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(13, 14, 19, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(96, 165, 250, 0.4);
    padding: 10px 22px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(96, 165, 250, 0.2);
    z-index: 6;
    pointer-events: none;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.launching-soon-badge-overlay span {
    font-family: var(--font-editorial);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #93c5fd;
    text-transform: uppercase;
}

.portfolio-stack-card:hover .launching-soon-badge-overlay {
    transform: translate(-50%, -50%) scale(1.06);
    border-color: #60a5fa;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(96, 165, 250, 0.35);
}

.launching-soon-modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 5, 8, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.launching-soon-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.launching-soon-modal-card {
    width: 85%;
    max-width: 1080px;
    max-height: 85vh;
    background: #0d0e14;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 44px;
    transform: scale(0.93) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.launching-soon-modal-backdrop.active .launching-soon-modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

.modal-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: rotate(90deg) scale(1.08);
}

.ls-modal-content-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 45px;
    align-items: center;
}

.ls-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 5px 14px;
    border-radius: 100px;
    font-family: var(--font-editorial);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #93c5fd;
    margin-bottom: 18px;
}

.ls-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 10px #60a5fa;
    animation: switcher-pulse-dot 1.5s infinite;
}

.ls-modal-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 10px 0;
    background: linear-gradient(180deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.ls-modal-tag {
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.ls-modal-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
}

.ls-specs-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ls-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.84rem;
}

.ls-spec-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ls-spec-value {
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-body);
}

.ls-spec-value.highlight {
    color: #60a5fa;
}

.ls-progress-wrap {
    margin-bottom: 28px;
}

.ls-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    font-family: var(--font-editorial);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ls-progress-pct {
    color: var(--accent);
    font-weight: 700;
}

.ls-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.ls-progress-bar {
    width: 88%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, #60a5fa 100%);
    border-radius: 10px;
}

.ls-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ls-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 0.88rem;
    text-decoration: none;
}

.ls-close-text-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    padding: 12px 20px;
    border-radius: 100px;
    font-family: var(--font-editorial);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ls-close-text-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

/* Modal Right Mockup */
.ls-browser-window {
    background: #08090c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.ls-browser-header {
    height: 38px;
    background: rgba(18, 19, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
}

.ls-browser-body {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: #050608;
}

.ls-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: brightness(0.75);
}

.ls-preview-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 6, 9, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ls-watermark-card {
    text-align: center;
    background: rgba(13, 14, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ls-watermark-card span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.ls-watermark-card small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

@media (max-width: 991px) {
    .launching-soon-modal-card {
        width: 95%;
        max-height: 90vh;
        padding: 30px 22px;
    }

    .ls-modal-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ls-modal-title {
        font-size: 1.8rem;
    }

    .ls-browser-body {
        height: 240px;
    }
}

/* 11. About Section */
.about {
    padding: 15vh var(--padding-side);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
}

.about-title {
    font-size: 4rem;
    text-transform: uppercase;
    line-height: 1.0;
}

.about-title span {
    color: var(--accent);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-statement {
    font-family: var(--font-editorial);
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--text-primary);
    font-weight: 300;
}

.about-philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.about-block-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-block-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Dedicated Full-Width Team Showcase Section */
.team-showcase-section {
    margin-top: 10vh;
    border-top: 1px solid var(--border-color);
    padding-top: 8vh;
    position: relative;
    width: 100%;
}

.team-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.team-header-left {
    max-width: 650px;
}

.team-showcase-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-top: 8px;
    letter-spacing: -0.5px;
}

.team-carousel-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-carousel-counter {
    font-family: var(--font-editorial);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.25);
    padding: 6px 14px;
    border-radius: 100px;
}

.team-nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.team-nav-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.team-nav-arrow:active {
    transform: scale(0.95);
}

/* Circular Auto-Scrolling Horizontal Slider Wrap */
.team-slider-viewport-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.team-slider-fade-left {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(24px, 5vw, 65px);
    height: 100%;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.team-slider-fade-right {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(24px, 5vw, 65px);
    height: 100%;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* Horizontal Slider Viewport */
.team-slider-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 4px 20px 4px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.team-slider-viewport.is-dragging {
    cursor: grabbing;
}

.team-slider-viewport::-webkit-scrollbar {
    display: none;
}

.team-grid {
    display: flex;
    gap: 24px;
    margin-top: 10px;
    width: max-content;
    min-width: 100%;
}

/* Desktop: 4 cards visible across the full width */
.team-card {
    flex: 0 0 calc((100vw - (2 * var(--padding-side)) - (3 * 24px)) / 4);
    width: calc((100vw - (2 * var(--padding-side)) - (3 * 24px)) / 4);
    max-width: 340px;
    min-width: 250px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px;
    transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.4s ease;
}

.team-card:hover {
    border-color: rgba(0, 102, 255, 0.45);
    background: rgba(12, 13, 18, 0.85);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 102, 255, 0.12);
}

.team-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-index-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    font-family: var(--font-editorial);
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center top !important;
    transform-origin: center top !important;
    filter: grayscale(0.9) contrast(1.05);
    opacity: 0.9;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease, opacity 0.5s ease;
}

.team-card:hover .team-img {
    transform: scale(1.03) !important;
    transform-origin: center top !important;
    filter: grayscale(0) contrast(1);
    opacity: 1;
}

.team-img-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.7) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
}

.team-details {
    padding: 16px 6px 6px 6px;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.team-role {
    font-family: var(--font-editorial);
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* Team Slider Progress Bar & Dots */
.team-slider-footer {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.team-progress-track {
    width: 100%;
    max-width: 320px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.team-progress-bar {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--accent) 0%, #38bdf8 100%);
    border-radius: 100px;
    transition: width 0.3s ease;
}

.team-carousel-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.team-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.team-indicator-dot.is-active {
    background: var(--accent);
    width: 24px;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--accent);
}

/* About Us Narrative Styling */
.about-us-narrative-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-capability-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.about-cap-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-editorial);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.about-cap-pill:hover {
    border-color: rgba(0, 102, 255, 0.4);
    color: #ffffff;
    background: rgba(0, 102, 255, 0.06);
}

.about-cap-pill .cap-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}

/* 12. Contact Section & dynamic form package pricing */
.contact {
    padding: 15vh var(--padding-side);
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-card);
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

.contact-headline {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.contact-info-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-info-text h3,
.contact-info-text h4 {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.15rem;
    color: #192A56;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-info-text p {
    font-size: 1rem;
    color: var(--text-primary);
}

/* Inquiries Form styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.04);
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

/* Dynamic Interactive Custom Package Picker Style */
.package-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 10px;
    perspective: 1000px;
}

@media (max-width: 991px) {
    .package-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .package-selector {
        grid-template-columns: 1fr;
    }
}

.package-card {
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    transform-style: preserve-3d;
}

.package-card.active {
    border-color: var(--accent);
    background-color: rgba(0, 102, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.1);
}

.package-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.package-price {
    font-family: var(--font-editorial);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
}

.package-price span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dynamic-calculator-preview {
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-details h5 {
    font-family: var(--font-editorial);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.calc-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.calc-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
}

.calc-price span {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
}

.submit-btn {
    align-self: flex-start;
    padding: 16px 40px;
    background-color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 100px;
    color: var(--text-primary);
    font-family: var(--font-editorial);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background-color: #1a75ff;
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.4);
}

/* Success notification message layout */
.form-success-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 50px 20px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 229, 255, 0.1);
    color: #00e5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: success-scale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes success-scale {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* 13. Architectural Footer Elements */
.footer {
    padding: 10vh var(--padding-side) 5vh var(--padding-side);
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
}

.footer-cta-text {
    font-size: 4vw;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    line-height: 1.0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    font-family: var(--font-editorial);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 25px;
}

.footer-socials a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--accent);
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: var(--accent);
}

/* ==========================================================================
   14. Responsive Layout Breakpoints
   ========================================================================== */

@media (max-width: 1200px) {
    :root {
        --padding-side: 6vw;
    }

    .hero-title {
        font-size: 8vw;
    }

    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .portfolio-grid {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .hero-container-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 100px;
    }

    .hero-right {
        display: none;
    }

    .intro-dual-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 8vh;
    }

    .intro-separator {
        display: none;
    }

    .intro-pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 8vh;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .portfolio-item.col-8,
    .portfolio-item.col-4,
    .portfolio-item.col-6,
    .portfolio-item.reel-mockup {
        grid-column: span 6;
        height: 420px;
    }

    .portfolio-item.reel-mockup {
        height: 520px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    :root {
        --padding-side: 5vw;
        --header-height: 70px;
    }

    .intro {
        padding: 10vh var(--padding-side);
    }

    .intro-col-title {
        font-size: 2.2rem;
    }

    .pillar-card {
        padding: 35px 25px;
    }

    .vision-banner {
        padding: 30px;
    }

    .vision-heading {
        font-size: 2.2rem;
    }

    .logos-section-title {
        font-size: 1.85rem;
    }

    .logo-item-wrapper {
        height: 90px;
        min-width: 180px;
        padding: 10px 25px;
        border-radius: 14px;
    }

    .marquee-logo-img {
        max-height: 48px;
        max-width: 110px;
    }

    .navbar {
        padding: 0 var(--padding-side);
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 9vw;
    }

    .hero-meta-grid {
        top: 100px;
    }

    .services-title {
        font-size: 2.5rem;
    }

    .packages-title {
        font-size: 2.2rem;
    }

    .services-grid-new {
        grid-template-columns: 1fr;
        margin-bottom: 8vh;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        min-height: auto;
        padding: 40px 25px;
    }

    .portfolio-item.col-8,
    .portfolio-item.col-4,
    .portfolio-item.col-6,
    .portfolio-item.reel-mockup {
        grid-column: span 12;
        height: 380px;
    }

    .portfolio-item.reel-mockup {
        height: 550px;
    }

    .package-selector {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

/* ==========================================================================
   PERUMALIL CREATIVE - New Hero Concept: Immersive Grid-Breaking Canvas
   ========================================================================== */
.hero-immersive-canvas {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    position: relative;
    background: transparent;
    overflow: hidden;
}

/* Custom Interactive Spotlight Glow follow mouse */
.canvas-spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, rgba(0, 229, 255, 0.02) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Colossal Typographic Background */
.colossal-typography-bg {
    position: absolute;
    width: 100%;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    z-index: 2;
    gap: 16px;
    overflow: hidden;
}

.typo-marquee-row {
    width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.typo-marquee-container {
    display: inline-block;
    white-space: nowrap;
}

.typo-marquee-container.track-left {
    animation: typo-marquee-left var(--marquee-speed, 55s) linear infinite;
}

.typo-marquee-container.track-right {
    animation: typo-marquee-right var(--marquee-speed, 55s) linear infinite;
}

.typo-line {
    display: inline-block;
    font-family: var(--marquee-font, var(--font-heading));
    font-size: clamp(5.5rem, 9.6vw, 11.2rem);
    font-weight: var(--marquee-weight, 800);
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 0.92;
    white-space: nowrap;
    transition: opacity 0.5s ease;
    padding-right: 50px;
}

.typo-word, .typo-char {
    display: inline-block;
    transition: color 0.3s ease, -webkit-text-stroke 0.3s ease;
}

.typo-bullet {
    display: inline-block;
    padding: 0 16px;
    opacity: 0.45;
    vertical-align: middle;
}

.typo-line.outline-text {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45);
}

@keyframes typo-marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes typo-marquee-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Floating Immersive Cards Container */
.immersive-cards-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.floating-media-card {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.4s ease;
}

.floating-media-card:hover {
    z-index: 15;
}

/* Organic Grid-breaking Coordinate Distributions */
.floating-media-card.card-design {
    top: 14%;
    left: 10%;
    width: 220px;
    aspect-ratio: 3 / 4;
}

.floating-media-card.card-cinema {
    top: 22%;
    right: 18%;
    width: 250px;
    aspect-ratio: 3 / 4;
}

.floating-media-card.card-web {
    bottom: 14%;
    left: 45%;
    width: 290px;
    aspect-ratio: 4 / 3;
}

/* Luxury card frames */
.card-glass-frame {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background-color: var(--bg-card);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.floating-media-card:hover .card-glass-frame {
    border-color: var(--accent);
    box-shadow: 0 35px 80px rgba(0, 102, 255, 0.25);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
    scale: 1.0;
    transition: opacity 0.5s ease, scale 0.5s ease, filter 0.5s ease;
    filter: grayscale(40%) brightness(0.9);
}

.floating-media-card:hover .card-img {
    opacity: 0.85;
    scale: 1.05;
    filter: grayscale(0%) brightness(1.0);
}

.card-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0) 100%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.card-meta .meta-num {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    color: var(--accent);
}

.card-meta .meta-label {
    font-family: var(--font-editorial);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Cinema Card Pulsating badge icon */
.cinema-badge-pulse {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
    z-index: 10;
    animation: cinema-pulse-badge 2s infinite;
}

@keyframes cinema-pulse-badge {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
    }
}

/* Foreground overlay structural contents */
.immersive-hero-overlay {
    position: relative;
    bottom: auto;
    left: 0;
    right: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 12;
    pointer-events: none;
}

.hero-mobile-cta-wrap {
    display: none;
}

.overlay-left-details,
.overlay-right-ctas {
    pointer-events: auto;
}

.overlay-left-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hud-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-family: var(--font-editorial);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.hero-brand-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.6px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-top: 16px;
    margin-bottom: 8px;
}

.hero-brand-headline .text-glow {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.25);
}

.studio-mission-text {
    max-width: 460px;
    font-family: var(--font-body);
    font-size: 0.96rem;
    color: var(--text-secondary);
    margin-top: 14px;
    line-height: 1.6;
}

.hero-actions-group {
    display: none;
}

.overlay-right-ctas {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 16px;
}

.telemetry-coordinates {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 100px;
    font-family: var(--font-editorial);
    font-size: 0.74rem;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#liveIstClock {
    color: var(--accent);
    font-weight: 700;
}

/* Interactive Ripple Hover highlights */
.floating-media-card.dimmed {
    filter: blur(4px) grayscale(70%) brightness(0.6);
    opacity: 0.4;
    scale: 0.95;
}

.floating-media-card.highlighted {
    scale: 1.05;
    z-index: 20;
    filter: drop-shadow(0 20px 40px rgba(0, 102, 255, 0.2));
}

/* ==========================================================================
   8. Location Section Layout (Physical Office & Map)
   ========================================================================== */
.location-section {
    padding: 10vw var(--padding-side);
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-dark);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Sci-fi background grid decorative layer */
.location-sec-grid-deco {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.location-info-col {
    display: flex;
    flex-direction: column;
}

.location-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.location-title span {
    color: var(--accent);
}

/* Glassmorphic Telemetry Card */
.location-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.location-card:hover {
    border-color: var(--accent);
    box-shadow: 0 30px 80px rgba(0, 102, 255, 0.12);
}

/* Card tech corners */
.card-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent);
    z-index: 5;
    pointer-events: none;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.location-card:hover .card-corner {
    opacity: 1;
}

.card-corner.top-left {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.card-corner.top-right {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
}

.card-corner.bottom-left {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
}

.card-corner.bottom-right {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.location-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.location-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.header-status-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.system-ping-indicator {
    font-family: var(--font-editorial);
    font-size: 0.68rem;
    color: var(--accent);
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.compass-icon {
    color: var(--accent);
    animation: rotateCompass 12s linear infinite;
    display: inline-block;
}

@keyframes rotateCompass {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.telemetry-label {
    font-family: var(--font-editorial);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

.location-card-body {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.location-company-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.location-postal-address {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.telemetry-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.telemetry-key {
    font-family: var(--font-editorial);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.telemetry-val {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.text-accent {
    color: var(--accent) !important;
}

.spec-val {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Satellite strength animation bars */
.sat-bars {
    display: inline-flex;
    gap: 2px;
    align-items: flex-end;
    height: 12px;
}

.sat-bars .bar {
    width: 3px;
    background-color: var(--text-muted);
    border-radius: 1px;
}

.sat-bars .bar.full {
    background-color: #10b981;
}

.sat-bars .bar.half {
    background-color: #f59e0b;
}

.sat-bars .bar:nth-child(1) {
    height: 4px;
}

.sat-bars .bar:nth-child(2) {
    height: 6px;
}

.sat-bars .bar:nth-child(3) {
    height: 9px;
}

.sat-bars .bar:nth-child(4) {
    height: 12px;
}

.active-status {
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.directions-btn {
    position: relative;
    z-index: 2;
    gap: 10px;
    width: fit-content;
}

/* Map Column Styling */
.location-map-col {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Style Switcher HUD Tab Panel */
.map-hud-style-switcher {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(12, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    padding: 14px 24px;
    width: 100%;
}

.switcher-title {
    font-family: var(--font-editorial);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    font-weight: 700;
}

.map-style-toggles {
    display: flex;
    gap: 8px;
}

.map-style-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-editorial);
    font-size: 0.72rem;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.map-style-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--border-color-hover);
}

.map-style-btn.active {
    background: rgba(0, 102, 255, 0.12);
    color: var(--text-primary);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.15);
}

.location-map-frame {
    width: 100%;
    aspect-ratio: 21 / 9; /* Cinematic ultra-wide look on desktop */
    min-height: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: none;
    /* Join seamlessly with switcher */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 10px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Sci-fi corners overlay */
.location-map-border-deco {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--accent);
    z-index: 10;
    pointer-events: none;
}

.location-map-border-deco.top-left {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.location-map-border-deco.top-right {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
}

.location-map-border-deco.bottom-left {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
}

.location-map-border-deco.bottom-right {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

/* Animated scanner line */
.map-scanner-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    z-index: 10;
    pointer-events: none;
    opacity: 0.5;
    animation: scannerBeam 7s ease-in-out infinite;
}

@keyframes scannerBeam {
    0% {
        top: 0%;
        opacity: 0.15;
    }

    50% {
        top: 100%;
        opacity: 0.6;
    }

    100% {
        top: 0%;
        opacity: 0.15;
    }
}

.office-map-container {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    z-index: 5;
}

/* Leaflet dark theme classes */
.leaflet-container {
    background: var(--bg-dark) !important;
}

/* Leaflet map custom filter stylesheets */
#officeMap.filter-tactile .leaflet-tile {
    filter: invert(1) hue-rotate(180deg) saturate(0.6) brightness(0.9) contrast(1.1) !important;
}

#officeMap.filter-chromatic .leaflet-tile {
    filter: invert(1) hue-rotate(205deg) saturate(1.25) brightness(0.82) contrast(1.2) !important;
}

#officeMap.filter-infrared .leaflet-tile {
    filter: invert(1) hue-rotate(330deg) saturate(2.3) brightness(0.95) contrast(1.3) !important;
}

.leaflet-bar {
    border: 1px solid var(--border-color) !important;
    background-color: var(--bg-card) !important;
    box-shadow: none !important;
}

.leaflet-bar a {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    transition: background-color 0.3s, color 0.3s;
}

.leaflet-bar a:hover {
    background-color: var(--bg-card-hover) !important;
    color: var(--accent) !important;
}

.leaflet-control-attribution {
    background: rgba(5, 5, 5, 0.8) !important;
    color: var(--text-muted) !important;
    font-family: var(--font-editorial) !important;
    font-size: 10px !important;
    border-radius: 4px 0 0 0;
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

.leaflet-control-attribution a {
    color: var(--accent) !important;
}

/* Leaflet Custom Marker & Popup Style */
.office-map-marker-pin {
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    background: var(--accent);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -10px 0 0 -10px;
    box-shadow: 0 0 15px var(--accent);
}

.office-map-marker-pin::after {
    content: '';
    width: 8px;
    height: 8px;
    margin: 6px 0 0 6px;
    background: var(--bg-dark);
    position: absolute;
    border-radius: 50%;
}

.office-map-marker-pulse {
    background: var(--accent-glow);
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
    transform: rotateX(55deg);
    z-index: -2;
}

.office-map-marker-pulse::after {
    content: "";
    border-radius: 50%;
    height: 80px;
    width: 80px;
    position: absolute;
    margin: -20px 0 0 -20px;
    animation: mapPulse 1.8s ease-out infinite;
    opacity: 0;
    box-shadow: 0 0 12px var(--accent), 0 0 4px var(--accent);
}

@keyframes mapPulse {
    0% {
        transform: scale(0.1, 0.1);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: scale(1.2, 1.2);
        opacity: 0;
    }
}

/* Custom map HUD card overlay style */
.map-hud-card {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(12, 13, 18, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    z-index: 100;
    width: 280px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    pointer-events: auto; /* Enable clicks on HUD controls and directions button */
    transition: border-color 0.4s, box-shadow 0.4s;
}

.location-map-frame:hover .map-hud-card {
    border-color: var(--border-color-hover);
}

.map-hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.map-hud-tag {
    font-family: var(--font-editorial);
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 1.5px;
    font-weight: 600;
}

.map-hud-status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: statusPulse 1.5s infinite;
}

.map-hud-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.map-hud-address {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 15px;
}

.map-hud-telemetry {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    font-family: var(--font-editorial);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Hide standard Leaflet popups */
.leaflet-popup {
    display: none !important;
}

/* Note: All responsive media queries are consolidated in the Master Responsive System below */

/* ==========================================================================
   Interactive Cinematic Video Lightbox & Enhanced Card Styles
   ========================================================================== */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 6, 12, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: lightboxFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    z-index: 10;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(37, 99, 235, 0.15);
    transform: scale(0.95);
    animation: lightboxScaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.lightbox-content {
    width: 100%;
    height: 100%;
}

.video-ratio-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-ratio-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lightboxScaleIn {
    to { transform: scale(1); }
}

/* Hover transitions on parallax media cards */
.floating-media-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease !important;
}

.floating-media-card:hover {
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.2), 0 0 30px rgba(37, 99, 235, 0.1) !important;
}

.cinema-badge-pulse {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease !important;
}

.floating-media-card:hover .cinema-badge-pulse {
    transform: scale(1.15);
    background: var(--accent) !important;
}

/* ==========================================================================
   Hero Cinematic Lightbox Playback
   ========================================================================== */

/* Lightbox Native Video Element Styling */
.lightbox-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

/* PLAY SHOWREEL CTA Button Styling */
.cta-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-play-btn:hover .btn-play-icon {
    transform: scale(1.2) rotate(15deg);
    color: var(--accent);
}

.btn-play-icon {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

/* ==========================================================================
   Luxury "Launching Soon" Interactive Preview Modal (80% Viewport Frame)
   ========================================================================== */

/* Card Badge Overlay */
.portfolio-stack-card.is-launching-soon-card {
    cursor: pointer !important;
}

.launching-soon-badge-overlay {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 12, 24, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 14px;
    border-radius: 999px;
    color: #60a5fa;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(59, 130, 246, 0.25);
    pointer-events: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.portfolio-stack-card:hover .launching-soon-badge-overlay {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.8);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
   EXCLUSIVE 80% SCREEN LAUNCHING SOON TEMPLATE DISPLAY MODAL
   ========================================================================== */

/* Full Viewport Darkened Glass Backdrop */
.launching-soon-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(2, 4, 10, 0.92) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    z-index: 99999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.launching-soon-modal-backdrop.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Modal Card - 80% Large Screen Display Window */
.launching-soon-modal-card {
    position: relative;
    width: min(84vw, 1200px);
    height: min(82vh, 760px);
    background: #050811;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 28px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.95), 0 0 80px rgba(14, 165, 233, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    box-sizing: border-box;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.launching-soon-modal-backdrop.active .launching-soon-modal-card {
    transform: scale(1) translateY(0);
}

/* Ambient Blurred Glow Layer behind image */
.ls-modal-ambient {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.35) saturate(1.2);
    opacity: 0.75;
    transform: scale(1.15);
    z-index: 1;
    pointer-events: none;
}

.ls-modal-ambient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(3, 6, 14, 0.7) 100%),
                linear-gradient(180deg, rgba(2, 4, 10, 0.8) 0%, transparent 20%, transparent 80%, rgba(2, 4, 10, 0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Top Floating Glass Header Bar */
.ls-modal-top-bar {
    position: absolute;
    top: 20px;
    left: 24px;
    right: 24px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.ls-modal-brand-badge {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 15, 30, 0.78);
    border: 1px solid rgba(56, 189, 248, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 9px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.ls-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8, 0 0 18px #38bdf8;
    animation: switcher-pulse-dot 1.4s infinite ease-in-out;
}

.ls-header-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-transform: uppercase;
}

.ls-header-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.ls-header-status {
    font-family: var(--font-editorial, monospace);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #38bdf8;
    text-transform: uppercase;
}

/* Prominent Top-Right Close Button ('X') */
.modal-close-btn {
    pointer-events: auto !important;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 20, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    z-index: 25;
}

.modal-close-btn svg {
    pointer-events: none;
    transition: transform 0.25s ease;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.6);
    color: #fca5a5;
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.35);
    transform: scale(1.08);
}

.modal-close-btn:hover svg {
    transform: rotate(90deg);
}

.modal-close-btn:active {
    transform: scale(0.95);
}

/* Main 80% Center Image Display Frame */
.ls-modal-poster-wrap {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    max-height: 100%;
    flex: 1 1 auto;
    min-height: 0; /* CRITICAL: Enables shrinking in flexbox without clipping */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 20px 20px 20px; /* Leaves clear space for top bar & close button */
    box-sizing: border-box;
    overflow: hidden;
}

.ls-modal-poster-full {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* CRITICAL: Entire image fits 100% inside display */
    object-position: center center !important;
    border-radius: 14px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.35s ease;
}

/* Responsive constraints */
@media (max-width: 900px) {
    .launching-soon-modal-card {
        width: 94vw;
        height: min(85vh, 620px);
        border-radius: 22px;
    }

    .ls-modal-poster-wrap {
        padding: 58px 14px 14px 14px;
    }
}

@media (max-width: 600px) {
    .launching-soon-modal-backdrop {
        padding: 12px !important;
    }

    .launching-soon-modal-card {
        width: 96vw;
        height: min(88vh, 580px);
        border-radius: 20px;
    }

    .ls-modal-top-bar {
        top: 14px;
        left: 14px;
        right: 14px;
    }

    .ls-modal-brand-badge {
        padding: 6px 12px;
    }

    .ls-header-title {
        font-size: 0.75rem;
    }

    .ls-header-status {
        display: none;
    }

    .ls-header-sep {
        display: none;
    }

    .modal-close-btn {
        width: 40px;
        height: 40px;
    }

    .ls-modal-poster-wrap {
        padding: 50px 10px 10px 10px;
    }
}

/* ==========================================================================
   CONSOLIDATED FRONTEND COMPONENT STYLES
   ========================================================================== */

/* Testimonials / Leadership Spotlight */
.testimonials-section {
    border-top: 1px solid var(--border-color);
    padding: 12vh var(--padding-side);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 0.3fr 1.7fr;
    gap: 40px;
    align-items: flex-start;
    margin-top: 50px;
}

.testimonials-quote-mark {
    font-size: 6rem;
    line-height: 1;
    font-family: var(--font-heading);
    color: var(--accent);
    opacity: 0.8;
    font-weight: 800;
}

.testimonials-quote-text {
    font-family: var(--font-editorial);
    font-size: 2.2rem;
    line-height: 1.4;
    color: var(--text-primary);
    font-weight: 300;
    text-align: justify;
    border: none;
    padding: 0;
    margin: 0;
}

.testimonials-author-row {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonials-dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 50%;
}

.testimonials-author-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin: 0;
}

.testimonials-author-role {
    font-family: var(--font-editorial);
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* FAQ Accordion Section */
.faq-section-wrapper {
    border-top: 1px solid var(--border-color);
    padding: 15vh var(--padding-side);
    position: relative;
}

.faq-grid-responsive {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

@media (max-width: 991px) {
    .faq-grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
}

.faq-title-heading {
    font-size: 4rem;
    text-transform: uppercase;
    line-height: 1.0;
    margin-top: 20px;
}

.faq-subtitle-text {
    margin-top: 30px;
    max-width: 320px;
    color: var(--text-secondary);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    gap: 20px;
}

.faq-question-label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.faq-icon {
    transition: transform 0.4s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
}

.faq-answer-paragraph {
    padding-top: 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}

/* Intro Section Specific Utilities */
.vision-cta-btn {
    background-color: var(--accent);
    border-color: var(--accent);
}

.intro-collab-tagline {
    margin-bottom: 15px;
    gap: 8px;
}

.hud-pulse-dot-accent {
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

/* Services & Packages Utilities */
.services-pricing-tagline {
    margin-bottom: 15px;
}

/* About Us Section Utilities */
.about-section-divider {
    margin-top: 10vh;
    border-top: 1px solid var(--border-color);
    padding-top: 10vh;
}

.about-statement-text {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-top: 20px;
    font-weight: 300;
}

.about-desc-p1 {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 20px;
    font-size: 1.05rem;
}

.about-desc-p2 {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 15px;
    font-size: 1.05rem;
}

/* Location Headquarters Utilities */
.location-telemetry-box {
    margin-bottom: 15px;
}

.location-directions-button {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    padding: 10px 16px;
}

/* Contact / Inquiries Section Utilities */
.contact-desc-text {
    margin-top: 30px;
    max-width: 320px;
}

.contact-form-error-banner {
    display: none;
    align-items: center;
    gap: 8px;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.contact-success-title {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.contact-success-message {
    max-width: 400px;
    color: var(--text-secondary);
}

.contact-reset-button {
    margin-top: 20px;
}

/* Hero Section Utilities */
.cta-play-btn .btn-play-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
}

.lightbox-video {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Portfolio Section Utilities */
.portfolio-header-desc {
    max-width: 380px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.portfolio-launch-badge {
    color: #60a5fa;
}

.portfolio-empty-state {
    text-align: center;
    padding: 70px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.portfolio-empty-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.portfolio-stack:not(.active) {
    display: none;
}

.portfolio-stack .card-glass-glow {
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
}

.portfolio-stack[data-category="web"] .card-glass-glow {
    background: radial-gradient(circle, rgba(0, 255, 170, 0.08) 0%, transparent 70%);
}

.portfolio-stack[data-category="design"] .card-glass-glow {
    background: radial-gradient(circle, rgba(170, 0, 255, 0.08) 0%, transparent 70%);
}

.portfolio-stack[data-category="web"] .tag-dot {
    background-color: #00ffaa;
    box-shadow: 0 0 8px #00ffaa;
}

.portfolio-stack[data-category="design"] .tag-dot {
    background-color: #ffaa00;
    box-shadow: 0 0 8px #ffaa00;
}

/* Header Navbar Utilities */
.nav-cta-btn {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* ==========================================================================
   PERUMALIL CREATIVE - MASTER COMPREHENSIVE MOBILE RESPONSIVE SYSTEM
   ========================================================================== */

/* Global Mobile Fixes for Viewports <= 991px (Tablets & Mobile) */
@media screen and (max-width: 991px) {
    :root {
        --padding-side: 5vw;
        --header-height: 64px;
    }

    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        -webkit-text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }

    .scroll-container {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    h1, h2, h3, h4, h5, h6 {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Scroll Margin to prevent fixed header from cutting off section titles */
    section[id] {
        scroll-margin-top: calc(var(--header-height) + 16px) !important;
    }

    /* Navbar Tablet/Mobile Overrides */
    .navbar {
        height: var(--header-height) !important;
        padding: 0 var(--padding-side) !important;
        background: rgba(5, 5, 5, 0.92) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .navbar.scrolled {
        height: 60px !important;
        background: rgba(5, 5, 5, 0.96) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7) !important;
    }

    .nav-brand {
        font-size: clamp(0.88rem, 3.8vw, 1.15rem) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: calc(100% - 52px) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        letter-spacing: -0.3px !important;
        flex-shrink: 1 !important;
    }

    .nav-brand span {
        width: 6px !important;
        height: 6px !important;
        flex-shrink: 0 !important;
    }

    .nav-links {
        display: none !important;
    }

    .menu-btn {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        flex-shrink: 0 !important;
    }

    .mobile-nav-panel {
        max-width: 360px !important;
        width: 100% !important;
        padding: 24px 20px !important;
    }

    body.nav-open {
        overflow: hidden !important;
        touch-action: none !important;
    }

    /* Hero Immersive Canvas Tablet/Mobile */
    .hero.hero-immersive-canvas {
        min-height: auto !important;
        height: auto !important;
        padding: clamp(104px, 14vh, 125px) var(--padding-side-mobile, 16px) 48px var(--padding-side-mobile, 16px) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .colossal-typography-bg {
        position: absolute !important;
        top: 36% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        opacity: var(--marquee-opacity, 0.45) !important;
        pointer-events: none !important;
        margin-bottom: 0 !important;
        z-index: 1 !important;
        gap: 12px !important;
    }

    .typo-marquee-row {
        width: 100% !important;
    }

    .typo-line {
        font-size: clamp(5.8rem, 20vw, 8.8rem) !important;
        letter-spacing: -2.5px !important;
        padding-right: 40px !important;
        opacity: 1 !important;
        line-height: 0.88 !important;
    }

    .typo-line.outline-text {
        opacity: 0.9 !important;
        -webkit-text-stroke-width: 1.8px !important;
    }

    .immersive-cards-container {
        display: none !important;
    }

    /* Luxury Editorial Hero Foreground Presentation */
    .immersive-hero-overlay {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 520px !important;
        padding: 0 !important;
        margin: 0 auto !important;
        gap: 24px !important;
        z-index: 10 !important;
        pointer-events: auto !important;
        box-sizing: border-box !important;
    }

    .overlay-left-details {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .hud-meta-row {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .hud-location-badge {
        font-size: 0.68rem !important;
        letter-spacing: 1.5px !important;
        padding: 5px 12px !important;
        border-radius: 100px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    .hud-ai-badge {
        font-size: 0.68rem !important;
        letter-spacing: 1.2px !important;
        padding: 5px 12px !important;
        border-radius: 100px !important;
        background: rgba(0, 102, 255, 0.08) !important;
        border: 1px solid rgba(0, 102, 255, 0.28) !important;
        color: #38bdf8 !important;
        cursor: pointer !important;
    }

    .hero-brand-headline {
        font-size: clamp(2.05rem, 8.4vw, 3.2rem) !important;
        line-height: 1.1 !important;
        letter-spacing: -0.8px !important;
        margin: 0 0 14px 0 !important;
        text-align: center !important;
        font-family: var(--font-heading) !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
    }

    .studio-mission-text {
        font-size: clamp(0.88rem, 3.6vw, 0.98rem) !important;
        line-height: 1.6 !important;
        color: #94a3b8 !important;
        max-width: 90% !important;
        margin: 0 auto 24px auto !important;
        text-align: center !important;
        font-family: var(--font-body) !important;
    }

    .hero-actions-group {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
    }

    .hero-action-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        flex: 1 1 auto !important;
        padding: 13px 20px !important;
        border-radius: 100px !important;
        background: linear-gradient(135deg, var(--accent) 0%, #0052cc 100%) !important;
        color: #ffffff !important;
        font-family: var(--font-heading, 'Outfit', sans-serif) !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
        box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35) !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
        white-space: nowrap !important;
    }

    .hero-action-primary:active {
        transform: scale(0.96) !important;
    }

    .hero-action-secondary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 1 auto !important;
        padding: 13px 20px !important;
        border-radius: 100px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        font-family: var(--font-heading, 'Outfit', sans-serif) !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        white-space: nowrap !important;
        transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
    }

    .hero-action-secondary:active {
        transform: scale(0.96) !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .overlay-right-ctas {
        display: none !important;
    }

    .hero-mobile-cta-wrap {
        display: none !important;
    }

    .scroll-indicator {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }

    /* Editorial Intro Section */
    .intro {
        padding: 60px var(--padding-side) !important;
    }

    .intro-dual-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        margin-bottom: 45px !important;
    }

    .intro-separator {
        display: none !important;
    }

    .intro-tagline {
        font-size: 0.78rem !important;
        margin-bottom: 14px !important;
    }

    .intro-col-title {
        font-size: clamp(1.35rem, 5.2vw, 2.05rem) !important;
        line-height: 1.15 !important;
        margin-bottom: 14px !important;
        letter-spacing: -0.5px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .intro-col-desc {
        font-size: 0.94rem !important;
        line-height: 1.6 !important;
    }

    .intro-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-bottom: 45px !important;
    }

    .pillar-card {
        padding: 26px 20px !important;
        border-radius: 18px !important;
    }

    .pillar-icon-wrapper {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 18px !important;
        border-radius: 12px !important;
    }

    .pillar-title {
        font-size: 1.25rem !important;
        margin-bottom: 8px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .pillar-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }

    .vision-banner {
        padding: 28px 20px !important;
        border-radius: 20px !important;
        margin-bottom: 35px !important;
    }

    .vision-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .vision-heading {
        font-size: clamp(1.3rem, 5vw, 1.9rem) !important;
        line-height: 1.18 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .vision-desc, .vision-text {
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
    }

    .vision-cta-wrap .vision-cta {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 22px !important;
        text-align: center !important;
    }

    /* Collaborations Marquee */
    .intro-logos-container {
        margin-top: 35px !important;
        padding: 35px var(--padding-side) 20px var(--padding-side) !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .intro-logos-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        margin-bottom: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .intro-logos-header-left {
        max-width: 100% !important;
        width: 100% !important;
    }

    .collab-metrics-bar {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 18px !important;
        border-radius: 16px !important;
        justify-content: space-around !important;
        align-items: center !important;
        gap: 10px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .collab-metric-item {
        text-align: center !important;
        align-items: center !important;
    }

    .collab-metric-num {
        font-size: 1.35rem !important;
    }

    .collab-metric-label {
        font-size: 0.68rem !important;
        letter-spacing: 0.6px !important;
    }

    .intro-collab-tagline::before {
        display: none !important;
    }

    .logos-section-title {
        font-size: clamp(1.22rem, 5vw, 1.85rem) !important;
        line-height: 1.15 !important;
        letter-spacing: -0.5px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }

    .intro-logo-marquee {
        padding: 16px 0 !important;
        position: relative !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .marquee-fade-left,
    .marquee-fade-right {
        width: 30px !important;
    }

    .logo-item-wrapper {
        height: 72px !important;
        min-width: 145px !important;
        padding: 10px 18px !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    .marquee-logo-img {
        max-height: 40px !important;
        max-width: 100px !important;
        filter: brightness(1.2) contrast(1.1) !important;
        opacity: 0.92 !important;
    }

    /* Services & Pricing Section */
    .services {
        padding: 50px var(--padding-side) !important;
    }

    .services-header {
        margin-bottom: 28px !important;
    }

    .services-title {
        font-size: clamp(1.35rem, 5.2vw, 2.05rem) !important;
        line-height: 1.18 !important;
        margin-bottom: 14px !important;
        letter-spacing: -0.5px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .services-desc {
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
    }

    .services-grid-new {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-bottom: 40px !important;
    }

    .service-card-new {
        padding: 24px 18px !important;
        border-radius: 16px !important;
    }

    .service-card-new-title {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .service-card-new-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }

    .packages-header {
        margin-top: 25px !important;
        margin-bottom: 22px !important;
    }

    .packages-title {
        font-size: clamp(1.3rem, 5vw, 1.95rem) !important;
        line-height: 1.18 !important;
        letter-spacing: -0.5px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .pricing-card {
        min-height: auto !important;
        padding: 26px 20px 22px 20px !important;
        border-radius: 18px !important;
    }

    .pricing-card.popular {
        border-color: rgba(0, 102, 255, 0.45) !important;
        box-shadow: 0 10px 30px rgba(0, 102, 255, 0.12) !important;
    }

    .pricing-card.popular .popular-badge {
        position: static !important;
        display: inline-flex !important;
        align-self: flex-start !important;
        margin-bottom: 12px !important;
        top: auto !important;
        right: auto !important;
    }

    .pricing-card-name {
        font-size: 1.12rem !important;
        margin-bottom: 8px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .pricing-card-price-label {
        font-size: 0.72rem !important;
        margin-bottom: 4px !important;
    }

    .pricing-card-price {
        font-size: 1.8rem !important;
        margin-bottom: 16px !important;
    }

    .pricing-card-features {
        padding-top: 14px !important;
        gap: 10px !important;
    }

    .pricing-card-features li {
        font-size: 0.84rem !important;
        line-height: 1.4 !important;
    }

    .pricing-card-btn {
        height: 44px !important;
        font-size: 0.82rem !important;
    }

    /* Museum Portfolio Showcase */
    .portfolio {
        padding: 60px var(--padding-side) !important;
    }

    .portfolio-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        margin-bottom: 30px !important;
    }

    .portfolio-header-desc {
        max-width: 100% !important;
        font-size: 0.92rem !important;
    }

    .portfolio-tabs-container {
        width: 100% !important;
        margin-bottom: 30px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 4px !important;
        justify-content: flex-start !important;
    }

    .portfolio-tabs-container::-webkit-scrollbar {
        display: none;
    }

    .portfolio-tabs {
        display: inline-flex !important;
        width: auto !important;
        max-width: 100% !important;
        flex-wrap: nowrap !important;
        padding: 4px !important;
        gap: 4px !important;
    }

    .portfolio-tab-btn {
        padding: 9px 16px !important;
        font-size: 0.76rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .portfolio-stack {
        padding-bottom: 0 !important;
    }

    .portfolio-stack-card {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 20px !important;
        border-radius: 20px !important;
        gap: 18px !important;
        position: relative !important;
        top: 0 !important;
        margin-bottom: 24px !important;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        transform: none !important;
    }

    .portfolio-stack-card:last-child {
        margin-bottom: 0 !important;
    }

    .portfolio-stack-img-wrap {
        width: 100% !important;
        aspect-ratio: 16 / 10 !important;
        height: auto !important;
        min-height: 190px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        order: -1 !important;
    }

    .portfolio-stack-img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .portfolio-stack-details {
        padding-left: 0 !important;
        width: 100% !important;
    }

    .portfolio-stack-meta {
        margin-bottom: 10px !important;
    }

    .portfolio-stack-tag {
        font-size: 0.72rem !important;
    }

    .portfolio-stack-title {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
        letter-spacing: -0.3px !important;
    }

    .portfolio-stack-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    .portfolio-stack-action {
        font-size: 0.8rem !important;
    }

    /* Testimonials Spotlight */
    .testimonials-section {
        padding: 50px var(--padding-side) !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 24px !important;
    }

    .testimonials-quote-mark {
        font-size: 3.2rem !important;
        line-height: 1 !important;
        margin-bottom: 0 !important;
    }

    .testimonials-quote-text {
        font-size: clamp(1.15rem, 4.5vw, 1.55rem) !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }

    .testimonials-author-row {
        margin-top: 24px !important;
        padding-top: 18px !important;
        gap: 14px !important;
    }

    .testimonials-author-name {
        font-size: 1.15rem !important;
    }

    .testimonials-author-role {
        font-size: 0.82rem !important;
    }

    /* About & Creative Philosophy */
    .about {
        padding: 60px var(--padding-side) !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .about-title {
        font-size: clamp(1.35rem, 5.2vw, 2.05rem) !important;
        line-height: 1.18 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .about-statement {
        font-size: clamp(1.15rem, 4.2vw, 1.45rem) !important;
        line-height: 1.5 !important;
    }

    .about-philosophy-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding-top: 24px !important;
    }

    .about-block-title {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }

    .about-block-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }

    .about-us-section {
        margin-top: 40px !important;
        padding-top: 40px !important;
    }

    .about-statement-text {
        font-size: 1.18rem !important;
    }

    .about-desc-p1, .about-desc-p2 {
        font-size: 0.92rem !important;
    }

    /* Mobile & Tablet Leadership Team Slider */
    .team-showcase-section {
        margin-top: 40px !important;
        padding-top: 40px !important;
    }

    .team-header-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }

    .team-showcase-title {
        font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important;
        line-height: 1.2 !important;
    }

    .team-carousel-controls {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .team-carousel-counter {
        font-family: var(--font-editorial) !important;
        font-size: 0.76rem !important;
        font-weight: 700 !important;
        letter-spacing: 1.5px !important;
        color: var(--accent) !important;
        background: rgba(0, 102, 255, 0.08) !important;
        border: 1px solid rgba(0, 102, 255, 0.25) !important;
        padding: 3px 10px !important;
        border-radius: 100px !important;
    }

    .team-nav-arrow {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: background 0.2s, border-color 0.2s, transform 0.2s !important;
        padding: 0 !important;
    }

    .team-nav-arrow:active {
        transform: scale(0.92) !important;
        background: var(--accent) !important;
        border-color: var(--accent) !important;
    }

    .team-slider-viewport {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 6px 0 16px 0 !important;
    }

    .team-grid {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 16px !important;
        width: max-content !important;
        min-width: 100% !important;
        margin: 0 !important;
        scroll-snap-type: x mandatory !important;
        user-select: auto !important;
        -webkit-user-select: auto !important;
    }

    .team-card {
        grid-area: auto !important;
        display: flex !important;
        flex-direction: column !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        z-index: 1 !important;
        position: relative !important;
        width: calc((100vw - (2 * var(--padding-side)) - 16px) / 2) !important;
        flex: 0 0 calc((100vw - (2 * var(--padding-side)) - 16px) / 2) !important;
        max-width: 280px !important;
        min-width: 200px !important;
        scroll-snap-align: start !important;
        border-radius: 20px !important;
        padding: 10px !important;
    }

    @media (max-width: 580px) {
        .team-card {
            width: 78vw !important;
            flex: 0 0 78vw !important;
            max-width: 280px !important;
            min-width: 220px !important;
        }
    }

    .team-img-wrap {
        border-radius: 14px !important;
        aspect-ratio: 3 / 4 !important;
        width: 100% !important;
        overflow: hidden !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        background-color: var(--bg-card) !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
    }

    .team-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        filter: grayscale(100%) contrast(1.1) brightness(0.95) !important;
        -webkit-filter: grayscale(100%) contrast(1.1) brightness(0.95) !important;
        opacity: 0.95 !important;
        transition: filter 0.4s ease, opacity 0.4s ease !important;
    }

    .team-card:hover .team-img,
    .team-card:active .team-img {
        filter: grayscale(0%) contrast(1) brightness(1) !important;
        -webkit-filter: grayscale(0%) contrast(1) brightness(1) !important;
        opacity: 1 !important;
    }

    .team-details {
        padding: 12px 4px 4px 4px !important;
        text-align: left !important;
    }

    .team-name {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        letter-spacing: -0.3px !important;
        margin: 0 !important;
    }

    .team-role {
        font-size: 0.74rem !important;
        color: var(--accent) !important;
        font-weight: 600 !important;
        letter-spacing: 1px !important;
        text-transform: uppercase !important;
        margin-top: 3px !important;
    }

    .team-slider-footer {
        margin-top: 18px !important;
        gap: 12px !important;
    }

    .team-progress-track {
        max-width: 200px !important;
    }

    /* Team Spotlight Indicators */
    .team-carousel-indicators {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    .team-indicator-dot {
        width: 8px !important;
        height: 8px !important;
        border-radius: 100px !important;
        background: rgba(255, 255, 255, 0.18) !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        transition: width 0.35s ease, background 0.35s ease, box-shadow 0.35s ease !important;
    }

    .team-indicator-dot.is-active {
        width: 22px !important;
        background: var(--accent) !important;
        box-shadow: 0 0 10px var(--accent) !important;
    }

    /* FAQ Accordion */
    .faq-section-wrapper {
        padding: 60px var(--padding-side) !important;
    }

    .faq-grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .faq-title-heading {
        font-size: clamp(1.35rem, 5.2vw, 2.05rem) !important;
        line-height: 1.18 !important;
        margin-top: 10px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .faq-subtitle-text {
        margin-top: 15px !important;
        max-width: 100% !important;
        font-size: 0.92rem !important;
    }

    .faq-item {
        padding: 18px 0 !important;
    }

    .faq-question-label {
        font-size: 1.02rem !important;
        line-height: 1.35 !important;
    }

    .faq-answer-paragraph {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        text-align: left !important;
    }

    /* Office Headquarters & Map */
    .location-section {
        padding: 60px var(--padding-side) !important;
    }

    .location-title {
        font-size: clamp(1.35rem, 5.2vw, 2.05rem) !important;
        line-height: 1.18 !important;
        margin-bottom: 24px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .map-hud-style-switcher {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 12px 16px !important;
        border-radius: 16px 16px 0 0 !important;
    }

    .switcher-title {
        font-size: 0.65rem !important;
    }

    .map-style-toggles {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .map-style-btn {
        flex: 1 1 auto !important;
        text-align: center !important;
        font-size: 0.68rem !important;
        padding: 7px 10px !important;
    }

    .location-map-frame {
        aspect-ratio: auto !important;
        height: 440px !important;
        min-height: 400px !important;
        border-radius: 0 0 16px 16px !important;
        padding: 0 !important;
        position: relative !important;
    }

    .map-hud-card {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        bottom: 12px !important;
        left: 12px !important;
        right: 12px !important;
        top: auto !important;
        width: auto !important;
        padding: 14px 16px !important;
        border-radius: 12px !important;
        background: rgba(10, 12, 18, 0.92) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        z-index: 100 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
    }

    .map-hud-header {
        margin-bottom: 6px !important;
    }

    .map-hud-title {
        font-size: 1.05rem !important;
        margin-bottom: 4px !important;
    }

    .map-hud-address {
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
        margin-bottom: 10px !important;
    }

    .location-telemetry-box {
        display: none !important;
    }

    .location-directions-button {
        padding: 9px 14px !important;
        font-size: 0.78rem !important;
        width: 100% !important;
    }

    /* Contact & Inquiries Section */
    .contact {
        padding: 60px var(--padding-side) !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }

    .contact-headline {
        font-size: clamp(1.4rem, 5.5vw, 2.15rem) !important;
        line-height: 1.18 !important;
        margin-bottom: 16px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .contact-desc-text {
        max-width: 100% !important;
        font-size: 0.92rem !important;
        margin-top: 14px !important;
    }

    .contact-info-list {
        margin-top: 30px !important;
        gap: 20px !important;
    }

    .contact-info-item {
        gap: 16px !important;
    }

    .contact-info-icon {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0 !important;
    }

    .contact-info-text p {
        font-size: 0.92rem !important;
    }

    .contact-form {
        gap: 20px !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .form-control {
        font-size: 16px !important; /* Critical to prevent iOS Safari auto-zoom */
        padding: 13px 14px !important;
        border-radius: 10px !important;
    }

    .package-selector {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .package-card {
        padding: 14px 10px !important;
        border-radius: 10px !important;
    }

    .package-name {
        font-size: 0.85rem !important;
    }

    .package-price {
        font-size: 1rem !important;
    }

    .dynamic-calculator-preview {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .calc-price {
        font-size: 1.55rem !important;
        align-self: flex-start !important;
    }

    .submit-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 15px 20px !important;
        font-size: 0.92rem !important;
        border-radius: 12px !important;
    }

    /* Footer */
    .footer {
        padding: 60px var(--padding-side) 30px var(--padding-side) !important;
    }

    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        padding-bottom: 36px !important;
    }

    .footer-cta-text {
        font-size: clamp(1.85rem, 7.5vw, 3rem) !important;
        line-height: 1.1 !important;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px 10px !important;
    }

    .footer-bottom {
        flex-direction: column-reverse !important;
        gap: 18px !important;
        align-items: flex-start !important;
        padding-top: 25px !important;
        font-size: 0.8rem !important;
    }

    .back-to-top {
        align-self: flex-start !important;
        font-size: 0.85rem !important;
    }

    /* Mobile Floating Action Controls Stacking */
    .floating-fab-container {
        bottom: 82px !important;
        right: 16px !important;
        left: auto !important;
        gap: 10px !important;
        z-index: 9990 !important;
    }

    .floating-fab-btn {
        width: 46px !important;
        height: 46px !important;
    }

    .floating-fab-btn.fab-whatsapp .fab-wa-icon {
        width: 22px !important;
        height: 22px !important;
    }

    .floating-fab-btn.fab-scroll-top .fab-arrow-icon {
        width: 18px !important;
        height: 18px !important;
    }

    .ai-assistant-widget {
        bottom: 16px !important;
        right: 16px !important;
        left: auto !important;
        z-index: 9995 !important;
    }

    /* Smoothly conceal floating actions when mobile nav drawer or site modals are active */
    body.nav-open .floating-fab-container,
    body.nav-open .ai-assistant-widget,
    body.modal-open .floating-fab-container,
    body.modal-open .ai-assistant-widget,
    body.site-modal-open .floating-fab-container,
    body.site-modal-open .ai-assistant-widget {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(20px) !important;
        transition: opacity 0.2s ease, transform 0.2s ease !important;
    }
}

/* Extra Compact Phones <= 480px (e.g. iPhone SE 375px, Galaxy S 360px) */
@media screen and (max-width: 480px) {
    :root {
        --padding-side: 4vw;
        --header-height: 58px;
    }

    .nav-brand {
        font-size: clamp(0.82rem, 3.8vw, 1.02rem) !important;
        letter-spacing: -0.4px !important;
    }

    .hero-brand-headline {
        font-size: clamp(1.8rem, 8vw, 2.35rem) !important;
        margin: 10px 0 12px 0 !important;
    }

    .hero-actions-group {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 280px !important;
    }

    .hero-action-primary,
    .hero-action-secondary {
        width: 100% !important;
        padding: 12px 18px !important;
        box-sizing: border-box !important;
    }

    .collab-metrics-bar {
        padding: 12px 10px !important;
        gap: 6px !important;
    }

    .collab-metric-num {
        font-size: 1.15rem !important;
    }

    .collab-metric-label {
        font-size: 0.6rem !important;
        letter-spacing: 0.4px !important;
    }

    .site-modal-card {
        padding: 22px 16px 28px 16px !important;
        border-radius: 16px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .logos-section-title {
        font-size: clamp(1.12rem, 4.8vw, 1.55rem) !important;
        letter-spacing: -0.4px !important;
    }

    .packages-title {
        font-size: clamp(1.2rem, 5vw, 1.65rem) !important;
        letter-spacing: -0.4px !important;
    }

    .services-title {
        font-size: clamp(1.22rem, 5vw, 1.7rem) !important;
        letter-spacing: -0.4px !important;
    }

    .vision-heading {
        font-size: clamp(1.2rem, 4.8vw, 1.6rem) !important;
    }

    .intro-col-title {
        font-size: clamp(1.22rem, 5vw, 1.7rem) !important;
    }

    .about-title,
    .faq-title-heading,
    .location-title,
    .contact-headline {
        font-size: clamp(1.22rem, 5.2vw, 1.75rem) !important;
    }

    .pricing-card {
        padding: 22px 16px 18px 16px !important;
        border-radius: 16px !important;
    }

    .pricing-card-price {
        font-size: 1.65rem !important;
        margin-bottom: 12px !important;
    }

    .service-card-new {
        padding: 20px 16px !important;
    }

    .service-card-new-title {
        font-size: 1.08rem !important;
    }

    .package-selector {
        grid-template-columns: 1fr !important;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px 6px !important;
    }

    .location-map-frame {
        height: 440px !important;
    }
}

/* ==========================================================================
   ADMIN LOGIN PORTAL STYLES (Scoped under body.admin-login-body)
   ========================================================================== */
body.admin-login-body {
    --bg: #090d16;
    --panel-bg: rgba(17, 24, 39, 0.7);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --danger: #ef4444;

    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Ambient Lighting Elements */
body.admin-login-body .login-ambient-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(100px);
    -webkit-filter: blur(100px);
    opacity: 0.6;
}

body.admin-login-body .orb-1 {
    width: 450px;
    height: 450px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 70%);
}

body.admin-login-body .orb-2 {
    width: 500px;
    height: 500px;
    bottom: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 70%);
}

body.admin-login-body .login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.admin-login-body .back-to-site-top {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

body.admin-login-body .back-to-site-top:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateX(-3px);
}

body.admin-login-body .login-card {
    width: 100%;
    padding: 42px 34px 34px 34px;
    background: rgba(14, 18, 30, 0.82);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 40px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
}

body.admin-login-body .brand-header {
    text-align: center;
    margin-bottom: 28px;
}

body.admin-login-body .brand-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(30, 64, 175, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.3);
    margin-bottom: 14px;
}

body.admin-login-body .brand-header h1 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 10px 0;
}

body.admin-login-body .portal-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 100px;
}

body.admin-login-body .status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

body.admin-login-body .form-group {
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

body.admin-login-body .form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

body.admin-login-body .input-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

body.admin-login-body .input-icon-left {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    pointer-events: none;
    z-index: 3;
    transition: color 0.25s ease;
}

body.admin-login-body .input-wrapper:focus-within .input-icon-left {
    color: #3b82f6;
}

body.admin-login-body .form-control {
    width: 100%;
    box-sizing: border-box !important;
    display: block;
    padding: 14px 44px 14px 46px !important;
    background: rgba(8, 12, 22, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #f8fafc !important;
    font-family: var(--font-sans) !important;
    font-size: 0.92rem !important;
    outline: none !important;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

body.admin-login-body .form-control::placeholder {
    color: #475569 !important;
    opacity: 1 !important;
}

body.admin-login-body .form-control:focus {
    background: rgba(10, 16, 30, 0.95) !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22), 0 0 24px rgba(59, 130, 246, 0.12) !important;
}

/* Chrome/Safari Autofill Dark Mode Correction */
body.admin-login-body input:-webkit-autofill,
body.admin-login-body input:-webkit-autofill:hover, 
body.admin-login-body input:-webkit-autofill:focus, 
body.admin-login-body input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0b101d inset !important;
    box-shadow: 0 0 0 1000px #0b101d inset !important;
    -webkit-text-fill-color: #f8fafc !important;
    color: #f8fafc !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    transition: background-color 5000s ease-in-out 0s !important;
    caret-color: #ffffff !important;
}

body.admin-login-body .btn-toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 6px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.2s, background-color 0.2s;
    z-index: 3;
}

body.admin-login-body .btn-toggle-password:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

body.admin-login-body .btn-submit {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-top: 10px;
}

body.admin-login-body .btn-submit i,
body.admin-login-body .btn-submit svg {
    transition: transform 0.25s ease;
}

body.admin-login-body .btn-submit:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 26px rgba(37, 99, 235, 0.55);
    transform: translateY(-1px);
}

body.admin-login-body .btn-submit:hover i,
body.admin-login-body .btn-submit:hover svg {
    transform: translateX(4px);
}

body.admin-login-body .btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

body.admin-login-body .error-banner {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #fca5a5;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

body.admin-login-body .security-meta {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

body.admin-login-body .login-footer-copy {
    margin-top: 20px;
    font-size: 0.74rem;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
}

@media screen and (max-width: 480px) {
    body.admin-login-body .login-card {
        padding: 30px 20px 24px 20px;
        border-radius: 18px;
    }

    body.admin-login-body .brand-header h1 {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   ADMIN DASHBOARD STYLES (Scoped under body.admin-body)
   ========================================================================== */
body.admin-body {
    --bg: #080c14;
    --sidebar-bg: #0c101b;
    --card-bg: #111625;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.12);
    --border-color: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --admin-preview-width: 48%;

    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Abstract Grid Backdrop - subtle for software dashboard */
.admin-body .grid-backdrop {
    display: none;
}

.admin-body .radial-glow {
    position: fixed;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Admin Main Layout with Dynamic Live Preview Split */
.admin-container {
    display: grid;
    grid-template-columns: 74px 1fr var(--admin-preview-width);
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    z-index: 2;
    position: relative;
    transition: grid-template-columns 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When Live Preview is Hidden: Sidebar expands back to standard 260px and preview pane is completely closed */
.admin-container.preview-hidden {
    grid-template-columns: 260px 1fr !important;
}

.admin-container.preview-hidden .admin-preview-pane {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.admin-body .sidebar {
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 24px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: sticky;
    top: 0;
    transition: padding 0.3s ease, width 0.3s ease;
    user-select: none;
}

/* Normal Expanded Sidebar when Preview is Hidden */
.admin-container.preview-hidden .sidebar {
    padding: 28px 18px;
}

.admin-body .sidebar-brand {
    position: relative;
}

.admin-body .sidebar-brand .brand-full {
    display: none;
}

.admin-body .sidebar-brand .brand-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 0;
}

.brand-mini-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.admin-body .sidebar-brand .brand-mini span.dot {
    width: 7px;
    height: 7px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--success);
}

/* In preview-hidden mode: Show full brand and hide mini */
.admin-container.preview-hidden .sidebar-brand .brand-full {
    display: block;
}

.admin-container.preview-hidden .sidebar-brand .brand-mini {
    display: none;
}

.admin-body .sidebar-brand .brand-full h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 4px;
    white-space: nowrap;
}

.admin-body .sidebar-brand .brand-full p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.admin-body .sidebar-brand .brand-full p span.dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
}

.admin-body .sidebar-menu {
    margin-top: 28px;
    flex-grow: 1;
}

.admin-container.preview-hidden .sidebar-menu {
    margin-top: 40px;
}

.admin-body .menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 6px;
    border: 1px solid transparent;
    position: relative;
    white-space: nowrap;
}

/* Collapsed menu link when preview is active */
.admin-container:not(.preview-hidden) .menu-link {
    justify-content: center;
    padding: 12px 0;
    width: 48px;
    margin: 0 auto 6px auto;
}

.admin-container:not(.preview-hidden) .menu-link span:not(.badge) {
    display: none;
}

.admin-container:not(.preview-hidden) .menu-link .badge-new {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Tooltip on hover when sidebar is collapsed */
.admin-container:not(.preview-hidden) .menu-link:hover::after,
.admin-container:not(.preview-hidden) .logout-btn:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #0f172a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
    animation: tooltipSlideIn 0.15s ease-out;
}

@keyframes tooltipSlideIn {
    from { opacity: 0; transform: translate(-4px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}

.admin-body .menu-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.admin-body .menu-link.active {
    color: #ffffff;
    background: var(--accent-glow);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.2);
}

.admin-body .sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

.admin-body .logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.admin-container:not(.preview-hidden) .logout-btn {
    justify-content: center;
    padding: 11px 0;
    width: 48px;
    margin: 0 auto;
}

.admin-container:not(.preview-hidden) .logout-btn span {
    display: none;
}

.admin-body .logout-btn:hover {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
}

/* Content Area */
.admin-body .content {
    padding: 26px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
    min-width: 0;
}

.admin-body .content-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 18px;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-body .content-header h1 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
}

.admin-body .content-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 4px;
}

.admin-body .header-action-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-toggle-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-toggle-top-btn:hover {
    background: rgba(37, 99, 235, 0.28);
    border-color: rgba(59, 130, 246, 0.6);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.25);
}

.view-site-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.84rem;
    border: 1px solid var(--border-color);
    padding: 7px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.view-site-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

/* ================= Live Frontend Preview Pane (Studio Mockup Setup) ================= */
.admin-preview-pane {
    background: #050811;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    overflow: hidden;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.preview-pane-header {
    background: #090e1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-shrink: 0;
    user-select: none;
}

.preview-pane-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.preview-live-pulse {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.preview-pane-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.preview-control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 5px 9px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.preview-control-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Prominent Refresh Button */
.preview-control-btn.btn-refresh {
    background: rgba(37, 99, 235, 0.22);
    border-color: rgba(37, 99, 235, 0.45);
    color: #60a5fa;
    font-weight: 700;
    padding: 5px 11px;
}

.preview-control-btn.btn-refresh:hover {
    background: rgba(37, 99, 235, 0.45);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.35);
}

.preview-control-btn.btn-refresh.spinning i {
    animation: spinPreviewRefresh 0.75s linear infinite;
}

@keyframes spinPreviewRefresh {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Device Switcher (Desktop & Mobile ONLY) */
.preview-device-segmented {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
}

.preview-device-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.preview-device-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.preview-device-btn.active {
    background: rgba(37, 99, 235, 0.35);
    color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.45);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.25);
}

/* Close Preview Pane Button */
.preview-control-btn.btn-close-preview {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    padding: 5px 8px;
}

.preview-control-btn.btn-close-preview:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ffffff;
    border-color: rgba(239, 68, 68, 0.5);
}

/* Sub-toolbar with Section Quick-Jump Links */
.preview-quick-bar {
    background: rgba(9, 14, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    flex-shrink: 0;
    scrollbar-width: none;
}

.preview-quick-bar::-webkit-scrollbar {
    display: none;
}

.preview-jump-tag {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 3px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.preview-jump-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.preview-jump-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

.preview-jump-btn.active {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(59, 130, 246, 0.45);
    color: #93c5fd;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.2);
}

/* Studio Setup Canvas Wrapper */
.preview-frame-wrapper {
    flex: 1 1 auto;
    position: relative;
    background: radial-gradient(circle at 50% 15%, rgba(37, 99, 235, 0.08) 0%, #03050a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
}

/* Desktop Browser Window Mockup Frame */
.preview-mockup-frame {
    width: 100%;
    height: 100%;
    background: #080d19;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.mockup-window-bar {
    height: 34px;
    background: #0b1122;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 10px;
    flex-shrink: 0;
    user-select: none;
    position: relative;
}

.mockup-traffic-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.traffic-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.traffic-dot.red { background: #ef4444; }
.traffic-dot.yellow { background: #f59e0b; }
.traffic-dot.green { background: #10b981; }

.mockup-mobile-speaker {
    display: none;
}

.mockup-mobile-homebar {
    display: none;
}

.mockup-url-pill {
    flex: 1;
    max-width: 290px;
    height: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-family: monospace;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
}

.mockup-viewport {
    flex: 1 1 auto;
    position: relative;
    background: #060910;
    overflow: hidden;
    display: flex;
    width: 100%;
    height: 100%;
}

/* Desktop View: Natural Crisp Responsive Display (No scale blur) */
.preview-mockup-frame.mode-desktop .mockup-viewport iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: none;
}

/* Mobile Device Mode (Polished Smartphone Shell) */
.preview-mockup-frame.mode-mobile {
    width: 375px;
    max-width: 95%;
    height: 96%;
    max-height: 800px;
    border-radius: 36px;
    border: 10px solid #161f33;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: #000000;
}

.preview-mockup-frame.mode-mobile .mockup-window-bar {
    height: 26px;
    background: #161f33;
    border-bottom: none;
    justify-content: center;
    padding: 0;
}

.preview-mockup-frame.mode-mobile .mockup-traffic-dots,
.preview-mockup-frame.mode-mobile .mockup-url-pill {
    display: none;
}

.preview-mockup-frame.mode-mobile .mockup-mobile-speaker {
    display: block;
    width: 76px;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

.preview-mockup-frame.mode-mobile .mockup-mobile-homebar {
    display: block;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    pointer-events: none;
    z-index: 10;
}

.preview-mockup-frame.mode-mobile .mockup-viewport {
    border-radius: 0 0 24px 24px;
}

.preview-mockup-frame.mode-mobile .mockup-viewport iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: none;
}

.preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #060910;
}

/* Loading indicator for preview */
.preview-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 9, 16, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.preview-loading-overlay.loading {
    opacity: 1;
    pointer-events: auto;
}

.preview-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spinPreviewRefresh 0.8s linear infinite;
}

/* Dashboard Stats Widget Panel */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 10px;
}

.stat-details {
    min-width: 0;
}

.stat-details h3 {
    font-size: 1.45rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.stat-details p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Notifications */
.admin-body .alert {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
}

.admin-body .alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.admin-body .alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

/* Panels */
.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.glass-panel-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: #ffffff;
}

.panel-title-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Table & Inquiries view layout */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(0,0,0,0.1);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 16px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    color: var(--text-primary);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

/* Status badges */
.admin-body .badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.admin-body .badge-new {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.admin-body .badge-progress {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.admin-body .badge-replied {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.admin-body .badge-archived {
    background: rgba(156, 163, 175, 0.1);
    color: var(--text-secondary);
}

/* Action Forms & Elements */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-full-width {
    grid-column: span 2;
}

.form-group-admin {
    margin-bottom: 16px;
}

.form-group-admin label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 600;
}

.form-control-admin {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-control-admin:focus {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
}

textarea.form-control-admin {
    resize: vertical;
    min-height: 90px;
}

.btn-save {
    padding: 10px 20px;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-save:hover {
    background: #1d4ed8;
}

/* Kinetic Marquee Typography Studio in Admin */
.admin-divider-header {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 24px;
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #60a5fa;
}

.admin-divider-header h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-help-text {
    grid-column: span 2;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: -8px 0 10px 0;
}

.marquee-live-preview-box {
    grid-column: span 2;
    background: #060912;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(37, 99, 235, 0.05);
    margin-bottom: 12px;
}

.marquee-preview-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.marquee-preview-label span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.preview-mode-tag {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: #93c5fd;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
}

.marquee-preview-canvas {
    background: radial-gradient(circle at center, #0d1424 0%, #030509 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 22px 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-marquee-row {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.preview-marquee-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
}

.preset-chips-container {
    grid-column: span 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.preset-chip-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.preset-chip-btn:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

.preset-dots-preview {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.preset-dots-preview span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.color-picker-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-swatch-picker {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    flex-shrink: 0;
}

.color-swatch-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-swatch-picker::-webkit-color-swatch {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

/* CRUD lists */
.crud-list {
    margin-top: 15px;
}

.crud-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.2s ease;
}

.crud-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.crud-info {
    flex-grow: 1;
}

.crud-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.crud-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.45;
}

.crud-meta-badge {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

.crud-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon.btn-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.2);
}

.edit-form-wrapper {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
    width: 100%;
}

.item-image-preview {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    background: #000;
}

.image-upload-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Detail Modal */
.admin-body .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
}

.admin-body .modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
}

.admin-body .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-body .modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
}

.admin-body .modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-body .modal-close:hover {
    color: #ffffff;
}

.admin-body .modal-body {
    padding: 24px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.admin-body .modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.admin-body .modal-meta-item label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 3px;
}

.admin-body .modal-meta-item p {
    color: #ffffff;
    font-weight: 500;
}

.admin-body .modal-message-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    color: var(--text-primary);
    white-space: pre-wrap;
    margin-top: 10px;
    max-height: 250px;
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Quick Status form inside table */
.status-select-form select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
}

.status-select-form select:focus {
    border-color: var(--accent);
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    body.admin-body {
        --admin-preview-width: 48%;
    }
}

@media (max-width: 991px) {
    .admin-body .admin-container {
        grid-template-columns: 1fr !important;
        height: auto;
        max-height: none;
        overflow: visible;
    }
    body.admin-body {
        overflow: auto;
    }
    .admin-body .sidebar {
        height: auto;
        position: relative;
        padding: 18px !important;
        width: 100% !important;
    }
    .admin-body .sidebar-brand .brand-full {
        display: block !important;
    }
    .admin-body .sidebar-brand .brand-mini {
        display: none !important;
    }
    .admin-body .sidebar-menu {
        margin-top: 18px !important;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .admin-container:not(.preview-hidden) .menu-link {
        width: auto !important;
        padding: 8px 12px !important;
        margin: 0 !important;
        justify-content: flex-start !important;
    }
    .admin-container:not(.preview-hidden) .menu-link span:not(.badge) {
        display: inline-block !important;
    }
    .admin-container:not(.preview-hidden) .menu-link:hover::after,
    .admin-container:not(.preview-hidden) .logout-btn:hover::after {
        display: none !important;
    }
    .admin-container:not(.preview-hidden) .logout-btn {
        width: auto !important;
        padding: 8px 14px !important;
        margin: 0 !important;
        justify-content: flex-start !important;
    }
    .admin-container:not(.preview-hidden) .logout-btn span {
        display: inline-block !important;
    }
    .admin-body .menu-link {
        margin-bottom: 0;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .admin-body .content {
        height: auto;
        padding: 24px 20px;
    }
    .admin-preview-pane {
        height: 75vh;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    .admin-container.preview-hidden .admin-preview-pane {
        display: none;
    }
    .admin-body .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .admin-body .form-grid {
        grid-template-columns: 1fr;
    }
    .admin-body .form-full-width {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .admin-body .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= Modern Compact Dashboard Styling ================= */
.admin-subnav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    background: rgba(14, 18, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    flex-wrap: wrap;
}

.admin-subnav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    outline: none;
}

.admin-subnav-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.admin-subnav-btn.active {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.45);
    color: #93c5fd;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.admin-subnav-btn .pill-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.7rem;
    color: #ffffff;
}

.admin-subnav-btn.active .pill-count {
    background: rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.admin-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.btn-add-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(59, 130, 246, 0.15) 100%);
    border: 1px solid rgba(59, 130, 246, 0.45);
    color: #93c5fd;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-add-toggle:hover {
    background: rgba(37, 99, 235, 0.35);
    border-color: rgba(59, 130, 246, 0.8);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.admin-search-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.admin-search-wrap svg {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    pointer-events: none;
}

.admin-search-input {
    background: rgba(10, 13, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 14px 8px 36px;
    border-radius: 9px;
    font-size: 0.84rem;
    outline: none;
    width: 250px;
    transition: border-color 0.2s ease, width 0.2s ease;
}

.admin-search-input:focus {
    border-color: var(--accent);
    width: 280px;
}

.collapsible-drawer-box {
    display: none;
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(13, 18, 36, 0.7);
    border-radius: 12px;
    animation: fadeInDrawer 0.3s ease;
}

@keyframes fadeInDrawer {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Compact Grid Layout for Cards */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.compact-card {
    background: rgba(15, 18, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
}

.compact-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(18, 24, 40, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.category-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cat-filter-btn {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-filter-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.cat-filter-btn.active {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
    color: #93c5fd;
}

/* ==========================================================================
   Admin Dashboard Dedicated Utility & Semantic Classes (Zero Inline Styles)
   ========================================================================== */
body.admin-body .menu-link.inquiries-link {
    position: relative;
}

body.admin-body .menu-inquiries-badge {
    margin-left: auto;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.72rem;
}

body.admin-body .subtab-section {
    display: none;
}

body.admin-body .subtab-section.active {
    display: block;
}

body.admin-body .admin-actions-right {
    margin-top: 24px;
    text-align: right;
}

body.admin-body .admin-actions-right.mt-15 {
    margin-top: 15px;
}

body.admin-body .admin-actions-right.mt-30 {
    margin-top: 30px;
}

body.admin-body .admin-panel-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

body.admin-body .admin-panel-header-bar.mb-22 {
    margin-bottom: 22px;
}

body.admin-body .title-mb-5 {
    margin-bottom: 5px;
}

body.admin-body .icon-accent {
    color: var(--accent);
}

body.admin-body .admin-header-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

body.admin-body .text-white {
    color: #ffffff;
}

body.admin-body .text-highlight-blue {
    color: #60a5fa;
}

body.admin-body .search-max-280 {
    max-width: 280px;
}

body.admin-body .search-max-250 {
    max-width: 250px;
}

body.admin-body .mb-18 {
    margin-bottom: 18px;
}

body.admin-body .mb-20 {
    margin-bottom: 20px;
}

body.admin-body .pill-blue {
    background: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

body.admin-body .table-empty-td {
    text-align: center;
    color: var(--text-muted);
    padding: 30px;
}

body.admin-body .td-date {
    white-space: nowrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

body.admin-body .td-client-name {
    font-weight: 600;
    color: #ffffff;
}

body.admin-body .table-mail-link {
    color: var(--accent);
    text-decoration: none;
}

body.admin-body .td-price {
    font-weight: 700;
}

body.admin-body .d-inline {
    display: inline;
}

body.admin-body .drawer-title {
    margin: 0 0 16px 0;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.admin-body .drawer-actions {
    margin-top: 15px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

body.admin-body .btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

body.admin-body .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.admin-body .checkbox-group-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

body.admin-body .checkbox-input {
    width: 18px;
    height: 18px;
}

body.admin-body .checkbox-label {
    margin-bottom: 0;
    cursor: pointer;
}

body.admin-body .badge-popular {
    font-size: 0.65rem;
    background: var(--accent);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

body.admin-body .pkg-price-text {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

body.admin-body .pkg-features-preview {
    font-size: 0.8rem;
    white-space: pre-line;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

body.admin-body .cat-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

body.admin-body .cat-select-label {
    margin: 0;
}

body.admin-body .btn-add-cat-link {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: underline;
}

body.admin-body .bg-dark-select {
    background: #111111;
}

body.admin-body .new-cat-input-wrap {
    display: none;
    margin-top: 8px;
}

body.admin-body .new-cat-input {
    background: #1a1a1a;
    border-color: var(--accent);
}

body.admin-body .field-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 5px;
}

body.admin-body .launching-soon-config-box {
    padding: 12px 16px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
}

body.admin-body .launching-soon-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

body.admin-body .launching-soon-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #60a5fa;
    cursor: pointer;
}

body.admin-body .launching-soon-title-wrap {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.admin-body .launching-soon-modal-tag {
    font-size: 0.7rem;
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

body.admin-body .launching-soon-hint {
    margin: 3px 0 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

body.admin-body .badge-cat-glow {
    background: var(--accent-glow);
    color: #ffffff;
}

body.admin-body .port-item-tag {
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--accent);
}

body.admin-body .port-item-link {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    word-break: break-all;
}

body.admin-body .port-item-meta-row {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

body.admin-body .badge-launching-soon {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

body.admin-body .img-thumb-50 {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

body.admin-body .template-banner-box {
    padding: 22px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(16, 24, 48, 0.65) 0%, rgba(10, 14, 28, 0.85) 100%);
    border-radius: 12px;
    position: relative;
}

body.admin-body .template-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 16px;
}

body.admin-body .template-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
}

body.admin-body .template-title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

body.admin-body .template-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 3px 0 0 0;
}

body.admin-body .template-preview-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    background: rgba(6, 8, 16, 0.5);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body.admin-body .template-thumbnail-wrap {
    position: relative;
    width: 140px;
    height: 105px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    background: #070912;
    flex-shrink: 0;
}

body.admin-body .template-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.admin-body .template-tag-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(8, 12, 24, 0.85);
    color: #60a5fa;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

body.admin-body .template-upload-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.admin-body .template-form-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

body.admin-body .template-file-input {
    flex: 1;
    min-width: 250px;
    background: rgba(12, 16, 28, 0.9);
}

body.admin-body .template-hint-text {
    font-size: 0.74rem;
    color: rgba(226, 232, 240, 0.6);
}

body.admin-body .cat-management-box {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

body.admin-body .cat-management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 18px;
}

body.admin-body .cat-management-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

body.admin-body .btn-add-cat-tab {
    padding: 7px 16px;
    font-size: 0.82rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

body.admin-body .cat-reorder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

body.admin-body .cat-reorder-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(18, 20, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    position: relative;
}

body.admin-body .cat-reorder-card.is-first {
    border-color: rgba(59, 130, 246, 0.4);
}

body.admin-body .cat-order-input {
    width: 58px;
    padding: 5px;
    text-align: center;
    font-weight: 700;
    color: var(--text-primary);
    background: #0c0d12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
}

body.admin-body .cat-order-input.is-first {
    color: #60a5fa;
}

body.admin-body .btn-arrow-move {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 22px;
    height: 18px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

body.admin-body .badge-active-tab-1st {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #93c5fd;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

body.admin-body .cat-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

body.admin-body .cat-delete-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

body.admin-body .cat-quick-box {
    display: none;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.admin-body .cat-quick-title {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: #ffffff;
}

body.admin-body .cat-quick-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

body.admin-body .cat-quick-input-name {
    flex: 1;
    min-width: 240px;
    background: #111111;
}

body.admin-body .cat-quick-input-order {
    width: 100px;
    background: #111111;
}

body.admin-body .section-heading-accent {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
}

body.admin-body .section-heading-accent.mt-20 {
    margin-top: 20px;
}

body.admin-body .faq-question-title {
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: none;
}

body.admin-body .security-confirm-group {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 10px;
}

body.admin-body .label-danger {
    color: var(--danger);
}

body.admin-body .collab-logo-preview {
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
}

body.admin-body .collab-logo-edit-preview {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 4px;
}

body.admin-body .preview-spinner-text {
    font-size: 0.78rem;
    color: #93c5fd;
    font-weight: 600;
}

body.admin-body .modal-accent-link {
    color: var(--accent);
    text-decoration: none;
}

body.admin-body .modal-message-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

body.admin-body .mb-16 {
    margin-bottom: 16px;
}

body.admin-body .mb-20 {
    margin-bottom: 20px;
}

body.admin-body .cat-left-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.admin-body .cat-order-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

body.admin-body .cat-order-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin: 0;
}

body.admin-body .cat-arrow-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body.admin-body .cat-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.admin-body .cat-name-text {
    font-weight: 700;
    font-size: 0.92rem;
    color: #ffffff;
}

body.admin-body .cat-meta-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.admin-body .cat-actions-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

body.admin-body .cat-save-order-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

body.admin-body .cat-save-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

body.admin-body .btn-save-order {
    padding: 8px 20px;
    font-size: 0.85rem;
}

body.admin-body .cat-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.admin-body .cat-management-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 4px 0 0 0;
}

body.admin-body .btn-template-upload {
    padding: 10px 22px;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.admin-body .btn-quick-cat {
    padding: 10px 18px;
}

body.admin-body .btn-quick-cat-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
}

body.admin-body .text-accent {
    color: var(--accent);
}

body.admin-body .team-member-role {
    font-weight: 600;
    color: var(--accent);
}

body.admin-body .admin-actions-flex {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

body.admin-body .search-w-250 {
    max-width: 250px;
}

body.admin-body .text-white {
    color: #ffffff;
}

body.admin-body .btn-accent-solid {
    background-color: var(--accent);
}

body.admin-body .icon-emerald {
    color: #10b981;
}

/* ==========================================================================
   Admin Marquee Typography & Color Engine Studio
   ========================================================================== */
.admin-divider-header {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: 1 / -1;
    margin-top: 24px;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--accent);
}

.admin-divider-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.admin-help-text {
    grid-column: 1 / -1;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.marquee-live-preview-box {
    grid-column: 1 / -1;
    background: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.08) 0%, rgba(10, 15, 26, 0.8) 100%), #060910;
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.marquee-preview-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.marquee-preview-label span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-mode-tag {
    background: rgba(0, 102, 255, 0.18);
    border: 1px solid rgba(0, 102, 255, 0.35);
    color: #60a5fa;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.74rem;
    letter-spacing: 0.5px;
}

.marquee-preview-canvas {
    background: #020408;
    border-radius: 12px;
    padding: 24px 18px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    overflow: hidden;
    position: relative;
    transition: opacity 0.3s ease;
}

.marquee-preview-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.preview-marquee-row {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    line-height: 1.15;
}

.preview-marquee-row.row-top {
    margin-bottom: 10px;
}

.preview-marquee-text {
    display: inline-block;
    font-family: var(--marquee-font, var(--font-heading, 'Outfit', sans-serif));
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: var(--marquee-weight, 800);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

/* Preset Chips */
.preset-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.preset-chip-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.preset-chip-btn:hover {
    background: rgba(0, 102, 255, 0.12);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.2);
}

.preset-dots-preview {
    display: flex;
    align-items: center;
    gap: 4px;
}

.preset-dots-preview span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

/* Interactive Font Chips */
.font-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.font-chip-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.font-chip-btn .font-chip-title {
    font-weight: 700;
}

.font-chip-btn .font-chip-sub {
    font-size: 0.65rem;
    opacity: 0.65;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.07);
    padding: 2px 6px;
    border-radius: 4px;
}

.font-chip-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

.font-chip-btn.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.font-chip-btn.active .font-chip-sub {
    background: rgba(56, 189, 248, 0.22);
    color: #e0f2fe;
    opacity: 1;
}

.preview-font-tag {
    background: rgba(56, 189, 248, 0.14) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    font-weight: 600 !important;
}

/* Color Picker Input Group */
.color-picker-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-swatch-picker {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    outline: none;
    flex-shrink: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.color-swatch-picker:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.color-swatch-picker::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.color-swatch-picker::-webkit-color-swatch {
    border-radius: 6px;
    border: none;
}

/* ==========================================================================
   INTERACTIVE DRAGGABLE COLOR STUDIO FOR ADMIN PANEL
   ========================================================================== */

.color-studio-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.color-studio-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.96rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.color-studio-label i {
    color: #38bdf8;
}

.color-studio-sub {
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.65);
    margin: 0;
    line-height: 1.45;
}

.active-slot-pill {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    color: rgba(226, 232, 240, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.active-slot-pill strong {
    color: #38bdf8;
    font-weight: 700;
}

/* 4 Slots Grid */
.color-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.color-slot-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    position: relative;
}

.color-slot-card:hover {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
}

.color-slot-card.active {
    background: rgba(14, 25, 55, 0.95);
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25), inset 0 0 0 1px #38bdf8;
}

.color-slot-swatch {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-slot-card.active .color-slot-swatch {
    transform: scale(1.08);
}

.color-slot-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-grow: 1;
}

.color-slot-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #38bdf8;
}

.color-slot-title {
    font-size: 0.76rem;
    color: rgba(226, 232, 240, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.color-slot-hex {
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

/* Main Studio Box */
.draggable-color-studio-box {
    background: rgba(8, 12, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 2D Spectrum Area */
.studio-spectrum-area {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    cursor: crosshair;
    user-select: none;
    touch-action: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.spectrum-gradient-white {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.spectrum-gradient-black {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, #000000);
}

.spectrum-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: transparent;
}

/* Hue Slider Track */
.studio-hue-wrap {
    width: 100%;
}

.studio-hue-track {
    position: relative;
    width: 100%;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    user-select: none;
    touch-action: none;
}

.hue-slider-thumb {
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transform: translate(-50%, -50%);
    pointer-events: none;
    cursor: grab;
}

/* Controls Bar */
.studio-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.studio-active-swatch-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.studio-active-swatch {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: background 0.1s ease;
}

.studio-swatch-info {
    display: flex;
    flex-direction: column;
}

.studio-swatch-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.06em;
}

.studio-swatch-rgb {
    font-family: monospace;
    font-size: 0.82rem;
    color: #e2e8f0;
}

.studio-hex-input-wrap {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 5px 12px;
    gap: 6px;
}

.hex-hash-prefix {
    color: #38bdf8;
    font-weight: 700;
    font-family: monospace;
    font-size: 0.95rem;
}

.studio-hex-field {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
    width: 75px;
    text-transform: uppercase;
}

.btn-copy-hex,
.btn-eyedropper {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-hex:hover,
.btn-eyedropper:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #38bdf8;
}

/* Quick Palette Chips */
.studio-palette-chips-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.palette-chips-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.studio-chips-grid {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.studio-chip {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.studio-chip:hover {
    transform: scale(1.22);
    box-shadow: 0 0 12px currentColor;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .color-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .color-slots-grid {
        grid-template-columns: 1fr;
    }
    .studio-spectrum-area {
        height: 140px;
    }
}

/* ==========================================================================
   FLOATING ON-SCREEN CONTROLS: SCROLL TO TOP ARROW & WHATSAPP FAB
   ========================================================================== */
.floating-fab-container {
    position: fixed;
    bottom: 116px;
    right: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.floating-fab-btn {
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, background 0.2s ease, opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

/* 1. Floating Scroll-To-Top Arrow Button */
.fab-scroll-top {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 15, 29, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(0.85);
}

.fab-scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.fab-scroll-top:hover {
    background: rgba(15, 23, 42, 0.98);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 18px rgba(56, 189, 248, 0.4);
}

.fab-scroll-top:active {
    transform: translateY(0) scale(0.95);
}

.fab-scroll-top i,
.fab-scroll-top svg {
    stroke-width: 2.5;
    transition: transform 0.2s ease;
}

.fab-scroll-top:hover i,
.fab-scroll-top:hover svg {
    transform: translateY(-2px);
}

/* 2. Floating WhatsApp Direct Action Button */
.fab-whatsapp {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.3);
}

.fab-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: fab-wa-pulse 2.2s infinite ease-out;
    pointer-events: none;
    opacity: 0;
}

@keyframes fab-wa-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.85;
    }
    60% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.fab-whatsapp:hover {
    transform: translateY(-3px) scale(1.07);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55), 0 0 22px rgba(37, 211, 102, 0.35);
    background: #22c55e;
}

.fab-whatsapp:active {
    transform: translateY(0) scale(0.95);
}

.fab-wa-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Tooltip on Desktop Hover */
.fab-label-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fab-whatsapp:hover .fab-label-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Responsive: Mobile & Tablet */
@media screen and (max-width: 768px) {
    .floating-fab-container {
        bottom: 104px;
        right: 20px;
        gap: 10px;
    }

    .fab-scroll-top {
        width: 40px;
        height: 40px;
    }

    .fab-whatsapp {
        width: 46px;
        height: 46px;
    }

    .fab-wa-icon {
        width: 22px;
        height: 22px;
    }

    .fab-label-tooltip {
        display: none !important;
    }
}

/* ==========================================================================
   PERUMALIL CREATIVE - ANIMATED AI ASSISTANT CHARACTER (NOVA)
   ========================================================================== */

/* Hero Meta Row & AI Trigger Badge */
.hud-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.hud-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 100px;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.68rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    outline: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hud-ai-badge:hover {
    background: rgba(14, 165, 233, 0.18);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 18px rgba(56, 189, 248, 0.35);
}

.hud-ai-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: hud-ai-pulse 2s infinite ease-in-out;
}

@keyframes hud-ai-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hud-ai-sparkle {
    font-size: 0.72rem;
    color: #38bdf8;
    animation: hud-ai-sparkle-spin 6s infinite linear;
}

@keyframes hud-ai-sparkle-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating AI Assistant Container (Docked Bottom-Right Below WhatsApp) */
.ai-assistant-widget {
    position: fixed;
    bottom: 18px;
    right: 22px;
    left: auto;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
}

.ai-assistant-widget * {
    box-sizing: border-box;
}

/* Character Trigger Anchor & Button */
.ai-character-anchor {
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-character-btn {
    position: relative;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 82px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease;
}

.ai-character-btn:hover {
    transform: translateY(-4px) scale(1.06);
    filter: drop-shadow(0 10px 24px rgba(56, 189, 248, 0.45));
}

.ai-character-btn:active {
    transform: translateY(0) scale(0.96);
}

/* Ambient Pulsing Aura Rings behind Robot */
.ai-aura-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 1px solid rgba(56, 189, 248, 0.4);
    opacity: 0;
}

.ai-aura-ring.aura-1 {
    animation: ai-ring-pulse 3s infinite ease-out;
}

.ai-aura-ring.aura-2 {
    animation: ai-ring-pulse 3s infinite ease-out 1.5s;
}

@keyframes ai-ring-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    70% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

/* Master SVG Character Animations */
.ai-character-svg {
    display: block;
    overflow: visible;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.65));
}

/* Floating Bobbing Body */
.ai-floating-body {
    transform-origin: 60px 80px;
    animation: ai-body-float 4.2s infinite ease-in-out;
}

@keyframes ai-body-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(1.5deg);
    }
}

/* Ground Shadow Scaling in Sync */
.ai-ground-shadow {
    transform-origin: 60px 122px;
    animation: ai-shadow-scale 4.2s infinite ease-in-out;
}

@keyframes ai-shadow-scale {
    0%, 100% {
        transform: scale(1);
        opacity: 0.45;
    }
    50% {
        transform: scale(0.78);
        opacity: 0.18;
    }
}

/* Antenna Node & Halo Pulse */
.ai-antenna-orb {
    animation: ai-antenna-glow 2.5s infinite ease-in-out;
}

.ai-halo-pulse-ring {
    transform-origin: 60px 12px;
    animation: ai-halo-expand 2.5s infinite ease-out;
}

@keyframes ai-antenna-glow {
    0%, 100% { fill: #38bdf8; opacity: 1; }
    50% { fill: #60a5fa; opacity: 0.6; }
}

@keyframes ai-halo-expand {
    0% { transform: scale(0.8); opacity: 0.8; }
    80% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Chest Reactor Core Pulse */
.ai-core-reactor {
    animation: ai-core-glow 2.8s infinite ease-in-out;
}

@keyframes ai-core-glow {
    0%, 100% { filter: drop-shadow(0 0 4px #38bdf8); transform: scale(1); }
    50% { filter: drop-shadow(0 0 10px #a855f7); transform: scale(1.1); }
}

/* Eye Blinking & Emotional Expressions */
.ai-eye {
    transform-origin: center;
    transition: transform 0.15s ease, opacity 0.2s ease;
    animation: ai-eyes-blink 4.6s infinite ease-in-out;
}

.ai-eye-left {
    transform-origin: 50px 49px;
}

.ai-eye-right {
    transform-origin: 70px 49px;
}

@keyframes ai-eyes-blink {
    0%, 94%, 100% {
        transform: scaleY(1);
    }
    96%, 98% {
        transform: scaleY(0.08);
    }
}

.ai-pupil-glint {
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Happy Eyes State (When greeting or speaking) */
.ai-character-widget.happy-face .ai-eye,
.ai-character-widget.happy-face .ai-pupil-glint {
    opacity: 0 !important;
}

.ai-character-widget.happy-face .ai-eye-happy {
    opacity: 1 !important;
}

/* Mouth Soundwave Equalizer (When Speaking) */
.ai-mouth-equalizer .eq-bar {
    transform-origin: bottom;
    transition: height 0.1s ease, transform 0.1s ease;
}

.ai-assistant-widget.is-speaking .ai-mouth-equalizer .bar-1 {
    animation: ai-eq-bar 0.35s infinite ease-in-out alternate;
}
.ai-assistant-widget.is-speaking .ai-mouth-equalizer .bar-2 {
    animation: ai-eq-bar 0.28s infinite ease-in-out alternate 0.08s;
}
.ai-assistant-widget.is-speaking .ai-mouth-equalizer .bar-3 {
    animation: ai-eq-bar 0.42s infinite ease-in-out alternate 0.15s;
}
.ai-assistant-widget.is-speaking .ai-mouth-equalizer .bar-4 {
    animation: ai-eq-bar 0.31s infinite ease-in-out alternate 0.05s;
}
.ai-assistant-widget.is-speaking .ai-mouth-equalizer .bar-5 {
    animation: ai-eq-bar 0.38s infinite ease-in-out alternate 0.12s;
}

@keyframes ai-eq-bar {
    0% { height: 2px; y: 59px; fill: #38bdf8; }
    100% { height: 9px; y: 53px; fill: #a855f7; }
}

/* Right Hand Waving Gesture */
.ai-hand-right {
    transform-origin: 80px 80px;
    animation: ai-hand-wave-anim 5s infinite ease-in-out;
}

@keyframes ai-hand-wave-anim {
    0%, 75%, 100% {
        transform: rotate(0deg);
    }
    80%, 88% {
        transform: rotate(-24deg) translateY(-4px);
    }
    84%, 92% {
        transform: rotate(12deg) translateY(-2px);
    }
}

/* Badge Indicator on Robot */
.ai-badge-indicator {
    position: absolute;
    bottom: 4px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(10, 15, 29, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 100px;
    font-size: 0.62rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.8px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.ai-badge-indicator .indicator-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

/* Tooltip on Character Hover */
.ai-character-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    left: auto;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(56, 189, 248, 0.2);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.ai-character-anchor:hover .ai-character-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   AI SPEECH BUBBLE (TELLING HE IS AN AI ASSISTANT)
   ========================================================================== */
.ai-speech-bubble {
    pointer-events: auto;
    position: absolute;
    bottom: 105px;
    right: 0;
    left: auto;
    width: 330px;
    max-width: calc(100vw - 48px);
    background: rgba(10, 16, 32, 0.94);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.72), 0 0 32px rgba(56, 189, 248, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.94);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    z-index: 10;
}

.ai-speech-bubble.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ai-speech-bubble.is-dismissed {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(12px) scale(0.9) !important;
}

/* Speech Bubble Header */
.ai-bubble-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ai-bubble-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.ai-bubble-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.ai-bubble-sparkle {
    font-size: 0.7rem;
    color: #38bdf8;
}

.ai-bubble-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-voice-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 100px;
    color: #38bdf8;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-voice-trigger-btn:hover {
    background: rgba(56, 189, 248, 0.24);
    color: #ffffff;
    border-color: #38bdf8;
    transform: scale(1.04);
}

.ai-bubble-close-btn {
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color 0.18s ease;
}

.ai-bubble-close-btn:hover {
    color: #ffffff;
}

/* Speech Bubble Content */
.ai-bubble-content {
    margin-bottom: 12px;
}

.ai-bubble-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.ai-highlight-name {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-bubble-desc {
    font-size: 0.78rem;
    line-height: 1.48;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.ai-bubble-desc strong {
    color: #38bdf8;
}

/* Bubble Quick Chips */
.ai-bubble-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ai-quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.ai-quick-chip:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-1px);
}

.ai-quick-chip.ai-chip-accent {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.3), rgba(56, 189, 248, 0.3));
    border-color: #38bdf8;
    color: #ffffff;
    font-weight: 700;
}

.ai-quick-chip.ai-chip-accent:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.5), rgba(56, 189, 248, 0.5));
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

/* Bubble Pointer Arrow */
.ai-bubble-arrow {
    position: absolute;
    bottom: -7px;
    right: 36px;
    left: auto;
    width: 12px;
    height: 12px;
    background: rgba(10, 16, 32, 0.94);
    border-right: 1px solid rgba(56, 189, 248, 0.32);
    border-bottom: 1px solid rgba(56, 189, 248, 0.32);
    transform: rotate(45deg);
}

/* ==========================================================================
   EXPANDED INTERACTIVE AI CHAT DRAWER / MODAL
   ========================================================================== */
.ai-chat-drawer {
    pointer-events: auto;
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: auto;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 530px;
    max-height: calc(100vh - 80px);
    background: rgba(8, 13, 26, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.82), 0 0 35px rgba(56, 189, 248, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.92);
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
    z-index: 10000;
}

.ai-chat-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Drawer Header */
.ai-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.6);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    flex-shrink: 0;
}

.ai-drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-drawer-avatar-preview {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drawer-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    border: 1.5px solid #080d1a;
    box-shadow: 0 0 6px #10b981;
}

.ai-assistant-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-pill-role {
    font-size: 0.58rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 100px;
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    letter-spacing: 0.8px;
}

.ai-assistant-status {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 2px 0 0 0;
}

.ai-drawer-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    padding: 0;
}

.ai-clear-chat-btn {
    color: rgba(255, 255, 255, 0.65);
}

.ai-clear-chat-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.55);
    color: #f87171;
    transform: translateY(-1px);
}

.ai-clear-chat-btn:active {
    transform: scale(0.94);
}

.ai-voice-toggle-btn {
    color: #38bdf8;
}

.ai-voice-toggle-btn.voice-muted {
    color: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.08);
}

.ai-voice-toggle-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Chat Notification Toast */
.ai-chat-toast {
    position: absolute;
    top: 68px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(16, 185, 129, 0.22);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 25;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.ai-chat-toast.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Floating Scroll to Bottom Pill Button */
.ai-chat-scroll-btn {
    position: absolute;
    bottom: 68px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(8, 14, 28, 0.96);
    border: 1px solid rgba(56, 189, 248, 0.6);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75), 0 0 16px rgba(56, 189, 248, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ai-chat-scroll-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.ai-chat-scroll-btn:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 8px 26px rgba(56, 189, 248, 0.55);
    transform: translateX(-50%) translateY(-2px);
}

.ai-drawer-close-btn {
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: color 0.18s ease;
}

.ai-drawer-close-btn:hover {
    color: #ffffff;
}

/* Chat Messages Stream */
.ai-chat-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.55) rgba(15, 23, 42, 0.6);
}

.ai-chat-body::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    margin: 4px 0;
}

.ai-chat-body::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.ai-chat-body::-webkit-scrollbar-thumb:hover {
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.ai-message {
    display: flex;
    gap: 10px;
    max-width: 90%;
    animation: ai-msg-slide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ai-msg-slide {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

.ai-message-bot {
    align-self: flex-start;
}

.ai-message-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ai-message-user .ai-msg-avatar {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.ai-msg-bubble {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    color: #f1f5f9;
    font-size: 0.82rem;
    line-height: 1.5;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.ai-message-bot .ai-msg-bubble {
    border-left: 2px solid #38bdf8;
}

.ai-message-user .ai-msg-bubble {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 14px 14px 4px 14px;
}

.ai-msg-p {
    margin: 0 0 6px 0;
}

.ai-msg-p:last-child {
    margin-bottom: 0;
}

.ai-msg-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ai-reply-chip {
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-reply-chip:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Typing Indicator Animation */
.ai-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
}

.ai-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    animation: ai-dot-bounce 1.2s infinite ease-in-out;
}

.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes ai-dot-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.1); opacity: 1; }
}

/* Chat Input Bar */
.ai-chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 16, 32, 0.85);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    flex-shrink: 0;
}

.ai-chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 9px 14px;
    font-family: inherit;
    font-size: 0.82rem;
    color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.ai-chat-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.ai-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.ai-chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    border: none;
    outline: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.ai-chat-send-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
}

.ai-chat-send-btn:active {
    transform: translateY(0) scale(0.95);
}

/* Mobile & Fullscreen Backdrop Overlay */
.ai-chat-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 18, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

body.ai-drawer-active .ai-chat-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.ai-drawer-active .floating-fab-container {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(20px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Mobile & Tablet Responsiveness */
@media screen and (max-width: 768px) {
    .hud-meta-row {
        gap: 8px;
    }

    .hud-ai-badge {
        font-size: 0.62rem;
        padding: 5px 11px;
    }

    .ai-assistant-widget {
        bottom: 14px;
        right: 12px;
        left: auto;
    }

    .ai-character-btn {
        width: 70px;
        height: 78px;
    }

    .ai-speech-bubble {
        bottom: 86px;
        right: 0;
        left: auto;
        width: 295px;
        padding: 14px;
    }

    .ai-bubble-arrow {
        right: 30px;
        left: auto;
    }

    .ai-chat-drawer {
        bottom: 14px;
        left: 10px;
        right: 10px;
        width: calc(100vw - 20px);
        height: 500px;
        max-height: calc(100vh - 40px);
        z-index: 10002;
    }

    .ai-character-tooltip {
        display: none !important;
    }
}

/* ==========================================================================
   UNIVERSAL WEBSITE TYPOGRAPHY & DYNAMIC COLOR STUDIO (ADMIN STYLES)
   ========================================================================== */

.site-typography-live-preview-box {
    grid-column: 1 / -1;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, rgba(10, 15, 26, 0.9) 100%), #060910;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.site-preview-canvas {
    background: radial-gradient(circle at 20% 20%, #0d1424 0%, #030509 100%);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 26px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.site-preview-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.preview-tagline-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid currentColor;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.preview-main-headline {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 4px 0;
    transition: all 0.2s ease;
}

.preview-glow-text {
    color: transparent;
    -webkit-text-stroke: 1.5px currentColor;
    text-shadow: 0 0 20px currentColor;
    transition: all 0.2s ease;
}

.preview-subheadline-text {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: all 0.2s ease;
}

.preview-body-text {
    font-size: 0.94rem;
    line-height: 1.6;
    max-width: 720px;
    transition: all 0.2s ease;
}

.preview-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-buttons-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.preview-cta-btn {
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.preview-cta-btn.active-accent {
    border: none;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
}

.preview-cta-btn.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.preview-coords-meta {
    font-size: 0.74rem;
    letter-spacing: 1px;
    font-family: monospace;
}

/* Universal Color Studio Slots Grid (8 Slots) */
.site-color-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

@media (min-width: 1300px) {
    .site-color-slots-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 900px) {
    .site-color-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .site-color-slots-grid {
        grid-template-columns: 1fr;
    }
}

.btn-quick-bg-tone {
    transition: all 0.2s ease;
}

.btn-quick-bg-tone:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.site-typography-group-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 18px;
    transition: border-color 0.2s ease;
}

.site-typography-group-card:hover {
    border-color: rgba(56, 189, 248, 0.25);
}

.site-typography-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.site-typography-group-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-typography-group-sub {
    font-size: 0.74rem;
    color: #94a3b8;
}

/* ================= In-Page Knowledge Sync Button & Toast Notifications ================= */
.btn-reindex-knowledge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.btn-reindex-knowledge:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.btn-reindex-knowledge:disabled {
    opacity: 0.85;
    cursor: wait;
}

.admin-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.admin-toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 440px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(12, 16, 26, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.admin-toast.toast-success {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
}

.admin-toast.toast-error {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(239, 68, 68, 0.15);
}

.admin-toast-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.toast-success .admin-toast-icon {
    color: #10b981;
}

.toast-error .admin-toast-icon {
    color: #ef4444;
}

.admin-toast-content {
    flex: 1;
}

.admin-toast-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}

.admin-toast-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.45;
}

.admin-toast-close {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    margin-left: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.admin-toast-close:hover {
    color: #ffffff;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================= Dedicated AI Assistant (Nova) Control Styles ================= */
.ai-status-pill-wrap {
    display: flex;
    align-items: center;
}

.ai-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ai-status-pill.status-active {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.ai-status-pill.status-disabled {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.ai-status-pill .pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-active .pulse-indicator {
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.status-disabled .pulse-indicator {
    background-color: #ef4444;
}

/* Master Toggle Card */
.ai-toggle-master-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.ai-toggle-master-card.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.7) 100%);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.12);
}

.ai-toggle-master-card.disabled {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(15, 23, 42, 0.7) 100%);
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.08);
}

.ai-toggle-info {
    flex: 1;
}

.ai-toggle-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.ai-toggle-title-row h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.ai-toggle-subtext {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 720px;
}

/* Custom Cyber Toggle Switch */
.cyber-switch-label {
    position: relative;
    display: inline-block;
    width: 66px;
    height: 36px;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
}

.cyber-switch-label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cyber-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #334155;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cyber-switch-slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 4px;
    bottom: 3px;
    background-color: #ffffff;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cyber-switch-label input:checked + .cyber-switch-slider {
    background-color: #10b981;
    border-color: #34d399;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.45);
}

.cyber-switch-label input:checked + .cyber-switch-slider:before {
    transform: translateX(29px);
    background-color: #ffffff;
}

/* Knowledge Metrics Card */
.ai-knowledge-metrics-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 24px;
}

.ai-knowledge-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.knowledge-header-left h4 {
    margin: 8px 0 4px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.knowledge-header-left p {
    margin: 0;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.45;
    max-width: 680px;
}

.knowledge-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.ai-entity-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.ai-metric-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s ease;
}

.ai-metric-item:hover {
    background: rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.ai-metric-item .metric-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.ai-metric-item .metric-lbl {
    font-size: 0.72rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ai-metric-item.highlight-metric {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(37, 99, 235, 0.12) 100%);
    border-color: rgba(56, 189, 248, 0.35);
}

.ai-metric-item.highlight-metric .metric-num {
    color: #38bdf8;
    text-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

/* Gemini Card */
.gemini-integration-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 16px;
    padding: 22px 24px;
}

.gemini-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.gemini-sparkle-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.gemini-title-wrap h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.gemini-get-key-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gemini-get-key-link:hover {
    background: rgba(168, 85, 247, 0.25);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.gemini-card-desc {
    margin: 0 0 16px 0;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
}

.gemini-key-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.btn-toggle-key-visibility {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s ease;
}

.btn-toggle-key-visibility:hover {
    color: #ffffff;
}

/* Playground Card */
.ai-test-playground-card {
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px 24px;
}

.playground-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.playground-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.playground-title-group h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.playground-mode-tag {
    font-size: 0.7rem;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
}

.playground-chat-box {
    background: #080c14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.playground-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.82rem;
    line-height: 1.45;
}

.playground-msg .msg-avatar {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.playground-msg.bot-msg .msg-avatar {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.playground-msg.user-msg {
    flex-direction: row-reverse;
}

.playground-msg.user-msg .msg-avatar {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.playground-msg .msg-body {
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 10px;
    color: #cbd5e1;
    max-width: 80%;
}

.playground-msg.user-msg .msg-body {
    background: rgba(16, 185, 129, 0.12);
    color: #ffffff;
}

.playground-input-row {
    display: flex;
    gap: 10px;
}

.playground-input-row input {
    flex: 1;
}

.btn-playground-send {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #0066ff;
    color: #ffffff;
    border: none;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-playground-send:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.4);
}