:root {
    /* Brand Colors - High-End Dark Tech Aesthetic */
    --color-bg: #050505;
    --color-surface: #121212;
    --color-surface-hover: #1e1e1e;

    --color-primary: #3b82f6;
    /* Electric Blue */
    --color-primary-dark: #2563eb;
    --color-accent: #8b5cf6;
    /* Violet Gradient Accent */

    --color-text: #f3f4f6;
    --color-text-muted: #9ca3af;

    /* Functional */
    --color-success: #10b981;
    --color-danger: #ef4444;
    --border-color: rgba(255, 255, 255, 0.1);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

/* Header */
.site-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.nav-links a:hover {
    color: var(--color-text);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Intrepid Dark Gradient Background */
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, rgba(5, 5, 5, 0) 50%);
}

/* Background Animation Elements */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    animation: rotateBg 20s linear infinite;
    z-index: -1;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

/* Intrepid Card Hovers */
.feature-card {
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.feature-card:hover::after {
    transform: translateX(100%);
}

/* Scroll Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--color-text-muted);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 0px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 30px rgba(37, 211, 102, 0.6);
}

/* --- Visual Enhancements v2.2 (Fixed v2.8) --- */

/* 1. Hero Moving Background */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero_bg_tech_1768460643567.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

@keyframes heroPan {
    0% {
        background-position: center;
        transform: scale(1);
    }

    50% {
        background-position: 20% 50%;
        transform: scale(1.1);
    }

    100% {
        background-position: center;
        transform: scale(1);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: url('../img/hero_bg_tech_1768460643567.png') no-repeat center center/cover;
    opacity: 0.4;
    z-index: 0;
    animation: heroPan 30s infinite alternate linear;
    filter: brightness(0.6) contrast(1.2);
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* 2. 3D Glass Icons - FIXED SIZE */
.service-icon {
    width: 80px !important;
    max-width: 80px !important;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
}

.feature-card:hover .service-icon {
    transform: translateY(-10px) scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.6));
}

/* 3. Infinite Results Carousel - FIXED TRACK */
.results-section {
    padding: 3rem 0;
    background: #000;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-track {
    display: flex;
    width: max-content;
    /* Fixes stacking issue */
    animation: scroll 30s linear infinite;
    gap: 20px;
}

.result-item {
    width: 300px;
    min-width: 300px;
    /* Prevents squishing */
    height: 200px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.result-item:hover img {
    transform: scale(1.1);
}

.result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 1rem;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

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

    100% {
        transform: translateX(calc(-300px * 3 - 60px));
    }

    /* 3 items + gaps */
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Holographic Packages v2.4 --- */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card:nth-child(1):hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.feature-card:nth-child(2) {
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.feature-card:nth-child(2):hover {
    border-color: #00f0ff;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.feature-card:nth-child(3) {
    border: 1px solid rgba(168, 85, 247, 0.3);
    /* Prevent huge image blue border bleed */
    display: flex;
    flex-direction: column;
}

.feature-card:nth-child(3):hover {
    border-color: #a855f7;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

/* Neon Checkmarks */
.check-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: #e0e0e0;
}

.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff88;
}

/* Shine Button */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-shine:hover::after {
    left: 100%;
}

}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .site-header {
        height: auto;
        padding: 1rem 0;
        background: rgba(5, 5, 5, 0.95);
    }

    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links a.btn {
        display: block;
        width: 80%;
        margin: 0.5rem auto 0;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid var(--color-primary);
    }

    .logo img {
        height: 35px;
    }

    /* Adjust Hero for mobile header height */
    .hero {
        padding-top: 200px;
    }
}