/* ══════════════════════════════════════════════
   CSS VARIABLES & RESET
══════════════════════════════════════════════ */
:root {
    --bg: #000000;
    /* True Black for 4K Depth */
    --bg2: #050505;
    --bg3: #0a0a0c;
    --gold: #d4af37;
    /* More metallic */
    --gold-light: #f1e5ac;
    --gold-dim: #9c7c25;
    --text: #ececec;
    --text2: #a1a1a1;
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(212, 175, 55, 0.12);
    --radius: 6px;
    --font-h: 'Cormorant Garamond', serif;
    --font-b: 'Manrope', sans-serif;
    --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    /* Liquid Curve */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dim));
    border-radius: 4px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-h);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ══════════════════════════════════════════════
   GLOBAL BACKGROUND & CANVAS
══════════════════════════════════════════════ */
#global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    background: #000;
    overflow: hidden;
}

#bg-video-loop {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.5;
    filter: brightness(0.7) contrast(1.2);
}

#global-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

#gold-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    /* Above all content including logos and text */
    pointer-events: none;
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 2rem;
    background: rgba(6, 6, 8, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    z-index: 1000;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(4, 4, 6, 0.98);
    border-bottom-color: rgba(201, 164, 56, 0.15);
}

/* Hamburger button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition);
    flex-shrink: 0;
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile dropdown nav */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 6, 8, 0.96);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
    display: flex;
    opacity: 1;
}

.mobile-nav-overlay a {
    font-family: var(--font-h);
    font-size: 2rem;
    color: var(--text);
    letter-spacing: 0.1em;
    text-align: center;
    transition: color 0.2s;
    padding: 0.5rem 2rem;
}

.mobile-nav-overlay a:hover {
    color: var(--gold);
}

.nav-brand {
    font-family: var(--font-h);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0;
    cursor: pointer;
    line-height: 1;
}

.brand-logo {
    height: 95px;
    width: auto;
    margin-bottom: 0;
    filter: none;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-brand-main {
    font-size: 1.15rem;
    letter-spacing: 0.15em;
    line-height: 1;
}

.nav-brand-sub {
    font-family: var(--font-b);
    font-size: 0.55rem;
    letter-spacing: 0.22em;
    line-height: 1;
    margin-top: 3px;
    opacity: 0.9;
}

/* 4K Metallic Text Utility */
.metal-text-4k {
    font-family: var(--font-h);
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(to bottom, #f9f2c6 0%, #d4af37 35%, #9c7c25 50%, #d4af37 65%, #f9f2c6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text2);
    position: relative;
    padding-bottom: 3px;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

/* Auth Area */
.nav-auth-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.google-signin-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    color: var(--text);
    font-family: var(--font-b);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.google-signin-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.google-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   NAVBAR TIER WIDGET
══════════════════════════════════════════════ */
.nav-tier-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(201, 164, 56, 0.3);
    border-radius: 50px;
    padding: 0.4rem 1.2rem 0.4rem 0.6rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.nav-tier-btn:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    background: rgba(20, 20, 20, 0.95);
}

.nav-tier-btn:active {
    transform: translateY(0) scale(0.98);
}

.nav-tier-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-size: 0.85rem;
    color: var(--gold);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.nav-tier-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    z-index: 2;
}

.nav-tier-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 164, 56, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.nav-tier-btn:hover .nav-tier-glow {
    opacity: 1;
    animation: rotateGlow 4s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ══════════════════════════════════════════════
   INTRO OVERLAY
══════════════════════════════════════════════ */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.5s;
    background: #000;
}

#welcome-video {
    display: none !important; /* Hide old video */
}

/* ══════════════════════════════════════════════
   CINEMATIC INTRO SEQUENCE
══════════════════════════════════════════════ */
.intro-stage {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
}

.cyber-space-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0, 40, 80, 0.6) 0%, #000 80%);
    z-index: 1;
}

/* Rotating 3D Cyan/Blue Wireframe Earth */
.cyber-earth {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140vw; height: 140vw;
    max-width: 1000px; max-height: 1000px;
    transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg);
    border-radius: 50%;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 15px, rgba(0, 255, 255, 0.2) 15px, rgba(0, 255, 255, 0.2) 16px),
        repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(0, 255, 255, 0.2) 15px, rgba(0, 255, 255, 0.2) 16px);
    box-shadow: inset 0 0 150px #000, 0 0 100px rgba(0, 200, 255, 0.3), 0 0 200px rgba(0, 100, 255, 0.1);
    opacity: 0;
    transition: opacity 2s ease;
    transform-origin: center;
    z-index: 2;
}

.cyber-earth.active {
    opacity: 1;
    animation: cyberEarthSpin 30s linear infinite;
}

@keyframes cyberEarthSpin {
    0% { transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg); }
}

/* Glass Shatter Effect */
.glass-shatter-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 20; display: none;
}

.glass-shatter-overlay.active {
    display: block;
}

.glass-shatter-overlay.active::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #fff; opacity: 0;
    animation: flashBang 0.6s ease-out forwards;
}

@keyframes flashBang {
    0% { opacity: 1; filter: blur(5px); }
    100% { opacity: 0; filter: blur(0); }
}

.shatter-shard {
    position: absolute; top: 50%; left: 50%;
    width: 200px; height: 200px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transform-origin: center;
    animation: flyShard 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes flyShard {
    0% { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.5) rotate(var(--rz)); opacity: 0; }
}

/* Typography Animations */
.intro-text-stage {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 30;
}

.it-welcome {
    font-family: var(--font-h);
    font-size: 8vw;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
    white-space: nowrap;
    filter: blur(20px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.it-welcome.animate-phase1 {
    opacity: 1; filter: blur(0);
    transform: translate(-50%, -50%) scale(1);
}

.it-welcome.animate-phase2 {
    transform: translate(-50%, -100px) scale(0.35);
    color: #00ffff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    letter-spacing: 0.3em;
}

.it-awlaa {
    font-family: var(--font-h);
    font-size: 10vw; /* Massive scalable size */
    font-weight: 800;
    background: linear-gradient(to bottom, #fff 0%, #00ffff 50%, #0044ff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, 50px) scale(0.8);
    opacity: 0;
    white-space: nowrap;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.it-awlaa.animate {
    opacity: 1;
    transform: translate(-50%, -20px) scale(1);
    animation: awlaaPulse 4s infinite alternate;
}

@keyframes awlaaPulse {
    0% { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.4)); }
    100% { filter: drop-shadow(0 0 60px rgba(0, 255, 255, 0.9)); }
}

.it-private {
    font-family: var(--font-b);
    font-size: 2vw; /* Scalable font */
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, 80px);
    opacity: 0;
    white-space: nowrap;
    transition: all 2.5s ease;
}

.it-private.animate {
    opacity: 1;
    letter-spacing: 0.8em;
    color: #00ffff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

/* Standard Fallback classes */
.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
}

#intro-overlay:not(.hidden) .intro-content {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

#intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-welcome {
    font-family: var(--font-h);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.intro-title {
    font-family: var(--font-h);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
}

.intro-subtitle {
    font-family: var(--font-b);
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--text);
    display: block;
    margin-top: 1rem;
}

#skip-intro {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.4);
    padding: 8px 16px;
    font-family: var(--font-b);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition);
    text-transform: uppercase;
}

#skip-intro:hover {
    border-color: rgba(100, 200, 255, 0.5);
    color: #fff;
}

#skip-intro.hidden {
    opacity: 0;
    pointer-events: none;
}

.intro-start-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-b);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), inset 0 0 10px rgba(212, 175, 55, 0.1);
}

.intro-start-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translate(-50%, -50%) scale(1.05);
    color: #fff;
    border-color: #fff;
}

/* Gold shine text with HD Animation */
#hero-headline,
.intro-title,
.flying-text-clone {
    font-family: var(--font-h);
    font-weight: 600;
    line-height: 1.1;
    color: var(--gold);
}

@keyframes glowPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.6));
    }
}

.flying-text-clone {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    text-align: center;
    transition: all 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ══════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════ */
.hero-section {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-logo {
    display: block;
    margin: 0 auto 1.5rem;
    height: 320px;
    width: auto;
    filter: none;
}

.hero-brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
}


.hero-brand-main {
    font-size: 4.5rem;
    letter-spacing: 0.15em;
    line-height: 1.1;
}

.hero-brand-sub {
    font-family: var(--font-b);
    font-size: 1.25rem;
    letter-spacing: 0.5em;
    line-height: 1;
    margin-top: 5px;
    opacity: 0.85;
}

.gold-divider {
    width: 80px;
    height: 1px;
    background: var(--gold);

    margin: 0 auto 2rem;
}

.hero-subtext {
    font-size: 0.9rem;
    color: var(--text2);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}


.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    /* Compact padding */
    border: 1px solid var(--gold);
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.72rem;
    /* Reduced font size */
    font-family: var(--font-b);
    transition: all var(--transition);
    background: rgba(212, 175, 55, 0.04);
}

.cta-button:hover {
    background: rgba(201, 164, 56, 0.15);
    color: var(--gold-light);
    box-shadow: 0 0 30px rgba(201, 164, 56, 0.15);
    transform: translateY(-2px);
}

.cta-button-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    /* Compact padding */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.72rem;
    /* Reduced font size */
    font-family: var(--font-b);
    transition: all var(--transition);
}

.cta-button-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text2);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.7);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}


.hero-logo {
    display: block;
    margin: 0 auto 1.5rem;
    height: 480px;
    width: auto;
    filter: none;
}

/* ══════════════════════════════════════════════
   REFINED SERVICE SLIDESHOW (Category-Wide)
══════════════════════════════════════════════ */
.service-slideshow-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    margin: 2rem 0 1rem;
    border: 1px solid rgba(201, 164, 56, 0.15);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    height: 300px;
    /* Mobile height */
}

@media (min-width: 1024px) {
    .service-slideshow-viewport {
        height: 500px;
        /* Laptop height */
    }
}

.service-slideshow-track {
    display: flex;
    width: fit-content;
    height: 100%;
}

.service-slideshow-item {
    flex-shrink: 0;
    width: 100%;
    /* Calculated relative to viewport */
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-slideshow-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-slideshow-watermark {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 25px;
    height: 25px;
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0.6;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.8));
    pointer-events: none;
    z-index: 5;
}

.tech-work-item {
    padding: 0.8rem 0;
    color: var(--text2);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.tech-work-item::before {
    content: '→';
    color: var(--gold);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.tech-work-item:hover {
    color: var(--gold);
    padding-left: 0.5rem;
}

.tech-work-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.tech-work-item:last-child {
    border-bottom: none;
}


/* ══════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════ */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid rgba(201, 164, 56, 0.2);
    border-bottom: 1px solid rgba(201, 164, 56, 0.2);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.stat-bar-item {
    flex: 1;
    max-width: 220px;
    text-align: center;
    padding: 0 2rem;
}

.stat-num {
    font-family: var(--font-h);
    font-size: 2.2rem;
    /* Reduced from 2.8rem */
    color: var(--gold);
    font-weight: 500;
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-h);
    font-size: 1.8rem;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text2);
    margin-top: 0.3rem;
}

.stat-bar-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
}

/* ══════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════ */
.section-pad {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(201, 164, 56, 0.1);
    background: var(--bg);
}

.dark-glass {
    background: rgba(8, 8, 8, 0.97);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 2.5rem;
    /* Reduced from 4rem */
}

.section-label {
    display: block;
    color: var(--gold);
    font-size: 0.65rem;
    /* Reduced from 0.72rem */
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 0.6rem;
    opacity: 0.8;
}

.section-title {
    font-size: 3.2rem;
    color: var(--gold);
}

/* ══════════════════════════════════════════════
   DIVISION (SERVICES) SECTION
══════════════════════════════════════════════ */
.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.services-text p {
    font-size: 0.95rem;
    /* Reduced from 1.15rem */
    color: var(--text2);
    line-height: 1.7;
    /* Reduced from 1.9 */
    max-width: 85%;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-top: 1.5rem;
    transition: gap var(--transition);
}

.inline-link:hover {
    gap: 0.9rem;
}

.service-row {
    padding: 1rem 1rem 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: default;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, padding var(--transition), color var(--transition);
}

.service-row:last-child {
    border-bottom: none;
}

.service-row.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.service-row:hover {
    padding-left: 0.5rem;
    color: var(--gold);
}

.service-row-icon {
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
    width: 18px;
}

/* ══════════════════════════════════════════════
   TECH SERVICES SECTION
══════════════════════════════════════════════ */
.tech-services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease, border-color var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.tech-category.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tech-category:hover {
    border-color: var(--glass-border);
}

.tech-category.active {
    border-color: rgba(201, 164, 56, 0.3);
}

.tech-header {
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background var(--transition);
}

.tech-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.tech-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tech-icon {
    font-size: 1.4rem;
    color: var(--gold);
}

.tech-title {
    font-family: var(--font-h);
    font-size: 1.35rem;
    color: var(--text);
}

.tech-category:hover .tech-title,
.tech-category.active .tech-title {
    color: var(--gold);
}

.tech-arrow {
    color: var(--gold);
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.tech-category.active .tech-arrow {
    transform: rotate(180deg);
}

.tech-works-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.3);
}

.tech-works-list {
    padding: 0.5rem 1.5rem 1.5rem 2.5rem;
    list-style: none;
}

.tech-work-item-container {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    margin-bottom: 0.5rem;
}

.tech-work-item-container:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tech-work-header {
    padding: 1rem 0;
    color: var(--text2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.tech-work-header::before {
    content: '•';
    color: var(--gold);
    margin-right: 12px;
    font-size: 1.2rem;
    transition: transform var(--transition);
}

.tech-work-header:hover {
    color: var(--text);
    padding-left: 8px;
}

.tech-work-header:hover::before {
    transform: scale(1.5);
    color: #fff;
    text-shadow: 0 0 10px var(--gold);
}

.tech-category.active .tech-work-header {
    opacity: 1;
    transform: translateY(0);
}

.work-name {
    flex: 1;
    font-weight: 500;
}

.work-icon {
    font-size: 0.8rem;
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Expanded Details */
.tech-work-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
}

.tech-work-item-container.expanded .tech-work-details {
    opacity: 1;
    margin-bottom: 1.5rem;
}

.work-desc {
    font-size: 0.85rem;
    color: var(--text2);
    line-height: 1.6;
    margin: 0.5rem 0 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(201, 164, 56, 0.3);
}

.work-media-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    /* Increased height for better visibility */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.work-expanded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-media-wrapper:hover .work-expanded-img {
    transform: scale(1.05);
}

.work-watermark {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: auto;
    opacity: 0.7;
    pointer-events: none;
    z-index: 10;
}

/* Specific expanding animations */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-zoom-in {
    animation: zoomIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ══════════════════════════════════════════════
   GLOBAL STATS
══════════════════════════════════════════════ */
.global-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.global-stat-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.2),
        0 2px 4px -1px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.global-stat-card:hover {
    border-color: var(--glass-border);
    background: rgba(212, 175, 55, 0.03);
    transform: translateY(-4px);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.4),
        0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

.global-stat-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.global-stat-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.global-stat-card p {
    font-size: 0.85rem;
    color: var(--text2);
    margin-bottom: 1.5rem;
}

.gold-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
}

/* ══════════════════════════════════════════════
   INVESTOR / VISION SECTION
══════════════════════════════════════════════ */
.investor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-top: 1rem;
}

.inv-col {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 1.8rem;
    /* Reduced from 2.5rem */
    transition: all var(--transition);
}

.inv-col:hover {
    border-color: var(--glass-border);
    transform: translateY(-4px);
}

.inv-icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.inv-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.inv-col p {
    color: var(--text2);
    font-size: 0.95rem;
    line-height: 1.8;
}

.mission-list {
    list-style: none;
    color: var(--text2);
    font-size: 0.95rem;
}

.mission-list li {
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mission-list li::before {
    content: '→ ';
    color: var(--gold);
}

.mission-list li:last-child {
    border-bottom: none;
}

/* ══════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════ */
.main-contact-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    max-width: 800px;
    margin: 2rem auto 0;
    flex-wrap: wrap;
}

.main-contact-location {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 250px;
}

.main-contact-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(201, 164, 56, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all var(--transition);
}

.main-contact-location:hover .main-contact-icon-large {
    background: rgba(201, 164, 56, 0.1);
    transform: scale(1.05);
}

.main-contact-location-text h4 {
    font-family: var(--font-h);
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.main-contact-location-text p {
    font-size: 0.9rem;
    color: var(--text2);
}

.main-contact-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

.main-contact-map {
    flex: 1;
    min-width: 280px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(201, 164, 56, 0.2);
}

.main-contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

.main-contact-icons {
    display: flex;
    gap: 1.5rem;
}

.main-contact-icon-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    font-size: 1.2rem;
    transition: all var(--transition);
}

.main-contact-icon-link:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 164, 56, 0.1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--bg2);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-logo {
    height: 150px;
    width: 85px;
}

.footer-brand-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-main {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    line-height: 1;
}

.footer-brand-sub {
    font-family: var(--font-b);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    line-height: 1;
    margin-top: 5px;
    opacity: 0.9;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-group h4 {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    font-size: 0.88rem;
    color: var(--text2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition);
}

.footer-links-group a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    color: var(--text2);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text2);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--gold);
}

/* ══════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #080808;
    border-radius: 12px;
    width: 95%;
    max-width: 1000px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text2);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--gold);
}

.modal-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

@media(min-width:768px) {
    .modal-body {
        flex-direction: row;
        height: 100%;
    }
}

.modal-image-wrapper {
    flex: 1;
    min-height: 350px;
    position: relative;
    overflow: hidden;
    background: #050505;
}

.modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.1s ease-out;
}

.modal-details {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#modal-title {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

#modal-desc {
    color: var(--text2);
    font-size: 1rem;
    line-height: 1.7;
}

.watermark-logo {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    opacity: 0.8;
    pointer-events: none;
}

/* ══════════════════════════════════════════════
   UNIFIED PROFILE & TIER MODAL
══════════════════════════════════════════════ */
.unified-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(20px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.unified-auth-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.unified-auth-modal {
    background: linear-gradient(145deg, var(--bg2), #0a0a0a);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    /* Slimmed from 2.5rem */
    width: 95%;
    max-width: 580px;
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 40px rgba(201, 164, 56, 0.05);
    max-height: 90vh;
    overflow-y: auto;
}

.unified-auth-overlay.active .unified-auth-modal {
    transform: scale(1) translateY(0);
}

.unified-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--text2);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.unified-modal-close:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: rotate(90deg);
}

/* Header Profile Section */
.unified-profile-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.unified-avatar-container {
    position: relative;
    width: 52px;
    /* Slimmed from 64px */
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(201, 164, 56, 0.2);
}

.unified-avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.unified-avatar-placeholder {
    font-size: 1.8rem;
    color: var(--gold);
}

.unified-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border: 2px solid var(--bg2);
    border-radius: 50%;
}

.unified-user-info {
    flex: 1;
}

.unified-user-info h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.3rem;
    color: var(--text);
}

.unified-user-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text2);
}

.unified-signout-btn {
    background: rgba(255, 50, 50, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 50, 50, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition);
}

.unified-signout-btn:hover {
    background: #ff6b6b;
    color: #fff;
}

/* Usage Card */
.unified-usage-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.usage-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    /* Slimmer */
}

.usage-card-header h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text);
}

.unified-reset-badge {
    font-size: 0.75rem;
    color: var(--gold);
    opacity: 0.8;
}

.usage-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}

.unified-usage-tier-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.unified-usage-track {
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.unified-usage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold), #fff);
    background-size: 200% 100%;
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: slimeFillShine 3s linear infinite, slimeGlow 2s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

@keyframes slimeGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 2px var(--gold));
        opacity: 0.8;
    }

    50% {
        filter: drop-shadow(0 0 8px var(--gold));
        opacity: 1;
    }
}

.unified-usage-fill.danger {
    background: linear-gradient(90deg, #b91c1c, #ef4444);
}

.unified-usage-fill.full {
    background: #ef4444;
}

/* Divider */
.unified-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.unified-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 164, 56, 0.3), transparent);
}

.unified-divider span {
    background: var(--bg2);
    padding: 0 1rem;
    color: var(--text2);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

/* Plans Grid for Modal */
.unified-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.unified-plan-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.unified-plan-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.unified-plan-card.active-current {
    border-color: var(--gold);
    background: rgba(201, 164, 56, 0.05);
    box-shadow: 0 0 20px rgba(201, 164, 56, 0.1);
}

.uni-plan-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.uni-plan-price {
    font-size: 1.6rem;
    font-family: var(--font-h);
    color: var(--text);
    margin-bottom: 0.2rem;
}

.uni-plan-period {
    font-size: 0.7rem;
    color: var(--text2);
    margin-bottom: 1.5rem;
}

.uni-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    flex: 1;
}

.uni-plan-features li {
    font-size: 0.8rem;
    color: var(--text2);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.uni-plan-features i.fa-check {
    color: #22c55e;
}

.uni-plan-features i.fa-times {
    color: #ef4444;
}

.uni-plan-btn {
    width: 100%;
    padding: 0.7rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.uni-plan-status {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 1rem;
}

.anim-pulse {
    animation: goldBorderPulse 3s infinite alternate;
}

@keyframes goldBorderPulse {
    0% {
        border-color: rgba(201, 164, 56, 0.3);
        box-shadow: 0 0 10px rgba(201, 164, 56, 0.1);
    }

    100% {
        border-color: rgba(201, 164, 56, 0.8);
        box-shadow: 0 0 25px rgba(201, 164, 56, 0.3);
    }
}

.unified-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-b);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
}

.unified-google-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.unified-google-btn .google-icon {
    width: 18px;
    height: 18px;
}

/* ══════════════════════════════════════════════
   LEFT SIDEBAR
══════════════════════════════════════════════ */
#left-sidebar {
    position: fixed;
    left: 1.5rem;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    z-index: 1500;
    /* Increased to be above most things */
    pointer-events: auto;
    /* Fixed: was none */
}

.sidebar-icon-link {
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text2);
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.sidebar-icon-link:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateX(4px) scale(1.05);
    background: rgba(201, 164, 56, 0.08);
    box-shadow: 0 0 15px rgba(201, 164, 56, 0.2);
}

.sidebar-icon-link.profile-icon {
    position: absolute;
    bottom: 2rem;
    left: 0;
}

/* ── LAPTOP/DESKTOP TOOLTIPS ── */
@media (min-width: 769px) {
    .sidebar-icon-link::before {
        content: attr(title);
        position: absolute;
        left: calc(100% + 15px);
        top: 50%;
        transform: translateY(-50%) translateX(-10px);
        background: rgba(10, 10, 15, 0.95);
        border: 1px solid rgba(212, 175, 55, 0.3);
        color: var(--gold);
        padding: 6px 14px;
        border-radius: 8px;
        font-family: var(--font-b);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    /* Small triangle pointer for tooltip */
    .sidebar-icon-link::after {
        content: '';
        position: absolute;
        left: calc(100% + 9px);
        top: 50%;
        transform: translateY(-50%) translateX(-5px);
        border-width: 6px;
        border-style: solid;
        border-color: transparent rgba(212, 175, 55, 0.3) transparent transparent;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
    }

    .sidebar-icon-link:hover::before,
    .sidebar-icon-link:hover::after {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
    }
}

/* ══════════════════════════════════════════════
   PANELS
══════════════════════════════════════════════ */
#products-panel,
#contact-panel,
#ai-panel {
    position: fixed;
    left: 5.5rem;
    top: 0;
    height: 100vh;
    height: 100dvh;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 850;
    transform: translateX(-150%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding: 2rem 1rem;
}

#products-panel,
#contact-panel {
    width: 340px;
}

#ai-panel {
    left: auto;
    right: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    padding: 2rem;
    z-index: 2000;
    background: radial-gradient(circle at bottom, #111 0%, #000 100%);
    backdrop-filter: none;
    transform: translateX(100%);
}

#products-panel.active,
#contact-panel.active,
#ai-panel.active {
    transform: translateX(0);
}

.panel-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
    display: none;
    z-index: 10;
}

#ai-panel .panel-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 2rem;
    left: 2rem;
    right: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    color: var(--gold);
    transition: all var(--transition);
    z-index: 2001;
}

/* Products panel items */
.prod-category-item {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
}

.prod-cat-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background var(--transition);
}

.prod-cat-header:hover {
    background: rgba(255, 255, 255, 0.04);
}

.prod-cat-icon {
    color: var(--gold);
    font-size: 1.1rem;
    width: 28px;
    text-align: center;
}

.prod-cat-title {
    font-size: 0.88rem;
    color: var(--text);
}

.prod-works-list {
    display: none;
    padding-left: 2.5rem;
    margin-top: 0.4rem;
}

.prod-category-item.active .prod-works-list {
    display: block;
}

.prod-work-link {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.78rem;
    color: var(--text2);
    cursor: pointer;
    transition: color var(--transition);
}

.prod-work-link:hover {
    color: var(--gold);
}

/* Contact Panel */
.panel-header-rich {
    margin-bottom: 2rem;
    text-align: center;
}

.panel-title-large {
    font-family: var(--font-h);
    font-size: 2rem;
    color: var(--gold);
}

.gold-divider-small {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 0.5rem auto;
}

.panel-subtitle {
    font-size: 0.75rem;
    color: var(--text2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rich-map-wrapper {
    position: relative;
    height: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(201, 164, 56, 0.25);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.google-map-embed-dark {
    filter: grayscale(100%) invert(92%) contrast(83%);
}

.contact-actions-panel {
    display: flex;
    justify-content: center;
}

.rich-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(0, 0, 0, 0.95));
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.rich-call-btn:hover {
    box-shadow: 0 0 30px rgba(201, 164, 56, 0.25);
    transform: translateY(-2px);
}

.btn-icon-glow {
    font-size: 1.7rem;
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px var(--gold));
    }
}

/* AI Panel - Futuristic Overhaul */
.chat-interface {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    position: relative;
    background: radial-gradient(circle at center, rgba(15, 15, 20, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    background-size: 150% 150%;
    border-radius: 20px;
    overflow: hidden;
    animation: chatBgBreathe 12s ease-in-out infinite alternate;
}

@keyframes chatBgBreathe {
    0% {
        background-position: 50% 50%;
    }

    100% {
        background-position: 50% 100%;
    }
}

/* Digital Grid Background */
.chat-interface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(201, 164, 56, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 164, 56, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* Scanning Line Animation */
.chat-interface::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(201, 164, 56, 0.05), transparent);
    animation: scanline 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes scanline {
    from {
        top: -100px;
    }

    to {
        top: 100%;
    }
}

.chat-history {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1rem 7rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Glassmorphic Cyber Bubbles */
.chat-msg {
    max-width: 85%;
    padding: 1rem 1.2rem;
    font-size: 0.92rem;
    line-height: 1.6;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ai-msg {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-radius: 0 15px 15px 15px;
    border-left: 3px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: cyberMessageIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cyberMessageIn {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.95);
        filter: drop-shadow(0 10px 10px rgba(201, 164, 56, 0.3));
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
}

.ai-msg::before {
    content: 'AI CORE';
    position: absolute;
    top: -18px;
    left: 0;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 700;
}

.user-msg {
    align-self: flex-end;
    background: rgba(201, 164, 56, 0.08);
    border: 1px solid rgba(201, 164, 56, 0.4);
    color: var(--text);
    border-radius: 15px 0 15px 15px;
    border-right: 3px solid var(--gold);
    text-shadow: 0 0 10px rgba(201, 164, 56, 0.3);
    box-shadow: 0 4px 20px rgba(201, 164, 56, 0.1);
    animation: userPulse 4s infinite ease-in-out;
}

@keyframes userPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(201, 164, 56, 0.1);
        border-color: rgba(201, 164, 56, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(201, 164, 56, 0.2);
        border-color: rgba(201, 164, 56, 0.8);
    }
}

.user-msg::before {
    content: 'COMMANDER';
    position: absolute;
    top: -18px;
    right: 0;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

/* Modal Watermark */
.watermark-logo {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 100;
}

.gemini-input-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 860px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 0;
    z-index: 20;
}

.gemini-tools-left {
    display: flex;
    gap: 0.5rem;
}

.gemini-tool-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text2);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gemini-tool-btn:hover {
    background: rgba(201, 164, 56, 0.1);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 164, 56, 0.2);
}

.gemini-input-bar {
    flex: 1;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.5rem 0.6rem 0.5rem 1.2rem;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.gemini-input-bar:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 164, 56, 0.15), inset 0 0 10px rgba(201, 164, 56, 0.05);
    background: rgba(15, 15, 15, 0.95);
}

#chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    padding-right: 0.5rem;
    font-family: var(--font-b);
}

#chat-send-btn {
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    border: none;
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(201, 164, 56, 0.3);
}

#chat-send-btn:hover {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 0 25px rgba(201, 164, 56, 0.5);
}

.typing-indicator {
    display: none;
    gap: 4px;
    padding: 0.5rem 1rem;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text2);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

@keyframes slideUp {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-60px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(60px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.motion-feedback {
    animation: goldPulse 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Flicker Overlay for Futuristic AI */
.ai-flicker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 164, 56, 0.015);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    animation: flicker 0.2s infinite;
}

@keyframes flicker {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 0.04;
    }
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }

    40% {
        box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.6), 0 12px 24px rgba(0, 0, 0, 0.4);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media(max-width:1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .footer-brand {
        grid-column: 1/-1;
    }
}

@media(max-width:768px) {

    /* ── NAVBAR ── */
    .navbar {
        padding: 0.8rem 1rem;
    }

    .nav-menu {
        display: none;
    }

    /* Show hamburger at 768px and below */
    .hamburger-btn {
        display: flex;
    }

    .nav-brand span {
        display: none;
    }

    /* ── HERO ── */
    .hero-section {
        min-height: 100svh;
        min-height: 100dvh;
        padding: 0 1.5rem;
    }

    .hero-subtext {
        font-size: 0.9rem;
    }

    /* ── STATS ── */
    .stats-bar {
        gap: 0;
        padding: 1.5rem 0;
    }

    .stat-bar-item {
        padding: 0 1rem;
    }

    .stat-num {
        font-size: 2rem;
    }

    .stat-bar-divider {
        height: 35px;
    }

    /* ── SECTIONS ── */
    .section-pad {
        padding: 4.5rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-layout,
    .investor-grid,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .global-stats {
        gap: 1.5rem;
    }

    .global-stat-card {
        min-width: 160px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .main-contact-block {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .main-contact-divider {
        width: 80px;
        height: 1px;
    }

    /* ── BOTTOM DOCK (replaces left sidebar on all mobile) ── */
    #left-sidebar {
        display: none !important;
    }

    /* ── PANELS ── */
    #products-panel,
    #contact-panel,
    #ai-panel {
        left: 0;
        width: 100%;
        border-right: none;
        /* Clear the bottom dock */
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .panel-close-btn {
        display: block;
    }

    #ai-panel .panel-close-btn {
        display: flex;
        top: 1.2rem;
        left: 1.2rem;
        right: auto;
    }

    /* ── FOOTER ── */
    footer {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }

    /* ── TOAST ── */
    .tier-toast {
        bottom: calc(76px + env(safe-area-inset-bottom));
    }

    /* ── INTRO ── */
    .intro-title {
        font-size: 12vw;
        padding: 0 1rem;
    }

    .intro-subtitle {
        font-size: 3vw;
        letter-spacing: 0.3em;
        margin-top: 1.2rem;
    }

    .it-welcome {
        font-size: 14vw;
    }
    .it-awlaa {
        font-size: 16vw;
    }
    .it-private {
        font-size: 4vw;
    }

    #skip-intro {
        bottom: calc(20px + env(safe-area-inset-bottom));
        right: 20px;
    }
}




/* ══════════════════════════════════════════════
   TIER SYSTEM — DROPDOWN BADGE
══════════════════════════════════════════════ */
.dropdown-tier-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-tier-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.dropdown-tier-usage {
    font-size: 0.7rem;
    color: var(--text2);
    letter-spacing: 0.04em;
}

.upgrade-item {
    color: var(--gold) !important;
}

.upgrade-item:hover {
    background: rgba(201, 164, 56, 0.08) !important;
}

/* ══════════════════════════════════════════════
   AI PANEL HEADER & USAGE BAR (SLIME EDITION)
══════════════════════════════════════════════ */
.ai-panel-header {
    padding: 0.8rem 1rem;
    border-bottom: 2px solid rgba(201, 164, 56, 0.4);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    margin: 0 1rem 1rem 1rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slimeGlow 4s infinite alternate ease-in-out;
}

@keyframes slimeGlow {
    0% {
        box-shadow: 0 0 10px rgba(201, 164, 56, 0.2), inset 0 0 10px rgba(201, 164, 56, 0.1);
        border-bottom-color: rgba(201, 164, 56, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(201, 164, 56, 0.5), inset 0 0 20px rgba(201, 164, 56, 0.2);
        border-bottom-color: rgba(201, 164, 56, 0.8);
    }

    100% {
        box-shadow: 0 0 15px rgba(138, 112, 42, 0.3), inset 0 0 15px rgba(138, 112, 42, 0.15);
        border-bottom-color: rgba(138, 112, 42, 0.5);
    }
}

.ai-panel-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    padding-top: 0;
}

.ai-panel-title {
    color: var(--gold);
    font-family: var(--font-h);
    font-size: 1.5rem;
    /* Down from 2.2rem */
    margin: 0;
    text-shadow: 0 0 15px rgba(201, 164, 56, 0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.ai-panel-title span {
    color: var(--text2);
    font-size: 0.75rem;
    font-family: var(--font-b);
    letter-spacing: 0.2em;
    margin-left: 0.4rem;
    opacity: 0.8;
}

.ai-panel-tier-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 164, 56, 0.3);
    position: static;
    /* Removed absolute positioning */
    box-shadow: 0 0 10px rgba(201, 164, 56, 0.15);
    transition: all var(--transition);
}

.ai-panel-tier-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(201, 164, 56, 0.3);
}

.ai-tier-icon {
    font-size: 0.85rem;
}

.ai-tier-name {
    letter-spacing: 0.05em;
}

/* Usage bar */
.ai-usage-bar-wrapper {
    padding: 0;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ai-usage-info {
    display: flex;
    justify-content: center;
    /* Center the text for a cleaner look */
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#ai-usage-text {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(201, 164, 56, 0.3);
}

.ai-usage-track {
    height: 8px;
    /* Slightly thicker for the liquid effect */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ai-usage-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold), #fff);
    background-size: 200% 100%;
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

/* Liquid Wave Animation using SVG Filter */
.ai-usage-liquid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: url(#liquid-filter);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.ai-usage-fill.danger {
    background: linear-gradient(90deg, #b91c1c, #ef4444, #ff8888);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.ai-usage-fill.full {
    background: linear-gradient(90deg, #ef4444, #ff0000);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
    animation: usagePulseFull 1.5s ease-in-out infinite;
}

@keyframes usagePulseFull {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.8;
        transform: scaleY(1.2);
        filter: brightness(1.3);
    }
}

.ai-usage-fill.unlimited {
    background: linear-gradient(90deg, #a855f7, #6366f1);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

@keyframes slimeFillShine {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.ai-usage-fill.danger {
    background: linear-gradient(90deg, #b91c1c, #ef4444, #ff8888);
}

.ai-usage-fill.full {
    background: #ef4444;
}

.ai-period-label {
    display: none;
    /* Hide to save vertical space */
}

/* Unlimited tier — hide usage bar but keep layout */
.ai-usage-bar-wrapper.hidden-bar {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* ══════════════════════════════════════════════
   BORDERLESS "+" TOOL BUTTON
══════════════════════════════════════════════ */
.chat-plus-btn {
    background: none;
    border: none;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    border-radius: 50%;
}

.chat-plus-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.chat-plus-btn:hover {
    color: var(--gold);
    transform: rotate(45deg) scale(1.15);
}

.chat-plus-btn.open {
    color: var(--gold);
    transform: rotate(45deg);
}

/* ══════════════════════════════════════════════
   TOOLS POPUP PANEL
══════════════════════════════════════════════ */
.chat-tools-popup {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 0;
    background: rgba(10, 10, 16, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 200;
    min-width: 260px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom left;
}

.chat-tools-popup.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Section labels */
.popup-section-label {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-b);
    font-weight: 700;
    padding: 0.4rem 0.8rem 0.2rem;
}

.popup-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.3rem 0.4rem;
}

/* Popup items */
.popup-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 0.75rem;
    border: none;
    background: transparent;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
    text-align: left;
    width: 100%;
    position: relative;
}

.popup-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(2px);
}

.popup-item:active {
    transform: scale(0.98);
}

/* Popup item icon box */
.popup-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 1px solid;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.popup-item:hover .popup-item-icon {
    transform: scale(1.1);
}

.popup-item-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}

.popup-item-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-b);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.popup-item-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-b);
    font-weight: 400;
}

/* Model badges */
.model-badge {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 2px 6px;
    border-radius: 50px;
    text-transform: uppercase;
    font-family: var(--font-b);
}

.gold-badge {
    background: rgba(201, 164, 56, 0.2);
    color: #c9a438;
    border: 1px solid rgba(201, 164, 56, 0.4);
}

.green-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.blue-badge {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Lock icon on locked model */
.model-lock-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* Active green dot for selected model */
.model-active-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
}

/* Locked model — dimmed */
.popup-item.model-locked {
    opacity: 0.55;
}

.popup-item.model-locked:hover {
    background: rgba(255, 80, 80, 0.04);
}

/* Selected model highlight */
.popup-item.model-selected {
    background: rgba(255, 255, 255, 0.04);
}

/* Active model indicator bar in AI header */
.ai-active-model-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
}

.ai-active-model-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px currentColor;
    flex-shrink: 0;
    animation: modelDotPulse 2.5s ease-in-out infinite;
}

@keyframes modelDotPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.ai-active-model-name {
    font-size: 0.62rem;
    font-weight: 600;
    font-family: var(--font-b);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4ade80;
    transition: color 0.3s ease;
}



/* Mic button — default & listening state */
.gemini-tool-btn.mic-btn {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.35);
    color: #a855f7;
    position: relative;
}

.gemini-tool-btn.mic-btn:hover {
    background: rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.4);
    transform: scale(1.1);
}

.gemini-tool-btn.mic-btn.mic-active {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.6);
    color: #ef4444;
    animation: micPulse 1.2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
}

@keyframes micPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Attachment popup menu */
.chat-attach-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0.5rem;
    background: rgba(12, 12, 18, 0.97);
    border: 1px solid rgba(201, 164, 56, 0.25);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 50;
    min-width: 240px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(12px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-attach-menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-attach-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
    width: 100%;
}

.chat-attach-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.attach-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(201, 164, 56, 0.15);
    border: 1px solid rgba(201, 164, 56, 0.3);
    color: var(--gold);
    flex-shrink: 0;
}

.attach-item-icon.gen-icon {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

.attach-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.attach-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-b);
}

.attach-item-desc {
    font-size: 0.72rem;
    color: var(--text2);
    font-family: var(--font-b);
}

/* Image preview strip (before sending) */
.chat-img-preview-wrap {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(201, 164, 56, 0.07);
    border: 1px solid rgba(201, 164, 56, 0.2);
    border-radius: 12px;
    margin: 0 0 0.75rem 0;
    animation: slideInUp 0.3s ease;
    flex-shrink: 0;
}

.chat-img-preview-inner {
    position: relative;
    flex-shrink: 0;
}

.chat-img-preview-inner img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    border: 1px solid rgba(201, 164, 56, 0.3);
}

.chat-img-preview-label {
    font-size: 0.78rem;
    color: var(--text2);
    font-family: var(--font-b);
    flex: 1;
}

/* Remove / close button on previews */
.chat-img-remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.85);
    border: none;
    color: #fff;
    font-size: 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.chat-img-remove-btn:hover {
    background: #ef4444;
}

/* Generated Image Panel */
.chat-gen-img-wrap {
    display: none;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(168, 85, 247, 0.07);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    margin: 0 0 0.75rem 0;
    position: relative;
    animation: slideInUp 0.3s ease;
    flex-shrink: 0;
}

.chat-gen-img-inner {
    position: relative;
    flex: 1;
}

#chat-gen-img-result {
    max-width: 100%;
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(168, 85, 247, 0.3);
    animation: fadeIn 0.5s ease;
}

/* Loading Spinner */
.chat-gen-img-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    color: var(--text2);
    font-size: 0.8rem;
    font-family: var(--font-b);
}

.gen-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(168, 85, 247, 0.2);
    border-top-color: #a855f7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}




/* ══════════════════════════════════════════════
   LIMIT REACHED MODAL
══════════════════════════════════════════════ */
.limit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 3500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.limit-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.limit-modal {
    background: rgba(15, 15, 20, 0.85);
    border: 1px solid rgba(201, 164, 56, 0.15);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    width: 92%;
    max-width: 420px;
    text-align: center;
    position: relative;
    transform: perspective(1000px) scale(0.8) translateY(40px) rotateX(10deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.9),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.limit-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: modalGlowLine 3s linear infinite;
}

@keyframes modalGlowLine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.limit-modal-overlay.active .limit-modal {
    transform: perspective(1000px) scale(1) translateY(0) rotateX(0deg);
}

.limit-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text2);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.limit-modal-close:hover {
    opacity: 1;
    color: var(--gold);
    transform: rotate(90deg);
}

.limit-modal-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.4));
    animation: iconEnergyPulse 2.4s infinite alternate;
}

@keyframes iconEnergyPulse {
    0% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 10px rgba(239, 68, 68, 0.2));
    }

    100% {
        transform: scale(1.1);
        filter: brightness(1.4) drop-shadow(0 0 30px rgba(239, 68, 68, 0.7));
    }
}

.limit-modal-title {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.limit-modal-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    font-weight: 500;
}

.limit-reset-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(201, 164, 56, 0.1);
    border: 1px solid rgba(201, 164, 56, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 600;
}

#limit-countdown {
    color: #fff;
    font-family: monospace;
    letter-spacing: 1px;
    animation: countdownPulse 1s ease-in-out infinite alternate;
}

@keyframes countdownPulse {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }
}

.google-signin-btn-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    color: #3c4043;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s, box-shadow .2s;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.google-signin-btn-large:hover {
    background-color: #f8f9fa;
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, .30), 0 4px 8px 3px rgba(60, 64, 67, .15);
}

.google-icon {
    width: 20px;
    height: 20px;
}

.limit-guest-section,
.limit-upgrade-section {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.limit-guest-section,
.limit-upgrade-section {
    width: 100%;
}

.limit-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0;
    color: var(--text2);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.limit-divider::before,
.limit-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.limit-upgrade-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    border: none;
    border-radius: 50px;
    color: #000;
    font-family: var(--font-b);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.05em;
}

.limit-upgrade-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 164, 56, 0.3);
}

/* ══════════════════════════════════════════════
   UPGRADE PLANS MODAL
══════════════════════════════════════════════ */
.upgrade-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(14px);
    z-index: 3500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.upgrade-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.upgrade-modal {
    background: var(--bg2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 860px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
}

.upgrade-modal-overlay.active .upgrade-modal {
    transform: translateY(0);
}

.upgrade-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text2);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition);
    z-index: 10;
}

.upgrade-modal-close:hover {
    color: var(--gold);
}

.upgrade-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.upgrade-modal-header h2 {
    font-family: var(--font-h);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.upgrade-modal-header p {
    font-size: 0.88rem;
    color: var(--text2);
}

/* Plan Cards Grid */
.upgrade-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.upgrade-plan-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.8rem 1.4rem;
    text-align: center;
    position: relative;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upgrade-plan-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.upgrade-plan-card.featured {
    border-color: var(--gold);
    background: rgba(201, 164, 56, 0.05);
    transform: scale(1.03);
}

.upgrade-plan-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.upgrade-plan-card.current-plan {
    border-color: rgba(74, 158, 255, 0.35);
    background: rgba(74, 158, 255, 0.04);
}

.plan-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

.plan-badge {
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-family: var(--font-h);
    font-size: 2.4rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1;
}

.plan-period {
    font-size: 0.72rem;
    color: var(--text2);
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.plan-features {
    list-style: none;
    text-align: left;
    width: 100%;
    font-size: 0.82rem;
    color: var(--text2);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features .fa-check {
    color: #22c55e;
    font-size: 0.7rem;
}

.plan-features .fa-times {
    color: #666;
    font-size: 0.7rem;
}

.plan-current-label {
    font-size: 0.75rem;
    color: rgba(74, 158, 255, 0.8);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 50px;
    margin-top: auto;
}

.plan-select-btn {
    width: 100%;
    padding: 0.7rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-b);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: auto;
    letter-spacing: 0.03em;
}

.gold-btn {
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    color: #000;
}

.gold-btn:hover {
    box-shadow: 0 6px 20px rgba(201, 164, 56, 0.4);
    transform: translateY(-2px);
}

.purple-btn {
    background: linear-gradient(135deg, #3b065e, #a855f7);
    color: #fff;
}

.purple-btn:hover {
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
    transform: translateY(-2px);
}

.payment-note {
    text-align: center;
    font-size: 0.76rem;
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.payment-note i {
    color: var(--gold);
}

/* Toast notification */
.tier-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: rgba(20, 20, 20, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    color: var(--text);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tier-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.tier-toast.success {
    border-color: rgba(34, 197, 94, 0.4);
}

.tier-toast.info {
    border-color: rgba(201, 164, 56, 0.4);
}

@media(max-width:768px) {
    .upgrade-plans-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .upgrade-plan-card.featured {
        transform: none;
    }

    .upgrade-plan-card.featured:hover {
        transform: translateY(-4px);
    }

    .upgrade-modal {
        padding: 1.5rem 1rem;
    }

    .ai-panel-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        padding: 0.8rem;
        margin: 0 0.5rem 1rem 0.5rem;
    }

    .ai-panel-title-row {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .ai-panel-tier-badge {
        position: static;
    }
}



/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0.8rem 0;
        z-index: 2500;
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.7);
    }

    .mobile-bottom-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
        color: var(--text2);
        font-size: 0.68rem;
        text-decoration: none;
        transition: all var(--transition);
        flex: 1;
        font-family: var(--font-b);
        letter-spacing: 0.02em;
    }

    .mobile-bottom-link i {
        font-size: 1.35rem;
        color: var(--gold-dim);
        transition: all var(--transition);
    }

    .mobile-bottom-link:active i,
    .mobile-bottom-link:hover i {
        color: var(--gold);
        transform: translateY(-3px) scale(1.05);
    }

    .mobile-bottom-link:active,
    .mobile-bottom-link:hover {
        color: #fff;
    }
}

/* ══════════════════════════════════════════════
   COMPREHENSIVE MOBILE OVERHAUL (480px & below)
══════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* Navbar */
    .navbar {
        padding: 0.55rem 1rem;
    }

    .hamburger-btn {
        display: flex;
    }

    .nav-menu {
        display: none !important;
    }

    .nav-auth-area .google-signin-btn span {
        display: none;
    }

    .nav-auth-area .google-signin-btn {
        padding: 0.45rem 0.7rem;
        min-width: 0;
    }

    .brand-logo {
        height: 60px;
    }

    /* Hero — full screen */
    .hero-section {
        min-height: 100svh;
        min-height: 100dvh;
        padding: 0 1.2rem;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        padding-top: 3rem;
    }

    #hero-headline,
    .intro-title {
        font-size: 10vw;
        line-height: 1.1;
    }

    .hero-logo {
        height: 300px;
        /* Larger logo on mobile */
    }

    .hero-subtext {
        font-size: 0.88rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .cta-button,
    .cta-button-ghost {
        padding: 0.8rem 1.4rem;
        font-size: 0.72rem;
        width: 100%;
        justify-content: center;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 0.7rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Stats bar */
    .stats-bar {
        flex-wrap: wrap;
        padding: 1.2rem 0.5rem;
        gap: 0;
    }

    .stat-bar-item {
        flex: 1;
        min-width: 40%;
        padding: 0.5rem;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.62rem;
    }

    .stat-bar-divider {
        width: 1px;
        height: 30px;
    }

    /* Section padding */
    .section-pad {
        padding: 3.5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    /* Services layout */
    .services-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-text p {
        font-size: 0.95rem;
    }

    .service-row {
        font-size: 0.95rem;
    }

    /* Tech services */
    .tech-header {
        padding: 1rem;
    }

    .tech-title {
        font-size: 1.1rem;
    }

    .tech-works-list {
        padding: 0.5rem 1rem 1rem 2.5rem;
    }

    /* Global stats cards */
    .global-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .global-stat-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    /* Vision/Investors */
    .investor-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .inv-col {
        padding: 1.5rem;
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-frame-container {
        height: 200px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: row;
        gap: 1rem;
    }

    footer {
        padding: 3rem 0 8rem;
    }

    /* Modal */
    .modal-content {
        width: 100%;
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
        align-self: flex-end;
    }

    .modal-overlay {
        align-items: flex-end;
    }

    .modal-details {
        padding: 1.5rem;
    }

    #modal-title {
        font-size: 1.4rem;
    }

    .modal-image-wrapper {
        min-height: 220px;
    }

    /* Auth / Tier Modals */
    .auth-modal {
        padding: 2rem 1.2rem;
    }

    .limit-modal {
        padding: 2rem 1.2rem;
    }

    .upgrade-modal {
        padding: 1.2rem 0.8rem;
    }

    .upgrade-plans-grid {
        grid-template-columns: 1fr;
    }

    .nav-tier-btn {
        padding: 0.3rem 0.8rem 0.3rem 0.4rem;
        gap: 0.4rem;
    }

    .nav-tier-icon {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .nav-tier-label {
        font-size: 0.7rem;
    }



    /* AI Panel */
    #ai-panel {
        padding: 1rem;
        padding-top: 4rem;
        padding-bottom: 6rem;
    }

    .ai-panel-title {
        font-size: 1.4rem;
    }

    .gemini-input-container {
        padding: 0.7rem 0;
        gap: 0.5rem;
    }

    .gemini-tools-left {
        gap: 0.4rem;
    }

    .gemini-tool-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    #chat-input {
        font-size: 0.9rem;
    }

    .chat-msg {
        max-width: 90%;
        font-size: 0.85rem;
    }

    /* intro screen */
    .intro-title {
        font-size: 11vw;
        padding: 0 0.8rem;
    }

    .intro-welcome {
        font-size: 1.3rem;
    }


    #skip-intro {
        bottom: 14px;
        right: 14px;
        font-size: 0.65rem;
        padding: 6px 12px;
    }


}

/* Medium mobile (481-767px) additional fixes */
@media (min-width: 481px) and (max-width: 767px) {
    .hamburger-btn {
        display: flex;
    }

    .nav-menu {
        display: none !important;
    }

    .hero-section {
        min-height: 100svh;
        min-height: 100dvh;
        padding: 0 1.5rem;
    }

    .container {
        padding: 0 1.2rem;
    }

    .section-pad {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-layout,
    .investor-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .global-stat-card {
        min-width: 0;
    }

    footer {
        padding-bottom: 7rem;
    }
}

/* Ensure body doesn't scroll when overlay is open */
body.nav-open {
    overflow: hidden;
}


/* ── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-blur-in {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.95);
    transition: all 0.8s var(--transition);
}

.reveal-blur-in.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* ── LIQUID FILL FILTER ─────────────────────────────────── */
.liquid-fill {
    filter: url('#liquid-filter');
}

/* ═══════════════════════════════════════════════
   AWLAACORE LIVE MODE OVERLAY
   ═══════════════════════════════════════════════ */
.awlaa-live-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    display: none; /* Controlled via JS */
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
}

.awlaa-live-overlay.active {
    display: flex;
    animation: overlayBlurFocus 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes overlayBlurFocus {
    from { 
        opacity: 0; 
        backdrop-filter: blur(50px);
        transform: scale(1.1);
    }
    to { 
        opacity: 1; 
        backdrop-filter: blur(10px);
        transform: scale(1);
    }
}

.awlaa-live-overlay .orb-ring.thinking {
    animation: orbThink 1.5s linear infinite, orbShinePremium 1s ease-in-out infinite alternate;
    border-color: #00FFFF;
    box-shadow: 0 0 50px #00FFFF, inset 0 0 25px #00FFFF;
}

.awlaa-live-overlay .orb-ring.thinking::after {
    content: '';
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00FFFF, transparent);
    animation: scanLine 2s linear infinite;
    box-shadow: 0 0 15px #00FFFF;
}

@keyframes scanLine {
    0% { top: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 110%; opacity: 0; }
}

@keyframes orbThink {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbShinePremium {
    from { filter: brightness(1.2) drop-shadow(0 0 15px #00FFFF); }
    to { filter: brightness(2.5) drop-shadow(0 0 40px #00FFFF); }
}

.awlaa-live-overlay .orb-ring.listening {
    animation: orbBreatheSlow 4s ease-in-out infinite;
}

@keyframes orbBreatheSlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
}

.awlaa-live-overlay .mute-btn {
    position: absolute;
    top: 40px;
    right: 100px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00FFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.awlaa-live-overlay .mute-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00FFFF;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.awlaa-live-overlay .mute-btn.muted {
    color: #ff4444;
    border-color: #ff4444;
}

.awlaa-live-overlay .mute-btn i {
    font-size: 1.2rem;
}

@media (max-width: 480px) {
    .awlaa-live-overlay .mute-btn {
        top: 20px;
        right: 80px;
        width: 40px;
        height: 40px;
    }
}

.awlaa-live-overlay .void-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vmax;
    height: 80vmax;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.awlaa-live-overlay .interface-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.awlaa-live-overlay .orb-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.awlaa-live-overlay .orb-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #00FFFF;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), inset 0 0 20px rgba(0, 255, 255, 0.5);
    animation: orbBreathe 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes orbBreathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), inset 0 0 15px rgba(0, 255, 255, 0.5);
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
        box-shadow: 0 0 30px #00FFFF, inset 0 0 30px #00FFFF;
    }
}

.awlaa-live-overlay #visualizer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 2;
    background: #000;
}

.awlaa-live-overlay .branding {
    position: relative;
    z-index: 10;
    color: #00FFFF;
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-shadow: 0 0 10px #00FFFF;
    pointer-events: none;
    user-select: none;
}

.awlaa-live-overlay .ripple {
    position: absolute;
    border: 1.5px solid #00FFFF;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: scale(1);
    z-index: 1;
}

.awlaa-live-overlay .controls {
    position: absolute;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 20;
}

.awlaa-live-overlay .live-btn {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid #00FFFF;
    color: #00FFFF;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.awlaa-live-overlay .live-btn:hover {
    background: #00FFFF;
    color: #000;
    box-shadow: 0 0 25px #00FFFF;
}

.awlaa-live-overlay .close-live-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: none;
    color: rgba(0, 255, 255, 0.5);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 30;
    transition: 0.3s;
    line-height: 1;
}

.awlaa-live-overlay .close-live-btn:hover {
    color: #00FFFF;
    transform: rotate(90deg);
}

.awlaa-live-overlay .mode-indicator {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    color: #00FFFF;
    opacity: 0.6;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .awlaa-live-overlay .orb-wrapper {
        width: 240px;
        height: 240px;
    }
    .awlaa-live-overlay .branding {
        font-size: 1.2rem;
    }
    .awlaa-live-overlay .close-live-btn {
        top: 20px;
        right: 20px;
        font-size: 2rem;
    }
}