/* 
  Old code has been removed and replaced with the new design system.
*/

:root {
    --deep-neural-blue: #0a192f;
    --light-neural-blue: #112240;
    --lightest-neural-blue: #233554;
    --data-stream-silver: #ccd6f6;
    --light-silver: #a8b2d1;
    --cybernetic-teal: #64ffda;
    --teal-tint: rgba(100, 255, 218, 0.1);
    --scroll-bar-color: #8892b0;
    --shadow-color: rgba(2, 12, 27, 0.7);
    --font-sans: 'Roboto', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--light-silver) var(--deep-neural-blue);
    height: 100%;
}

/* --- Custom Cursor --- */
#custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--cybernetic-teal);
    box-shadow: 0 0 10px var(--cybernetic-teal), 0 0 20px var(--cybernetic-teal);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.1s ease-out;
}

#cursor-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

#cursor-path {
    stroke: var(--cybernetic-teal);
    stroke-width: 3px;
    fill: none;
    stroke-dasharray: 5 5;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* --- Neural Network Background --- */
.aurora {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Bokeh Effect Elements */
.aurora::before,
.aurora::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cybernetic-teal) 0%, transparent 70%);
    box-shadow: 0 0 15px var(--cybernetic-teal), 0 0 30px var(--cybernetic-teal);
}

.aurora::before {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 80%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    animation: bokeh-float-1 8s ease-in-out infinite;
}

.aurora::after {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    animation: bokeh-float-2 10s ease-in-out infinite;
}

@keyframes bokeh-float-1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-30px, 20px) scale(1.2);
        opacity: 0.6;
    }
}

@keyframes bokeh-float-2 {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(40px, -30px) scale(1.1);
        opacity: 0.7;
    }
}

/* Neural Network Nodes */
.aurora__item {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    filter: blur(1px);
    background: radial-gradient(circle, var(--cybernetic-teal) 0%, transparent 70%);
    box-shadow: 0 0 20px var(--cybernetic-teal), 0 0 40px var(--cybernetic-teal);
}

.aurora__item:nth-of-type(1) {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 15%;
    animation: neural-pulse-1 4s ease-in-out infinite;
}

.aurora__item:nth-of-type(2) {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    box-shadow: 0 0 20px #8b5cf6, 0 0 40px #8b5cf6;
    top: 40%;
    right: 25%;
    animation: neural-pulse-2 3.5s ease-in-out infinite;
}

.aurora__item:nth-of-type(3) {
    width: 6px;
    height: 6px;
    bottom: 30%;
    left: 30%;
    animation: neural-pulse-3 5s ease-in-out infinite;
}

.aurora__item:nth-of-type(4) {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    box-shadow: 0 0 20px #a855f7, 0 0 40px #a855f7;
    bottom: 60%;
    right: 20%;
    animation: neural-pulse-4 4.5s ease-in-out infinite;
}

/* Neural Network Pulse Animations */
@keyframes neural-pulse-1 {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
        filter: blur(1px);
    }
    50% { 
        transform: scale(1.5);
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes neural-pulse-2 {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
        filter: blur(1px);
    }
    50% { 
        transform: scale(1.8);
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes neural-pulse-3 {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.6;
        filter: blur(2px);
    }
    50% { 
        transform: scale(2);
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes neural-pulse-4 {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
        filter: blur(1px);
    }
    50% { 
        transform: scale(1.6);
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes neural-pulse-5 {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
        filter: blur(2px);
    }
    50% { 
        transform: scale(2.5);
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes neural-pulse-6 {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
        filter: blur(1px);
    }
    50% { 
        transform: scale(1.4);
        opacity: 1;
        filter: blur(0px);
    }
}

/* Additional Neural Network Animations */
@keyframes neural-pulse-random {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.4;
        filter: blur(2px);
    }
    50% { 
        transform: scale(1.8);
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes neural-flow {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    20% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        stroke-dashoffset: -100;
        opacity: 0;
    }
}

/* --- Scroll Animations: Elegant Emergence --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

.fade-up {
    transform: translateY(40px);
}

.section-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.is-visible .char {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.deepblue-text-reveal {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.is-visible .deepblue-text-reveal {
    clip-path: inset(0 0 0 0);
}


/* --- Particle Background --- */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- Layout & Container --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* --- Header & Navigation --- */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 1rem 0;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: top 0.3s;
}

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

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cybernetic-teal);
    text-decoration: none;
}

.glass-header nav ul {
    display: flex;
    list-style: none;
}

.glass-header nav ul li {
    margin-left: 2rem;
}

.glass-header nav ul li a {
    color: var(--data-stream-silver);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.glass-header nav ul li a:hover {
    color: var(--cybernetic-teal);
}

/* --- General Section Styling --- */
.page {
    padding: 100px 0;
    min-height: 70vh;
}

.section-title {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--data-stream-silver);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--cybernetic-teal);
}

/* --- Hero Section --- */
#hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 0;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--data-stream-silver);
    line-height: 1.1;
}

.hero-subtitle {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    color: var(--light-silver);
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    background: transparent;
    color: var(--cybernetic-teal);
    border: 1px solid var(--cybernetic-teal);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--teal-tint);
}

.cta-button i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* --- Solutions Section --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.solution-card {
    background: var(--light-neural-blue);
    padding: 2rem;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px -15px var(--shadow-color);
}

.solution-icon {
    font-size: 2.5rem;
    color: var(--cybernetic-teal);
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--data-stream-silver);
    margin-bottom: 1rem;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--light-silver);
}

/* --- DeepBlue Section --- */
.deepblue-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--light-neural-blue);
    padding: 3rem;
    border-radius: 4px;
}

.deepblue-logo {
    max-width: 150px;
    flex-shrink: 0;
}

.deepblue-text p {
    font-size: 1.1rem;
    color: var(--light-silver);
    max-width: 600px;
}

/* --- Clients Section --- */
.section-subtitle {
    text-align: center;
    color: var(--light-silver);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.client-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.client-marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.client-marquee-track:hover {
    animation-play-state: paused;
}

.client-card {
    background: rgba(10, 25, 47, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    padding: 2rem;
    min-width: 220px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-right: 2rem;
}

.client-card:hover {
    border-color: var(--cybernetic-teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(100, 255, 218, 0.2);
    background: rgba(10, 25, 47, 0.9);
}

.client-card img {
    max-height: 50px;
    max-width: 100%;
    filter: grayscale(100%) brightness(1.5);
    transition: filter 0.3s ease;
    margin-bottom: 1rem;
    object-fit: contain;
}

.client-card:hover img {
    filter: none;
}

.client-name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--light-silver);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.client-card:hover .client-name {
    opacity: 1;
    transform: translateY(0);
}

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

/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--lightest-neural-blue);
    color: var(--data-stream-silver);
    font-size: 1rem;
    font-family: var(--font-sans);
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--cybernetic-teal);
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--light-silver);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -15px;
    left: 0;
    font-size: 0.8rem;
    color: var(--cybernetic-teal);
}

#map {
    height: 100%;
    min-height: 400px;
    border-radius: 4px;
    filter: grayscale(100%) invert(90%) contrast(90%);
}

/* --- Footer --- */
.site-footer {
    background-color: #020c1b; /* Darker than main background for contrast */
    color: var(--light-silver);
    font-family: var(--font-sans);
    padding-top: 4rem;
    border-top: 1px solid var(--teal-tint);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 2.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--data-stream-silver);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    letter-spacing: -0.5px;
}

.footer-logo .logo-circle {
    width: 36px;
    height: 36px;
    margin-right: 12px;
}

.brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--light-silver);
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--lightest-neural-blue);
    border-radius: 50%;
    color: var(--light-silver);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--cybernetic-teal);
    border-color: var(--cybernetic-teal);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--data-stream-silver);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light-silver);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cybernetic-teal);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.contact-info li {
    display: flex;
    gap: 16px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--light-silver);
    align-items: flex-start;
    line-height: 1.6;
}

.contact-info li.address-item {
    align-items: flex-start;
}

.contact-info i {
    color: var(--cybernetic-teal);
    margin-top: 5px;
    flex-shrink: 0;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.address-content {
    flex: 1;
}

.address-content strong {
    color: var(--data-stream-silver);
    display: block;
    margin-bottom: 0.6rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.address-lines {
    color: var(--light-silver);
    line-height: 1.8;
    font-size: 0.9rem;
}

.contact-info a {
    color: var(--light-silver);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--cybernetic-teal);
}

.book-consultation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cybernetic-teal);
    color: #020c1b;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 0.6rem;
    width: 100%;
    margin-top: 0.5rem;
}

.book-consultation-btn i {
    transition: transform 0.3s ease;
}

.book-consultation-btn:hover {
    background-color: #64ffda;
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.3);
}

.book-consultation-btn:hover i {
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--teal-tint);
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--light-silver);
    background-color: rgba(2, 12, 27, 0.5);
}

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

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: var(--light-silver);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--cybernetic-teal);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .glass-header nav ul {
        display: none; /* Simplification for this example, a hamburger menu would be better */
    }
    
    .section-title {
        font-size: 2rem;
    }

    .deepblue-container, .contact-container {
        grid-template-columns: 1fr;
        flex-direction: column;
        padding: 2rem;
    }
    
    .deepblue-logo {
        margin-bottom: 2rem;
    }

    .contact-container {
        gap: 2rem;
    }
    
    #map {
        order: -1; /* Move map above form on mobile */
    }
} 

/* --- Shooting Stars --- */
#shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    background: var(--cybernetic-teal);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    box-shadow: 0 0 5px var(--cybernetic-teal), 0 0 10px var(--cybernetic-teal);
}

@keyframes shooting-1 {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(300px, -300px); opacity: 0; }
}

@keyframes shooting-2 {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(-400px, 400px); opacity: 0; }
}

@keyframes shooting-3 {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(500px, 200px); opacity: 0; }
} 

/* Enhanced Background with Depth */
body {
    background-color: var(--deep-neural-blue); /* Fallback */
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(100, 255, 218, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, var(--light-neural-blue) 0%, var(--deep-neural-blue) 70%);
    color: var(--data-stream-silver);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
    cursor: none;
} 