/* ===================================
   GLOBAL STYLES & RESET
   =================================== */

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

/* Performance optimizations for all elements */
* {
    -webkit-tap-highlight-color: transparent;
}

/* GPU acceleration for images (except chatbot) */
section img, 
.mockup-illustration svg,
.hero-logo img,
.feature-icon,
.pricing-icon {
    will-change: transform;
    transform: translateZ(0);
}

/* Chatbot elements - NO TRANSFORM from global rules */
#chatbotButton *,
.chatbot-button svg,
.chatbot-button span,
.chatbot-container,
.chatbot-container * {
    will-change: auto !important;
}

/* FORCE chatbot button visibility - MAXIMUM PRIORITY */
#chatbotButton,
div#chatbotButton,
div.chatbot-button,
.chatbot-button {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    z-index: 2147483647 !important;
}

:root {
    --primary-red: #E63946;
    --dark-red: #C62935;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
    /* Performance optimizations - NO TRANSFORM ON BODY! */
    -webkit-overflow-scrolling: touch;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Global heading size reduction */
h1 {
    font-size: 2.8rem; /* Reduced from default */
}

h2 {
    font-size: 2.2rem; /* Reduced from default */
}

h3 {
    font-size: 1.5rem; /* Reduced from default */
}

p {
    font-size: 0.95rem; /* Slightly smaller paragraphs */
    line-height: 1.7;
}

/* ===================================
   ANIMATED BACKGROUND
   =================================== */

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.animated-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 30s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes moveBackground {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(50px, 50px, 0);
    }
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(230, 57, 70, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.logo:hover {
    background: rgba(230, 57, 70, 0.1);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 3px 10px rgba(230, 57, 70, 0.4));
    background: white;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 6px 20px rgba(230, 57, 70, 0.6));
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.logo:hover .logo-text {
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Language Switcher Styles */
.lang-switcher-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.4rem 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    gap: 0.5rem;
}

.lang-switcher-wrapper .lang-flag {
    order: -1; /* Flag appears before select */
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    pointer-events: none;
    user-select: none;
    display: inline-block;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: #111;
}

.lang-switcher-wrapper:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.2);
}

.lang-switcher-wrapper .lang-switcher {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 1.5rem 0.25rem 0.25rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    min-width: 60px;
}

.lang-switcher-wrapper .lang-switcher option {
    background: var(--dark-gray);
    color: var(--white);
    padding: 0.5rem;
}

.lang-switcher-wrapper::after {
    content: '▼';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 0.6rem;
    pointer-events: none;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.lang-switcher-wrapper:hover::after {
    opacity: 1;
}

.lang-switcher-wrapper:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(230, 57, 70, 0.12), transparent 60%);
    pointer-events: none;
}

.hero-container {
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.hero-logo {
    margin-bottom: 40px;
    perspective: 1000px;
}

.hero-logo .main-logo {
    width: 280px;
    height: auto;
    max-width: 85vw;
    filter: drop-shadow(0 30px 80px rgba(230, 57, 70, 0.6));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 40px 120px rgba(230, 57, 70, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(230, 57, 70, 0.3);
    transform-style: preserve-3d;
}

.hero-logo .main-logo:hover {
    filter: drop-shadow(0 40px 100px rgba(230, 57, 70, 0.8));
    transform: translateY(-15px) rotateX(10deg) scale(1.05);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.3),
        0 50px 150px rgba(230, 57, 70, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 1);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 56px; /* Reduced from 72px for better scaling */
    font-weight: 900;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -1.5px;
    text-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.hero-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 22px; /* Reduced from 28px */
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 18px;
    font-style: italic;
    text-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 38px; /* Reduced padding */
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    text-decoration: none;
    font-size: 16px; /* Reduced from 18px */
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 
        0 10px 30px rgba(230, 57, 70, 0.4),
        0 0 0 0 rgba(230, 57, 70, 0.5);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(230, 57, 70, 0.6),
        0 0 60px rgba(230, 57, 70, 0.8);
}

.glow-effect:hover {
    box-shadow: 
        0 0 40px rgba(230, 57, 70, 0.8),
        0 0 80px rgba(230, 57, 70, 0.6),
        0 20px 50px rgba(230, 57, 70, 0.5);
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    padding: 120px 20px;
    position: relative;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 38px; /* Reduced from 48px */
    font-weight: 700;
    text-align: center;
    margin-bottom: 18px;
    color: var(--white);
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8) 0%, rgba(42, 42, 42, 0.6) 100%);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(230, 57, 70, 0.2);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(230, 57, 70, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

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

.feature-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: rgba(230, 57, 70, 0.6);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 120px rgba(230, 57, 70, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: var(--white);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(230, 57, 70, 0.5),
        0 0 60px rgba(230, 57, 70, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
}

.feature-card:hover .feature-icon {
    transform: translateY(-10px) rotateY(15deg) scale(1.1);
    box-shadow: 
        0 20px 50px rgba(230, 57, 70, 0.7),
        0 0 100px rgba(230, 57, 70, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--white);
    line-height: 1.5;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    text-align: center;
    max-width: 100%;
    padding: 0 10px;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5em;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14.5px;
    line-height: 1.7;
    font-weight: 400;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    text-align: center;
    max-width: 100%;
    padding: 0 8px;
    white-space: normal;
}

/* ===================================
   MOCKUP SECTION
   =================================== */

.mockup-section {
    padding: 120px 0;
    background: var(--black);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mockup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.3), transparent);
}

.mockup-section .container {
    max-width: 100%;
    padding: 0 40px;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

@media (min-width: 1400px) {
    .mockup-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.mockup-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.9) 100%);
    backdrop-filter: blur(20px);
    padding: 28px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(230, 57, 70, 0.35);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(230, 57, 70, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.mockup-card:hover {
    transform: translateY(-20px) rotateX(8deg) scale(1.02);
    border-color: rgba(230, 57, 70, 0.8);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 150px rgba(230, 57, 70, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(26, 26, 26, 1) 0%, rgba(42, 42, 42, 0.9) 100%);
}

.mockup-illustration {
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 
        0 12px 50px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(230, 57, 70, 0.35);
    border: 2px solid rgba(230, 57, 70, 0.25);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.5);
    min-height: 360px;
    max-height: 400px;
}

.mockup-illustration svg {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 400px;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
}

.mockup-card:hover .mockup-illustration {
    box-shadow: 
        0 15px 60px rgba(0, 0, 0, 0.7),
        0 0 100px rgba(230, 57, 70, 0.5);
    border-color: rgba(230, 57, 70, 0.5);
}

.mockup-card:hover .mockup-illustration svg {
    transform: scale(1.05) translateZ(20px);
}

.mockup-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 8px;
    color: var(--white);
    line-height: 1.4;
    letter-spacing: -0.01em;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    text-align: center;
    max-width: 100%;
    padding: 0 8px;
    white-space: normal;
}

.mockup-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14.5px;
    line-height: 1.7;
    font-weight: 400;
    margin: 0;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    text-align: center;
    max-width: 100%;
    padding: 0 8px;
    white-space: normal;
}

.typing-dot {
    animation: typingDot 1.4s infinite;
}

@keyframes typingDot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

/* Responsive adjustments for mockup grid */
@media (max-width: 1400px) {
    .mockup-grid {
        gap: 24px;
    }
    
    .mockup-section .container {
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .mockup-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .mockup-card {
        min-height: 420px;
        padding: 26px;
    }
    
    .mockup-card h3 {
        font-size: 18px;
    }
    
    .mockup-card p {
        font-size: 14px;
    }
    
    .mockup-illustration {
        min-height: 340px;
        max-height: 360px;
    }
    
    .mockup-illustration svg {
        min-height: 340px;
        max-height: 360px;
    }
}

@media (max-width: 968px) {
    .mockup-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .mockup-section .container {
        padding: 0 24px;
    }
    
    .mockup-card {
        min-height: auto;
        padding: 24px;
    }
    
    .mockup-card h3 {
        font-size: 17px;
    }
    
    .mockup-card p {
        font-size: 14px;
    }
    
    .mockup-illustration {
        min-height: 320px;
        max-height: 360px;
    }
    
    .mockup-illustration svg {
        min-height: 320px;
        max-height: 360px;
    }
}

/* ===================================
   PRICING SECTION
   =================================== */

.pricing {
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 100%);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.3), transparent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 50px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8) 0%, rgba(42, 42, 42, 0.7) 100%);
    backdrop-filter: blur(15px);
    padding: 20px 18px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(230, 57, 70, 0.2);
    position: relative;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(230, 57, 70, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-red), transparent, var(--primary-red));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

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

.pricing-card:hover {
    transform: translateY(-20px) rotateX(5deg) scale(1.02);
    border-color: rgba(230, 57, 70, 0.8);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(230, 57, 70, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(230, 57, 70, 0.15) 0%, rgba(198, 41, 53, 0.1) 100%);
    backdrop-filter: blur(20px);
    border-color: rgba(230, 57, 70, 0.6);
    transform: scale(1.05);
    box-shadow: 
        0 25px 70px rgba(230, 57, 70, 0.4),
        0 0 150px rgba(230, 57, 70, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.pricing-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
}

.pricing-price {
    margin: 20px 0;
}

.price-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: var(--primary-red);
}

.price-currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-red);
}

.price-period {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.price-vat {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    font-style: italic;
}

.pricing-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.pricing-features i {
    color: var(--primary-red);
    font-size: 18px;
}

.pricing-button {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    margin-top: 16px;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
    position: relative;
    overflow: hidden;
}

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

.pricing-button:hover::before {
    width: 300px;
    height: 300px;
}

.pricing-button:hover {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
    transform: scale(1.05);
    box-shadow: 
        0 15px 40px rgba(230, 57, 70, 0.5),
        0 0 60px rgba(230, 57, 70, 0.3);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
    padding: 120px 20px;
    background: var(--black);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.3), transparent);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
}

.form-group label i {
    color: var(--primary-red);
    margin-right: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--dark-gray);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--white);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

.submit-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 40px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.5);
}

.success-message {
    display: none;
    background: #4CAF50;
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    animation: slideDown 0.5s ease;
}

.success-message.show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

/* ===================================
   FOOTER
   =================================== */

.footer {
    padding: 60px 20px 30px;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 0;
    cursor: pointer;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.2);
}

.footer-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 15px rgba(230, 57, 70, 0.3);
    transition: var(--transition);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
}

.footer-logo:hover .footer-logo-text {
    color: var(--white);
    text-shadow: 0 0 25px rgba(230, 57, 70, 0.6);
    transform: translateX(5px);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===================================
   ANIMATIONS
   =================================== */

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 1;
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Enhanced slide-in animations for platform section */
.slide-in-from-left {
    opacity: 0;
    transform: translateX(-40px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-from-right {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-from-bottom {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-from-bottom.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-tagline {
        font-size: 22px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 40px 30px;
    }
    
    .feature-card h3 {
        font-size: 17px;
    }
    
    .feature-card p {
        font-size: 14px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mockup grid responsive is handled above */

    .pricing-card.featured {
        transform: scale(1);
    }

    .contact-form {
        padding: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-logo .main-logo {
        width: 200px;
        padding: 18px;
        border-radius: 18px;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .cta-button {
        padding: 16px 35px;
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .price-amount {
        font-size: 42px;
    }

    .contact-form {
        padding: 25px;
    }

    .logo {
        padding: 6px 12px;
    }

    .logo-img {
        height: 40px;
        padding: 5px;
        border-radius: 10px;
    }

    .logo-text {
        font-size: 22px;
    }

    .footer-logo-img {
        height: 42px;
        padding: 6px;
    }

    .footer-logo-text {
        font-size: 24px;
    }
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.98) 0%, rgba(42, 42, 42, 0.98) 100%);
    backdrop-filter: blur(20px);
    padding: 25px 20px;
    box-shadow: 0 -10px 50px rgba(230, 57, 70, 0.2),
                0 -5px 20px rgba(0, 0, 0, 0.5);
    border-top: 2px solid rgba(230, 57, 70, 0.3);
    z-index: 50000; /* High but below chatbot */
    transform: translateY(0); /* Immediately visible */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block; /* Always shown initially */
    opacity: 1;
}

.cookie-consent.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.cookie-icon {
    font-size: 48px;
    line-height: 1;
    animation: bounce 2s infinite;
}

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

.cookie-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.cookie-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-accept,
.cookie-reject {
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
}

.cookie-accept:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.6);
}

.cookie-reject {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-reject:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-text {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .cookie-icon {
        font-size: 40px;
    }

    .cookie-text h3 {
        font-size: 20px;
    }

    .cookie-text p {
        font-size: 14px;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-accept,
    .cookie-reject {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 20px 15px;
    }

    .cookie-icon {
        font-size: 36px;
    }

    .cookie-text h3 {
        font-size: 18px;
    }

    .cookie-text p {
        font-size: 13px;
    }
}

/* ===================================
   AI CHATBOT WIDGET
   =================================== */

/* Chatbot button - CENTERED RIGHT, ALWAYS VISIBLE */
#chatbotButton,
div#chatbotButton.chatbot-button,
.chatbot-button {
    position: fixed !important;
    top: 50% !important;
    right: 20px !important;
    width: 70px !important;
    height: 70px !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 10px 40px rgba(230, 57, 70, 0.6),
                0 5px 15px rgba(0, 0, 0, 0.4),
                0 0 0 0 rgba(230, 57, 70, 0.7) !important;
    transition: all 0.3s ease !important;
    animation: megaPulse 2s infinite !important;
    touch-action: manipulation !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    font-family: 'Inter', sans-serif !important;
    /* COMBINED TRANSFORMS - CRITICAL! */
    transform: translateY(-50%) translateZ(999px) !important;
    -webkit-transform: translateY(-50%) translateZ(999px) !important;
    /* Force visibility - NO CONTAIN OR ISOLATION */
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
}

.chatbot-button svg {
    width: 30px !important;
    height: 30px !important;
    color: white !important;
}

.chatbot-button:hover {
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.6),
                0 5px 15px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4),
                    0 4px 10px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(230, 57, 70, 0.6),
                    0 4px 15px rgba(0, 0, 0, 0.4);
    }
}

@keyframes megaPulse {
    0%, 100% {
        transform: translateZ(999px) scale(1);
        box-shadow: 0 10px 40px rgba(230, 57, 70, 0.6),
                    0 5px 15px rgba(0, 0, 0, 0.4),
                    0 0 0 0 rgba(230, 57, 70, 0.7);
    }
    50% {
        transform: translateZ(999px) scale(1.05);
        box-shadow: 0 15px 50px rgba(230, 57, 70, 0.8),
                    0 8px 20px rgba(0, 0, 0, 0.5),
                    0 0 0 10px rgba(230, 57, 70, 0.3);
    }
}

.chatbot-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: #fff !important;
    color: var(--primary-red) !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    z-index: 2147483647 !important;
    pointer-events: none !important;
}

/* Chatbot Container */
.chatbot-container {
    position: fixed; /* Changed from absolute to fixed */
    bottom: 80px;
    right: 20px; /* Fixed to viewport, not parent */
    width: 380px;
    height: 550px;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.98) 0%, rgba(42, 42, 42, 0.95) 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 10px 30px rgba(230, 57, 70, 0.3);
    border: 2px solid rgba(230, 57, 70, 0.3);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    animation: chatbotSlideIn 0.3s ease-out;
    z-index: 999998; /* Below widget button but very high */
}

.chatbot-container.open {
    display: flex;
}

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

/* Chatbot Header */
.chatbot-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 12px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.chatbot-header p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.chatbot-close {
    background: rgba(230, 57, 70, 0.8); /* Red background for visibility */
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 38px; /* Larger */
    height: 38px;
    border-radius: 10px;
    color: white;
    font-size: 24px; /* Bigger X */
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.chatbot-close:hover {
    background: var(--primary-red);
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.5);
}

/* Chatbot Messages */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(230, 57, 70, 0.5);
    border-radius: 3px;
}

.chatbot-message {
    display: flex;
    gap: 12px;
    animation: messageSlideIn 0.3s ease-out;
}

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

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    flex-shrink: 0;
    overflow: hidden;
    background: white;
    padding: 4px;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.message-content {
    flex: 1;
}

.message-content p {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.message-content p:last-child {
    margin-bottom: 0;
}

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

.user-message .message-content p {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    border: none;
}

.user-message .message-avatar {
    background: var(--primary-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: rgba(230, 57, 70, 0.6);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

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

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

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

/* Chatbot Input */
.chatbot-input-container {
    padding: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
}

#chatbotInput {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

#chatbotInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#chatbotInput:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-red);
}

#chatbotSend {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbotSend svg {
    width: 20px;
    height: 20px;
}

#chatbotSend:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

#chatbotSend:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile & Tablet Responsive */
@media (max-width: 768px) {
    .chatbot-container {
        position: fixed !important;
        width: calc(100vw - 20px) !important;
        height: calc(100vh - 100px) !important;
        max-height: none !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 2147483646 !important;
    }
    
    .chatbot-button {
        position: fixed !important;
        top: 50% !important;
        right: 25px !important;
        transform: translateY(-50%) translateZ(999px) !important;
        -webkit-transform: translateY(-50%) translateZ(999px) !important;
        width: 70px !important;
        height: 70px !important;
        z-index: 2147483647 !important;
        box-shadow: 0 12px 50px rgba(230, 57, 70, 0.7),
                    0 6px 20px rgba(0, 0, 0, 0.5),
                    0 0 0 0 rgba(230, 57, 70, 0.8) !important;
    }
    
    .chatbot-button svg {
        width: 35px !important;
        height: 35px !important;
    }
}

@media (max-width: 480px) {
    .chatbot-container {
        position: fixed !important;
        width: calc(100vw - 16px) !important;
        height: calc(100vh - 80px) !important;
        max-height: 90vh !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 2147483646 !important;
    }
    
    .chatbot-button {
        position: fixed !important;
        top: 50% !important;
        right: 20px !important;
        transform: translateY(-50%) translateZ(999px) !important;
        -webkit-transform: translateY(-50%) translateZ(999px) !important;
        width: 75px !important;
        height: 75px !important;
        z-index: 2147483647 !important;
        box-shadow: 0 15px 60px rgba(230, 57, 70, 0.8),
                    0 8px 25px rgba(0, 0, 0, 0.6),
                    0 0 0 0 rgba(230, 57, 70, 0.9) !important;
    }
    
    .chatbot-button svg {
        width: 38px !important;
        height: 38px !important;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .chatbot-container {
        position: fixed !important;
        width: calc(100vw - 12px) !important;
        height: calc(100vh - 70px) !important;
        max-height: 92vh !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 2147483646 !important;
    }
    
    .chatbot-button {
        position: fixed !important;
        top: 50% !important;
        right: 18px !important;
        transform: translateY(-50%) translateZ(999px) !important;
        -webkit-transform: translateY(-50%) translateZ(999px) !important;
        width: 70px !important;
        height: 70px !important;
        z-index: 2147483647 !important;
        box-shadow: 0 12px 55px rgba(230, 57, 70, 0.8),
                    0 7px 22px rgba(0, 0, 0, 0.6),
                    0 0 0 0 rgba(230, 57, 70, 0.9) !important;
    }
    
    .chatbot-button svg {
        width: 36px !important;
        height: 36px !important;
    }
    
    .chatbot-header {
        padding: 16px;
    }
    
    .chatbot-messages {
        padding: 15px;
    }
    
    .chatbot-input-container {
        padding: 15px;
    }
}

/* ===================================
   INTEGRATIONS PAGE - MODERN DESIGN
   =================================== */

.integration-section {
    margin-bottom: 3rem;
}

.integration-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.integration-section h3 i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.integration-item {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.integration-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.integration-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 4px 12px rgba(230, 57, 70, 0.15);
    border-color: rgba(255, 255, 255, 0.12);
}

.integration-item:hover::before {
    opacity: 1;
}

.integration-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.integration-header > div:first-child {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.integration-item:hover .integration-header > div:first-child {
    transform: scale(1.05) rotate(2deg);
}

.integration-header > div:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.integration-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--white);
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.status-badge.connected {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.status-badge.disconnected {
    background: rgba(107, 114, 128, 0.2);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.integration-details {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: slideDown 0.3s ease-out;
}

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

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

.info-box {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 3px solid;
    animation: fadeIn 0.3s ease-out;
}

.info-box i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.info-box strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-box p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.form-row {
    margin-bottom: 1.25rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--white);
    font-size: 0.95rem;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-row small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}



