/* --- DESIGN SYSTEM: ENTERPRISE GLASS --- */
:root {
    --bg-core: #020204;
    --bg-mesh: radial-gradient(circle at 50% 50%, #1a1b26 0%, #000000 100%);
    /* Fallback if image missing */

    --primary-blue: #3b82f6;
    --primary-purple: #8b5cf6;
    --primary-gradient: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));

    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-highlight: rgba(255, 255, 255, 0.1);

    --text-main: #ffffff;
    --text-secondary: #cbd5e1;
    /* Lighter Slate-300 for better contrast */

    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
}

.bg-noise {
    display: none;
    /* Disabled by user request */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    /* Added dark overlay (rgba 0.6) for readability */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/bg-main.png') no-repeat center center fixed;
    background-color: var(--bg-core);
    background-size: cover;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.gradient-text {
    /* Purple gradient as requested */
    background: linear-gradient(90deg, #fff, #a855f7, #3b82f6, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    border: none;
    line-height: normal;
    /* Fix alignment */
    height: 54px;
    /* Fixed height for alignment */
}

.btn-primary {
    background: #7c3aed;
    /* Solid Vivid Purple */
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
    /* Matching shadow */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border for crispness */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Removed confusing white overlay */

.btn-primary:hover {
    transform: translateY(-2px);
    background: #6d28d9;
    /* Darker purple on hover */
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    /* Slightly visible bg */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Clearer border */
    color: white;
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    /* Match primary button style */
    letter-spacing: 1px;
    /* Match primary button style */
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* --- SECTIONS --- */
.section {
    padding: 120px 0;
    position: relative;
}

/* --- HEADER --- */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background: rgba(2, 2, 4, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
}

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

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: white;
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.liquid-text {
    font-size: 80px;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    font-weight: 800;
    /* Purple/Blue gradient as requested */
    background: linear-gradient(90deg, #fff 0%, #fff 20%, #a855f7 40%, #3b82f6 60%, #fff 80%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}

.hero p {
    font-size: 20px;
    color: #e2e8f0;
    /* Lighter for better readability */
    margin-bottom: 40px;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    /* More breathing room */
}

.tag {
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a855f7;
    /* Purple Accent */
    display: inline-block;
}

/* --- FEATURES --- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--glass-border);
}

.feature-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s;
}

.feature-img-wrapper:hover .feature-img {
    transform: scale(1.05);
}

.feature-content h2 {
    font-size: 42px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.feature-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    font-size: 16px;
}

.check-icon {
    color: #a855f7;
    /* Purple accent */
    font-weight: 700;
}

/* --- TECH STACK --- */
.tech-section {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    gap: 60px;
    user-select: none;
    width: fit-content;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 60px;
    min-width: 100%;
    animation: scroll 20s linear infinite;
}

/* Updated Tech Item to shimmer red */
/* Updated Tech Item to shimmer red */
.tech-item {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    /* Red-based liquid gradient */
    background: linear-gradient(90deg, #ef4444 0%, #7f1d1d 40%, #ffffff 50%, #7f1d1d 60%, #ef4444 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
    /* Remove generic 'all' to fix delays */
    animation: shimmer 3s linear infinite;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
    /* Slight red glow base */
}

.tech-item:hover {
    color: #a855f7;
    /* Solid Purple on hover */
    -webkit-text-fill-color: #a855f7;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

/* --- PROCESS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Adaptive grid */
    gap: 30px;
    margin-top: 60px;
}

.process-card {
    background: rgba(13, 13, 18, 0.85);
    /* Darker, more solid background */
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px;
    /* More padding */
    border-radius: 16px;
    position: relative;
    /* Speed up transition to 0.2s check */
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.process-card:hover {
    background: rgba(20, 20, 30, 0.95);
    transform: translateY(-5px);
    border: 2px solid #a855f7;
    /* Thicker border (2px) and Purple color */
    padding: 34px;
    /* Adjust padding to prevent layout shift from border increase (35px - 1px extra border) */
}

.step-number {
    font-size: 50px;
    /* Smaller size */
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    bottom: 10px;
    /* Moved to bottom */
    right: 20px;
    top: auto;
    /* Reset top */
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.process-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
    position: relative;
    z-index: 2;
    /* Ensure text is above number */
}

.process-card p {
    font-size: 16px;
    /* Increased size */
    color: #cbd5e1;
    /* Lighter slate color (slate-300) */
    line-height: 1.7;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

/* --- CONTACT --- */
.contact-section {
    position: relative;
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(18, 18, 23, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.cyber-input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.cyber-input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-left: 5px;
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.5);
}

/* --- FOOTER --- */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    background: #010102;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    /* Faster specific transition */
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: #aaa;
    transition: 0.3s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.social-btn:hover svg {
    fill: #ef4444;
    /* Changed to red on hover */
}

/* --- RESPONSIVE --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 40px;
    justify-content: center;
    z-index: 1001;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
    align-self: flex-end;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(2, 2, 4, 0.95);
    /* Slightly transparent */
    backdrop-filter: blur(15px);
    /* Glassmorphism */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}


/* Updated Mobile Menu Structure */
.menu {
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* Increased gap */
    max-width: 320px;
    /* Reference width from image */
    margin: 60px auto;
    /* More spacing from top */
    width: 100%;
    padding: 0 40px;
    /* More side padding for container */
}

/* RGB Pulse Animation */
@keyframes rgb-pulse {
    0% {
        border-color: #a855f7;
        /* Purple */
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.3), inset 0 0 5px rgba(168, 85, 247, 0.1);
    }

    100% {
        border-color: #3b82f6;
        /* Blue */
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), inset 0 0 10px rgba(59, 130, 246, 0.2);
    }
}

/* Neon Button Style - Stricter & Pulsing */
.menu-btn {
    position: relative;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    background: rgba(5, 5, 10, 0.8);

    /* Brighter, thicker border */
    border: 2px solid #a855f7;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    letter-spacing: 2px;

    /* Apply Pulse Animation */
    animation: rgb-pulse 3s infinite alternate;
    transition: transform 0.3s ease;
}

.menu-btn:hover {
    transform: translateY(-2px);
    /* Pausing animation or making it intense on hover? Let's make it fixed intense on hover */
    animation: none;
    border-color: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.menu-btn:active {
    transform: scale(0.98);
}

/* Telegram Button fixes - Match Style but distinct */
.mobile-menu .telegram-btn {
    font-size: 16px;
    padding: 16px 20px;
    margin-top: 20px;
    background: transparent;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    font-weight: 600;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;

    /* Also pulse but only blueish */
    animation: blue-pulse 3s infinite alternate;
}

@keyframes blue-pulse {
    0% {
        border-color: #3b82f6;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }

    100% {
        border-color: #60a5fa;
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
    }
}

.mobile-menu .telegram-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
    animation: none;
    border-color: #fff;
}


/* Close Button (Cross) - FIX */
.mobile-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    /* Larger hit area */
    height: 50px;
    /* Larger hit area */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    /* Faint bg to see hit area */
    transition: 0.3s;
    z-index: 9999;
    /* Super high z-index */
    pointer-events: auto;
    /* Force events */
}

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

.mobile-close::before,
.mobile-close::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

.mobile-close::before {
    transform: rotate(45deg);
}

.mobile-close::after {
    transform: rotate(-45deg);
}


@media (max-width: 900px) {
    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-card {
        padding: 30px;
    }

    .feature-order-swap {
        order: -1;
    }

    .liquid-text,
    .cases-title,
    .prod-title,
    .dev-title {
        font-size: 36px;
        /* Reduced from 48px to prevent wrapping issues */
        word-wrap: break-word;
        /* Ensure clear breaking if needed */
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

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

    /* Product & Dev Specific Mobile */
    .prod-grid,
    .pricing-grid,
    .faq-grid,
    .case-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .modal-sidebar {
        display: none;
    }

    .modal-window {
        grid-template-columns: 1fr;
        border-radius: 0;
        height: 100%;
    }
}

/* --- PAGE SPECIFIC STYLES --- */

/* PRODUCTS & DEV HERO */
.prod-hero,
.dev-hero,
.case-hero,
.cases-hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.15), transparent 70%);
}

.prod-title,
.dev-title,
.case-title,
.cases-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

.prod-desc,
.dev-desc,
.case-desc,
.cases-desc {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* PRODUCT BLOCKS */
.product-block {
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.prod-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.prod-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}

.prod-tag {
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.prod-features {
    margin: 30px 0;
    list-style: none;
}

.prod-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ccc;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.icon-box {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 12px;
}

.prod-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.prod-img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.prod-img-box:hover .prod-img {
    transform: scale(1.05);
}

/* PRICING */
.pricing-section {
    padding: 120px 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background: rgba(13, 13, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.price-card:hover {
    background: rgba(20, 20, 30, 0.95);
    transform: translateY(-5px);
    border: 2px solid #a855f7;
    padding: 39px;
    /* Adjust padding for border */
}

.price-card.combo {
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.1) 0%, rgba(13, 13, 18, 0.9) 100%);
    border: 1px solid var(--primary-purple);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.15);
}

.price-card.combo:hover {
    border: 2px solid #a855f7;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.3);
}

.combo-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

.price-name {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-val {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.price-val span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 15px;
    font-size: 15px;
    color: #ccc;
    display: flex;
    gap: 10px;
}

.tick {
    color: var(--primary-purple);
}

/* FAQ & CTA */
.faq-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--glass-border);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 15, 19, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(100px);
    opacity: 0;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 350px;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.cookie-btn-row {
    display: flex;
    gap: 10px;
}

.cookie-btn-accept {
    background: white;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 12px;
    flex-grow: 1;
}

@media (max-width: 600px) {
    .cookie-banner {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: auto;
    }
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 15px;
}

.cta-strip,
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
    border-top: 1px solid var(--glass-border);
}

/* CASES */
.case-card {
    background: rgba(13, 13, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.case-card:hover {
    background: rgba(20, 20, 30, 0.95);
    transform: translateY(-5px);
    border: 2px solid #a855f7;
    /* Note: overflow hidden handles border, padding changes might not be needed if no padding inside wrapper. 
       case-card has no padding, only content does. Border might overlap slightly or shrink content. 
       Usually fine for cases. */
}

.case-content {
    padding: 30px;
}

.case-h2 {
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.case-p {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-outline {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.3s;
}

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

.case-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.case-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.case-visual {
    position: relative;
    border-right: 1px solid var(--glass-border);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.metric-item strong {
    display: block;
    font-size: 28px;
    color: white;
}

.metric-item span {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
}

.client-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
}

/* MODALS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    background: #0f0f13;
    width: 100%;
    max-width: 1000px;
    height: 90vh;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: grid;
    grid-template-columns: 350px 1fr;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: 0.3s;
}

.modal-overlay.active .modal-window {
    transform: scale(1);
}

.modal-sidebar {
    background: #050507;
    padding: 40px;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
}

.modal-logo {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
}

.stack-list {
    list-style: none;
    margin-top: auto;
}

.stack-list li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stack-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
}

.modal-body {
    padding: 50px;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.modal-h2 {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
    color: white;
}

.modal-section-title {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

/* CHARTS */
.graph-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid var(--glass-border);
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 200px;
    margin-top: 20px;
}

.bar {
    flex: 1;
    background: var(--primary-blue);
    border-radius: 4px 4px 0 0;
    position: relative;
    height: 0;
    transition: height 1s ease;
    opacity: 0.8;
}

.modal-overlay.active .bar {
    height: var(--h);
}

.bar::before {
    content: attr(data-val);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: white;
    font-weight: 700;
}

.bar-label {
    text-align: center;
    position: absolute;
    bottom: 5px;
    width: 100%;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    z-index: 5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    /* Ensure readability on any background */
}

.compare-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.comp-val-bad {
    color: #ef4444;
    text-decoration: line-through;
}

.comp-val-good {
    color: #22c55e;
    font-weight: 700;
}

/* HIT BADGE Styles */
.price-card.hit {
    border-color: #a855f7;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.25);
    transform: scale(1.03);
    z-index: 2;
}

.hit-badge {
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.5);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
}