/* --- START OF FILE styles.css --- */

/* =========================================
   1. VARIABLES & ROOT SETTINGS
   ========================================= */
:root {
    /* Color Palette - Digital Lab Theme */
    --color-bg: #050505;
    --color-bg-alt: #0a0a0f;
    --color-bg-card: #13131f;

    --color-primary: #00f2ff;
    /* Electric Cyan */
    --color-primary-dark: #00c2cc;
    --color-secondary: #7000ff;
    /* Deep Neon Purple */
    --color-secondary-light: #9d4dff;

    --color-text-main: #ffffff;
    --color-text-muted: #a0a0b0;
    --color-text-dark: #050505;

    --color-accent: #ff0055;
    /* Alert/Action Red */
    --color-success: #00ff9d;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, #050505 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 100px;
    --border-radius: 12px;

    /* Effects */
    --shadow-neon: 0 0 20px rgba(0, 242, 255, 0.3);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Selection */
::selection {
    background: var(--color-primary);
    color: var(--color-bg);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* =========================================
   3. UTILITY CLASSES & ANIMATIONS
   ========================================= */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

/* Neon Glow Text */
.neon-text {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    /* Sci-fi sharp corners */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-fast);
    border: none;
    gap: 10px;
}

.btn-primary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-primary);
    z-index: -1;
    transition: var(--transition-fast);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    color: var(--color-bg);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
}

.btn-secondary {
    background: var(--color-secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--color-secondary-light);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.4);
}

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 5, 0.8);
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--color-primary);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 60px;
    width: auto;
    filter: invert(1) brightness(1.2);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-text-main);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.5);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-main);
}

.nav-close {
    display: none;
}

/* =========================================
   5. HERO SECTION (Index)
   ========================================= */
.hero-section {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 150px 0;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: radial-gradient(circle at center, #1a1a2e 0%, #050505 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    margin-bottom: 20px;
    border-radius: 20px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--color-secondary-light);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3D Floating Element in Hero */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 2;
    perspective: 1000px;
}

.cube-wrapper {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

@keyframes rotate {
    0% {
        transform: rotateX(0) rotateY(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* =========================================
   6. SERVICES SECTION
   ========================================= */
.section-title-wrapper {
    margin-bottom: 60px;
    text-align: center;
}

.section-title-wrapper h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-neon);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-link {
    color: var(--color-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    font-family: var(--font-heading);
}

.service-link i {
    transition: 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* =========================================
   7. PROCESS / LAB SECTION (Interactive)
   ========================================= */
.process-section {
    position: relative;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 2px solid var(--color-secondary);
    backdrop-filter: blur(5px);
}

.step-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
}

/* =========================================
   8. ROI DETECTOR (CALCULATOR)
   ========================================= */
.roi-section {
    background: linear-gradient(to right, var(--color-bg-card), #1a1a2e);
}

.roi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator-form .form-group {
    margin-bottom: 20px;
}

.calculator-form label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-primary);
}

.calculator-form input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: var(--font-heading);
    border-radius: 4px;
}

.calculator-form input:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.roi-results {
    text-align: center;
    padding: 30px;
    background: rgba(0, 242, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-primary);
}

.result-box h4 {
    color: var(--color-text-muted);
}

.result-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-success);
    font-family: var(--font-heading);
    text-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

/* =========================================
   9. TESTIMONIALS
   ========================================= */
.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 40px;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 350px;
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    scroll-snap-align: start;
    border-left: 4px solid var(--color-secondary);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-text-muted);
}

/* =========================================
   10. LEGAL PAGES & PAGE HEADERS
   ========================================= */
.page-header-section {
    padding: 180px 0 100px;
    background: var(--color-bg-card);
    position: relative;
    overflow: hidden;
}

#particles-js-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-title-animate {
    position: relative;
    z-index: 2;
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.breadcrumbs {
    position: relative;
    z-index: 2;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs i {
    margin: 0 10px;
    font-size: 0.8rem;
}

.legal-content-wrapper {
    background: var(--color-bg-card);
    padding: 60px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content h2 {
    color: var(--color-secondary-light);
    margin-top: 40px;
}

.legal-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #ccc;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #ccc;
}

/* =========================================
   11. CONTACT PAGE STYLES
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #3a008c 100%);
    padding: 50px;
    border-radius: var(--border-radius);
    color: white;
}

.contact-details-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-details-list i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-form-wrapper {
    background: var(--color-bg-card);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(5, 5, 5, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    margin-bottom: 20px;
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.btn-full {
    width: 100%;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.popup.active {
    opacity: 1;
    pointer-events: all;
}

.popup-content {
    background: var(--color-bg-card);
    padding: 50px;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-success);
    max-width: 400px;
    transform: scale(0.8);
    transition: var(--transition-fast);
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-success);
    margin-bottom: 20px;
}

/* =========================================
   12. FOOTER
   ========================================= */
.footer {
    background: #020202;
    padding: 80px 0 30px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col-title {
    color: var(--color-primary);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-link:hover {
    background: var(--color-primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--color-text-muted);
}

.footer-contact i {
    color: var(--color-primary);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* =========================================
   13. MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .roi-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-actions .btn {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
        backdrop-filter: blur(15px);
        border-left: 1px solid var(--color-primary);
    }

    .nav-menu.show-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
    }

    .hero-section {
        text-align: center;
        padding-top: 100px;
        height: auto;
        padding-bottom: 80px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .legal-content-wrapper {
        padding: 30px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- END OF FILE styles.css --- */