:root {
    --primary: #00D2FF;
    --primary-glow: rgba(0, 210, 255, 0.4);
    --secondary: #FF0080;
    --bg-dark: #0B1120;
    --bg-card: rgba(17, 24, 39, 0.7);
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;

    /* Protección de contenido */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Permitir escritura y selección solo en campos de formulario */
input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}

/* Prevenir el arrastre de imágenes y enlaces */
img,
a {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* Circuit Background Effect */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    /* Fallback color */
    background-image: url('circuit_bg_v2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    /* Overlay mode interacts with the dark blue body background to create realistic 3D engraving */
    mix-blend-mode: overlay;
    opacity: 0.25;
    filter: grayscale(10%) contrast(1.3);
    z-index: -2;
}

.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Combine original glows with the grid lines */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 128, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
    z-index: -1;
}

/* Header & Navbar */
header {
    background: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--white);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 2.35rem;
    /* Increased 30% from 1.8rem */
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
    margin-bottom: 2px;
}

.logo-tagline {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    max-width: 280px;
    margin-top: 2px;
    text-wrap: balance;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 2px;
    border-right: 2px solid var(--primary);
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary)
    }
}

.logo-img {
    width: 187px;
    /* Increased 10% from 170px */
    height: 187px;
    object-fit: contain;
    /* Mirror Effect */
    -webkit-box-reflect: below 2px linear-gradient(transparent, transparent 50%, rgba(255, 255, 255, 0.15));
    margin-bottom: 25px;
    /* Space for the reflection */

    /* Contain with padding offers a much cleaner, balanced crop */
    padding: 8px;
    /* Adds breathing room around the logo edge */
    border-radius: 50%;

    /* Ultra Quality Rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;

    box-shadow: none;
    filter: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Animación de resplandor ultra-calidad cada 5 segundos */
    animation: periodic-glow-ultra 5s infinite ease-in-out;
}

.logo-img:hover {
    transform: scale(1.15);
    /* More impactful scale on hover */
}

@keyframes periodic-glow-ultra {

    0%,
    80%,
    100% {
        box-shadow: none;
        transform: scale(1);
    }

    90% {
        /* Multi-layered ultra-quality glow flare */
        box-shadow:
            0 0 25px rgba(0, 210, 255, 0.6),
            0 0 50px rgba(0, 210, 255, 0.3),
            0 0 80px rgba(255, 0, 128, 0.2);
        transform: scale(1.1);
        /* Subtle pulse during the flare */
    }
}

/* Removed old logo span styles */

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3001;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-block;
}

#langToggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 3000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

#langToggle:hover {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.binary-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.binary-canvas.active {
    opacity: 1;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00A3FF);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* Hero Section */
.hero {
    padding: 280px 2rem 100px;
    /* Increased top padding from 180px to 280px */
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #94A3B8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-label {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 0;
    /* Remove padding to let image reach edges */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    overflow: hidden;
    /* Clips the image and content to card radius */
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: 2rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(17, 24, 39, 0.9);
}

.hero-videos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    max-width: 610px;
    /* Increased 35% from 450px */
    width: 100%;
    margin-left: auto;
    /* Aligns to the right */
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.3), rgba(255, 0, 128, 0.3));
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: var(--transition);
    max-width: 540px;
    /* Increased 35% from 400px */
    /* Individual video cap */
}

.video-wrapper:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 210, 255, 0.2);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 19px;
    /* aspect-ratio can fail in older browsers, video's intrinsic ratio works as fallback */
    aspect-ratio: 16/9;
    object-fit: cover;
    /* Escala el video para ocultar la marca de agua (ej. VEO/Veed) en los bordes */
    transform: scale(1.15);
}

/* video-label removed to keep videos unobstructed */

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(255, 0, 128, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Footer style */
footer {
    padding: 100px 2rem 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

/* Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 150px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        margin: 0 auto 3rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 17, 32, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 24px;
    width: 100%;
    max-width: 550px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    background: linear-gradient(90deg, #FFFFFF, var(--text-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating Action Button */
.floating-action {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 60px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--primary), #00A3FF);
    color: var(--bg-dark);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px var(--primary-glow);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    gap: 10px;
}

.floating-action svg {
    width: 24px;
    height: 24px;
}

.floating-action:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px var(--primary-glow);
}


/* Founder Section */
/* Founder Modal */
.founder-modal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.founder-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founder-quote {
    position: relative;
    padding: 0 1rem;
}

.founder-quote p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

.founder-meta {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.founder-role {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
}

.founder-image-wrapper {
    position: relative;
    max-width: 320px;
    margin-bottom: 1rem;
}

.founder-img {
    width: 100%;
    border-radius: 20px;
    z-index: 2;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.founder-image-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: 1;
}

@media (min-width: 768px) {
    .founder-modal-container {
        flex-direction: row;
        gap: 3rem;
        text-align: left;
    }

    .founder-image-wrapper {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .founder-quote {
        padding-left: 2rem;
        border-left: 2px solid var(--primary);
    }
}



.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

/* Social Icons Navbar in Footer */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 63px;
    /* 45px * 1.4 */
    height: 63px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon svg {
    width: 28px;
    /* 20px * 1.4 */
    height: 28px;
}

/* Brand Colors */
.social-icon[aria-label="Facebook"] {
    color: #1877F2;
    border-color: rgba(24, 119, 242, 0.2);
}

.social-icon[aria-label="Facebook"]:hover {
    background: #1877F2;
    color: var(--white);
    border-color: #1877F2;
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.4);
}

.social-icon[aria-label="Instagram"] {
    color: #E4405F;
    border-color: rgba(228, 64, 95, 0.2);
}

.social-icon[aria-label="Instagram"]:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(214, 36, 159, 0.4);
}

.social-icon[aria-label="LinkedIn"] {
    color: #0A66C2;
    border-color: rgba(10, 102, 194, 0.2);
}

.social-icon[aria-label="LinkedIn"]:hover {
    background: #0A66C2;
    color: var(--white);
    border-color: #0A66C2;
    box-shadow: 0 10px 20px rgba(10, 102, 194, 0.4);
}

.social-icon[aria-label="WhatsApp"] {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.2);
}

.social-icon[aria-label="WhatsApp"]:hover {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.social-icon[aria-label="Nextdoor"] {
    color: #00B53F;
    border-color: rgba(0, 181, 63, 0.2);
}

.social-icon[aria-label="Nextdoor"]:hover {
    background: #00B53F;
    color: var(--white);
    border-color: #00B53F;
    box-shadow: 0 10px 20px rgba(0, 181, 63, 0.4);
}

/* Responsive Design */

/* Tablets and small laptops */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 15rem;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .hero-videos {
        margin: 0 auto;
        max-width: 500px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background: rgba(11, 17, 32, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 3000;
        border-left: 1px solid var(--primary);
        
        /* Unfold effect initial state */
        transform: perspective(1000px) rotateY(-90deg);
        transform-origin: right;
        opacity: 0;
        visibility: hidden;
    }

    .nav-links.active {
        transform: perspective(1000px) rotateY(0deg);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.4rem;
        color: var(--white);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        transition: var(--transition);
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        opacity: 0;
        transform: translateX(20px);
        transition: 0.4s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active a:nth-child(1) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.4s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.5s; }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--primary);
    }

    #langToggle {
        top: 1.2rem;
        right: 4.5rem;
        /* Space for hamburger */
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    header nav {
        padding: 1rem;
    }

    .logo-name {
        font-size: 1.8rem;
    }

    .logo-img {
        width: 110px;
        /* Increased 10% from 100px */
        height: 110px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 2rem;
        width: 95%;
        margin: 1rem;
    }

    #langToggle {
        top: 1rem;
        right: 1rem;
        padding: 0.6rem 1rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-links div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns .btn {
        margin-left: 0 !important;
        width: 100%;
    }

    .video-label {
        font-size: 0.6rem;
        padding: 4px 10px;
    }

    .floating-action {
        bottom: 20px;
        right: 20px;
        height: 50px;
        padding: 0 18px;
        font-size: 1rem;
    }
}

/* Privacy Modal & Link Styles */
.btn-trigger-privacy:hover {
    opacity: 1 !important;
    text-shadow: 0 0 8px var(--primary-glow);
}

.privacy-section ul li {
    position: relative;
    padding-left: 20px;
}

.privacy-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    z-index: 5000;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
}

.cookie-banner.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cookie-content p a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1.25rem;
    }
    
    .cookie-banner.active {
        transform: translateY(0);
    }

    .cookie-content {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .cookie-btns {
        width: 100%;
        gap: 0.8rem;
    }

    .cookie-btns .btn {
        flex: 1;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Projects Showcase Gallery & Tech Stack */
.tech-stack-container {
    width: 100%;
    height: 220px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.tech-stack-label {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    pointer-events: none;
    opacity: 0.8;
}

.projects-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.project-item {
    background: rgba(17, 24, 39, 0.5);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: rgba(17, 24, 39, 0.8);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.project-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-item:hover .project-img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--white);
    font-weight: 700;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .tech-stack-container {
        height: 180px;
    }
    
    .projects-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .project-info {
        padding: 1.2rem;
    }
}
