:root {
    --primary-gradient: linear-gradient(135deg, #ff0080, #ff4081, #8000ff);
    --secondary-gradient: linear-gradient(135deg, #0066ff, #00ccff);
    --dark-gradient: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.2);
    --neon-glow: 0 0 30px rgba(255, 0, 128, 0.6);
    --shadow-premium: 0 25px 50px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

/* --- TRANSLATION TOGGLE (Fixed) --- */
.translation-toggle {
    position: fixed;
    top: 24px;
    right: 30px;
    z-index: 1001; /* Must be higher than header */
}

.toggle-switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 3px;
    gap: 2px;
}

.toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: none !important;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.toggle-btn.active {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    transform: scale(1.05);
}

/* --- BACKGROUND SYSTEM (Optimized) --- */
/* 1. Force Layer 1 (Uniform Gradient) to be persistent */
#bgLayer1 {
    opacity: 1 !important;
    z-index: -2;

    /* CRITICAL: Override any JS that tries to move this layer */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important; /* Forces it to fill the screen viewport, not the page height */
    transform: none !important; /* Stops JS parallax movements */
}

/* 2. Hide unused layers to improve performance */
#bgLayer2, #bgLayer3, #bgLayer4 {
    display: none !important;
}

/* 3. Define the Uniform Background */
.bg-layer-1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Deep dark base with permanent magenta/blue glows */
    background: radial-gradient(circle at 15% 15%, rgba(255, 0, 128, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(0, 204, 255, 0.25) 0%, transparent 45%),
    linear-gradient(135deg, #050505 0%, #0a0a1a 100%);
    animation: gentlePulseBackground 10s ease-in-out infinite alternate;
}

@keyframes gentlePulseBackground {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.2);
    }
}

/* 4. Background Grid */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    opacity: 0.03;
    background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* --- PARTICLES --- */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind text, front of BG */
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float-particle-enhanced 25s infinite linear;
}

.particle.type-1 {
    background: rgba(255, 0, 128, 0.6);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.4);
}

.particle.type-2 {
    background: rgba(0, 204, 255, 0.6);
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.4);
}

.particle.type-3 {
    background: rgba(128, 0, 255, 0.6);
    box-shadow: 0 0 10px rgba(128, 0, 255, 0.4);
}

.particle.type-4 {
    background: rgba(255, 107, 53, 0.6);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}

@keyframes float-particle-enhanced {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: translateY(90vh) translateX(var(--drift, 0px)) rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translateY(50vh) translateX(calc(var(--drift, 0px) * 1.5)) rotate(180deg) scale(0.8);
    }
    90% {
        opacity: 0.4;
        transform: translateY(10vh) translateX(calc(var(--drift, 0px) * 2)) rotate(315deg) scale(1.2);
    }
    100% {
        transform: translateY(-10vh) translateX(calc(var(--drift, 0px) * 2.5)) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* --- LAYOUT & SECTIONS --- */

/* Section Animation Wrapper */
.section-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* --- HEADER --- */
.logo-link img {
    /* Inverts colors to make darks light, and ensures high brightness */
    filter: brightness(0) invert(1);
    opacity: 0.9; /* Slightly soften it so it's not jarring */
    transition: opacity 0.3s ease;
}

.logo-link:hover img {
    opacity: 1; /* Full white on hover */
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.cta-button:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: transparent !important;
    position: relative;
    z-index: 1;
    overflow: hidden !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2) !important;
    z-index: 0;
}

/* Hero Blobs */
.hero-cursor-follower {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 0, 128, calc(0.05 + var(--mouse-color-strength, 0.1) * 0.5)) 0%, transparent 70%);
    transition: all 0.4s ease;
    animation: gentlePulse 8s ease-in-out infinite;
}

.hero-cursor-follower-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 70%;
    background: radial-gradient(circle, rgba(0, 204, 255, calc(0.04 + var(--mouse-color-strength, 0.1) * 0.4)) 0%, transparent 70%);
    animation-delay: -2s;
    animation-duration: 10s;
}

.hero-cursor-follower-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 35%;
    background: radial-gradient(circle, rgba(128, 0, 255, calc(0.03 + var(--mouse-color-strength, 0.1) * 0.6)) 0%, transparent 70%);
    animation-delay: -4s;
    animation-duration: 12s;
}

.hero-cursor-follower:first-child {
    top: 45%;
    left: 30%;
    width: 120px;
    height: 120px;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.code-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    overflow: hidden;
    white-space: pre;
    line-height: 1.4;
    animation: scroll-code 30s linear infinite;
}

@keyframes scroll-code {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-20%);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease;
}

.hero-text .code-highlight {
    color: #00ccff;
    font-family: 'JetBrains Mono', monospace;
}

.hero-text .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s 0.2s both;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s 0.4s both;
}

.tech-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s 0.6s both;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--neon-glow);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* --- TERMINAL --- */
.terminal-container {
    perspective: 1000px;
    animation: fadeInRight 1s 0.8s both;
}

.terminal {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    backdrop-filter: blur(20px);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-premium);
}

.terminal:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close {
    background: #ff5f56;
}

.btn-minimize {
    background: #ffbd2e;
}

.btn-maximize {
    background: #27ca3f;
}

.terminal-content {
    color: #00ff41;
    line-height: 1.4;
}

.terminal-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: typewriter 0.5s ease forwards;
}

.terminal-line:nth-child(1) {
    animation-delay: 1s;
}

.terminal-line:nth-child(2) {
    animation-delay: 1.5s;
}

.terminal-line:nth-child(3) {
    animation-delay: 2s;
}

.terminal-line:nth-child(4) {
    animation-delay: 2.5s;
}

@keyframes typewriter {
    to {
        opacity: 1;
    }
}

.cursor {
    display: inline-block;
    background: #00ff41;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* --- SERVICES --- */
.services {
    padding: 8rem 0;
    position: relative;
    background: transparent !important;
    z-index: 1;
    overflow: hidden !important;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2) !important;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-top: 4px solid;
}

.service-card:nth-child(1) {
    border-top-color: #ff0080;
}

.service-card:nth-child(2) {
    border-top-color: #0066ff;
}

.service-card:nth-child(3) {
    border-top-color: #00ccff;
}

.service-card:nth-child(4) {
    border-top-color: #8000ff;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-premium);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #ff0080, #ff4081);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #0066ff, #4081ff);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #00ccff, #40ccff);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #8000ff, #a040ff);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* --- WHY CHOOSE AXIS --- */
.why-choose {
    padding: 8rem 0;
    position: relative;
    background: transparent !important;
    z-index: 1;
    overflow: hidden !important;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2) !important;
    z-index: 0;
}

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

.why-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff88, #00cc66);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* --- STATS --- */
.stats {
    padding: 6rem 0;
    background: transparent !important;
    position: relative;
    z-index: 1;
    overflow: hidden !important;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2) !important;
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* --- METHODOLOGY --- */
.methodology {
    padding: 8rem 0;
    background: transparent !important;
    position: relative;
    z-index: 1;
    overflow: hidden !important;
}

.methodology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2) !important;
    z-index: 0;
}

.methodology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.methodology-visual {
    position: relative;
}

.process-flow {
    position: relative;
    height: 500px;
}

.process-step {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.process-step:hover {
    transform: scale(1.1);
    background: var(--primary-gradient);
    border-color: transparent;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.process-step:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.process-step:nth-child(2) {
    top: 25%;
    right: 0;
}

.process-step:nth-child(3) {
    bottom: 25%;
    right: 0;
}

.process-step:nth-child(4) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.process-step:nth-child(5) {
    bottom: 25%;
    left: 0;
}

.process-step:nth-child(6) {
    top: 25%;
    left: 0;
}

.methodology-text h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.methodology-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.methodology-features {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--secondary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* --- INDUSTRY LEADERS --- */
.industry-leaders {
    padding: 6rem 0;
    background: transparent !important;
    position: relative;
    z-index: 1;
    overflow: hidden !important;
}

.industry-leaders::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2) !important;
    z-index: 0;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logo-item {
    padding: 1.5rem;
    width: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
}

.logo-item img, .logo-placeholder {
    max-width: 200px;
    max-height: 100px;
    filter: grayscale(100%) brightness(0.4);
    transition: all 0.3s ease;
}

.logo-item:hover img, .logo-item:hover .logo-placeholder {
    filter: grayscale(0%) brightness(0.8);
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 8rem 0;
    text-align: center;
    background: transparent !important;
    position: relative;
    z-index: 1;
    overflow: hidden !important;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2) !important;
    z-index: 0;
}

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

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- FOOTER --- */
.footer {
    background: transparent !important;
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden !important;
    z-index: 1;
}

/* 2. Completely hide the moving animation div inside the footer */
/* This stops the "infinite scroll" chase caused by JavaScript */
.footer .section-animation {
    display: none !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3) !important;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff0080;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .lang-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
}

.footer-bottom .lang-link.active {
    color: #ffffff;
    font-weight: bold;
    cursor: default;
}

.footer-bottom .lang-link:hover:not(.active) {
    color: #ffffff;
}


/* --- GLOBAL ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- RESPONSIVE MEDIA QUERIES (Unified) --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .process-flow {
        height: 300px;
    }

    .process-step {
        width: 80px;
        height: 80px;
        font-size: 0.7rem;
    }

    .step-number {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }

    .logo img {
        height: 32px;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        padding: 6rem 0 4rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        text-align: center;
    }

    /* Grid Layouts */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .terminal {
        transform: none;
        margin: 0 auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 5rem 0 3rem;
    }

    .hero-content {
        padding: 0 1rem;
        gap: 2.5rem;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 10vw, 2.8rem);
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .tech-stack {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .tech-item {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .btn-primary, .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .terminal {
        padding: 1rem;
        font-size: 0.8rem;
    }

    .container {
        padding: 0 1rem;
    }
}
/* =========================================
   FORM PAGE STYLES
   ========================================= */

.form-wrapper {
    padding: 120px 0 60px 0;
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
}

.form-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.form-container {
    background: rgba(255, 255, 255, 0.03); /* Extremely subtle glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px); /* This creates the premium blur effect */
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.form-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2); /* Darker inner sections for contrast */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.form-section h2 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
    border-image: var(--primary-gradient) 1;
    font-family: 'JetBrains Mono', monospace;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.required::after {
    content: " *";
    color: #ff4081;
}

/* Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff0080;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(255, 0, 128, 0.2);
}

/* Checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 0, 128, 0.3);
}

/* Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-submit {
    background: var(--primary-gradient);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--neon-glow);
}

.btn-back {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: 1.2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-3px);
}

.success-message {
    display: none;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .form-wrapper { padding-top: 100px; }
    .form-container { padding: 1.5rem; }
    .form-actions { flex-direction: column; }
    .btn-back, .btn-submit { width: 100%; }
}

/* =========================================
   CHECKBOX & RADIO FIXES
   ========================================= */

/* 1. Reset the "width: 100%" that is breaking the layout */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: 20px !important;  /* Set a fixed, comfortable size */
    height: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0;          /* Prevent it from getting squashed */
    accent-color: #ff0080;   /* Uses your brand pink for the checkmark */
    cursor: pointer;
    background: transparent;
    border: none;
    box-shadow: none;        /* Remove the glow effect from text inputs */
}

/* 2. Style the Container (The "Card") */
.checkbox-item, .radio-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; /* Align left, don't spread apart */
    gap: 15px;                   /* Space between checkbox and text */

    padding: 1rem 1.2rem;
    min-height: 60px;            /* Ensures consistent height */

    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* 3. Hover Effect */
.checkbox-item:hover, .radio-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ff0080;
    transform: translateY(-2px);
}

/* 4. Fix the Label Text */
.checkbox-item label, .radio-item label {
    margin: 0 !important;      /* Remove default bottom margin */
    font-size: 0.95rem;
    line-height: 1.3;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;                   /* Allow text to fill the rest of the card */
    pointer-events: none;      /* Makes clicking the text trigger the parent box */
}
