/* --- Basic Reset & Liquid Glass Theme Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #030014;
    --primary-glow: #3FA7E1;
    --secondary-glow: #A149B8;
    --text-color: #f0f0f0;
    --text-muted: #a7a3b6;
    --font-family: 'Manrope', sans-serif;
    /* NEW: Custom properties for mouse-tracked effects, default to center */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
}

/* --- Liquid Aurora Background Effect --- */
body::before,
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80vmax;
    height: 80vmax;
    border-radius: 50%;
    z-index: -1;
    animation: rotate 20s linear infinite;
    opacity: 0.3;
}

body::before {
    background: radial-gradient(circle, var(--primary-glow), transparent 60%);
    transform: translate(-50%, -50%) translateX(-20%);
}

body::after {
    background: radial-gradient(circle, var(--secondary-glow), transparent 60%);
    transform: translate(-50%, -50%) translateX(20%);
    animation-delay: -10s;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) translateX(-20%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) translateX(-20%) rotate(360deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* --- Header & Navbar (Standard Glass Effect) --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 10px 0;
    background: rgba(12, 8, 43, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Other navbar, button, hero styles remain the same... */
.navbar,
.nav-logo,
.nav-menu,
.nav-link,
.hamburger,
.bar,
.cta-button,
.hero-section,
.hero-content,
.hero-headline,
.ai-typing,
.hero-subtitle {
    /* ... (Paste all your unchanged styles from these sections here for brevity) ... */
}

/* Ensure these common styles from the previous version are present */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-logo img {
    height: 50px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-glow);
}

.cta-button {
    background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
    color: #fff;
    padding: 12px 24px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    background-size: 200% 100%;
    transition: background-position 0.5s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-position: 100% 0;
    box-shadow: 0 0 20px var(--primary-glow), 0 0 40px var(--secondary-glow);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 40px 20px;
}

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

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(63, 167, 225, 0.5);
}

.ai-typing {
    background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    border-right: 3px solid var(--primary-glow);
    animation: blink 0.7s infinite;
    min-height: 60px;
    display: inline-block;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* --- Shared Section Styles --- */
.process-section,
.solutions-section,
.final-cta-section {
    padding: 100px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* ==========================================================
   ADVANCED LIQUID GLASS CARD (iOS 26 Style)
========================================================== */
.glass-interactive {
    position: relative;
    /* Crucial for positioning pseudo-elements */
    overflow: hidden;
    /* Hides the parts of the glow that go outside */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));

    /* ENHANCED backdrop-filter to "bend" colors */
    backdrop-filter: blur(12px) saturate(120%) brightness(110%);
    -webkit-backdrop-filter: blur(12px) saturate(120%) brightness(110%);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.glass-interactive:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.3);
}

/* ::before creates the INNER HIGHLIGHT that follows the mouse */
.glass-interactive::before {
    content: "";
    position: absolute;
    top: var(--mouse-y);
    left: var(--mouse-x);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    width: 300px;
    height: 300px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* ::after creates the LIVE BORDER REFLECTION */
.glass-interactive::after {
    content: "";
    position: absolute;
    top: var(--mouse-y);
    left: var(--mouse-x);
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: conic-gradient(from 0deg at 50% 50%,
            rgba(63, 167, 225, 0.5),
            rgba(161, 73, 184, 0.5),
            rgba(63, 167, 225, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    /* This creates the border mask */
    mask-image: radial-gradient(circle at center,
            transparent 0%,
            transparent calc(50% - 1px),
            black 50%,
            transparent 50.5%,
            transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center,
            transparent 0%,
            transparent calc(50% - 1px),
            black 50%,
            transparent 50.5%,
            transparent 100%);
}

.glass-interactive:hover::before,
.glass-interactive:hover::after {
    opacity: 1;
}

/* --- Section Content Application --- */
.process-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: left;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-glow);
    margin-right: 15px;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.6;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.solution-item {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.solution-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-glow);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* --- Footer and other sections --- */
/* ... (Paste your unchanged Footer, Form, Chatbot, and Responsive styles here) ... */
.final-cta-section .cta-content {
    padding: 40px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 30px;
}

.footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 8, 43, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-icons a {
    color: var(--text-muted);
    margin-right: 15px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-glow);
}

.footer-right p {
    color: var(--text-muted);
}

/* --- Forms & Chatbot (Glass Effect) --- */
.contact-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.contact-form-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-form-container {
    background: rgba(12, 8, 43, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
    border-radius: 16px;
}

/* ... (and so on for the rest of the styles) ... */