@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

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

body {
    font-family: 'Inter', sans-serif;
    max-width: 100vw;
    position: relative;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
    /* Default cursor remains visible */
}

html, body {
    max-width: 100vw !important;
    position: relative;
}

/* Fix all containers */
.container, .max-w-7xl, .max-w-6xl, .max-w-4xl, .max-w-3xl {
    max-width: 100%;
}

/* Luxury AI Cursor - Premium Design */
.ai-cursor {
    width: 22px;
    height: 22px;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    opacity: 0;
    left: 50%;
    top: 50%;
    will-change: transform, opacity;
}

.ai-cursor.active {
    opacity: 1;
    animation: luxuryCursorPulse 2.5s ease-in-out infinite;
}

/* Outer Ring - Luxury Glow */
.ai-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.95) 0%, rgba(6, 182, 212, 0.95) 100%);
    background-clip: padding-box;
    box-shadow: 
        0 0 0 1px rgba(20, 184, 166, 0.3),
        0 0 15px rgba(20, 184, 166, 0.6),
        0 0 30px rgba(20, 184, 166, 0.4),
        0 0 45px rgba(20, 184, 166, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    animation: luxuryRingRotate 3s linear infinite;
}

/* Inner Core - Premium Dot */
.ai-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ffffff 0%, rgba(20, 184, 166, 0.9) 50%, rgba(6, 182, 212, 0.8) 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(20, 184, 166, 1),
        0 0 25px rgba(6, 182, 212, 0.8),
        inset 0 0 4px rgba(255, 255, 255, 0.6);
    animation: luxuryCorePulse 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes luxuryCursorPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        filter: brightness(1.15);
    }
}

@keyframes luxuryRingRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        box-shadow: 
            0 0 0 1px rgba(20, 184, 166, 0.3),
            0 0 15px rgba(20, 184, 166, 0.6),
            0 0 30px rgba(20, 184, 166, 0.4),
            0 0 45px rgba(20, 184, 166, 0.2),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 0 0 1px rgba(20, 184, 166, 0.4),
            0 0 20px rgba(20, 184, 166, 0.8),
            0 0 40px rgba(20, 184, 166, 0.6),
            0 0 60px rgba(20, 184, 166, 0.3),
            inset 0 0 12px rgba(255, 255, 255, 0.15);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        box-shadow: 
            0 0 0 1px rgba(20, 184, 166, 0.3),
            0 0 15px rgba(20, 184, 166, 0.6),
            0 0 30px rgba(20, 184, 166, 0.4),
            0 0 45px rgba(20, 184, 166, 0.2),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
    }
}

@keyframes luxuryCorePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 8px rgba(255, 255, 255, 0.9),
            0 0 15px rgba(20, 184, 166, 1),
            0 0 25px rgba(6, 182, 212, 0.8),
            inset 0 0 4px rgba(255, 255, 255, 0.6);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        box-shadow: 
            0 0 12px rgba(255, 255, 255, 1),
            0 0 22px rgba(20, 184, 166, 1),
            0 0 35px rgba(6, 182, 212, 0.9),
            inset 0 0 6px rgba(255, 255, 255, 0.8);
    }
}

/* Hover State - Luxury Expansion */
.ai-cursor.hover {
    width: 36px;
    height: 36px;
}

.ai-cursor.hover::before {
    width: 36px;
    height: 36px;
    border-width: 2.5px;
    box-shadow: 
        0 0 0 2px rgba(20, 184, 166, 0.4),
        0 0 25px rgba(20, 184, 166, 0.9),
        0 0 50px rgba(20, 184, 166, 0.7),
        0 0 75px rgba(20, 184, 166, 0.5),
        0 0 100px rgba(20, 184, 166, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    animation: luxuryRingRotateHover 2s linear infinite;
}

.ai-cursor.hover::after {
    width: 8px;
    height: 8px;
    box-shadow: 
        0 0 12px rgba(255, 255, 255, 1),
        0 0 25px rgba(20, 184, 166, 1),
        0 0 40px rgba(6, 182, 212, 1),
        0 0 60px rgba(20, 184, 166, 0.8),
        inset 0 0 6px rgba(255, 255, 255, 0.9);
}

@keyframes luxuryRingRotateHover {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Luxury Cursor Trail */
.cursor-trail {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(20, 184, 166, 0.8) 40%, rgba(6, 182, 212, 0.6) 100%);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    box-shadow: 
        0 0 12px rgba(20, 184, 166, 0.8),
        0 0 24px rgba(20, 184, 166, 0.6),
        0 0 36px rgba(6, 182, 212, 0.4),
        inset 0 0 6px rgba(255, 255, 255, 0.5);
    transition: opacity 0.2s ease;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
}

.cursor-trail.active {
    opacity: 0.7;
    animation: luxuryTrailPulse 1.5s ease-in-out infinite;
}

@keyframes luxuryTrailPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.5;
    }
}

/* Luxury Cursor Particle Trail */
.cursor-particles {
    position: fixed;
    pointer-events: none;
    z-index: 9997;
}

.cursor-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(20, 184, 166, 0.95) 40%, rgba(6, 182, 212, 0.8) 100%);
    border-radius: 50%;
    opacity: 0.95;
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(20, 184, 166, 0.8),
        0 0 25px rgba(6, 182, 212, 0.6);
    animation: luxuryParticleFade 1.2s ease-out forwards;
    will-change: transform, opacity;
}

@keyframes luxuryParticleFade {
    0% {
        opacity: 0.95;
        transform: scale(1) translate(0, 0);
        box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(20, 184, 166, 0.8),
        0 0 25px rgba(6, 182, 212, 0.6);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3) translate(calc(var(--tx, 0) * 0.5), calc(var(--ty, 0) * 0.5));
        box-shadow: 
            0 0 12px rgba(255, 255, 255, 1),
            0 0 20px rgba(20, 184, 166, 0.9),
            0 0 35px rgba(6, 182, 212, 0.7);
    }
    100% {
        opacity: 0;
        transform: scale(0.2) translate(var(--tx, 0), var(--ty, 0));
        box-shadow: 
            0 0 4px rgba(20, 184, 166, 0.5),
            0 0 8px rgba(6, 182, 212, 0.3);
    }
}

/* Luxury Light Backgrounds */
.luxury-bg-light {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
}

.luxury-bg-section {
    background: linear-gradient(135deg, #ecfeff 0%, #e0f2fe 100%);
}

.luxury-bg-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(20, 184, 166, 0.1);
}

/* Gradient Styles - Teal Primary, Orange Secondary */
.gradient-bg {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
}

.gradient-bg-orange {
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation - Light Theme */
nav {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 250, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.05);
}

nav.scrolled {
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 250, 0.98) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

/* Nav Link Items */
.nav-link-item {
    position: relative;
    padding: 0.75rem 1.25rem;
    color: rgba(15, 23, 42, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    text-decoration: none;
}

.nav-link-item::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link-item:hover {
    color: #14b8a6;
    background: rgba(20, 184, 166, 0.1);
}

.nav-link-item:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link-item.active {
    color: #14b8a6;
    background: rgba(20, 184, 166, 0.15);
}

.nav-link-item.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-menu-btn {
    transition: all 0.3s ease;
}

#mobile-menu-btn:hover {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    overflow: hidden;
    will-change: transform;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    will-change: transform;
}

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

/* Hero Particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.3) 0%, rgba(6, 182, 212, 0.3) 100%);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
    animation: floatParticle 15s infinite ease-in-out;
    will-change: transform;
}

.particle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle-3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.particle-4 {
    width: 50px;
    height: 50px;
    top: 40%;
    left: 70%;
    animation-delay: 1s;
}

.particle-5 {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    animation-delay: 3s;
}

.particle-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 60%;
    animation-delay: 5s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, -50px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translate(-30px, 20px) scale(1.05);
        opacity: 0.7;
    }
}

/* Hero Grid Background */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(20, 184, 166, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
    z-index: 1;
    will-change: transform;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Arrow Animation */
.arrow-up {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-right: 3px solid #14b8a6;
    border-top: 3px solid #14b8a6;
    transform: rotate(45deg);
    margin-left: 15px;
    animation: bounceArrow 2s ease-in-out infinite;
    will-change: transform;
}

@keyframes bounceArrow {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-10px); }
}

/* Marquee Animation - Wire Style with Snake Movement */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    padding: 60px 0;
    border: none;
    background: transparent !important;
}

.marquee-wrapper {
    display: flex;
    width: 200%;
    align-items: center;
    position: relative;
    z-index: 2;
}

.marquee-content {
    display: flex;
    width: 100%;
    animation: marquee 40s linear infinite;
    align-items: center;
    position: relative;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Snake Wave Animation for Nodes - Reverse Pattern */
@keyframes snakeWave {
    0%, 100% { 
        transform: translateY(0);
    }
    25% { 
        transform: translateY(-20px);
    }
    50% { 
        transform: translateY(0);
    }
    75% { 
        transform: translateY(20px);
    }
}

@keyframes snakeWaveReverse {
    0%, 100% { 
        transform: translateY(0);
    }
    25% { 
        transform: translateY(20px);
    }
    50% { 
        transform: translateY(0);
    }
    75% { 
        transform: translateY(-20px);
    }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    margin: 0 50px;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-radius: 50px;
    border: 2px solid rgba(20, 184, 166, 0.3);
    font-weight: 600;
    color: #14b8a6;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
    transition: all 0.3s ease;
    z-index: 5;
    will-change: transform;
}

/* Snake movement - alternating up and down */
.marquee-item:nth-child(odd) {
    animation: snakeWave 3s ease-in-out infinite;
}

.marquee-item:nth-child(even) {
    animation: snakeWaveReverse 3s ease-in-out infinite;
}

/* Stagger animation delays for wave effect */
.marquee-item:nth-child(1) { animation-delay: 0s; }
.marquee-item:nth-child(2) { animation-delay: 0.15s; }
.marquee-item:nth-child(3) { animation-delay: 0.3s; }
.marquee-item:nth-child(4) { animation-delay: 0.45s; }
.marquee-item:nth-child(5) { animation-delay: 0.6s; }
.marquee-item:nth-child(6) { animation-delay: 0.75s; }
.marquee-item:nth-child(7) { animation-delay: 0.9s; }

.marquee-item:hover {
    transform: scale(1.05) translateY(0);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
    border-color: rgba(20, 184, 166, 0.5);
    animation-play-state: paused;
}

/* Wire Line Between Nodes Only (border to border) */
.marquee-item::before {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(20, 184, 166, 0.9) 0%, 
        rgba(20, 184, 166, 0.8) 25%,
        rgba(20, 184, 166, 0.7) 50%,
        rgba(20, 184, 166, 0.8) 75%,
        rgba(20, 184, 166, 0.9) 100%);
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 
        0 0 8px rgba(20, 184, 166, 0.6),
        0 0 15px rgba(20, 184, 166, 0.4);
    border-radius: 2px;
}

/* Animate wire with node movement */
.marquee-item:nth-child(odd)::before {
    animation: wireWave 3s ease-in-out infinite;
}

.marquee-item:nth-child(even)::before {
    animation: wireWaveReverse 3s ease-in-out infinite;
}

@keyframes wireWave {
    0%, 100% { transform: translateY(-50%) translateY(0); }
    25% { transform: translateY(-50%) translateY(-20px); }
    50% { transform: translateY(-50%) translateY(0); }
    75% { transform: translateY(-50%) translateY(20px); }
}

@keyframes wireWaveReverse {
    0%, 100% { transform: translateY(-50%) translateY(0); }
    25% { transform: translateY(-50%) translateY(20px); }
    50% { transform: translateY(-50%) translateY(0); }
    75% { transform: translateY(-50%) translateY(-20px); }
}

.marquee-item:last-child::before {
    display: none;
}

/* Neon Circular Button in Center Between Nodes - Teal */
.marquee-node {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.marquee-node::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    box-shadow: 
        0 0 12px rgba(20, 184, 166, 0.9),
        0 0 24px rgba(20, 184, 166, 0.7),
        0 0 36px rgba(20, 184, 166, 0.5),
        0 0 48px rgba(20, 184, 166, 0.3),
        inset 0 0 12px rgba(255, 255, 255, 0.4);
    animation: neonPulseTeal 2s ease-in-out infinite;
    z-index: 10;
    will-change: transform, box-shadow;
}

@keyframes neonPulseTeal {
    0%, 100% { 
        box-shadow: 
            0 0 12px rgba(20, 184, 166, 0.9),
            0 0 24px rgba(20, 184, 166, 0.7),
            0 0 36px rgba(20, 184, 166, 0.5),
            0 0 48px rgba(20, 184, 166, 0.3),
            inset 0 0 12px rgba(255, 255, 255, 0.4);
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        box-shadow: 
            0 0 18px rgba(20, 184, 166, 1),
            0 0 36px rgba(20, 184, 166, 0.9),
            0 0 54px rgba(20, 184, 166, 0.7),
            0 0 72px rgba(20, 184, 166, 0.5),
            inset 0 0 18px rgba(255, 255, 255, 0.6);
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Animate neon dot with wire movement */
.marquee-node:nth-child(odd)::after {
    animation: neonPulseTeal 2s ease-in-out infinite, wireWave 3s ease-in-out infinite;
}

.marquee-node:nth-child(even)::after {
    animation: neonPulseTeal 2s ease-in-out infinite, wireWaveReverse 3s ease-in-out infinite;
}

/* Animation Classes - Consolidated */
.fade-in, .slide-in-left, .slide-in-right, .scale-in {
    will-change: transform, opacity;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.animate {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.animate {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.animate {
    opacity: 0;
    transform: translateX(50px);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 1;
    transform: scale(1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animate {
    opacity: 0;
    transform: scale(0.8);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.card-hover:hover::before {
    left: 100%;
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(20, 184, 166, 0.25);
}

/* Card Styles - Teal and Orange Gradients */
.card-purple, .card-blue {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 2px solid rgba(20, 184, 166, 0.15);
}

.card-pink, .card-yellow {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(251, 191, 36, 0.08) 100%);
    border: 2px solid rgba(249, 115, 22, 0.15);
}

/* Button Animations */
.btn-primary {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.5);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

/* Stats Counter Animation */
.stat-number {
    transition: all 0.5s ease;
}

/* Text Gradient Animation */
.gradient-text-animated {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
    will-change: background-position;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Hero Section Animations */
.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    animation: heroTitleFadeIn 1s ease-out;
}

.hero-line-1 {
    display: inline-block;
    animation: slideInLeft 0.8s ease-out;
}

.hero-line-2 {
    display: inline-block;
    animation: slideInRight 0.8s ease-out 0.3s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-h2 {
    animation: scaleIn 0.8s ease-out 0.7s both;
}

.hero-p1 {
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.hero-p2 {
    animation: fadeInUp 0.8s ease-out 1.1s both;
}

.hero-p3 {
    animation: fadeInUp 0.8s ease-out 1.3s both;
}

.hero-button {
    animation: fadeInScale 1s ease-out 1.5s both;
}

.hero-cta-btn {
    animation: pulseGlow 2s ease-in-out infinite 2s;
}

/* Consolidated Keyframes - Removed Duplicates */
@keyframes heroTitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(20, 184, 166, 0.6), 0 0 60px rgba(20, 184, 166, 0.4);
    }
}

/* Stagger Animation */
.stagger-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.stagger-item.animate {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Approach Cards Special Animation */
.approach-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-card:hover {
    transform: translateY(-15px) rotate(1deg);
}

.approach-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.approach-card:hover::after {
    opacity: 1;
}

/* Feature Icon Animation */
.feature-icon {
    transition: all 0.4s ease;
}

.card-hover:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

/* Testimonial Animation */
.testimonial-card {
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 80px;
    color: rgba(20, 184, 166, 0.1);
    font-family: Georgia, serif;
    transition: all 0.3s ease;
}

.testimonial-card:hover::before {
    color: rgba(20, 184, 166, 0.2);
    transform: scale(1.1);
}

/* Pricing Section Glow */
.pricing-glow {
    position: relative;
}

.pricing-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
    will-change: transform;
}

/* Contact Form Styles */
.contact-form-input {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-color: rgba(20, 184, 166, 0.2) !important;
    backdrop-filter: blur(10px);
    color: #1e293b;
}

.contact-form-input:hover {
    border-color: rgba(20, 184, 166, 0.6) !important;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15);
}

.contact-form-input:focus {
    border-color: #14b8a6 !important;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2), 0 4px 12px rgba(20, 184, 166, 0.25);
    transform: translateY(-2px);
}

.contact-form-input::placeholder {
    color: rgba(107, 114, 128, 0.6);
}

/* Form Label Gradient Icons */
.gradient-text {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Start Now Button Gradient Text */
.start-now-gradient {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Override for white background buttons - ensure gradient is visible */
.bg-white .start-now-gradient {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* For buttons with gradient background, use white text */
.btn-primary .start-now-gradient {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Luxury Toast Notification */
.luxury-toast-notification {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.luxury-toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(20, 184, 166, 0.3), 0 0 0 1px rgba(20, 184, 166, 0.1);
    min-width: 350px;
    max-width: 450px;
    border: 2px solid rgba(20, 184, 166, 0.2);
}

.luxury-toast-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.luxury-toast-icon i {
    color: white;
    font-size: 24px;
}

.luxury-toast-message {
    flex: 1;
}

.luxury-toast-title {
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 4px;
}

.luxury-toast-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.luxury-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.luxury-toast-close:hover {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

@media (max-width: 640px) {
    .luxury-toast-notification {
        right: 10px;
        left: 10px;
        top: 80px;
    }
    
    .luxury-toast-content {
        min-width: auto;
        max-width: 100%;
    }
}

/* FAQ Styles */
.faq-question {
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #14b8a6;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question i.rotate-180 {
    transform: rotate(180deg);
}

.faq-answer {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interactive Demo Section Styles */
.aspect-video {
    aspect-ratio: 16 / 9;
}

/* Security Section Badge Styles */
.border-l-4 {
    border-left-width: 4px;
}

/* Use Cases Section Arrow Animation */
.fa-arrow-right {
    transition: transform 0.3s ease;
}

.card-hover:hover .fa-arrow-right {
    transform: translateX(5px);
}

/* Documentation Links - Enhanced Styling */
a[href*="documentation"] {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a[href*="documentation"]:hover {
    text-decoration-thickness: 2px;
}

a[href*="documentation"] i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Border Styles for Cards */
.border-l-4 {
    border-left-width: 4px;
}

/* Improved Card Borders */
.luxury-bg-card {
    border-color: rgba(20, 184, 166, 0.1);
}

.luxury-bg-card:hover {
    border-color: rgba(20, 184, 166, 0.2);
}


vapi-widget svg circle,
vapi-widget svg rect {
    fill: #fff !important;
}

vapi-widget svg  {
    fill: turquoise !important;
}

/* Control Vapi widget height - maximum 25rem */
vapi-widget > div,
vapi-widget > div > div {
    max-height: 25rem !important;
    height: auto !important;
}

/* Ensure the main container respects max-height */
vapi-widget > div[style*="height"] {
    max-height: 25rem !important;
    height: auto !important;
}

/* Make sure the conversation area scrolls if content exceeds */
vapi-widget .vapi-conversation-area {
    max-height: calc(25rem - 8rem) !important;
    overflow-y: auto !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
    
    /* Smaller height on mobile */
    vapi-widget > div,
    vapi-widget > div > div {
        max-height: 18rem !important;
        bottom: 10rem !important;
        
    }
    vapi-widget > div > div > div {
        max-width: 22rem !important;
        
    }
    vapi-widget div.hover\:scale-105 {
        height: 3rem !important;
        bottom: -10rem !important;
        margin-bottom: 10px;
        
    }
    
}
