/*
   ==========================================================================
   DESIGN SYSTEM 2026 - ULTRA-MODERN & IMMERSIVE
   ==========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    /* Dynamic Color System (Modern HSL) - DIGITAL EMERALD THEME */
    --accent-blue: 150 100% 50%;
    /* Primary: Cyber Emerald (Sharp Green) */
    --accent-purple: 230 60% 60%;
    /* Secondary: Deep Indigo/Slate (Professional Tech) */
    --bg-deep: 222 47% 7%;
    --bg-surface: 222 47% 11%;
    --text-primary: 210 40% 100%;
    /* Pure White */
    --text-muted: 215 20% 85%;
    /* Bright Gray */

    /* Advanced Glassmorphism 2.0 */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
    --glow-primary: 0 0 30px rgba(0, 255, 128, 0.2);

    /* Layout Tokens */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 4rem;
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --radius-lg: 24px;
    --radius-full: 100px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: hsl(var(--accent-blue)) transparent;
}

body {
    background-color: hsl(var(--bg-deep));
    color: hsl(var(--text-primary));
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-top: 120px;
    /* Moves start of web down */
}

/* UI Core: Loader 2026 */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background-color: #050505;
    background-image: radial-gradient(circle at 50% 50%, rgba(10, 20, 30, 0.8) 0%, #050505 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1s var(--transition-smooth), visibility 1s;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.logo-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle {
    /* Transition removed to sync perfectly with JS updates */
    stroke: hsl(var(--accent-blue));
    stroke-linecap: round;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

/* Global Logo Purification & Static Neon Animation */
img[src*="logo"],
.terminal-logo {
    display: block;
    margin: 0 auto;
    background: transparent;
    animation: neonPulsate 5s infinite ease-in-out;
    opacity: 1;
    pointer-events: none;
    transition: all 0.5s ease;
}



.hero-logo,
.loader-logo {
    display: block;
    margin: 0 auto;
    background: transparent !important;
    mix-blend-mode: screen !important;
    /* Smart Mask: Radial gradient fades out the square edges */
    -webkit-mask-image: radial-gradient(closest-side, black 60%, transparent 100%);
    mask-image: radial-gradient(closest-side, black 60%, transparent 100%);
    filter: contrast(1.5) brightness(0.9);
    opacity: 1 !important;
    pointer-events: none;
}

@keyframes neonPulsate {

    0%,
    100% {
        opacity: 0.9;
        transform: scale(1);
        filter: contrast(1.1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
        filter: contrast(1.1) brightness(1.2);
    }
}

.dna-visual-logo {
    width: 100% !important;
    max-width: 400px !important;
    filter: drop-shadow(0 0 50px rgba(0, 255, 128, 0.2)) !important;
}


.loader-logo {
    position: absolute;
    width: 130px !important;
    height: auto;
    z-index: 2;
}

.loader-progress {
    position: absolute;
    bottom: -40px;
    /* Moved slightly out of logo center for clarity */
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: hsl(var(--accent-blue));
    text-shadow: 0 0 10px rgba(0, 255, 128, 0.5);
    z-index: 3;
    pointer-events: none;
}

/* Navigation: Floating Capsule Header */
/* Navigation: Fixed Top Bar 2026 */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    padding: 0.8rem 2rem;
    background: rgba(11, 17, 32, 0.2);
    /* High Transparency */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    z-index: 1000;
    transition: all 0.4s var(--transition-smooth);
}

.glass-header:hover {
    border-color: rgba(0, 255, 128, 0.3);
    box-shadow: var(--glow-primary);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: hsl(var(--accent-blue));
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Massive & Attractive Hero Title */
/* Massive & Attractive Hero Title */
.hero-section h1.gradient-text {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Reduced Size User Req */
    line-height: 1.1;
    margin: 1.5rem 0;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: hsl(var(--accent-blue));
    /* Solid Emerald */
    text-shadow: none;
    /* User Req: No Glow */
    text-transform: uppercase;
    text-align: center;
    position: relative;
    /* Spotlight Effect behind text */
    background: none;
    /* User Req: No Spotlight */
}

.hero-logo {
    /* Significantly increased size per user request */
    width: clamp(240px, 30vw, 400px);
    margin-bottom: 2rem;
    /* Clean Green Image + Intensity Boost */
    filter: drop-shadow(0 15px 25px hsla(150, 100%, 50%, 0.4)) brightness(1.2) saturate(1.2);
}

body {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Reveal Animation - Unified System 2026 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.active-section,
.active-section .reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem;
    border-radius: var(--radius-full);
}

.nav-links a {
    text-decoration: none;
    color: hsl(var(--text-muted));
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.2);
}

/* Sections & Immersive Background */
.background-globes {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* Cleaner, Sharper Background 2026 - User Request */
    background: #050505;
    /* Deep, solid, clean dark background */
}

.globe {
    display: none;
}

.globe-1 {
    top: -10%;
    right: -5%;
    width: 60vw;
    height: 60vw;
    background: hsl(var(--accent-blue));
}

.globe-2 {
    bottom: -10%;
    left: -5%;
    width: 50vw;
    height: 50vw;
    background: hsl(var(--accent-purple));
}

.spa-section {
    padding: var(--spacing-xl) 0;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
}

.content-container {
    width: 100%;
    max-width: 100%;
    /* Full screen scaling */
    padding: 0 8%;
    margin: 0 auto;
}



/* Hero Section: The WOW Factor */
.hero-section {
    text-align: center;
    position: relative;
}

.hero-logo {
    width: 220px;
    margin-bottom: 3rem;
    animation: float 8s infinite ease-in-out;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.gradient-text {
    color: hsl(var(--accent-blue));
    text-shadow: 0 0 20px hsla(var(--accent-blue), 0.5);
}

.hero-description {
    font-size: 1.4rem;
    color: hsl(var(--text-muted));
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.2;
    /* User Req: Light in background */
    background: radial-gradient(closest-side, hsla(var(--accent-blue), 0.1), transparent);
    padding: 1rem;
    /* Ensure glow isn't cut off */
    border-radius: var(--radius-lg);
}

/* Buttons: 2026 Style */
.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1.2rem 3rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.btn-primary {
    background: hsl(var(--accent-blue));
    /* Emerald Green User Req */
    color: #000;
    border: 1px solid hsl(var(--accent-blue));
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: hsla(var(--accent-blue), 0.1);
    border-color: hsl(var(--accent-blue));
    color: #fff;
}

/* Cards: Interactive Depth */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: var(--radius-lg);
    transition: all 0.5s var(--transition-smooth);
    backdrop-filter: var(--glass-blur);
    height: 100%;
    display: flex;
    flex-direction: column;
    /* User Req: Highlight scroll cards */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* Fix text expansion */
    width: 100%;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
        /* Reduce padding significantly */
    }
}

.glass-card:hover {
    transform: translateY(-15px);
    border-color: hsl(var(--accent-blue));
    /* Highlight Border */
    background: hsla(var(--accent-blue), 0.1);
    /* User Req: Vibrant tint, no gray */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px hsla(var(--accent-blue), 0.3);
    /* Stronger Shadow/Glow */
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 255, 128, 0.3));
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 255, 128, 0.1);
    color: hsl(var(--accent-blue));
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: fit-content;
}

/* Cyber-Terminal Form */
.terminal-form-card {
    background: #000;
    border: 1px solid rgba(0, 255, 128, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 900px;
    margin: 4rem auto 0;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
}

.terminal-header {
    background: rgba(10, 14, 23, 0.8);
    /* 80% Transparency */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 14, 23, 0.8);
    /* 80% Transparency */
    backdrop-filter: blur(10px);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-r {
    background: #ff5f56;
}

.dot-y {
    background: #ffbd2e;
}

.dot-g {
    background: #27c93f;
}

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #555;
}

.terminal-body {
    padding: 3rem;
}

.terminal-logo-wrap {
    margin-bottom: 3rem;
    text-align: center;
}

.terminal-logo {
    width: 130px !important;
    height: auto;
    opacity: 0.8 !important;
    /* Slightly more visible in terminal */
}

.terminal-logo:hover {
    opacity: 1;
}

.input-line {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.prompt {
    color: hsl(var(--accent-blue));
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    padding-top: 10px;
}

.terminal-body input,
.terminal-body textarea {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    padding: 10px 0;
    transition: all 0.3s;
}

.terminal-body input:focus,
.terminal-body textarea:focus {
    outline: none;
    border-color: hsl(var(--accent-blue));
    background: rgba(0, 255, 128, 0.03);
}

.terminal-submit {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: 1px solid hsl(var(--accent-blue));
    color: hsl(var(--accent-blue));
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
}

.terminal-submit:hover {
    background: hsl(var(--accent-blue));
    color: #000;
    box-shadow: var(--glow-primary);
}

/* Detailed Services List 2026 */
.service-list {
    list-style: none;
    margin-top: 2rem;
}

.service-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: hsl(var(--text-muted));
    /* User Req: Light in background */
    background: radial-gradient(ellipse at center, hsla(var(--accent-purple), 0.05), transparent);
    transition: background 0.3s;
}

.service-list li:hover {
    background: radial-gradient(ellipse at center, hsla(var(--accent-purple), 0.1), transparent);
}

.service-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: hsl(var(--accent-blue));
    border-radius: 50%;
    box-shadow: 0 0 10px hsl(var(--accent-blue));
}

/* Footer Section */
footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    background: transparent;
}

.footer-copy {
    color: hsl(var(--text-muted));
    font-weight: 300;
}

/* Animations Library */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(2deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .content-container {
        padding: 0 5%;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    /* Mobile Menu: Horizontal Scrollable Pills */
    .nav-links {
        display: flex;
        /* Restore visibility */
        position: fixed;
        top: 3.5rem;
        /* Adjusted for smaller fixed header */
        /* Below header */
        left: 0;
        width: 100%;
        background: rgba(11, 17, 32, 0.95);
        backdrop-filter: blur(15px);
        padding: 1rem 5%;
        overflow-x: auto;
        /* Enable horizontal scroll */
        white-space: nowrap;
        justify-content: flex-start;
        /* Start from left */
        gap: 1rem;
        border-bottom: 1px solid var(--glass-border);
        z-index: 2000;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .nav-links::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .nav-links a {
        background: rgba(255, 255, 255, 0.08);
        /* More visible pills */
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Simplified for mobile demo */
    .cta-group {
        flex-direction: column;
    }

    .spa-section {
        padding: var(--spacing-lg) 0;
    }



    .terminal-body {
        padding: 1.5rem 1rem !important;
    }

    .terminal-header {
        padding: 0.8rem 1rem !important;
    }

    .terminal-form-card {
        margin: 2rem 0 0 !important;
        border-radius: 12px !important;
    }

    /* Mobile Vibrancy Boost */
    .globe {
        opacity: 0.8 !important;
        filter: blur(90px) !important;
    }

    /* Mobile Footer Visibility */
    footer {
        border-top: 1px solid rgba(255, 255, 255, 0.8) !important;
    }
}

/* WhatsApp Premium 2026 */
.whatsapp-premium {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.whatsapp-link {
    background: #25d366;
    padding: 1.2rem;
    border-radius: 50%;
    display: flex;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: 0.4s var(--transition-smooth);
    cursor: pointer;
}

.whatsapp-link:hover {
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-icon-svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Premium Back Button 2026 */
.back-link {
    text-decoration: none;
    color: hsl(var(--text-primary));
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.back-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.back-link:hover::before {
    transform: translateX(100%);
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: hsl(var(--accent-blue));
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    color: #fff;
    transform: translateX(-3px);
}

.back-link span {
    font-size: 1.2em;
    transition: transform 0.4s ease;
}

.back-link:hover span {
    transform: translateX(-3px);
}

/* --- DNA ANIMATION 2026 (REALISTIC 3D CSS) --- */
/* --- DNA ANIMATION 2026 (REALISTIC 3D CSS) --- */
.dna-container-3d {
    position: relative;
    width: 200px;
    height: 300px;
    /* Standard desktop height */
    margin: 0 auto;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: rotateDNA 14s linear infinite, floatDNA 6s ease-in-out infinite;
    display: block;
}

.base-pair {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80% !important;
    height: 1px;
    /* Pro: Ultra-thin elegant lines */
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), rgba(0, 170, 255, 0.5), transparent);
    transform-origin: center;
    box-shadow: none;
    /* Pro: No line glow, only dots */
    display: block;
}

.base-pair::before,
.base-pair::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    top: -2.5px;
    box-shadow: 0 0 10px #00ff88;
    animation: pulseDot 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
    /* Pro: Calculated staggered twinkle */
}

.base-pair::before {
    left: 0;
    background: #00ff88;
    box-shadow: 0 0 15px #00ff88;
}

.base-pair::after {
    right: 0;
    background: #00aaff;
    box-shadow: 0 0 15px #00aaff;
    animation-delay: calc(var(--i) * 0.1s + 1s);
    /* Pro: Offset phase */
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr 1.5fr !important;
        /* Force side-by-side */
        gap: 0.5rem !important;
    }

    .dna-container-3d {
        height: 200px !important;
        /* Compact mobile height */
        transform: scale(0.6);
        margin: 0 -20px 0 0;
    }

    .about-text h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }

    .about-text p {
        font-size: 0.95rem !important;
    }
}

@keyframes rotateDNA {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

/* Fallback / Legacy */
.dna-visual-img {
    display: none;
    /* Hide static image */
    width: 100%;
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 128, 0.4));
    animation: dnaFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes dnaFloat {
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* CYBER LAPTOP ANIMATION 2026 */