/* 
   LUMIS - Intelligence Behind Every Click
   Premium Design - styles.css
*/

:root {
    /* Premium Palette */
    --primary-hue: 245;
    /* Deep Indigo */
    --accent-hue: 190;
    /* Cyan */

    --bg-main: #020617;
    /* Slate 950 */
    --bg-secondary: #0f172a;
    /* Slate 900 */

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Gradients */
    --gradient-glow: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    --gradient-text: linear-gradient(to right, #ffffff, #93c5fd);

    /* Glass Effects */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-blur: blur(12px);

    --nav-height: 80px;
    --container-width: 1240px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Ambient Background */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatBlob 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    width: 100%;
    /* Ensure container takes full width */
}

.section-padding {
    padding: 120px 0;
}

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

/* --- Components --- */

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--bg-main);
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 14px 24px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    border: none;
    cursor: pointer;
}

.btn-ghost:hover {
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 500;
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    gap: 8px;
    align-items: center;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.glow {
    position: relative;
    overflow: hidden;
}

.glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.05em;
}

.logo .dot {
    color: #6366f1;
}

.nav-links {
    display: flex;
    gap: 32px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 32px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--bg-main);
    z-index: 999;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mobile-drawer.open {
    height: 100vh;
}

.mobile-link {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.mobile-cta-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 80%;
    text-align: center;
}


/* --- Sections --- */

/* Hero */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    text-align: center;
    overflow: hidden;
    /* Prevent overflow from particles or obscure animations */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 32px;
    background: linear-gradient(to bottom right, #fff 30%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .gradient-text {
    background: var(--gradient-glow);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 48px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
}

.hero-dashboard-preview {
    perspective: 2000px;
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.glass-panel {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    transform: rotateX(15deg) scale(0.9);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero:hover .glass-panel {
    transform: rotateX(0deg) scale(1);
}

.dashboard-header-mock {
    display: flex;
    padding: 12px 16px;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #22c55e;
}

/* URL Shortener Widget */
.url-shortener-widget {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 56px;
    /* Enhanced prominence */
    width: 100%;
    max-width: 1000px;
    margin: 60px auto 0;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(99, 102, 241, 0.1);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.url-shortener-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 60px 120px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(99, 102, 241, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.widget-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6366f1;
}

.widget-body h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: white;
}

.widget-body p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1rem;
}

.input-group {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.url-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 24px;
    color: white;
    font-size: 1.1rem;
    outline: none;
    font-family: inherit;
}

.url-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.shorten-btn {
    background: #2563eb;
    /* Strong blue like Bitly */
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.shorten-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.qr-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}



/* Social Proof */
.social-proof {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.proof-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo-marquee {
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.marquee-content {
    display: inline-flex;
    animation: scroll 40s linear infinite;
    gap: 80px;
}

.brand-logo {
    color: var(--text-muted);
    font-size: 1.8rem;
    transition: color 0.3s;
}

.brand-logo:hover {
    color: white;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

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

/* Testimonials (Reviews) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    /* Enhanced Glassmorphism */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

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

.stars {
    color: #f59e0b;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.quote {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    font-style: italic;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 4px;
}

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


/* Features */
.features {
    position: relative;
}

.section-header {
    margin-bottom: 100px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 24px;
}

.title-underline {
    height: 4px;
    width: 80px;
    background: var(--gradient-glow);
    margin: 0 auto;
    border-radius: 4px;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 160px;
    align-items: center;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse .feature-content {
    direction: ltr;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #818cf8;
    margin-bottom: 32px;
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.2);
}

.feature-content h3 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: white;
}

.feature-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.abstract-card {
    background: var(--gradient-surface);
    border: var(--glass-border);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.abstract-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.12);
}

.abstract-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}


/* Specific Feature Visuals Styling (Simplified from previous) */
.chart-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
}

.chart-bar.highlight {
    background: var(--gradient-glow);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.floating-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.code-snippet {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.imp {
    color: #f472b6;
}

.cursor-blink {
    border-color: #818cf8;
}

.split-option {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.split-option.winner {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}



/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 80px auto 0;
}

.faq-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 48px;
    color: white;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(4px);
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    list-style: none;
    user-select: none;
    transition: all 0.2s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: #a5b4fc;
}

.faq-text {
    flex: 1;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: #818cf8;
}

.faq-answer {
    padding: 0 28px 24px 28px;
    animation: fadeIn 0.3s ease-out;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

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

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

/* Pricing */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.price-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 48px;
    position: relative;
    transition: all 0.4s;
}

.price-card:hover {
    transform: translateY(-10px);
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.price-card.popular {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.7) 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 60px -10px rgba(99, 102, 241, 0.2), 0 0 60px rgba(99, 102, 241, 0.15);
    transform: scale(1.05);
}

.price-card.popular:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 80px -10px rgba(99, 102, 241, 0.3), 0 0 80px rgba(99, 102, 241, 0.2);
}

.popular-badge {
    background: var(--gradient-glow);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.05em;
    margin: 20px 0;
}

.price .period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-header h3 {
    font-size: 1.5rem;
    color: white;
}

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

.feature-list li {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.feature-list li i {
    color: #818cf8;
    margin-right: 12px;
    background: rgba(99, 102, 241, 0.1);
    padding: 4px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}


/* Stats */
.stats {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Footer */
.footer {
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 0 40px;
}


.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-col p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 0.95rem;
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #818cf8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom .social-links {
    display: flex;
    gap: 24px;
}

.footer-bottom .social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.2s;
}

.footer-bottom .social-links a:hover {
    color: white;
}


/* --- Component Enhancements (Realism) --- */

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 400px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 24px;
    border-radius: 16px;
    z-index: 1500;
    display: none;
    /* Controlled by JS */
    animation: slideUp 0.5s ease-out;
}

.cookie-banner.visible {
    display: block;
}

.cookie-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1600;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-glow);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.chat-window.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: var(--gradient-glow);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.agent-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.agent-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.agent-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.status-indicator {
    font-size: 0.8rem;
    opacity: 0.9;
    padding-left: 12px;
    position: relative;
}

.status-indicator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    font-size: 1.2rem;
}

.close-chat:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(0, 0, 0, 0.2);
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message.received {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border-bottom-left-radius: 2px;
}

.message.sent {
    align-self: flex-end;
    background: #6366f1;
    color: white;
    border-bottom-right-radius: 2px;
}

.message .time {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 4px;
}

.chat-input-area {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    background: #0f172a;
}

.chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 16px;
    border-radius: 100px;
    outline: none;
}

.chat-input-area input:focus {
    border-color: #6366f1;
}

.send-btn {
    background: none;
    border: none;
    color: #6366f1;
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-header h2 {
    color: white;
}

.form-group label {
    color: var(--text-secondary);
}

.form-group input {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input:focus {
    border-color: #818cf8;
    background: rgba(255, 255, 255, 0.05);
}


/* Responsive */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .feature-block {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .feature-block.reverse {
        direction: ltr;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .brand-col {
        grid-column: span 1;
    }
}

/* Utils */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

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

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

/* Animations - Extended */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
    will-change: opacity;
}

.fade-in.visible {
    opacity: 1;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Integrations Grid */
.integrations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    align-items: center;
    margin-top: 60px;
    width: 100%;
}

@media (max-width: 768px) {
    .integrations-grid {
        gap: 20px;
    }
}

.integration-item {
    color: var(--text-muted);
    font-size: 1.5rem;
    /* Icon size */
    transition: all 0.3s;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    /* Ensure no block display override */
    display: inline-flex;
    flex: 0 0 auto;
}

.integration-item:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.text-xl {
    font-size: 2rem;
}