/* =====================================================
   I72rugoA - Premium Dark Mode Landing Page
   Color Principal: Electric Blue (#3B82F6)
   ===================================================== */

/* =====================================================
   RESET & BASE
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Backgrounds */
    --bg-primary: #000000;
    --bg-secondary: #09090B;
    --bg-tertiary: #18181B;

    /* Primary Color Scale (Electric Blue) */
    --primary-50: #EFF6FF;
    --primary-100: #DBEAFE;
    --primary-200: #BFDBFE;
    --primary-300: #93C5FD;
    --primary-400: #60A5FA;
    --primary-500: #3B82F6;
    --primary-600: #2563EB;
    --primary-700: #1D4ED8;
    --primary-800: #1E40AF;
    --primary-900: #1E3A8A;

    /* Primary RGB for opacity */
    --primary-rgb: 59, 130, 246;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-tertiary: #A1A1AA;
    --text-quaternary: #71717A;

    /* Accent Colors */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   PARTICLE SYSTEM
   ===================================================== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-particle 20s infinite ease-in-out;
    opacity: 0.4;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        transform: translate(100px, -100px);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50px, -200px);
        opacity: 0.6;
    }

    75% {
        transform: translate(-100px, -100px);
        opacity: 0.8;
    }
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Real Logo Image Styles - Logo_black.png */
.logo-img {
    height: 70px;
    width: auto;
    border-radius: 8px;
    filter: drop-shadow(0 0 25px rgba(0, 188, 212, 0.6));
    transition: var(--transition-smooth);
    cursor: pointer;
}

.logo-img:hover {
    filter: drop-shadow(0 0 40px rgba(0, 188, 212, 0.9)) drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
    transform: scale(1.08);
}

/* Legacy SVG styles (keep for compatibility) */
.logo-svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.6));
    transition: var(--transition-smooth);
}

.logo-svg:hover {
    filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.9));
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-400);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-500);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-300);
    margin-bottom: 24px;
}

.label-icon {
    font-size: 18px;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 76px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 30%, var(--primary-400) 60%, var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.5),
        0 4px 24px rgba(var(--primary-rgb), 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow:
        0 0 0 2px rgba(var(--primary-rgb), 0.8),
        0 8px 40px rgba(var(--primary-rgb), 0.6);
}

.btn-large {
    font-size: 18px;
    padding: 20px 40px;
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.6);
    transform: translateY(-2px);
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(var(--primary-rgb), 0.5),
            0 4px 24px rgba(var(--primary-rgb), 0.4),
            0 0 60px rgba(var(--primary-rgb), 0.3);
    }

    50% {
        box-shadow:
            0 0 0 2px rgba(var(--primary-rgb), 0.8),
            0 8px 40px rgba(var(--primary-rgb), 0.6),
            0 0 80px rgba(var(--primary-rgb), 0.5);
    }
}

/* =====================================================
   HERO VISUAL
   ===================================================== */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neural-network {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 40px rgba(var(--primary-rgb), 0.4));
}

.floating-sphere {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2) 0%, rgba(var(--primary-rgb), 0.1) 100%);
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.sphere-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.sphere-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.sphere-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }

    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.8), transparent);
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary-500), transparent);
    animation: scroll-move 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

@keyframes scroll-move {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(30px);
        opacity: 0;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   SOCIAL PROOF
   ===================================================== */
.social-proof {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-400);
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.5);
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-400);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Flip Card Container */
.service-card-flip {
    perspective: 1000px;
    height: 400px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

/* Front Side */
.service-card-front {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.04) 100%);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.service-icon-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    border-radius: 50%;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    transition: var(--transition-smooth);
}

.service-icon {
    width: 60px;
    height: 60px;
    color: var(--primary-400);
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.6));
}

.service-card-flip:hover .service-icon-container {
    transform: scale(1.1) rotateY(15deg);
    filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.8));
}

.service-title-front {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Back Side */
.service-card-back {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0.06) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    transform: rotateY(180deg);
}

.service-title-back {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-400);
    margin-bottom: 8px;
}

.service-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-300);
}

/* Glass Card (for back side) */
.glass-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.04) 50%, rgba(var(--primary-rgb), 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: 0 25px 50px -12px rgba(var(--primary-rgb), 0.35);
    transform: translateY(-4px);
}

/* =====================================================
   SOLUTIONS SECTION
   ===================================================== */
.solutions {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    padding: 40px;
    border-radius: 24px;
}

.solution-icon {
    font-size: 48px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.6));
}

.solution-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.solution-card p {
    font-size: 16px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.solution-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.2);
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-400);
}

.metric-label {
    font-size: 12px;
    color: var(--text-quaternary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-circle {
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    border-radius: 16px;
}

.about-logo-img {
    width: 100%;
    height: auto;
    max-width: 420px;
    border-radius: 12px;
    filter: drop-shadow(0 0 50px rgba(0, 188, 212, 0.7)) drop-shadow(0 0 25px rgba(59, 130, 246, 0.5));
    transition: var(--transition-smooth);
}

.about-circle:hover .about-logo-img {
    filter: drop-shadow(0 0 70px rgba(0, 188, 212, 0.9)) drop-shadow(0 0 35px rgba(59, 130, 246, 0.7));
    transform: scale(1.08);
}

.about-content {
    max-width: 600px;
}

.about-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    font-size: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.6));
}

.value-item h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* =====================================================
   CTA FINAL
   ===================================================== */
.cta-final {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-quaternary);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    border-radius: 8px;
    filter: drop-shadow(0 0 20px rgba(0, 188, 212, 0.5));
    transition: var(--transition-smooth);
}

.footer-logo-img:hover {
    filter: drop-shadow(0 0 30px rgba(0, 188, 212, 0.8)) drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    transform: scale(1.05);
}

.footer-logo .logo-svg {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.footer-links h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-400);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 8px;
    color: var(--primary-400);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: rgba(var(--primary-rgb), 0.2);
    border-color: rgba(var(--primary-rgb), 0.4);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    font-size: 14px;
    color: var(--text-quaternary);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-quaternary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    color: var(--primary-400);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 56px;
    }

    .section-title {
        font-size: 40px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 400px;
    }

    .services-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Optimization */
@media (max-width: 767px) {
    :root {
        --section-padding: 50px;
    }

    /* Container padding for mobile */
    .container {
        padding: 0 16px;
    }

    /* ===== NAVBAR MOBILE ===== */
    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 16px 24px;
        font-size: 16px;
        border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* ===== LOGO MOBILE ===== */
    .logo-img {
        height: 55px;
    }

    /* ===== HERO MOBILE ===== */
    .hero {
        padding-top: 90px;
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.15;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 32px;
    }

    .hero-label {
        font-size: 13px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta button {
        width: 100%;
        justify-content: center;
        padding: 18px 28px;
        font-size: 16px;
        min-height: 56px;
        /* Touch-friendly */
    }

    .hero-visual {
        height: 280px;
        margin-top: 40px;
    }

    .floating-sphere {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    /* ===== SECTIONS MOBILE ===== */
    .section-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }

    .section-label {
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* ===== STATS MOBILE ===== */
    .social-proof {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* ===== SERVICES MOBILE ===== */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card-flip {
        height: 320px;
    }

    .service-card-front,
    .service-card-back {
        border-radius: 20px;
    }

    .service-icon-container {
        width: 100px;
        height: 100px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-title-front,
    .service-title-back {
        font-size: 20px;
    }

    .service-description {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Mobile: tap to flip */
    .service-card-flip.active .service-card-inner {
        transform: rotateY(180deg);
    }

    /* ===== SOLUTIONS MOBILE ===== */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .solution-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .solution-card h3 {
        font-size: 20px;
    }

    .solution-card p {
        font-size: 15px;
    }

    .metric-value {
        font-size: 24px;
    }

    /* ===== ABOUT MOBILE ===== */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-circle {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .about-logo-img {
        max-width: 260px;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .value-item {
        gap: 12px;
    }

    .value-icon {
        font-size: 28px;
    }

    .value-item h4 {
        font-size: 16px;
    }

    .value-item p {
        font-size: 13px;
    }

    /* ===== CTA FINAL MOBILE ===== */
    .cta-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .cta-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .btn-large {
        font-size: 17px;
        padding: 18px 32px;
        min-height: 60px;
        /* Extra touch-friendly */
    }

    .cta-note {
        font-size: 13px;
        margin-top: 16px;
    }

    /* ===== FOOTER MOBILE ===== */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo-img {
        height: 50px;
    }

    .footer-tagline {
        font-size: 14px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-links a {
        font-size: 15px;
    }

    .social-links {
        justify-content: center;
    }

    .social-links a {
        width: 44px;
        height: 44px;
        /* Touch-friendly */
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        font-size: 13px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }

    /* ===== PERFORMANCE OPTIMIZATIONS ===== */
    .particle:nth-child(n+15) {
        display: none;
        /* Reduce to 15 particles on mobile */
    }

    /* Reduce animations for better performance */
    .glass-card {
        backdrop-filter: blur(16px) saturate(150%);
        -webkit-backdrop-filter: blur(16px) saturate(150%);
    }

    /* Simplify shadows on mobile */
    .btn-primary {
        box-shadow:
            0 0 0 1px rgba(var(--primary-rgb), 0.4),
            0 4px 20px rgba(var(--primary-rgb), 0.3);
    }

    /* Touch feedback */
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
    }

    .service-card-flip:active {
        opacity: 0.95;
    }
}

/* Desktop XL */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 84px;
    }
}

/* =====================================================
   CONTACT MODAL
   ===================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: auto;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.04) 50%, rgba(var(--primary-rgb), 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-tertiary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-400);
}

.modal-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-tertiary);
    margin-bottom: 32px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 32px;
}

.form-check input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-500);
}

.form-check label {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.form-check a {
    color: var(--primary-400);
    text-decoration: none;
}

.form-check a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-status {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: #EF4444;
    /* Red color for errors */
}

/* Mobile adjustments for modal */
@media (max-width: 767px) {
    .modal-content {
        width: 95%;
        padding: 24px;
        margin: 20px auto;
    }
}