:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --primary-color: #007bff;
    --primary-glow: rgba(0, 123, 255, 0.35);
    --secondary-color: #0a0a0a;
    --accent-color: #58a6ff;
    --glass-bg: rgba(8, 8, 8, 0.75);
    --border-color: rgba(255, 255, 255, 0.06);
    --primary-rgb: 0, 123, 255;
    --text-rgb: 240, 240, 240;
    --particle-1: #4285F4;
    --particle-2: #EA4335;
    --particle-3: #FBBC04;
    --particle-4: #A069EE;
}

[data-theme="light"] {
    --bg-color: #f8f9fa;
    --text-color: #1a1a1a;
    --primary-color: #0056b3;
    --primary-glow: rgba(0, 86, 179, 0.2);
    --secondary-color: #ffffff;
    --accent-color: #007bff;
    --glass-bg: rgba(248, 249, 250, 0.7);
    --border-color: rgba(0, 0, 0, 0.08);
    --text-rgb: 26, 26, 26;
    --particle-1: #1a73e8;
    --particle-2: #d93025;
    --particle-3: #f9ab00;
    --particle-4: #9334e6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

/* Ensure break-word for all long text containers */
p, span, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

html, body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* Subtle Noise/Grain Texture — Premium Cinematic Detail */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9998;
}
[data-theme="light"] body::after { opacity: 0.01; }

.sticky-top-lg {
    position: relative;
    z-index: 10;
}

@media (min-width: 992px) {
    .sticky-top-lg {
        position: sticky;
        top: 120px;
    }
}

/* Mockup Image Cards */
.mockup-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s;
}
.mockup-img-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.mockup-img-wrap:hover .mockup-img {
    transform: scale(1.03);
}

.fw-black { font-weight: 900; }
.navbar-brand.fw-black { color: var(--text-color) !important; transition: color 0.5s ease; }

/* Glass Navigation */
.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    color: var(--text-color) !important;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-link:hover { opacity: 1; }

.hire-btn:hover { background: var(--primary-color); color: white !important; }

/* Work Cards */
.work-img-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.work-img-wrapper:hover .work-overlay { opacity: 1; }

.work-img-wrapper img {
    transition: transform 0.6s ease;
}

.work-img-wrapper:hover img { transform: scale(1.1); }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background: radial-gradient(circle at top right, var(--primary-color) 0%, transparent 40%);
}

.display-1 { 
    letter-spacing: -3px; 
    line-height: 1.1;
}

@media (max-width: 768px) {
    .display-1 {
        font-size: 3.5rem;
        letter-spacing: -1px;
    }
}

/* Theme Toggle */
#theme-toggle {
    font-size: 1.2rem;
    cursor: pointer;
}

/* Layout Utilities */
.py-10 { padding: 8rem 0; }
.bg-offset { background-color: var(--secondary-color); }

/* =========================================
   INFINITE LOGO MARQUEE
   ========================================= */
.marquee-track {
    overflow: hidden;
    width: 100%;
    padding: 12px 0;
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-inner:hover { animation-play-state: paused; }

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

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 28px;
    border-right: 1px solid var(--border-color);
    opacity: 0.7;
    transition: opacity 0.3s;
    flex-shrink: 0;
    min-width: 110px;
}

.marquee-item:hover { opacity: 1; }
.marquee-item span { font-size: 0.65rem; font-weight: 600; letter-spacing: 1px; color: var(--text-color); opacity: 0.7; white-space: nowrap; }

.marquee-brand {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Fade edges */
.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee-fade-left { left: 0; background: linear-gradient(90deg, var(--bg-color) 0%, transparent 100%); }
.marquee-fade-right { right: 0; background: linear-gradient(-90deg, var(--bg-color) 0%, transparent 100%); }

.section-title {
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Z-Index Utilities */
.z-index-1 { z-index: 1; }
.z-index-2 { z-index: 2; }
.ls-1 { letter-spacing: 1px; }


/* Stat Cards */
.stat-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s;
}

.stat-card:hover { transform: translateY(-5px); }

/* Timeline */
.timeline-item {
    border-left: 2px solid var(--primary-color);
    padding-left: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 7px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

/* Skill Groups */
.skill-group {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.badge {
    padding: 0.6rem 1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Contact Card */
.contact-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.btn-outline-border {
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline-border:hover {
    background: var(--primary-color);
    color: white;
}

.bg-darker { background: rgba(0,0,0,0.2); }
.xxs { font-size: 0.85rem; line-height: 1.4; }

.work-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s;
}

.work-card:hover { 
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.cert-item {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.cert-item:hover { 
    background: var(--glass-bg); 
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Dark mode: white text on hover (dark glass background) */
[data-theme="dark"] .cert-item:hover h5,
[data-theme="dark"] .cert-item:hover small,
[data-theme="dark"] .cert-item:hover span { color: #ffffff !important; }

/* Light mode: keep dark text on hover */
[data-theme="light"] .cert-item:hover h5,
[data-theme="light"] .cert-item:hover small,
[data-theme="light"] .cert-item:hover span { color: var(--text-color) !important; }

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

.software-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.software-item i { font-size: 1.8rem; }
.software-item:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.05);
    color: white !important;
}
.software-item:hover i { color: white !important; }
.software-item:hover .adobe-icon { color: white !important; background: rgba(255,255,255,0.1) !important; }

/* Light mode software hover - darker primary for better contrast */
[data-theme="light"] .software-item:hover {
    background: var(--primary-color);
    color: #ffffff !important;
}
[data-theme="light"] .software-item:hover i { color: #ffffff !important; }

.lang-pill {
    padding: 0.8rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    transition: border-color 0.3s;
}
.lang-pill:hover { border-color: var(--primary-color); }

.max-width-600 { max-width: 600px; }

@media (max-width: 768px) {
    .py-10 { padding: 4rem 0; }
    .timeline-item { padding-left: 1rem; }
}

/* Mobile Navbar Expansion Fix */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--glass-bg);
        backdrop-filter: blur(35px);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        margin-top: 1rem;
        padding: 1.5rem;
        box-shadow: 0 25px 50px rgba(0,0,0,0.5);
        position: relative;
        z-index: 1050;
        width: 100%;
    }
    .hero-stat { display: none !important; }
}

@media (min-width: 992px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 1.5rem;
    }
}

/* =========================================
   AESTHETIC OVERHAUL - PHASE 5 
   ========================================= */

/* Animated Mesh Gradients */
.mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 123, 255, 0.15), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(88, 166, 255, 0.15), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(0, 86, 179, 0.15), transparent 50%);
    filter: blur(60px);
    z-index: 0;
    animation: meshFlow 20s infinite alternate linear;
}

.mesh-bg-sm {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 60%);
    filter: blur(30px);
    z-index: 0;
}

@keyframes meshFlow {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(2%, 2%); }
    100% { transform: scale(1) translate(-2%, -2%); }
}

.z-index-1 { position: relative; z-index: 1; }

/* Gradient Typography */
.gradient-text {
    background: linear-gradient(135deg, #ffffff, #8ab4f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #0d1117, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typographic Company Logos */
.tracking-widest { letter-spacing: 0.2em; }
.logo-hover { transition: transform 0.3s, filter 0.3s; filter: grayscale(100%) opacity(0.7); }
.logo-hover:hover { transform: scale(1.1); filter: grayscale(0%) opacity(1); }

.text-gradient-1 { background: linear-gradient(90deg, #ff416c, #ff4b2b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-2 { background: linear-gradient(90deg, #00b4db, #0083b0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-3 { background: linear-gradient(90deg, #f7971e, #ffd200); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-4 { background: linear-gradient(90deg, #8E2DE2, #4A00E0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Glowing Effects Layer */
.btn-glow { box-shadow: 0 0 20px rgba(0, 123, 255, 0.4); transition: all 0.3s; }
.btn-glow:hover { box-shadow: 0 0 30px rgba(0, 123, 255, 0.8); transform: translateY(-2px); }

.btn-glow-outline:hover { box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
[data-theme="light"] .btn-glow-outline:hover { box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); }

.pulse-hover { position: relative; }
.pulse-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    transition: box-shadow 0.3s ease-out;
}
.pulse-hover:hover::after { box-shadow: 0 0 20px 5px rgba(0, 123, 255, 0.3); }

/* Devicon Sizing Overrides */
.software-item i[class^="devicon-"] {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}
.software-item:hover i[class^="devicon-"] { transform: scale(1.1); }

/* Glass AI Badges */
.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    cursor: default;
}
.bg-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
[data-theme="light"] .bg-glass:hover {
    background: rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Custom Adobe & Brands Icons for Missing Devicons */
.adobe-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-family: 'Arial', sans-serif;
    letter-spacing: -1px;
    transition: transform 0.3s;
}
.software-item:hover .adobe-icon { transform: scale(1.1); }
.adobe-id { background-color: #49021f; color: #ff3366; }
.adobe-lr { background-color: #001e36; color: #31a8ff; }
.adobe-au { background-color: #000000; color: #00ffcc; border: 1px solid #00ffcc; }

.coursera-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.6rem;
    font-weight: 900;
    border-radius: 6px;
    background-color: #0056D2;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Arial', sans-serif;
}

/* Theme Text Utility */
.text-theme { color: var(--text-color) !important; }
.border-glass { border-color: var(--border-color) !important; }
[data-theme="light"] .git-icon { color: #1a1a1a !important; }

/* =========================================
   LIGHT MODE GLOBAL TEXT OVERRIDES
   Prevents white-text breakage on hover
   ========================================= */

/* Work cards in light mode */
[data-theme="light"] .work-card { color: var(--text-color); }
[data-theme="light"] .work-card h5 { color: var(--text-color); }
[data-theme="light"] .work-card p { color: rgba(0,0,0,0.7); }

/* AI badge/glass hover light mode */
[data-theme="light"] .bg-glass { color: var(--text-color); }
[data-theme="light"] .bg-glass:hover { color: var(--text-color); }
[data-theme="light"] .bg-glass h5, 
[data-theme="light"] .bg-glass p { color: var(--text-color) !important; }

/* Software items default text */
[data-theme="light"] .software-item { color: var(--text-color); }

/* Cert items default text */
[data-theme="light"] .cert-item,
[data-theme="light"] .cert-item h5,
[data-theme="light"] .cert-item small,
[data-theme="light"] .cert-item p { color: var(--text-color) !important; }

/* Skill groups, stat cards, contact card */
[data-theme="light"] .skill-group,
[data-theme="light"] .stat-card,
[data-theme="light"] .contact-card { color: var(--text-color); }

/* Timeline text */
[data-theme="light"] .timeline-item h5,
[data-theme="light"] .timeline-item p,
[data-theme="light"] .timeline-item small { color: var(--text-color) !important; }

/* Buttons in outline mode */
[data-theme="light"] .btn-outline-light { color: #1a1a1a !important; border-color: rgba(0,0,0,0.3) !important; }
[data-theme="light"] .btn-outline-light:hover { background: #1a1a1a; color: white !important; border-color: #1a1a1a !important; }

/* Visionary Insights Cinematic Styles */
.bg-dark-editorial {
    background-color: #050505;
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%);
}

.editorial-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.15;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.lead-editorial {
    font-size: 1.75rem;
    line-height: 1.5;
    font-weight: 300;
    color: var(--text-color);
}

.editorial-post p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.editorial-quote-block {
    position: relative;
    background: rgba(var(--primary-rgb), 0.03);
    backdrop-filter: blur(10px);
}

.pillar-grid {
    display: flex;
    flex-direction: column;
}

.pillar-card-premium {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pillar-card-premium:hover {
    transform: translateY(-5px);
}

.border-glow {
    position: relative;
    border: 1px solid rgba(var(--primary-rgb), 0.15) !important;
    overflow: hidden;
}

.border-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(var(--primary-rgb), 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.pillar-card-premium:hover .border-glow::after {
    transform: translateX(100%);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cinematic-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1;
    letter-spacing: -0.04em;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: block;
    width: 100%;
}

.px-lg-6 {
    padding-left: 5rem;
    padding-right: 5rem;
}

@media (max-width: 991px) {
    .px-lg-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .cinematic-title { font-size: 15vw; }
}

/* Redesigned Visionary Section */
.bg-dark-editorial {
    background: #050505;
    color: #ffffff;
}

.editorial-grain {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
    opacity: 0.05;
    pointer-events: none;
}

.editorial-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4rem;
    margin-bottom: 5rem;
}

.lead-editorial {
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 300;
    opacity: 0.9;
}

.editorial-post h3 {
    font-size: 2rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.editorial-post h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.pillar-card-premium {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pillar-card-premium:hover {
    transform: scale(1.02);
}

.bg-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Light Mode Overrides for Visionary Section */
[data-theme="light"] .bg-dark-editorial {
    background: #f8f9fa;
    color: #212529;
}

[data-theme="light"] .editorial-grain {
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
    opacity: 0.1;
}

[data-theme="light"] .editorial-header {
    border-bottom-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .lead-editorial {
    color: #495057;
}

[data-theme="light"] .editorial-post h3 {
    color: #000000;
}

[data-theme="light"] .bg-glass {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .editorial-quote-block {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* =========================================
   WORLD-CLASS DESIGN polish - PHASE 8 
   ========================================= */

/* Custom Cursor */
.custom-cursor {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 1.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-active .custom-cursor { width: 50px; height: 50px; background: rgba(0, 123, 255, 0.2); }
.cursor-active .cursor-follower { width: 70px; height: 70px; border-color: rgba(255, 255, 255, 0.5); }

@media (max-width: 991px) {
    .custom-cursor, .cursor-follower { display: none; }
}

/* =============================================
   PREMIUM DEVICE MOCKUPS (Photo-Realistic)
   ============================================= */

/* --- MacBook Mockup --- */
.device-macbook {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6));
    transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1), filter 0.4s;
}
.device-macbook:hover { filter: drop-shadow(0 40px 60px rgba(0,0,0,0.8)); }

/* 3D angled variant - left tilt */
.device-macbook-angle {
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    transition: transform 0.5s cubic-bezier(0.25,0.8,0.25,1);
}
.device-macbook-angle:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }

/* 3D angled variant - right tilt */
.device-macbook-angle-right {
    transform: perspective(1200px) rotateY(8deg) rotateX(4deg);
    transition: transform 0.5s cubic-bezier(0.25,0.8,0.25,1);
}
.device-macbook-angle-right:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }

.device-macbook-lid {
    background: linear-gradient(175deg, #3c3c3e 0%, #2c2c2e 30%, #1c1c1e 100%);
    border-radius: 16px 16px 0 0;
    padding: 10px 10px 0;
    border: 1px solid rgba(255,255,255,0.12);
    border-bottom: none;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 -6px 30px rgba(0,0,0,0.5);
}
/* Camera notch */
.device-macbook-lid::before {
    content: '';
    display: block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, #444 30%, #222 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
    margin: 0 auto 6px;
}
/* Screen area */
.device-macbook-screen {
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
    border: 2px solid #111;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}
.device-macbook-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
/* Hinge */
.device-macbook-hinge {
    background: linear-gradient(180deg, #1c1c1e, #3a3a3c);
    height: 4px;
    border-left: 1px solid rgba(255,255,255,0.06);
    border-right: 1px solid rgba(255,255,255,0.06);
}
/* Keyboard base */
.device-macbook-base {
    background: linear-gradient(180deg, #3a3a3c 0%, #2c2c2e 60%, #1c1c1e 100%);
    height: 22px;
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: none;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6), inset 0 -1px 0 rgba(255,255,255,0.05);
}
/* Trackpad notch */
.device-macbook-base::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; transform: translateX(-50%);
    width: 80px; height: 6px;
    background: linear-gradient(180deg, #252527, #1c1c1e);
    border-radius: 0 0 8px 8px;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06);
}
/* Foot shadow */
.device-macbook-feet {
    height: 3px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.4), transparent 70%);
    margin-top: 1px;
}

[data-theme="light"] .device-macbook-lid { background: linear-gradient(175deg, #e0e0e2 0%, #c8c8ca 30%, #b8b8ba 100%); }
[data-theme="light"] .device-macbook-base { background: linear-gradient(180deg, #d0d0d2 0%, #c0c0c2 60%, #b0b0b2 100%); }
[data-theme="light"] .device-macbook-hinge { background: linear-gradient(180deg, #b0b0b2, #c8c8ca); }

/* --- Desktop Monitor Mockup --- */
.device-monitor {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}
.device-monitor-screen-wrap {
    background: linear-gradient(175deg, #3c3c3e, #1c1c1e);
    border-radius: 12px 12px 0 0;
    padding: 18px 14px 0;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}
.device-monitor-screen {
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 2px solid #111;
}
.device-monitor-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-monitor-stand {
    background: linear-gradient(180deg, #2c2c2e, #1c1c1e);
    height: 28px;
    clip-path: polygon(35% 0%, 65% 0%, 72% 100%, 28% 100%);
    margin: 0 auto;
}
.device-monitor-foot {
    background: linear-gradient(180deg, #2c2c2e, #3c3c3e);
    height: 8px;
    border-radius: 4px;
    width: 65%;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* --- iPhone Mockup (Dynamic Island) --- */
.device-iphone {
    width: 155px;
    margin: 0 auto;
    background: linear-gradient(145deg, #3a3a3c, #1c1c1e);
    border-radius: 42px;
    padding: 16px 9px 12px;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.5);
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}
/* Dynamic Island */
.device-iphone::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%; transform: translateX(-50%);
    width: 72px; height: 20px;
    background: #000;
    border-radius: 20px;
    z-index: 2;
}
/* Power button */
.device-iphone::after {
    content: '';
    position: absolute;
    right: -3px; top: 70px;
    width: 3px; height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 0 3px 3px 0;
}
.device-iphone-screen {
    border-radius: 34px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9/19.5;
    position: relative;
}
.device-iphone-screen img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
}
.device-iphone-home {
    width: 42px; height: 5px;
    background: rgba(255,255,255,0.25);
    border-radius: 3px;
    margin: 10px auto 0;
}

/* --- Chrome Browser Mockup --- */
.browser-mockup {
    background: #252a34;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

[data-theme="light"] .browser-mockup {
    background: #e9ecef;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.browser-header {
    height: 28px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .browser-header { background: rgba(0, 0, 0, 0.05); }

.browser-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.dot-red { background: #ff5f57 !important; }
.dot-yellow { background: #ffbd2e !important; }
.dot-green { background: #28c840 !important; }

.browser-url {
    font-size: 0.65rem;
    color: var(--text-color);
    opacity: 0.5;
    background: rgba(0,0,0,0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

[data-theme="light"] .browser-url { background: rgba(0,0,0,0.06); }

/* Tilt & 3D Depth */
.work-card {
    transform-style: preserve-3d;
}

.software-item {
    transform-style: preserve-3d;
}

/* Enhanced Work Cards for World-Class Feel */
.work-card h5 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 1rem;
}

.work-card p.small {
    letter-spacing: 1px;
    font-weight: 700;
}

/* Editorial Hero & Advanced Typography */
.editorial-hero { min-height: 100vh; padding: 120px 0; }
.hero-label { font-size: 0.9rem; letter-spacing: 4px; }
.ls-3 { letter-spacing: 3px !important; }
.ls-tight { letter-spacing: -2px !important; }
.outline-text {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    color: transparent;
    background: none;
}
[data-theme="light"] .outline-text {
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.2);
}

/* Hero Parallax Layer */
.hero-parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.05s linear;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: blobFloat 8s ease-in-out infinite alternate;
}

.blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -10%; right: -10%;
    opacity: 0.2;
}

.blob-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    bottom: -10%; left: -10%;
    opacity: 0.15;
}

.blob-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #0e7490 0%, transparent 70%);
    top: 40%; left: 30%;
    opacity: 0.1;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* Hero Hover Stats Floaters */
.hero-stat {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    pointer-events: none;
    transition: transform 0.08s linear;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-stat .stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-color);
}

.stat-1 { top: 20%; right: 8%; }
.stat-2 { bottom: 30%; right: 15%; }
.stat-3 { top: 60%; left: 3%; }

.float-item {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    filter: blur(40px);
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.item-1 { width: 300px; height: 300px; top: 10%; right: 5%; }
.item-2 { width: 200px; height: 200px; bottom: 20%; left: 10%; animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 50px) rotate(360deg); }
}

/* Magnetic Buttons Physics */
.magnetic-btn { display: inline-block; transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1); }

/* Premium Noise Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 10000;
}

[data-theme="light"] body::before {
    opacity: 0.01;
    filter: invert(1);
}

/* Cinematic Footer CTA */
.cinematic-footer {
    padding: 10rem 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 123, 255, 0.05));
}

.giant-text-wrapper {
    position: relative;
    display: inline-block;
    cursor: crosshair;
}

.giant-text {
    font-size: clamp(3rem, 15vw, 12rem);
    line-height: 0.8;
    letter-spacing: -0.05em;
    font-weight: 900;
    text-transform: uppercase;
    -webkit-text-stroke: 1px rgba(var(--text-rgb), 0.15);
    color: transparent;
    user-select: none;
    transition: filter 0.5s ease;
}

.giant-text-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: clamp(3rem, 15vw, 12rem);
    line-height: 0.8;
    letter-spacing: -0.05em;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-color), #8ab4f8, var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
    user-select: none;
    
    /* Creative Mask Reveal */
    -webkit-mask-image: radial-gradient(circle at var(--mouse-x, 0%) var(--mouse-y, 0%), black 0%, transparent 20%);
    mask-image: radial-gradient(circle at var(--mouse-x, 0%) var(--mouse-y, 0%), black 0%, transparent 20%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    
    transition: -webkit-mask-image 0.15s ease-out, mask-image 0.15s ease-out;
}

.cinematic-footer:hover .giant-text {
    filter: url(#liquid-filter);
    opacity: 0.8;
}

.cinematic-footer:hover .giant-text-reveal {
    animation: gradientMove 3s infinite alternate;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    width: 0%;
    z-index: 10001;
}

/* --- CUSTOM PREMIUM LINKEDIN CARD --- */
.custom-linkedin-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.custom-linkedin-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 102, 194, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 102, 194, 0.2);
}

.profile-img-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #0a66c2, #4776e6);
    box-shadow: 0 5px 15px rgba(10, 102, 194, 0.3);
}

.profile-mini-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #000;
}

.p-stat {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.p-stat span:first-child {
    color: var(--primary-color);
    letter-spacing: -1px;
}

/* Global Elegance Polish */
.work-card, .contact-card, .stat-card {
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-card:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

[data-theme="light"] .custom-linkedin-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
[data-theme="light"] .p-stat {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.05);
}
[data-theme="light"] .profile-mini-img {
    border-color: #fff;
}

/* Form Aesthetics */
.custom-input {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

html[data-theme="dark"] .custom-input {
    background: rgba(20, 20, 25, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-input:focus {
    background: var(--bg-card);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.02);
    outline: none;
    color: var(--text-color);
}

html[data-theme="dark"] .custom-input:focus {
    background: rgba(30, 30, 35, 0.8);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

select.custom-input option {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 10px;
}

.group:hover .group-hover-translate-x {
    transform: translateX(5px);
}

.status-success-box {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

html[data-theme="dark"] .status-success-box {
    background: rgba(40, 167, 69, 0.2);
    color: #4ade80;
}

/* =========================================
   HERO PERSONA CARD
   ========================================= */
.persona-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 3rem;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 480px;
    position: relative;
    z-index: 10;
}

.persona-card:hover {
    transform: translateY(-8px) rotate(-0.5deg);
    border-color: var(--primary-color);
}

.persona-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.persona-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s ease;
}

.persona-card:hover .persona-img {
    transform: scale(1.05);
}

.persona-name {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.persona-role {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.4;
    font-weight: 600;
}

.persona-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

.persona-info-item {
    display: flex;
    align-items: center;
}

.persona-socials {
    display: flex;
    gap: 15px;
}

.social-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.03);
}

.social-circle:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.persona-email {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--primary-color);
    transition: opacity 0.3s;
}

.persona-email:hover {
    opacity: 0.7;
}

/* Light mode adjustments for Persona Card */
[data-theme="light"] .persona-card {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
}

[data-theme="light"] .social-circle {
    background: rgba(0,0,0,0.03);
}

@media (max-width: 991px) {
    .persona-card {
        margin: 0 auto 4rem;
        padding: 2rem;
    }
    .persona-name { font-size: 2rem; }
}
/* Antigravity Background Canvas */
#antigravity-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Higher than base, lower than content */
    pointer-events: none;
    background-color: var(--bg-color);
}

.hero-section {
    background: transparent !important; /* Let canvas show through */
}

/* =========================================
   Logo Marquee Animation
   ========================================= */
.marquee-label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 2rem;
    text-align: center;
}

.marquee-track {
    display: flex;
    overflow: hidden;
    user-select: none;
    padding: 1rem 0;
}

.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 40s linear infinite;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    padding: 0 4rem;
}

.marquee-brand {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 300;
    color: rgba(var(--text-rgb), 0.25);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Ecosystem Card Refinements */
.ecosystem-card {
    background: var(--bg-card);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.ecosystem-icon {
    font-size: 2.2rem;
    color: #d4b770;
}

.ecosystem-title {
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-color);
    margin: 0;
}

.ecosystem-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
    margin: 0;
}

@media (max-width: 768px) {
    .marquee-brand { font-size: 1.8rem; }
    .marquee-item { padding: 0 2rem; }
}
