/* ===== CSS Variables ===== */
:root {
    --primary: #1A2332;
    --secondary: #00FF88;
    --dark: #0D1219;
    --light: #ffffff;
    --gray: #8892A0;
    --glass-bg: rgba(26, 35, 50, 0.6);
    --glass-border: rgba(0, 255, 136, 0.2);
    --glass-light: rgba(255, 255, 255, 0.1);
    --glass-glow: rgba(0, 255, 136, 0.15);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Liquid Glass Design System ===== */
.glass-card {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(13, 18, 25, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 40px rgba(0, 255, 136, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 60px rgba(0, 255, 136, 0.1);
    transform: translateY(-4px);
}

.glass-nav {
    /* lighter translucent background with subtle blur */
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 100px;
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.glass-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, #00CC6A 100%);
    border: none;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    box-shadow: 
        0 6px 30px rgba(0, 255, 136, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.glass-label {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.glass-input {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.glass-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    outline: none;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.60rem;
    font-weight: 600;
    color: var(--light);
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--secondary);
}

.registered {
    font-size: 0.6em;
    vertical-align: super;
    color: var(--secondary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    border-radius: 100px;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 40px;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
    padding: 100px 40px 40px;
    transform: rotate(-8deg) scale(1.2);
    opacity: 0.7;
}

.grid-item .glass-card {
    height: 100%;
    border-radius: 16px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(0.8);
    transition: all 0.4s ease;
}

img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.grid-item:hover img {
    filter: brightness(0.9) saturate(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--dark) 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--light);
    text-shadow: 0 0 80px rgba(0, 255, 136, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--light);
    line-height: 1.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .line1 {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease-out 2.7s forwards;
}

.hero-content .line2 {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease-out 3.7s forwards;
}

/* ===== About Section ===== */
.about {
    padding: 120px 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--dark) 0%, var(--primary) 50%, var(--dark) 100%);
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.section-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 60px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    padding: 48px 32px;
    text-align: left;
    border-radius: 24px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--primary);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 60px rgba(0, 255, 136, 0.1);
}

.glass-card-light:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 80px rgba(0, 255, 136, 0.15);
}

.glass-card-accent {
    background: linear-gradient(135deg, var(--secondary) 0%, #00CC6A 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--primary);
    box-shadow: 
        0 8px 32px rgba(0, 255, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 60px rgba(0, 255, 136, 0.2);
}

.glass-card-accent:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 48px rgba(0, 255, 136, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 100px rgba(0, 255, 136, 0.3);
}

.glass-card-dark {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(13, 18, 25, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 40px rgba(0, 255, 136, 0.05);
}

.glass-card-dark:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 60px rgba(0, 255, 136, 0.1);
}

.card-number {
    font-size: 0.9rem;
    opacity: 0.7;
}

.value-card h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin: 20px 0;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* ===== Solutions Section ===== */
.solutions {
    padding: 120px 40px;
    background: linear-gradient(180deg, var(--dark) 0%, #0a0f14 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.solutions-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float-orb 12s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.3) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.25) 0%, transparent 70%);
    top: 50%;
    right: -50px;
    animation-delay: -4s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(100, 0, 255, 0.2) 0%, transparent 70%);
    bottom: -100px;
    left: 40%;
    animation-delay: -8s;
}

@keyframes float-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

.solutions-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
}

.solutions-header .section-label {
    display: inline-block;
    margin-bottom: 16px;
}

.solutions-subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    margin-top: 16px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.solution-card {
    position: relative;
    background: linear-gradient(145deg, rgba(26, 35, 50, 0.6) 0%, rgba(13, 18, 25, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: default;
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(0, 255, 136, 0.1);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-icon {
    position: relative;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.solution-icon svg {
    width: 100%;
    height: 100%;
    color: var(--secondary);
    transition: transform 0.4s ease;
}

.solution-card:hover .solution-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.icon-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.25) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(15px);
}

.solution-card:hover .icon-glow {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
}

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

.solution-content h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--gray);
    margin-bottom: 16px;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.solution-tags span {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 100px;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.solution-card:hover .solution-tags span {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.4);
}

.solution-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-line {
    transform: scaleX(1);
}

/* Staggered animation on load */
.solution-card:nth-child(1) { animation-delay: 0.1s; }
.solution-card:nth-child(2) { animation-delay: 0.2s; }
.solution-card:nth-child(3) { animation-delay: 0.3s; }

@media (max-width: 900px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .solutions {
        padding: 80px 24px;
    }
}

/* ===== Projects Section ===== */
.projects {
    padding: 120px 40px;
    background: var(--dark);
    position: relative;
}

.section-title-left {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.projects .section-label {
    display: block;
    max-width: 1200px;
    margin: 0 auto 16px;
    text-align: left;
    width: fit-content;
}

.projects-nav {
    position: absolute;
    right: 40px;
    top: 180px;
    display: flex;
    gap: 12px;
    display: none;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

.projects-slider-wrap {
    position: relative;
    max-width: 2000px;
    margin: 0 auto 60px;
}

.projects-slider-wrap::before,
.projects-slider-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    pointer-events: none;
    z-index: 3; /* above the cards for better visibility */
}

.projects-slider-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--dark) 0%, rgba(13,18,25,0) 100%);
}

.projects-slider-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--dark) 0%, rgba(13,18,25,0) 100%);
}

.projects-slider {
    display: flex;
    gap: 24px;
    max-width: 100%;
    margin: 0;
    overflow-x: auto; /* Allow scrolling */
    scroll-behavior: smooth; /* Native smooth scroll */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 20px 4px 20px 100px; /* Add padding to prevent shadow clipping and show partial first item */
}

.projects-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.projects-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Drag & touch interaction styles */
.projects-slider {
    touch-action: pan-y; /* allow vertical scrolling while horizontal drag is handled */
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none; /* prevent text selection while dragging */
    cursor: grab;
}

.projects-slider.dragging {
    cursor: grabbing;
    scroll-behavior: auto; /* immediate while dragging */
}

.projects-slider.dragging .project-card {
    transition: transform 0.12s linear; /* low-lag transform for real-time feedback */
}

.project-card {
    border-radius: 24px;
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    /* Premium easing for width expansion */
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    
    /* Smaller cards: show ~4 non-featured + 1 featured */
    flex: 0 0 calc((100% - 96px) / 5);
}

/* Smooth release animation */
.project-card.drag-releasing {
    transition: transform 0.32s cubic-bezier(0.2, 1, 0.22, 1);
}

.project-card:not(.featured) p,
.project-card:not(.featured) .project-image,
.project-card:not(.featured) .project-tag {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, 
                max-height 0.25s ease, 
                transform 0.25s ease,
                margin 0.25s ease,
                visibility 0s 0.25s;
}

/* Staggered content reveal for premium feel */
.project-card.featured .project-tag {
    opacity: 1;
    max-height: 100px;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.25s, 
                max-height 0.4s ease 0.2s, 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
                visibility 0s 0.2s;
}

.project-card.featured p {
    opacity: 1;
    max-height: 200px;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.35s, 
                max-height 0.45s ease 0.3s, 
                transform 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.35s,
                visibility 0s 0.3s;
}

.project-card.featured .project-image {
    opacity: 1;
    max-height: 500px;
    visibility: visible;
    transform: translateY(0);
    margin-top: 24px;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.45s, 
                max-height 0.5s ease 0.4s, 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.45s,
                margin 0.5s ease 0.4s,
                visibility 0s 0.4s;
}

.project-card.featured {
    /* Featured is roughly 2x the non-featured size */
    flex: 0 0 calc((100% - 96px) / 5 * 2 + 24px);
    /* Subtle glow on featured state */
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(0, 255, 136, 0.08);
}

.glass-card-project {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.7) 0%, rgba(13, 18, 25, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card-project:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 255, 136, 0.1);
}

.project-card.featured {
    position: relative;
    overflow: hidden;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.project-card h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
}

.glass-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
}

.project-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
    max-width: 350px;
}

.project-image {
    margin-top: auto;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
}

.project-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    filter: brightness(0.9);
    transition: all 0.4s ease;
}

.project-card:not(.featured) .project-image img {
    opacity: 0;
}

.project-card.featured .project-image img {
    opacity: 1;
    transition: opacity 0.5s ease 0.2s; /* Fade in with delay */
}

.project-card:hover .project-image img {
    filter: brightness(1);
    transform: scale(1.05);
}

.clients-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: nowrap;
    max-width: 1500px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-logo {
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.glass-logo:hover {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.2);
}

.logo-item span {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.3s ease;
}

.logo-item:hover span {
    color: var(--secondary);
}

/* ===== Careers Section ===== */
.careers {
    padding: 120px 40px;
    background: var(--dark);
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.careers-img .glass-card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
}

.careers-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: all 0.4s ease;
}

.careers-img:hover img {
    filter: brightness(1);
}

.careers-content {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
}

.glass-card-white {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 
        0 16px 64px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 80px rgba(0, 255, 136, 0.1);
    color: var(--primary);
}

.section-label-dark {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    background: rgba(26, 35, 50, 0.1);
    border-radius: 100px;
    border: 1px solid rgba(26, 35, 50, 0.2);
}

.careers-content h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 32px;
    line-height: 1.3;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--light);
}

/* ===== Footer ===== */
.footer {
    padding: 80px 40px 40px;
    background: var(--dark);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form input {
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--light);
    width: 100%;
    max-width: 350px;
    font-family: 'Inter', sans-serif; /* Usar Inter en inputs */
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.newsletter-form input::placeholder {
    color: var(--gray);
    font-family: 'Inter', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 6px 24px rgba(0,255,136,0.06);
}

.newsletter-form .btn-primary {
    width: fit-content;
    font-family: 'Inter', sans-serif; /* Usar Inter en botón */
    font-weight: 600;
}

.socials h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--gray);
}

.socials ul {
    list-style: none;
}

.socials li {
    margin-bottom: 12px;
}

.socials a {
    color: var(--light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: var(--secondary);
}

.credits {
    text-align: right;
}

.credits p {
    color: var(--gray);
    font-size: 0.9rem;
}

.heart {
    color: var(--secondary);
}

.footer-logo {
    text-align: center;
    padding: 60px 0;
    overflow: hidden;
}

.big-logo {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(6rem, 20vw, 18rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary) 0%, #00CC6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    position: relative;
}

.big-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.registered-big {
    font-size: 0.2em;
    vertical-align: super;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray);
    letter-spacing: 0.1em;
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 136, 0.4); }
}

.glass-card-accent {
    animation: glow 3s ease-in-out infinite;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .projects-slider {
        /* grid-template-columns: 1fr 1fr; removed */
    }

    .project-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .project-card.featured {
        flex: 0 0 calc((100% - 24px) / 2);
    }
    
    .project-card:last-child {
        display: block; /* Restore visibility if needed or relying on overflow */
        /* display: none; removed */
    }
    
    .careers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .careers-content {
        grid-column: 2 / 4;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .credits {
        grid-column: span 2;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }
    
    .header-inner {
        padding: 12px 20px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .btn-primary {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 100px 20px;
    }
    
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 80px 20px 20px;
    }
    
    .about, .projects, .careers, .footer {
        padding: 80px 20px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        min-height: 300px;
    }
    
    .projects-slider {
        /* grid-template-columns: 1fr; removed */
        padding: 16px 16px 20px;
    }

    .project-card {
        flex: 0 0 100%;
    }
    
    .project-card.featured {
        flex: 0 0 100%;
    }

    .project-card:not(.featured) {
        /* display: none; removed to allow carousel flow */
        display: flex; 
    }
    
    .projects-nav {
        position: static;
        justify-content: flex-end;
        max-width: 1200px;
        margin: 0 auto 24px;
    }

    .projects-slider-wrap::before,
    .projects-slider-wrap::after {
        width: 40px;
    }

    .project-card {
        padding: 20px;
        min-height: 280px;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .project-card h3 {
        font-size: 1.25rem;
    }

    .glass-tag {
        font-size: 0.75rem;
        padding: 6px 12px;
        align-self: flex-start;
    }

    .project-card p {
        max-width: none;
        font-size: 0.88rem;
    }

    .project-image img {
        height: 180px;
    }
    
    .careers-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .careers-content {
        grid-column: span 2;
        grid-row: auto;
        order: -1;
        padding: 40px 30px;
    }
    
    .careers-img:nth-child(n+6) {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .credits {
        grid-column: 1;
        text-align: left;
    }
    
    .clients-logos {
        gap: 16px;
        /* Allow wrapping on smaller screens to prevent overflow */
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 8px;
    }
    
    .logo-item {
        flex: 0 0 calc(50% - 16px);
        max-width: 260px;
        box-sizing: border-box;
        text-align: center;
    }
    
    .glass-logo {
        padding: 12px 16px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title, .section-title-left {
        font-size: 1.8rem;
    }
    
    .value-card h3 {
        font-size: 1.5rem;
    }
    
    .careers-content h2 {
        font-size: 1.5rem;
    }

    .project-card {
        padding: 18px;
    }

    .project-card h3 {
        font-size: 1.15rem;
    }

    .project-image img {
        height: 160px;
    }
    
    .big-logo {
        font-size: 4rem;
    }

    /* Make client logo items stack on small screens */
    .clients-logos {
        gap: 12px;
        padding: 8px 12px;
        justify-content: center;
    }

    .logo-item {
        flex: 0 0 100%;
        max-width: none;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 136, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ===== Selection ===== */
::selection {
    background: rgba(0, 255, 136, 0.3);
    color: var(--light);
}

/* ===== Custom Cursor ===== */
@media (pointer: fine) {
    html, body, body * {
        cursor: none !important;
    }
    
    .custom-cursor {
        width: 30px;
        height: 30px;
        border: 1px solid var(--secondary);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: width 0.3s, height 0.3s, background-color 0.3s, transform 0.1s, border-color 0.3s;
        will-change: transform, width, height, background-color, border-color;
        /* Removing easing on movement properties in JS, adding only for state changes */
    }
    
    .custom-cursor-dot {
        width: 6px;
        height: 6px;
        background-color: var(--secondary);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 10000;
        transform: translate(-50%, -50%);
        transition: transform 0.15s ease;
        will-change: transform;
    }

    .custom-cursor.hovered {
        width: 50px;
        height: 50px;
        background-color: rgba(0, 255, 136, 0.1);
        border-color: rgba(0, 255, 136, 0.5);
        animation: cursorPulse 1.2s ease-in-out infinite;
    }

    .custom-cursor-dot.hovered {
        animation: dotPulse 1.2s ease-in-out infinite;
    }

    .custom-cursor.clicking {
        animation: cursorClick 0.35s ease;
    }

    .custom-cursor-dot.clicking {
        animation: dotClick 0.35s ease;
    }

    .custom-cursor.dragging {
        border-style: dashed;
        animation: cursorDrag 0.8s linear infinite;
    }

    .custom-cursor-dot.dragging {
        animation: dotDrag 0.8s linear infinite;
    }

    @keyframes cursorPulse {
        0%, 100% { transform: translate(-50%, -50%) scale(1); }
        50% { transform: translate(-50%, -50%) scale(1.12); }
    }

    @keyframes dotPulse {
        0%, 100% { transform: translate(-50%, -50%) scale(1); }
        50% { transform: translate(-50%, -50%) scale(1.6); }
    }

    @keyframes cursorClick {
        0% { transform: translate(-50%, -50%) scale(1.15); }
        70% { transform: translate(-50%, -50%) scale(0.85); }
        100% { transform: translate(-50%, -50%) scale(1); }
    }

    @keyframes dotClick {
        0% { transform: translate(-50%, -50%) scale(1.8); }
        70% { transform: translate(-50%, -50%) scale(0.6); }
        100% { transform: translate(-50%, -50%) scale(1); }
    }

    @keyframes cursorDrag {
        0% { transform: translate(-50%, -50%) rotate(0deg) scale(1.05); }
        100% { transform: translate(-50%, -50%) rotate(360deg) scale(1.05); }
    }

    @keyframes dotDrag {
        0%, 100% { transform: translate(-50%, -50%) scale(1.2); }
        50% { transform: translate(-50%, -50%) scale(0.8); }
    }
}