:root {
    --bg-dark: #050505;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --accent-orange: #ff4d00;
    --accent-red: #ff2a00;
    --text-main: #ffffff;
    --text-muted: #888888;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px;
}

/* Simple Loader */
#simple-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#simple-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 450px;
    padding: 0 20px;
}

.loading-text {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5em;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    margin-left: 0.5em;
    /* Compensate for letter-spacing alignment */
}

.loading-bar-container {
    width: 100%;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 2px;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.loading-bar-fill {
    height: 100%;
    width: 35%;
    /* Fixed width of the scanning segment */
    background: #fff;
    position: absolute;
    top: 2px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    animation: scan-bar 1.5s ease-in-out infinite alternate;
}

.loading-bar-fill::before,
.loading-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    width: 12px;
    height: 100%;
    background: #00ffff;
    box-shadow: 0 0 10px #00ffff;
}

.loading-bar-fill::before {
    left: 0;
}

.loading-bar-fill::after {
    right: 0;
}

@keyframes scan-bar {
    0% {
        left: 2px;
    }

    100% {
        left: calc(100% - 35% - 2px);
    }
}

.accent-text {
    color: var(--accent-orange);
    text-shadow: 0 0 15px rgba(255, 77, 0, 0.4);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-orange));
    color: var(--text-main);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.5);
}

/* Tech Sci-Fi Navbar */
.tech-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #0a0a0a;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.9);
    font-family: var(--font-heading);
}

.tech-nav-line {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2) 10%, rgba(255, 255, 255, 0.2) 90%, transparent);
    z-index: 1;
}

.tech-nav-left {
    display: flex;
    gap: 5px;
    margin-left: 50px;
    z-index: 2;
    position: relative;
    margin-bottom: -15px;
    /* Sit on the line */
}

.tech-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    transform: skewX(-25deg);
    transition: all 0.3s ease;
}

.tech-tab .tab-text {
    transform: skewX(25deg);
}

.tech-tab:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.tech-tab.active {
    background: #d4d4d4;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.tech-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    bottom: 0;
}

.tech-center-bg {
    background: #d4d4d4;
    padding: 10px 70px;
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    margin-bottom: 5px;
}

.tech-logo {
    color: #000;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.tech-accent {
    color: var(--accent-orange);
}

.tech-nav-right {
    display: flex;
    align-items: center;
    margin-right: 50px;
    z-index: 2;
    gap: 20px;
    margin-bottom: -15px;
    /* Sit on the line */
}

.tech-decor {
    display: flex;
    gap: 4px;
    transform: skewX(-25deg);
}

.tech-decor i {
    width: 3px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
}

.tech-decor i:nth-child(even) {
    background: rgba(255, 255, 255, 0.08);
}

.tech-info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: var(--font-body);
}

.tech-divider {
    color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end; /* Change to flex-end so hologram sits at the bottom of graphic */
    position: relative;
    z-index: 1;
    align-self: flex-end; /* Align the entire graphic container to the bottom of hero */
}

/* Cyberpunk Hero Styles */
.cyberpunk-hero {
    position: relative;
    background: #050505;
}

.cyber-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 77, 0, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 0, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    transform: perspective(600px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(600px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(600px) rotateX(60deg) translateY(40px) translateZ(-200px); }
}

.cyber-glitch {
    position: relative;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.8), 0 0 20px rgba(255, 77, 0, 0.5);
}

.cyber-glitch::before, .cyber-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.cyber-glitch::before {
    left: 2px;
    text-shadow: -2px 0 red;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.cyber-glitch::after {
    left: -2px;
    text-shadow: -2px 0 cyan;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(21px, 9999px, 86px, 0); }
    5% { clip: rect(57px, 9999px, 80px, 0); }
    10% { clip: rect(81px, 9999px, 66px, 0); }
    15% { clip: rect(6px, 9999px, 14px, 0); }
    20% { clip: rect(2px, 9999px, 78px, 0); }
    25% { clip: rect(69px, 9999px, 20px, 0); }
    30% { clip: rect(43px, 9999px, 95px, 0); }
    100% { clip: rect(10px, 9999px, 20px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(74px, 9999px, 46px, 0); }
    5% { clip: rect(18px, 9999px, 48px, 0); }
    10% { clip: rect(98px, 9999px, 63px, 0); }
    15% { clip: rect(32px, 9999px, 59px, 0); }
    20% { clip: rect(40px, 9999px, 66px, 0); }
    25% { clip: rect(30px, 9999px, 49px, 0); }
    30% { clip: rect(55px, 9999px, 81px, 0); }
    100% { clip: rect(10px, 9999px, 20px, 0); }
}

.cyber-text {
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
    background: linear-gradient(90deg, rgba(255, 77, 0, 0.1), transparent);
}

.btn-cyber {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: var(--accent-orange);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    border: 2px solid var(--accent-orange);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.2);
    text-transform: uppercase;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.btn-cyber:hover {
    background: var(--accent-orange);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.6);
}

.cyber-hologram {
    position: relative;
    width: clamp(250px, 35vw, 450px);
    height: auto;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-cyber {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.cyber-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 15px rgba(255, 255, 255, 1);
    opacity: 0.5;
    animation: scan 4s linear infinite;
    z-index: 3;
}

@keyframes scan {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5rem 5%;
    background: linear-gradient(to right, rgba(255, 77, 0, 0.02), rgba(255, 77, 0, 0.05), rgba(255, 77, 0, 0.02));
    border-top: 1px solid rgba(255, 77, 0, 0.1);
    border-bottom: 1px solid rgba(255, 77, 0, 0.1);
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(4rem, 8vw, 7rem);
    background: linear-gradient(45deg, var(--accent-red), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-main);
    text-transform: uppercase;
}

/* Mission Section */
.mission {
    padding: 8rem 5%;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.mission .section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.mission p {
    font-size: 1.2rem;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 5%;
}

.portfolio-header {
    margin-bottom: 4rem;
}

.portfolio-header .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    background-color: var(--bg-card-hover);
    transform: translateY(-10px);
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 77, 0, 0.05);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card-action {
    margin-top: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.project-card:hover .card-action {
    opacity: 1;
    transform: scale(1);
}

/* Footer */
.footer {
    position: relative;
    padding: 6rem 5% 0;
    background: linear-gradient(to bottom, #050505 0%, #120a05 100%);
    overflow: hidden;
    margin-top: 4rem;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: radial-gradient(ellipse at bottom, var(--accent-orange) 0%, transparent 80%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 5;
}

.footer-divider span {
    height: 1px;
    flex: 1;
}

.footer-divider span:first-child {
    background: linear-gradient(to right, #050505, rgba(255, 255, 255, 0.06));
}

.footer-divider span:last-child {
    background: linear-gradient(to left, #050505, rgba(255, 255, 255, 0.06));
}

.divider-icon {
    margin: 0 2rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.15);
    text-shadow: none;
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 5;
    /* Positioned above the massive text */
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-orange);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff;
    border-color: var(--accent-orange);
    background: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 77, 0, 0.4);
    transform: translateY(-3px);
}

.newsletter-col p {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 320px;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    flex: 1;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.newsletter-form input:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
    background: var(--accent-orange);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--accent-red);
    box-shadow: 0 0 15px rgba(255, 77, 0, 0.4);
}

.footer-massive-text {
    position: relative;
    z-index: 2;
    /* Below the grid (z-index 5) but above gradient (z-index 1) */
    font-size: clamp(5rem, 25vw, 25rem);
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 0.75;
    text-align: center;

    /* Elegant gradient fill: faded top to avoid clashes, bright orange bottom */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 20%, rgba(255, 77, 0, 0.8) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    letter-spacing: -0.02em;
    margin-top: 6rem;
    transform: translateY(20%);
    white-space: nowrap;
    user-select: none;
}

/* ========== Scroll Animations – One by One ========== */

/* Base: all animated elements start hidden */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) rotateX(0) rotateY(0) scale(1);
}

/* --- Fade Up (default) --- */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Fade Left --- */
.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* --- Fade Right --- */
.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* --- Scale Up --- */
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* --- Flip Up --- */
.reveal-flip {
    opacity: 0;
    transform: perspective(800px) rotateX(25deg) translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-flip.active {
    opacity: 1;
    transform: perspective(800px) rotateX(0) translateY(0);
}

/* --- Blur In --- */
.reveal-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-blur.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* --- Stagger Delays (apply via data-delay or classes) --- */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }
.delay-7 { transition-delay: 0.7s !important; }
.delay-8 { transition-delay: 0.8s !important; }

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-left: 0;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
    }

    .hero-graphic {
        margin-top: auto;
        justify-content: center;
        align-self: center; /* Reset to center on mobile horizontally */
    }

    /* Adjust Tech Navbar for mobile */
    .tech-navbar {
        height: auto;
        flex-direction: column;
        padding-top: 5px;
    }

    .tech-nav-center {
        position: relative;
        left: auto;
        transform: none;
    }

    .tech-center-bg {
        padding: 8px 30px;
        margin-bottom: 10px;
    }

    .tech-nav-left {
        display: flex;
        width: 100%;
        margin-left: 0;
        margin-bottom: 0;
        padding: 0 20px 15px 20px;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tech-nav-left::-webkit-scrollbar {
        display: none;
    }

    .tech-nav-right {
        /* Keep parent in DOM so fixed button renders */
        display: block;
        width: 0;
        height: 0;
    }

    .tech-nav-right .tech-decor,
    .tech-nav-right .tech-info {
        display: none;
    }

    .tech-nav-line {
        display: none;
    }

    /* Project Cards Mobile */
    .projects-slider {
        grid-template-columns: 1fr;
        /* Stack vertically on small screens */
        height: auto;
    }

    .project-card-vertical {
        height: 320px;
        /* Give them a specific height so they don't look squished */
    }
}

/* Social Media Section */
.social-section {
    padding: 8rem 5%;
    position: relative;
    background: #050505;
    /* Subtle grid layout lines background */
    background-image:
        linear-gradient(rgba(255, 77, 0, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 0, 0.015) 1px, transparent 1px);
    background-size: 30px 30px;
    border-top: 1px solid rgba(255, 77, 0, 0.05);
    border-bottom: 1px solid rgba(255, 77, 0, 0.05);
}

.social-header {
    text-align: center;
    margin-bottom: 5rem;
}

.social-header .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.social-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.social-card-wrapper {
    display: flex;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

/* Icon Block (Left Square) */
.social-icon-block {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #ff6a00 0%, #e63900 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 1px 1px 0px rgba(255, 255, 255, 0.2),
        0 10px 20px rgba(230, 57, 0, 0.2);
    transition: all 0.3s ease;
}

.card-num {
    position: absolute;
    top: 10px;
    left: 12px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
}

.card-code {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
}

/* Info Block (Right Rectangle) */
.social-info-block {
    width: 220px;
    height: 110px;
    background: radial-gradient(circle at left, rgba(255, 77, 0, 0.12) 0%, rgba(10, 10, 10, 0.9) 70%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.social-card-wrapper:hover .social-info-block {
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(255, 77, 0, 0.1);
}

.social-info-block h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.social-info-block p {
    font-size: 9px;
    color: var(--accent-orange);
    letter-spacing: 1px;
    font-weight: 700;
}

/* 3D Icons styling */
.icon-3d-youtube {
    width: 50px;
    height: 35px;
    background: #1f1f1f;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 1px 1px 0px rgba(255, 255, 255, 0.15),
        3px 4px 6px rgba(0, 0, 0, 0.4),
        0px 2px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid #111;
}

.icon-3d-youtube .play-triangle {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid #ffffff;
    margin-left: 2px;
    filter: drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.5));
}

.icon-3d-plane {
    width: 42px;
    height: 42px;
    fill: #1f1f1f;
    filter:
        drop-shadow(3px 4px 5px rgba(0, 0, 0, 0.4)) drop-shadow(1px 1px 0px rgba(255, 255, 255, 0.15));
}

.icon-3d-vk {
    width: 44px;
    height: 44px;
    fill: #1f1f1f;
    filter:
        drop-shadow(3px 4px 5px rgba(0, 0, 0, 0.4)) drop-shadow(1px 1px 0px rgba(255, 255, 255, 0.15));
}

.icon-3d-instagram,
.icon-3d-facebook,
.icon-3d-website,
.icon-3d-tiktok,
.icon-3d-threads,
.icon-3d-linkedin {
    width: 44px;
    height: 44px;
    fill: #1f1f1f;
    filter:
        drop-shadow(3px 4px 5px rgba(0, 0, 0, 0.4)) drop-shadow(1px 1px 0px rgba(255, 255, 255, 0.15));
}

/* Featured Projects Section */
.featured-section {
    padding: 8rem 5%;
    background: #050505;
    border-top: 1px solid rgba(255, 77, 0, 0.05);
}

.featured-header {
    text-align: center;
    margin-bottom: 5rem;
}

.featured-header .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.projects-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Wide Card Layout */
.project-card-wide {
    background: #111111;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    overflow: hidden;
    height: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.project-card-wide:hover {
    border-color: rgba(255, 77, 0, 0.2);
    box-shadow: 0 25px 50px rgba(255, 77, 0, 0.05);
}

.card-wide-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Custom CSS Browser Mockup */
.css-leo-mockup {
    width: 100%;
    height: 100%;
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 2rem;
}

.mockup-header .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.mockup-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 77, 0, 0.15), transparent 75%);
    border-radius: 12px;
    border: 1px solid rgba(255, 77, 0, 0.08);
}

.mockup-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.mockup-hero {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.1;
}

.mockup-cta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    border: 1px solid rgba(255, 77, 0, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 77, 0, 0.05);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.card-wide-info {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.card-wide-badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-wide-title {
    font-size: 2rem;
    color: #fff;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.card-wide-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card-wide-link {
    font-family: var(--font-heading);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    align-self: flex-start;
}

.card-wide-link:hover {
    color: var(--accent-orange);
}

.card-wide-btn {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card-wide:hover .card-wide-btn {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 77, 0, 0.4);
    transform: rotate(-45deg);
}

/* Vertical Cards Slider Column */
.projects-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    height: 420px;
}

.project-card-vertical {
    background: #111111;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
}

.project-card-vertical:hover {
    border-color: rgba(255, 77, 0, 0.2);
    box-shadow: 0 25px 50px rgba(255, 77, 0, 0.05);
}

.card-vert-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    align-self: flex-start;
    font-family: var(--font-body);
}

.card-vert-img-wrap {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-vert-title {
    font-size: 1.3rem;
    color: #fff;
    margin-top: 1rem;
    line-height: 1.2;
}

.card-vert-btn {
    position: absolute;
    bottom: 2.2rem;
    right: 1.8rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card-vertical:hover .card-vert-btn {
    opacity: 1;
    transform: scale(1) rotate(-45deg);
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 77, 0, 0.4);
}

/* CSS Art for Dashboard Column */
.css-chart-art {
    width: 90px;
    height: 80px;
    background: radial-gradient(circle at center, rgba(255, 77, 0, 0.08), transparent 75%);
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.css-chart-art::before,
.css-chart-art::after {
    content: '';
    flex: 1;
    background: linear-gradient(to top, var(--accent-red), var(--accent-orange));
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
    transition: height 0.6s ease;
}

.css-chart-art::before {
    height: 40px;
}

.css-chart-art::after {
    height: 65px;
}

.project-card-vertical:hover .css-chart-art::before {
    height: 55px;
}

.project-card-vertical:hover .css-chart-art::after {
    height: 45px;
}

/* CSS Art for E-Commerce Cart */
.css-cart-art {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at center, rgba(255, 77, 0, 0.08), transparent 75%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.css-cart-art::before {
    content: '🛒';
    font-size: 2.8rem;
    filter: drop-shadow(0 0 8px rgba(255, 77, 0, 0.4));
    opacity: 0.85;
}

.project-card-vertical:hover .css-cart-art {
    transform: scale(1.1) rotate(-5deg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .projects-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .project-card-wide {
        height: auto;
        grid-template-columns: 1fr;
    }

    .card-wide-img {
        height: 250px;
    }

    .projects-slider {
        height: 380px;
    }
}

/* ========== Theme Toggle Button ========== */
.theme-toggle-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.theme-toggle-btn:hover {
    border-color: var(--accent-orange);
    background: rgba(255, 77, 0, 0.15);
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
    transform: scale(1.1);
}

.toggle-icon {
    position: absolute;
    font-size: 1.2rem;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    line-height: 1;
}

/* Dark mode (default): show sun, hide moon */
.sun-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.moon-icon {
    opacity: 0;
    transform: scale(0.3) rotate(-180deg);
}

/* Light mode: show moon, hide sun */
[data-theme="light"] .sun-icon {
    opacity: 0;
    transform: scale(0.3) rotate(180deg);
}

[data-theme="light"] .moon-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ========== LIGHT THEME ========== */
[data-theme="light"] {
    --bg-dark: #f5f5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f0;
    --text-main: #1a1a1a;
    --text-muted: #555555;
}

[data-theme="light"] body {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

/* Loader */
[data-theme="light"] #simple-loader {
    background: #ffffff;
}

[data-theme="light"] .loading-text {
    color: #1a1a1a;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .loading-bar-container {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .loading-bar-fill {
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Navbar */
[data-theme="light"] .tech-navbar {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .tech-nav-line {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08) 10%, rgba(0, 0, 0, 0.08) 90%, transparent);
}

[data-theme="light"] .tech-tab {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .tech-tab:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .tech-tab.active {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .tech-center-bg {
    background: #1a1a1a;
}

[data-theme="light"] .tech-logo {
    color: #ffffff;
}

[data-theme="light"] .tech-decor i {
    background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .tech-decor i:nth-child(even) {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tech-info {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .tech-divider {
    color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: rgba(255, 77, 0, 0.1);
}

/* Hero Section */
[data-theme="light"] .cyberpunk-hero {
    background: #f5f5f5;
}

[data-theme="light"] .cyber-grid {
    background-image:
        linear-gradient(rgba(255, 77, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 0, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .cyber-glitch {
    color: #1a1a1a;
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.3), 0 0 20px rgba(255, 77, 0, 0.15);
}

[data-theme="light"] .hero-subtitle {
    color: #555555;
}

[data-theme="light"] .accent-text {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.2);
}

[data-theme="light"] .cyber-text {
    background: linear-gradient(90deg, rgba(255, 77, 0, 0.06), transparent);
}

[data-theme="light"] .btn-cyber {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.1);
}

[data-theme="light"] .btn-cyber:hover {
    background: var(--accent-orange);
    color: #ffffff;
}

/* Stats Section */
[data-theme="light"] .stats {
    background: linear-gradient(to right, rgba(255, 77, 0, 0.02), rgba(255, 77, 0, 0.06), rgba(255, 77, 0, 0.02));
    border-top-color: rgba(255, 77, 0, 0.08);
    border-bottom-color: rgba(255, 77, 0, 0.08);
}

[data-theme="light"] .stat-label {
    color: #1a1a1a;
}

/* Mission Section */
[data-theme="light"] .mission .section-title {
    color: #1a1a1a;
}

[data-theme="light"] .mission p {
    color: #555555;
}

/* Section Titles */
[data-theme="light"] .section-title {
    color: #1a1a1a;
}

/* Portfolio / Project Cards */
[data-theme="light"] .portfolio-header p {
    color: #555555;
}

[data-theme="light"] .project-card {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .project-card:hover {
    background-color: #fafafa;
    border-color: rgba(255, 77, 0, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), inset 0 0 20px rgba(255, 77, 0, 0.03);
}

[data-theme="light"] .card-number {
    color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .project-card h3 {
    color: #1a1a1a;
}

[data-theme="light"] .project-card p {
    color: #555555;
}

/* Featured Section */
[data-theme="light"] .featured-section {
    background: #f5f5f5;
    border-top-color: rgba(255, 77, 0, 0.06);
}

[data-theme="light"] .featured-header p {
    color: #555555;
}

[data-theme="light"] .project-card-wide {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .project-card-wide:hover {
    border-color: rgba(255, 77, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .css-leo-mockup {
    background: #f0f0f0;
    border-right-color: rgba(0, 0, 0, 0.06);
}

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

[data-theme="light"] .mockup-body {
    background: radial-gradient(circle at center, rgba(255, 77, 0, 0.08), transparent 75%);
    border-color: rgba(255, 77, 0, 0.1);
}

[data-theme="light"] .mockup-hero {
    color: #1a1a1a;
}

[data-theme="light"] .mockup-cta {
    color: #555555;
    border-color: rgba(255, 77, 0, 0.2);
    background: rgba(255, 77, 0, 0.04);
}

[data-theme="light"] .card-wide-title {
    color: #1a1a1a;
}

[data-theme="light"] .card-wide-desc {
    color: #555555;
}

[data-theme="light"] .card-wide-link {
    color: #1a1a1a;
}

[data-theme="light"] .card-wide-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}

/* Vertical Cards */
[data-theme="light"] .project-card-vertical {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .project-card-vertical:hover {
    border-color: rgba(255, 77, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .card-vert-badge {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .card-vert-title {
    color: #1a1a1a;
}

[data-theme="light"] .card-vert-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}

/* Social Section */
[data-theme="light"] .social-section {
    background: #f5f5f5;
    background-image:
        linear-gradient(rgba(255, 77, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 0, 0.03) 1px, transparent 1px);
    border-top-color: rgba(255, 77, 0, 0.06);
    border-bottom-color: rgba(255, 77, 0, 0.06);
}

[data-theme="light"] .social-header p {
    color: #555555;
}

[data-theme="light"] .social-info-block {
    background: radial-gradient(circle at left, rgba(255, 77, 0, 0.06) 0%, rgba(255, 255, 255, 0.95) 70%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .social-info-block h3 {
    color: #1a1a1a;
}

[data-theme="light"] .social-card-wrapper:hover .social-info-block {
    border-color: rgba(255, 77, 0, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 0 15px rgba(255, 77, 0, 0.06);
}

/* Footer */
[data-theme="light"] .footer {
    background: linear-gradient(to bottom, #f5f5f5 0%, #fff5ee 100%);
}

[data-theme="light"] .footer::before {
    background: radial-gradient(ellipse at bottom, rgba(255, 77, 0, 0.3) 0%, transparent 80%);
    opacity: 0.5;
}

[data-theme="light"] .footer-divider span:first-child {
    background: linear-gradient(to right, #f5f5f5, rgba(0, 0, 0, 0.06));
}

[data-theme="light"] .footer-divider span:last-child {
    background: linear-gradient(to left, #f5f5f5, rgba(0, 0, 0, 0.06));
}

[data-theme="light"] .divider-icon {
    color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .footer-col h4 {
    color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .footer-col a {
    color: #1a1a1a;
}

[data-theme="light"] .footer-col a:hover {
    color: var(--accent-orange);
}

[data-theme="light"] .social-icons a {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    color: #1a1a1a;
}

[data-theme="light"] .social-icons a:hover {
    color: #ffffff;
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

[data-theme="light"] .newsletter-col p {
    color: #1a1a1a;
}

[data-theme="light"] .newsletter-form input {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

[data-theme="light"] .newsletter-form input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .newsletter-form input:focus {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--accent-orange);
}

[data-theme="light"] .footer-massive-text {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 20%, rgba(255, 77, 0, 0.5) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typography general overrides */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4 {
    color: #1a1a1a;
}

[data-theme="light"] p {
    color: #555555;
}

/* Smooth transition for theme switch */
body,
body *:not(script):not(style) {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Mobile theme toggle */
@media (max-width: 768px) {
    .theme-toggle-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        width: 50px;
        height: 50px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        background: rgba(20, 20, 20, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    [data-theme="light"] .theme-toggle-btn {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}