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

:root {
    --primary-purple: #a855f7;
    --primary-pink: #ec4899;
    --primary-indigo: #6366f1;
    --bg-black: #000000;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.7);
    --border-white: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===========================
   Animated Background
   =========================== */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom right,
        rgba(168, 85, 247, 0.2),
        rgba(99, 102, 241, 0.2),
        rgba(236, 72, 153, 0.2)
    );
}

.particles-container {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(to right, var(--primary-purple), var(--primary-pink));
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.4;
    animation: float-particle 20s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% { 
        transform: translate(0, 0); 
    }
    25% { 
        transform: translate(20px, -20px); 
    }
    50% { 
        transform: translate(-10px, 10px); 
    }
    75% { 
        transform: translate(-20px, 20px); 
    }
}

/* ===========================
   Floating Assistants (Bubbles)
   =========================== */
.floating-assistants {
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.assistant-bubble {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: float-bubble 12s ease-in-out infinite;
    will-change: transform;
}

.assistant-bubble:hover {
    transform: scale(1.2) translateY(-15px);
    filter: brightness(1.3) drop-shadow(0 0 30px rgba(168, 85, 247, 0.8));
    z-index: 101;
    animation-play-state: paused;
}

.assistant-bubble:active {
    transform: scale(1.05);
    transition: transform 0.1s ease;
}

.assistant-bubble::before {
    content: '';
    position: absolute;
    inset: -15px;
    background: radial-gradient(
        circle,
        rgba(168, 85, 247, 0.5),
        rgba(236, 72, 153, 0.3),
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(30px);
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.assistant-bubble-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.4) 0%, 
        rgba(236, 72, 153, 0.4) 100%
    );
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.4),
                0 0 30px rgba(236, 72, 153, 0.2),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.assistant-bubble:hover .assistant-bubble-inner {
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.6) 0%, 
        rgba(236, 72, 153, 0.6) 100%
    );
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 50px rgba(168, 85, 247, 0.6),
                0 0 40px rgba(236, 72, 153, 0.4),
                inset 0 1px 3px rgba(255, 255, 255, 0.4);
}

.assistant-avatar {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    min-width: 80px;
    min-height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden !important;
    position: relative;
    z-index: 1;
}

.assistant-photo {
    width: 100% !important;
    height: 100% !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Ensure floating bubble images are constrained */
.assistant-bubble .assistant-avatar img,
.assistant-bubble .assistant-photo {
    width: 100% !important;
    height: 100% !important;
    max-width: 80px !important;
    max-height: 80px !important;
}

/* Status Badge */
.status-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.9);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    z-index: 100; /* Much higher to always show on top */
    animation: pulse-status 2s ease-in-out infinite;
}

.status-available {
    background: #10b981;  /* green */
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.status-busy {
    background: #f59e0b;  /* orange */
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.status-away {
    background: #6b7280;  /* gray */
    box-shadow: 0 0 12px rgba(107, 114, 128, 0.4), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.status-offline {
    background: #ef4444;  /* red */
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}

@keyframes pulse-status {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 currentColor;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.85;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    }
}

.assistant-name {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes float-bubble {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    25% { 
        transform: translate(30px, -30px) rotate(5deg); 
    }
    50% { 
        transform: translate(-20px, 20px) rotate(-5deg); 
    }
    75% { 
        transform: translate(-30px, 30px) rotate(3deg); 
    }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.4;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.bubble-pop {
    animation: pop-out 0.5s ease-out forwards;
}

@keyframes pop-out {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ===========================
   Main Content
   =========================== */
.main-content {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    padding: 2rem;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Brand Section */
.brand-section {
    text-align: center;
    padding: 4rem 0 3rem;
    animation: fade-in-up 1s ease-out;
}

.logo {
    width: clamp(240px, 32vw, 320px);
    height: auto;
    max-width: 90%;
    display: block;
    margin: 0 auto 2rem;
    animation: float-slow 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(168, 85, 247, 0.4));
    transition: transform 0.3s ease;
    object-fit: contain;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        circle,
        rgba(168, 85, 247, 0.6),
        rgba(236, 72, 153, 0.4),
        transparent
    );
    filter: blur(40px);
    animation: pulse-glow 3s ease-in-out infinite;
}

.company-name {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(
        135deg,
        var(--primary-purple),
        var(--primary-pink),
        var(--primary-indigo)
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 5s ease infinite;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-gray);
    font-weight: 300;
}

/* Products Section */
.products-section {
    padding: 3rem 0;
    animation: fade-in-up 1s ease-out 0.2s backwards;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-white);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.1),
        rgba(236, 72, 153, 0.1)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    font-size: 80px;
    margin-bottom: 1.5rem;
    animation: float-slow 6s ease-in-out infinite;
}

.product-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Platforms Section */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* 4-column grid for platforms */
.platforms-grid.platforms-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1400px) {
    .platforms-grid.platforms-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Platform Badge */
.platform-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    z-index: 10;
}

.platform-badge.security {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Platform Tagline */
.platform-tagline {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: -0.5rem 0 0.5rem 0;
}

/* Platform icon for SEPA */
.platform-icon.sepa {
    font-size: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Button outline style */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-purple);
    border-radius: 12px;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.platform-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05),
        rgba(168, 85, 247, 0.05));
    backdrop-filter: blur(30px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 10px 40px rgba(168, 85, 247, 0.15),
        inset 0 2px 1px rgba(255, 255, 255, 0.15),
        inset 0 -2px 8px rgba(168, 85, 247, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: visible;
}

/* Compact version for 4-column grid */
.platforms-grid-4 .platform-card {
    padding: 1.5rem 1.2rem;
    gap: 0.8rem;
    border-radius: 20px;
}

.platforms-grid-4 .platform-card h2 {
    font-size: 1.2rem;
}

.platforms-grid-4 .platform-description {
    font-size: 0.85rem;
    line-height: 1.5;
}

.platforms-grid-4 .platform-features {
    gap: 0.4rem;
}

.platforms-grid-4 .feature-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
}

.platforms-grid-4 .platform-icon {
    font-size: 50px;
}

.platforms-grid-4 .platform-logo {
    width: 100px;
    height: auto;
}

.platforms-grid-4 .btn-secondary,
.platforms-grid-4 .btn-primary,
.platforms-grid-4 .btn-outline {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
}

.platforms-grid-4 .product-actions {
    gap: 0.5rem;
}

.platforms-grid-4 .product-note {
    font-size: 0.7rem;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: -1.5px;
    left: -1.5px;
    right: -1.5px;
    bottom: -1.5px;
    background: linear-gradient(135deg, 
        var(--primary-purple) 0%,
        var(--primary-pink) 50%,
        var(--primary-indigo) 100%);
    border-radius: 32px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    animation: border-rotate 8s linear infinite;
}

.platform-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, 
        rgba(168, 85, 247, 0.2) 0%,
        rgba(236, 72, 153, 0.15) 30%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 32px;
}

.platform-card:hover::before {
    opacity: 0.7;
}

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

.platform-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: transparent;
    box-shadow: 
        0 40px 100px rgba(168, 85, 247, 0.7),
        0 20px 60px rgba(236, 72, 153, 0.5),
        0 0 100px rgba(168, 85, 247, 0.4),
        inset 0 2px 2px rgba(255, 255, 255, 0.25),
        inset 0 -2px 10px rgba(168, 85, 247, 0.2);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15), 
        rgba(255, 255, 255, 0.08),
        rgba(168, 85, 247, 0.1));
}

@keyframes border-rotate {
    0% {
        background: linear-gradient(135deg, 
            var(--primary-purple) 0%,
            var(--primary-pink) 50%,
            var(--primary-indigo) 100%);
    }
    25% {
        background: linear-gradient(225deg, 
            var(--primary-pink) 0%,
            var(--primary-indigo) 50%,
            var(--primary-purple) 100%);
    }
    50% {
        background: linear-gradient(315deg, 
            var(--primary-indigo) 0%,
            var(--primary-purple) 50%,
            var(--primary-pink) 100%);
    }
    75% {
        background: linear-gradient(45deg, 
            var(--primary-purple) 0%,
            var(--primary-indigo) 50%,
            var(--primary-pink) 100%);
    }
    100% {
        background: linear-gradient(135deg, 
            var(--primary-purple) 0%,
            var(--primary-pink) 50%,
            var(--primary-indigo) 100%);
    }
}

.platform-card.featured {
    grid-column: span 1;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.18),
        rgba(236, 72, 153, 0.12),
        rgba(99, 102, 241, 0.08));
    border: 2px solid rgba(168, 85, 247, 0.6);
    box-shadow: 
        0 30px 90px rgba(168, 85, 247, 0.4),
        0 15px 50px rgba(236, 72, 153, 0.3),
        0 0 80px rgba(168, 85, 247, 0.2),
        inset 0 2px 2px rgba(255, 255, 255, 0.2),
        inset 0 -2px 10px rgba(168, 85, 247, 0.15);
}

.platform-card.featured::before {
    opacity: 0.3;
}

.platform-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
    padding: 1rem 0;
}

.platform-header::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 85, 247, 0.5) 20%,
        rgba(236, 72, 153, 0.8) 50%,
        rgba(99, 102, 241, 0.5) 80%,
        transparent);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.platform-card:hover .platform-header::before {
    opacity: 1;
    width: 100%;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
}

.platform-icon {
    font-size: 120px;
    animation: float-slow 6s ease-in-out infinite, icon-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 15px 40px rgba(168, 85, 247, 0.6))
            drop-shadow(0 0 50px rgba(236, 72, 153, 0.4));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 20px 50px rgba(168, 85, 247, 0.9))
            drop-shadow(0 0 80px rgba(236, 72, 153, 0.7));
}

@keyframes icon-pulse {
    0%, 100% {
        filter: drop-shadow(0 15px 40px rgba(168, 85, 247, 0.6))
                drop-shadow(0 0 50px rgba(236, 72, 153, 0.4));
    }
    50% {
        filter: drop-shadow(0 20px 50px rgba(168, 85, 247, 0.8))
                drop-shadow(0 0 70px rgba(236, 72, 153, 0.6));
    }
}

.platform-logo {
    width: clamp(180px, 24vw, 240px);
    height: auto;
    max-width: 100%;
    object-fit: contain;
    animation: float-slow 6s ease-in-out infinite, logo-glow-pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 40px rgba(168, 85, 247, 0.7)) 
            drop-shadow(0 0 50px rgba(236, 72, 153, 0.5))
            drop-shadow(0 -5px 30px rgba(99, 102, 241, 0.3));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover .platform-logo {
    transform: scale(1.12) rotate(-2deg);
    filter: drop-shadow(0 20px 60px rgba(168, 85, 247, 1)) 
            drop-shadow(0 0 90px rgba(236, 72, 153, 0.9))
            drop-shadow(0 -8px 50px rgba(99, 102, 241, 0.6));
}

@keyframes logo-glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 15px 40px rgba(168, 85, 247, 0.7)) 
                drop-shadow(0 0 50px rgba(236, 72, 153, 0.5))
                drop-shadow(0 -5px 30px rgba(99, 102, 241, 0.3));
    }
    50% {
        filter: drop-shadow(0 18px 50px rgba(168, 85, 247, 0.9)) 
                drop-shadow(0 0 70px rgba(236, 72, 153, 0.7))
                drop-shadow(0 -8px 40px rgba(99, 102, 241, 0.5));
    }
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 12px 30px rgba(168, 85, 247, 0.7)) 
                drop-shadow(0 0 40px rgba(236, 72, 153, 0.5));
    }
    50% {
        filter: drop-shadow(0 15px 40px rgba(168, 85, 247, 0.9)) 
                drop-shadow(0 0 60px rgba(236, 72, 153, 0.7));
    }
}

.platform-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, 
        var(--primary-purple) 0%,
        var(--primary-pink) 50%,
        var(--primary-indigo) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
    position: relative;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.platform-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    text-align: center;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.feature-badge {
    background: linear-gradient(135deg,
        rgba(168, 85, 247, 0.25),
        rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(168, 85, 247, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

.feature-badge:hover::before {
    left: 100%;
}

.feature-badge:hover {
    background: linear-gradient(135deg,
        rgba(168, 85, 247, 0.4),
        rgba(236, 72, 153, 0.3));
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: var(--text-white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(168, 85, 247, 0.5);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-2px);
}

.btn-secondary.btn-disabled {
    background: rgba(100, 100, 100, 0.15);
    border-color: rgba(150, 150, 150, 0.3);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary.btn-disabled:hover {
    background: rgba(100, 100, 100, 0.15);
    border-color: rgba(150, 150, 150, 0.3);
    transform: none;
    cursor: not-allowed;
}

.btn-icon-lock {
    width: 20px;
    height: 20px;
    margin-right: 0.3rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-icon-left {
    width: 20px;
    height: 20px;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-primary:active,
.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.product-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.product-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-gray);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* Video Section */
.video-section {
    padding: 2rem 0;
    animation: fade-in-up 1s ease-out 0.8s backwards;
    max-width: 100%;
    overflow: hidden;
}

.video-section * {
    max-width: 100%;
}

/* Legacy - keeping for compatibility */
.video-tablet-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Tablet Frame Design */
.tablet-frame {
    background: linear-gradient(145deg, #2a2a3a, #1a1a2a);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 60px rgba(168, 85, 247, 0.2);
    position: relative;
    display: block !important;
}

.tablet-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, #333, #444, #333);
    border-radius: 3px;
    z-index: 10;
}

.tablet-screen {
    background: linear-gradient(135deg, #0a0a12, #12121f);
    border-radius: 24px;
    overflow: hidden;
    display: flex !important;
    flex-direction: row;
    min-height: 550px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.tablet-home-button {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #333, #222);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

/* Video Side */
.video-side {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 10px;
    min-width: 520px;
}

.linkedin-embed {
    border-radius: 12px;
    max-width: 100%;
    display: block;
}

/* Karaoke Side */
.karaoke-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, 
        rgba(168, 85, 247, 0.1) 0%,
        rgba(15, 15, 25, 0.95) 30%,
        rgba(15, 15, 25, 0.98) 100%);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    min-width: 300px;
}

/* Animated background glow */
.karaoke-side::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    animation: karaoke-glow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes karaoke-glow {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    25% { transform: translate(10%, 10%); opacity: 0.8; }
    50% { transform: translate(-5%, 15%); opacity: 0.6; }
    75% { transform: translate(-10%, -5%); opacity: 0.7; }
}

/* Karaoke Header */
.karaoke-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.karaoke-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-icon 2s ease-in-out infinite;
    flex-shrink: 0;
}

.karaoke-icon svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    color: white;
    flex-shrink: 0;
}

@keyframes pulse-icon {
    0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(168, 85, 247, 0.2); }
}

.karaoke-header .karaoke-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Audio Wave Animation */
.audio-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
    height: 24px;
}

.audio-wave span {
    width: 3px;
    background: linear-gradient(to top, var(--primary-purple), var(--primary-pink));
    border-radius: 3px;
    animation: wave 1s ease-in-out infinite;
}

.audio-wave span:nth-child(1) { animation-delay: 0s; height: 10px; }
.audio-wave span:nth-child(2) { animation-delay: 0.1s; height: 18px; }
.audio-wave span:nth-child(3) { animation-delay: 0.2s; height: 12px; }
.audio-wave span:nth-child(4) { animation-delay: 0.3s; height: 20px; }
.audio-wave span:nth-child(5) { animation-delay: 0.4s; height: 8px; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

/* Karaoke Content */
.karaoke-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
    position: relative;
    z-index: 1;
}

.karaoke-content::-webkit-scrollbar {
    width: 4px;
}

.karaoke-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.karaoke-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-purple), var(--primary-pink));
    border-radius: 2px;
}

/* Karaoke Line */
.karaoke-line {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    transform: translateX(-10px);
}

.karaoke-line.upcoming {
    opacity: 0.6;
    transform: translateX(0);
}

.karaoke-line.active {
    opacity: 1;
    background: rgba(168, 85, 247, 0.15);
    border-left-color: var(--primary-purple);
    transform: translateX(0) scale(1.02);
    box-shadow: 
        0 0 30px rgba(168, 85, 247, 0.3),
        inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.karaoke-line.passed {
    opacity: 0.3;
    transform: translateX(0);
}

.karaoke-line .timestamp {
    font-size: 0.7rem;
    color: var(--primary-purple);
    margin-bottom: 0.3rem;
    font-family: 'Courier New', monospace;
}

.karaoke-line .text {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Word-by-word karaoke effect */
.karaoke-line .text .word {
    display: inline-block;
    transition: all 0.3s ease;
    margin-right: 0.25rem;
}

.karaoke-line.active .text .word {
    opacity: 0.4;
}

.karaoke-line.active .text .word.highlighted {
    opacity: 1;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(168, 85, 247, 0.8),
        0 0 20px rgba(168, 85, 247, 0.5),
        0 0 30px rgba(236, 72, 153, 0.3);
    animation: word-glow 0.5s ease-out;
}

@keyframes word-glow {
    0% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Progress Bar */
.karaoke-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink));
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Responsive for Tablet Preview */
@media (max-width: 1024px) {
    .tablet-screen {
        flex-direction: column !important;
    }
    
    .video-side {
        width: 100%;
        min-width: auto;
    }
    
    .linkedin-embed {
        width: 100% !important;
        height: 450px;
    }
    
    .karaoke-side {
        min-height: 300px;
        min-width: auto;
    }
}

@media (max-width: 600px) {
    .tablet-frame {
        border-radius: 24px;
        padding: 12px;
    }
    
    .tablet-screen {
        border-radius: 16px;
        min-height: auto;
    }
    
    .linkedin-embed {
        height: 350px;
    }
    
    .karaoke-side {
        padding: 1rem;
    }
    
    .karaoke-line .text {
        font-size: 0.9rem;
    }
    
    .karaoke-header {
        flex-wrap: wrap;
    }
    
    .audio-wave {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        justify-content: center;
    }
}

/* ===========================
   Simple Video Section
   =========================== */
.simple-video-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 1rem;
}

.simple-video-container video {
    width: 100% !important;
    max-width: 700px !important;
    height: auto !important;
    max-height: 400px !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Big Play Overlay */
.big-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.big-play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.big-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.big-play-btn {
    width: 90px;
    height: 90px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 
        0 15px 50px rgba(168, 85, 247, 0.6),
        0 0 30px rgba(236, 72, 153, 0.4);
}

.big-play-btn:hover {
    transform: scale(1.15);
    box-shadow: 
        0 20px 60px rgba(168, 85, 247, 0.8),
        0 0 50px rgba(236, 72, 153, 0.5);
}

.big-play-btn svg {
    width: 40px;
    height: 40px;
    margin-left: 5px;
}

/* Advanced Control Bar */
.video-control-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    padding: 2rem 1rem 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-player-wrapper:hover .video-control-bar,
.video-control-bar.visible {
    opacity: 1;
}

/* Progress Track */
.progress-track {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.progress-track:hover {
    height: 10px;
}

.progress-buffer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    width: 0%;
}

.progress-current {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s;
}

.progress-track:hover .progress-thumb {
    transform: translate(-50%, -50%) scale(1);
}

/* Controls Row */
.controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.controls-left, .controls-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ctrl-btn {
    position: relative;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-purple);
}

.ctrl-btn svg {
    width: 22px;
    height: 22px;
}

.ctrl-btn .btn-label {
    position: absolute;
    font-size: 0.6rem;
    font-weight: bold;
    bottom: 2px;
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.volume-slider {
    width: 0;
    opacity: 0;
    transition: all 0.3s;
    -webkit-appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
}

.volume-control:hover .volume-slider {
    width: 80px;
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.time-display {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: monospace;
    min-width: 100px;
}

#speedLabel {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Presenter Badge */
.presenter-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.badge-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    max-width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-purple);
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.badge-role {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Video Highlights Bar */
.video-highlights-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.highlight-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
}

.highlight-chip:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

/* Video Section Responsive */
@media (max-width: 768px) {
    .video-theater {
        padding: 0 0.5rem;
    }
    
    .video-main-container {
        border-radius: 16px;
    }
    
    .big-play-btn {
        width: 70px;
        height: 70px;
    }
    
    .big-play-btn svg {
        width: 32px;
        height: 32px;
    }
    
    .presenter-badge {
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.4rem 0.8rem 0.4rem 0.4rem;
    }
    
    .badge-avatar {
        width: 32px;
        height: 32px;
    }
    
    .badge-name {
        font-size: 0.75rem;
    }
    
    .badge-role {
        font-size: 0.6rem;
    }
    
    .controls-row {
        flex-wrap: wrap;
    }
    
    .video-highlights-bar {
        gap: 0.5rem;
    }
    
    .highlight-chip {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .ctrl-btn {
        padding: 0.4rem;
    }
    
    .ctrl-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .time-display {
        font-size: 0.7rem;
        min-width: 70px;
    }
    
    .volume-control:hover .volume-slider {
        width: 50px;
    }
}

/* Lead Created Notification */
@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.lead-created-notification {
    font-family: 'Poppins', sans-serif;
}

.lead-created-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lead-created-notification .notification-icon {
    font-size: 1.2rem;
}

/* Calendly Section */
.calendly-section {
    padding: 3rem 0;
    animation: fade-in-up 1s ease-out 0.8s backwards;
}

.calendly-container {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.calendly-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-purple) 20%,
        var(--primary-pink) 80%,
        transparent);
    opacity: 0.8;
}

.calendly-container:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 25px 70px rgba(168, 85, 247, 0.5),
                0 0 60px rgba(236, 72, 153, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.calendly-inline-widget {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
    animation: fade-in-up 1s ease-out 0.4s backwards;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-card a:hover {
    color: var(--primary-pink);
    transform: translateY(-2px);
}

.contact-card a:active {
    transform: translateY(0);
}

/* Social Networks Section */
.social-section {
    padding: 3rem 0;
    animation: fade-in-up 1s ease-out 0.7s backwards;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-white);
    min-width: 100px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-purple);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.3);
}

.social-link:active {
    transform: translateY(-4px);
}

.social-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-purple);
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    color: var(--primary-pink);
    transform: scale(1.1) rotate(5deg);
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.social-link:hover span {
    color: var(--text-white);
}

/* Services Section */
.services-section {
    padding: 3rem 0;
    animation: fade-in-up 1s ease-out 0.6s backwards;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-white);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 1rem;
}

.service-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

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

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-white);
    color: var(--text-gray);
}

.footer-tagline {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* ===========================
   Chat Modal
   =========================== */
.chat-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fade-in 0.3s ease;
    overflow-y: auto; /* Allow modal to scroll */
    overscroll-behavior: contain; /* Prevent scroll chaining */
}

.chat-modal.active {
    display: flex;
}

.chat-container {
    width: 100%;
    max-width: 600px;
    height: 700px;
    max-height: 90vh;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(168, 85, 247, 0.4);
    animation: scale-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; /* Ensure proper stacking */
    z-index: 1001; /* Above modal overlay */
}

@keyframes scale-in {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(168, 85, 247, 0.1);
}

.chat-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-header .assistant-avatar {
    width: 50px;
    height: 50px;
    font-size: 30px;
    overflow: hidden;
}

.chat-header .assistant-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.assistant-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.status {
    font-size: 0.85rem;
    color: #4ade80;
}

.close-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.close-btn svg {
    width: 24px;
    height: 24px;
}

.new-session-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.new-session-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: scale(1.05);
}

.new-session-btn svg {
    width: 20px;
    height: 20px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.7);
}

.welcome-message {
    text-align: center;
    padding: 2rem;
}

.welcome-icon {
    font-size: 60px;
    margin-bottom: 1rem;
}

.welcome-message h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.welcome-message p {
    color: var(--text-gray);
}

.message {
    display: flex;
    gap: 0.75rem;
    animation: slide-in 0.3s ease;
}

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

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    overflow: hidden;
}

.message-avatar .assistant-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    max-width: 70%;
    padding: 1rem;
    border-radius: 16px;
    line-height: 1.6;
}

.message.assistant .message-content {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.message.user .message-content {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.typing-indicator {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-purple);
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chat-input-container {
    padding: 1.5rem;
    border-top: 1px solid var(--border-white);
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-white);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    max-height: 120px;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(255, 255, 255, 0.15);
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.send-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: var(--text-white);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
}

.send-btn svg {
    width: 24px;
    height: 24px;
}

/* ===========================
   Instruction Overlay
   =========================== */
.instruction-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999; /* Au-dessus de tout */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instruction-overlay.active {
    display: flex;
    opacity: 1;
}

.instruction-content {
    text-align: center;
    padding: 3rem;
    max-width: 500px;
    animation: scale-in 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10000; /* Au-dessus de l'overlay */
}

.instruction-icon {
    font-size: 100px;
    margin-bottom: 1.5rem;
    animation: float-slow 6s ease-in-out infinite;
}

.instruction-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.instruction-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.instruction-content .btn-primary {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    z-index: 10001;
    position: relative;
}

/* ===========================
   Animations
   =========================== */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s ease-in-out infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(1.05);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    }
}

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

    .brand-section {
        padding: 2rem 0;
    }

    .logo {
        width: clamp(200px, 48vw, 280px);
        max-width: 85%;
    }

    .video-container {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .calendly-container {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .calendly-inline-widget {
        min-width: 280px !important;
        height: 600px !important;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .company-name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .product-card {
        padding: 2rem;
    }

    .product-icon {
        font-size: 60px;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .platform-card {
        padding: 2rem;
    }

    .platform-card.featured {
        grid-column: span 1;
    }

    .platform-icon {
        font-size: 100px;
    }

    .platform-logo {
        width: clamp(160px, 40vw, 220px);
        height: auto;
    }

    .platform-card h2 {
        font-size: 1.5rem;
    }

    .feature-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        min-width: 90px;
        padding: 1.25rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .assistant-bubble {
        width: 90px;
        height: 90px;
    }

    .assistant-avatar {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }

    .chat-container {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        width: clamp(180px, 48vw, 240px);
        max-width: 80%;
    }

    .platform-logo {
        width: clamp(140px, 40vw, 200px);
        height: auto;
    }

    .platform-icon {
        font-size: 80px;
    }

    .company-name {
        font-size: 1.5rem;
    }

    .product-card h2 {
        font-size: 1.8rem;
    }

    .assistant-bubble {
        width: 70px;
        height: 70px;
    }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
    .animated-background,
    .floating-assistants,
    .chat-modal,
    .instruction-overlay {
        display: none !important;
    }
}
