:root {
    /* Primary Colors extracted from Logo */
    --accent-neon: #00d2ff;
    --accent-metallic: #00d2ff;
    --accent-neon-glow: rgba(0, 210, 255, 0.4);
    
    /* Backgrounds */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Text */
    --text-light: #ffffff;
    --text-muted: #a0a0b0;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 6rem;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    /* Subtle noise and gradient backdrop */
    background-image: 
        radial-gradient(circle at top right, rgba(0, 86, 224, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 210, 255, 0.1), transparent 40%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

main, footer {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Typography */
h1, h2, h3, h4 {
    color: #ffffff;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    text-align: center;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-main);
}

.primary-cta {
    background: linear-gradient(135deg, var(--accent-neon) 0%, #0080ff 100%);
    color: #000;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    box-shadow: 0 0 15px var(--accent-neon-glow);
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--accent-neon-glow);
}


/* Header (Light Theme Reference) */
.header {
    display: flex;
    align-items: center;
    padding: var(--space-md) 5%;
    background-color: transparent;
    position: relative;
    z-index: 10;
}

.logo-container {
    margin-right: var(--space-xl);
}

.brand-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-neon);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-neon);
}

/* Nav CTA specific style */
.nav-cta {
    background: transparent;
    border: 1px solid var(--accent-neon);
    color: var(--accent-neon) !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: rgba(0, 240, 255, 0.1);
}

/* Hero Reference Layout */
.reference-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl) 5%;
    min-height: 80vh;
    gap: var(--space-xl);
}

.hero-left-content {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-sub {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero-main-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    position: relative;
    letter-spacing: -1px;
}

.text-blue {
    color: var(--accent-neon);
}

.text-dark {
    color: #fff;
}

/* The neon shadow effect from the image */
.hero-main-title span {
    text-shadow: 2px 2px 0px rgba(0, 240, 255, 0.3);
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.btn-dark {
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #ffffff;
}

.btn-blue {
    background-color: var(--accent-metallic);
    color: #fff;
    border: 1px solid var(--accent-neon);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--accent-neon-glow);
}

.hero-footer-links {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    margin-top: 1rem;
}

.hero-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.hero-footer-links a:hover {
    color: var(--accent-neon);
}

.hero-right-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-img {
    max-width: 100%;
    height: auto;
    /* Blend the white background of the generated image */
    mix-blend-mode: screen; /* Changed from multiply for dark mode */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Social Proof Section */
.social-proof {
    padding: var(--space-lg) 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    opacity: 0.6;
}

.logo-placeholder {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-light);
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: var(--space-lg);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--accent-neon);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 20px;
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.author strong {
    display: block;
    color: var(--accent-neon);
    font-family: var(--font-heading);
}

.author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Ensure the booking section form fields look okay in light mode */
/* Impact Banner (Cost of Inaction) */
.impact-banner {
    padding: var(--space-xl) 0;
    position: relative;
}

.impact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.impact-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.impact-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.impact-left h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0;
}

.impact-right p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.impact-metric {
    font-family: var(--font-heading);
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--text-light) !important;
    border-left: 4px solid var(--accent-neon);
    padding-left: 1rem;
}

@media (max-width: 768px) {
    .impact-content {
        grid-template-columns: 1fr;
    }
}

/* Features (Split Screen Layout) */
.features {
    padding: var(--space-xl) 0;
}

.split-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.features-left h2 {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #fff 0%, var(--accent-metallic) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: var(--space-md) var(--space-lg);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: -10px 15px 30px var(--accent-neon-glow);
    border-color: var(--accent-neon);
}

.feature-item h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-right {
    height: 100%;
}

.feature-visual-placeholder {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(0,86,224,0.1) 0%, rgba(0,210,255,0.05) 100%);
    border: 1px dashed var(--accent-metallic);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-visual-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--accent-neon), transparent 30%);
    animation: rotate 10s linear infinite;
    opacity: 0.1;
}

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

.visual-content {
    background: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    z-index: 1;
    color: var(--accent-neon);
    font-family: var(--font-heading);
}

.calendly-container {
    width: 100%;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: var(--space-lg);
    box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.05), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
    color: var(--text-light);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.5);
    border-bottom-color: var(--accent-neon);
    box-shadow: inset 0 -2px 0 var(--accent-neon);
}

.form-submit {
    background: var(--accent-neon);
    color: #000;
    font-size: 1.1rem;
    padding: 1.2rem;
    margin-top: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-neon-glow);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-status {
    text-align: center;
    font-weight: 600;
    min-height: 24px;
}

.form-status.success { color: #00ff88; }
.form-status.error { color: #ff3366; }

/* Dynamic Swap Transitions */
.fade-transition {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

.fade-transition.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* Footer */
.footer {
    text-align: center;
    padding: var(--space-md);
    background-color: var(--bg-darker);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .final-cta-section > .container > div {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg) !important;
    }
    
    .booking-grid {
        grid-template-columns: 1fr;
    }
    .trust-content h2 {
        text-align: center;
    }
    .booking-subtitle {
        text-align: center;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: var(--space-md);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; /* simple mobile nav approach for landing page */
    }
    
    .z-bottom-right {
        margin: 0 auto;
    }
}

/* ---- Premium Animations & Reveals ---- */

/* Base Reveal Class */
.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Specific start positions for typography to look more like a gentle slide */
h1.reveal-element, h2.reveal-element {
    transform: translateY(20px);
}

/* Activated Reveal Class */
.reveal-element.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Micro-interactions & Premium Hovers */
.btn, .feature-item, .blog-item, .integration-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease !important;
    will-change: transform, box-shadow;
}

.integration-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px var(--accent-neon-glow);
    border-color: var(--accent-neon) !important;
}

/* Performance & Accessibility Safeguard */
@media (prefers-reduced-motion: reduce) {
    .reveal-element {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    .btn:hover, .feature-item:hover, .blog-item:hover {
        transform: none !important;
    }
    
    .hero-3d-img {
        animation: none !important;
        transform: none !important;
    }
}

/* ---- Ambient Background Animations (Floating Orbs) ---- */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0; /* Changed from -1 so it stays above the body background but behind other content */
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    mix-blend-mode: screen;
}

/* Primary Neon Orb */
.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.4), transparent 70%);
    top: -10%;
    left: -10%;
    animation: orbFloat1 25s infinite ease-in-out alternate;
}

/* Deep Blue Orb */
.orb-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 86, 224, 0.3), transparent 70%);
    bottom: -20%;
    right: -10%;
    animation: orbFloat2 30s infinite ease-in-out alternate;
}

/* Accent Glow Orb */
.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15), transparent 70%);
    top: 40%;
    left: 60%;
    animation: orbFloat3 20s infinite ease-in-out alternate;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15vw, 15vh) scale(1.2); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-20vw, -10vh) scale(1.1); }
}

@keyframes orbFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-15vw, 20vh) scale(1.3); }
}

/* Performance Guard for Orbs */
@media (prefers-reduced-motion: reduce) {
    .ambient-orb {
        animation: none !important;
        opacity: 0.1;
    }
}

/* ---- Cursor Spotlight ---- */
.cursor-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    margin-left: -300px; /* Center on cursor */
    margin-top: -300px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999; /* Float above everything */
    mix-blend-mode: screen;
    will-change: transform;
    transition: opacity 0.5s ease;
    opacity: 0;
}

body:hover .cursor-spotlight {
    opacity: 1;
}

/* ---- Premium Animated Gradient Text ---- */
.animated-gradient-text {
    background: linear-gradient(90deg, #00d2ff 0%, #00ff88 50%, #00d2ff 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShine 4s linear infinite;
    display: inline-block;
}

@keyframes gradientShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
