/* ===================================
   MINDERA TECH - CHARTE GRAPHIQUE
   Couleurs principales:
   - Primary: #6366f1 (Indigo)
   - Secondary: #8b5cf6 (Violet)
   - Accent: #0284c7 (Bleu profond)
   - Light: #f9fafb
   - Dark text: #0f172a
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #0284c7;
    --accent-light: #0ea5e9;
    
    /* Neutrals — spectre clair */
    --dark: #f9fafb;
    --dark-lighter: #f3f4f6;
    --gray-900: #ffffff;
    --gray-800: #e5e7eb;
    --gray-700: #d1d5db;
    --gray-600: #6b7280;
    --gray-500: #4b5563;
    --gray-400: #374151;
    --gray-300: #1f2937;
    --gray-200: #111827;
    --gray-100: #030712;
    --white: #0f172a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-lighter) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(2, 132, 199, 0.08) 100%);
    
    /* Typography */
    --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Syne', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark);
    color: var(--gray-400);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    border-radius: var(--radius-full);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gray-700);
    border-radius: var(--radius-full);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.06);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(249, 250, 251, 0.97);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 1px 0 #e5e7eb, 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 36px;
    height: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-400);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 24px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 10% 40%, rgba(99, 102, 241, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 55%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 5%, rgba(2, 132, 199, 0.06) 0%, transparent 45%);
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--dark), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.ai-brain {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}

.brain-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.neural-nodes .node {
    animation: nodeGlow 2s ease-in-out infinite;
}

.neural-nodes .node:nth-child(2) { animation-delay: 0.2s; }
.neural-nodes .node:nth-child(3) { animation-delay: 0.4s; }
.neural-nodes .node:nth-child(4) { animation-delay: 0.6s; }
.neural-nodes .node:nth-child(5) { animation-delay: 0.8s; }
.neural-nodes .node:nth-child(6) { animation-delay: 1s; }
.neural-nodes .node:nth-child(7) { animation-delay: 1.2s; }

.neural-nodes .node.central {
    animation: centralPulse 2s ease-in-out infinite;
}

@keyframes nodeGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes centralPulse {
    0%, 100% { r: 12; opacity: 1; }
    50% { r: 15; opacity: 0.8; }
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.float-card svg {
    color: var(--accent);
}

.card-1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: -10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

.card-4 {
    top: 48%;
    right: -5%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 13px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-600);
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollDown {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-400);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-400);
    font-size: 14px;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 14px;
}

.service-link:hover {
    color: var(--accent);
}

.service-link svg {
    transition: var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ===================================
   SOLUTIONS SECTION
   =================================== */
.solutions {
    padding: var(--section-padding) 0;
    background: var(--dark-lighter);
}

.solutions-showcase {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-item.reverse {
    direction: rtl;
}

.solution-item.reverse > * {
    direction: ltr;
}

.solution-visual {
    position: relative;
}

.solution-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.solution-mockup {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: var(--dark);
    border-bottom: 1px solid var(--gray-800);
}

.mockup-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.mockup-content {
    padding: 30px;
    min-height: 250px;
}

.mockup-chart {
    height: 120px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(2, 132, 199, 0.15));
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.mockup-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.35));
    clip-path: polygon(0 100%, 15% 60%, 30% 80%, 45% 40%, 60% 60%, 75% 20%, 90% 50%, 100% 30%, 100% 100%);
}

.mockup-lines .line {
    height: 12px;
    background: var(--gray-700);
    border-radius: 6px;
    margin-bottom: 12px;
}

.mockup-lines .line.short {
    width: 60%;
}

/* Chat Mockup */
.chat-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-bubble {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14px;
}

.chat-bubble.user {
    background: var(--gradient-primary);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
    background: var(--gray-700);
    color: var(--gray-200);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-typing {
    display: flex;
    gap: 6px;
    padding: 14px 18px;
    background: var(--gray-700);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    width: fit-content;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    background: var(--gray-500);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Vision Mockup */
.vision-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-frame {
    width: 100%;
    height: 200px;
    background: var(--dark);
    border: 2px solid var(--gray-700);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.detection-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    animation: detectPulse 1.5s infinite;
}

.detection-box::before,
.detection-box::after {
    content: '';
    position: absolute;
    background: var(--accent);
}

.detection-box::before {
    width: 10px;
    height: 2px;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.detection-box::after {
    width: 2px;
    height: 10px;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes detectPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Solution Info */
.solution-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.solution-info h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.solution-info > p {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 24px;
}

.solution-features {
    margin-bottom: 32px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--gray-300);
}

.solution-features li svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-badge {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--white);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

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

.value-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-light);
}

.value-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.value-item p {
    font-size: 13px;
    color: var(--gray-500);
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-image {
    position: relative;
}

.image-frame {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(2, 132, 199, 0.04));
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}

.team-svg {
    width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}

.exp-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   TECHNOLOGIES SECTION
   =================================== */
.technologies {
    padding: 60px 0;
    background: var(--dark-lighter);
    overflow: hidden;
}

.technologies .section-header {
    margin-bottom: 40px;
}

.tech-carousel {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.tech-track {
    display: flex;
    gap: 30px;
    animation: scroll 25s linear infinite;
    width: max-content;
}

.tech-item {
    flex-shrink: 0;
    padding: 16px 32px;
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.tech-item:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

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

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--dark);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-badge {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-text {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary-light);
}

.contact-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray-400);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.social-link:hover svg {
    color: var(--white);
}

/* Contact Form */
.contact-form-container {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-300);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--dark);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    margin-top: 8px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-lighter);
    padding: 20px 0;
    border-top: 1px solid var(--gray-800);
}

.footer-brand {
    text-align: center;
    max-width: 480px;
}

.footer-brand .footer-logo-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo {
    max-height: 80px;
    width: auto;
    mix-blend-mode: multiply;
}

.footer-description {
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 14px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-links li {
    color: var(--gray-500);
    font-size: 14px;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray-600);
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--primary-light);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-item,
    .solution-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info .section-title {
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(249, 250, 251, 0.99);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--gray-800);
    }
    
    .nav-links.active .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid var(--gray-800);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat-item {
        flex: 1;
        min-width: 100px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }
}
