/* Variables & Reset */
:root {
    --bg-dark: #050508;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;
    --accent: #f59e0b;
    /* Gold/Amber for luxury feel */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-family: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.gradient-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary);
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--primary-glow);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.btn-outline:hover {
    color: white;
    border-color: white;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    /* Primary glow */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Hero Visual Animation */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.glowing-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.4;
    animation: pulse 4s infinite alternate;
}

.ui-card-mockup {
    width: 340px;
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2px;
    /* Inner border imitation */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.ui-card-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.4;
}

.chat-message.ai {
    background: rgba(59, 130, 246, 0.15);
    color: #e0e7ff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-message.user {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    margin-right: 4px;
    animation: typing 1.4s infinite forwards;
}

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

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

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

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-icon {
    color: var(--primary);
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

/* Audience List */
.audience-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.audience-item i {
    color: var(--secondary);
    min-width: 24px;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.comparison-table th.highlight-col {
    color: var(--primary);
    font-weight: 700;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.highlight-cell {
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.highlight-cell i {
    color: var(--accent);
    /* Gold checkmarks */
    width: 18px;
    height: 18px;
}

/* CTA Final */
.cta-final {
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, #111 0%, #050508 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 2rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.15), transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

@keyframes typing {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simplification for this MVP */
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-visual {
        display: none;
        /* Hide visual on mobile to save space */
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Floating Widget Styles */
.floating-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.floating-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2010;
}

.floating-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.floating-toggle i {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.floating-toggle.active i {
    transform: rotate(90deg);
    opacity: 0;
    /* Simplify icon swap for now or just rotate */
}

/* Badge on the toggle */
.notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #ef4444;
    border: 2px solid #000;
    border-radius: 50%;
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 2s;
    transform: scale(0);
}

@keyframes bounceIn {
    to {
        transform: scale(1);
    }
}

/* The Widget Container */
.contact-widget {
    background: #111116;
    width: 400px;
    max-width: calc(100vw - 40px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
    /* JS will toggle this */
    position: absolute;
    /* Relative to wrapper */
    bottom: 80px;
    /* Above button */
    right: 0;
}

.contact-widget.active {
    display: block;
    transform: scale(1) translateY(0);
    opacity: 1;
}

.widget-header {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), transparent);
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header h3 {
    font-size: 1.1rem;
    color: white;
}

.close-widget {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.widget-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    /* Custom Scrollbar for widget */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.widget-body::-webkit-scrollbar {
    width: 6px;
}

.widget-body::-webkit-scrollbar-track {
    background: transparent;
}

.widget-body::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 20px;
}

/* Reusing Form Styles with Tweaks */
.form-group {
    margin-bottom: 1rem;
}

label {
    font-size: 0.9rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 500;
    letter-spacing: 0.02em;
}

input,
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

input:hover,
select:hover,
textarea:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

input::placeholder,
textarea::placeholder {
    color: rgba(156, 163, 175, 0.6);
}



/* Success/Error States */
.btn-success {
    background: #10b981 !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}

/* Mobile Tweak */
@media (max-width: 480px) {
    .floating-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .contact-widget {
        width: calc(100vw - 40px);
    }
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    font-weight: 600;
}

/* Button override for interactivity */
button {
    font-family: var(--font-family);
}

/* ==========================================
   STATS COUNTER SECTION
   ========================================== */
.stats-section {
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.03) 50%, transparent 100%);
    padding: 4rem 0 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    background: var(--bg-card-hover);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.stat-icon i {
    width: 28px;
    height: 28px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================
   CLIENTS / PARTNERS LOGO CAROUSEL
   ========================================== */
.clients-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, rgba(5, 5, 8, 0.8) 0%, rgba(59, 130, 246, 0.05) 50%, rgba(5, 5, 8, 0.8) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.clients-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.clients-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.logos-track {
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
    display: flex;
    width: 100%;
}

/* Gradient Masks for Fade Effect */
.logos-track::before,
.logos-track::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logos-track::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.logos-track::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

/* Container moving the logos */
.logos-slide {
    display: flex;
    align-items: center;
    animation: slide 35s linear infinite;
    flex-shrink: 0;
}

.logos-slide:hover {
    animation-play-state: paused;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
    height: 60px;
    /* Increased from 35px */
    filter: grayscale(10%) opacity(0.8);
    transition: all 0.4s ease;
    cursor: pointer;
}

.logo-item svg,
.logo-item img {
    height: 100%;
    width: auto;
    max-width: 260px;
    border-radius: 10px;
    /* Increased from 140px */
    object-fit: contain;
    filter: grayscale(10%) brightness(1);
    transition: all 0.3s ease;
    opacity: 2;
}

.logo-item:hover svg,
.logo-item:hover img {
    border-radius: 10px;
    filter: grayscale(0%) brightness(1);
    opacity: 3;
    transform: scale(1.05);
}



/* Slightly less aggressive zoom */


/* ==========================================
   TESTIMONIALS CAROUSEL
   ========================================== */
.testimonials-section {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.02) 0%, transparent 100%);
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-wrapper {
    position: relative;
    height: 450px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.testimonial-card.prev {
    opacity: 0;
    transform: translateX(-100px);
}

.testimonial-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.quote-icon i {
    width: 24px;
    height: 24px;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

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

.testimonial-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-badge {
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn i {
    width: 24px;
    height: 24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ==========================================
   INTERACTIVE DEMO SECTION
   ========================================== */
.demo-section {
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.05), transparent 50%);
}

.demo-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.demo-chat-window {
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.demo-header {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), transparent);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.demo-info {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.demo-messages {
    padding: 2rem;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-message {
    display: flex;
    gap: 1rem;
    animation: slideIn 0.4s ease forwards;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.demo-message.user .message-avatar {
    background: rgba(255, 255, 255, 0.1);
}

.message-bubble {
    background: rgba(59, 130, 246, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    max-width: 70%;
}

.demo-message.user .message-bubble {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-right-radius: 4px;
}

.demo-message.ai .message-bubble {
    border-bottom-left-radius: 4px;
}

.message-bubble p {
    margin: 0;
    line-height: 1.5;
}

.demo-quick-replies {
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.quick-reply-btn {
    padding: 0.6rem 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.quick-reply-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.quick-reply-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.demo-input-wrapper {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.demo-input-wrapper input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    color: white;
    font-size: 0.95rem;
}

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

.demo-send-btn:hover:not(:disabled) {
    transform: scale(1.1);
}

.demo-send-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.demo-footer {
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.demo-insights {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.demo-insights h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: white;
}

.insight-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.insight-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.insight-item i {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.insight-item strong {
    display: block;
    color: white;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.insight-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-carousel {
        padding: 0 20px;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .demo-container {
        grid-template-columns: 1fr;
    }

    .demo-insights {
        margin-top: 2rem;
    }

    .message-bubble {
        max-width: 85%;
    }
}