        /* ===== RESET & BASE ===== */
        :root {
            --gradient-primary: linear-gradient(135deg, #950740, #C3073F);
            --primary-color: #C3073F;
        }
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Quicksand', sans-serif;
            background: #1A1A1D; /* Charcoal background */
            color: #E2E2E5; /* Light readable grey text */
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            color: #FFFFFF; /* Bright white headings */
            line-height: 1.2;
        }

        /* ===== UTILITIES ===== */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .section-padding { padding: 120px 0; }
        .section-alt { background: #141416; position: relative; }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 32px;
            border-radius: 100px;
            font-family: 'Quicksand', sans-serif;
            font-weight: 700;
            font-size: 16px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            gap: 8px;
            border: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, #950740, #C3073F);
            color: #ffffff;
            /* box-shadow removed */
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            /* box-shadow removed */
            background: linear-gradient(135deg, #C3073F, #950740);
        }

        .btn-outline {
            background: #222226;
            color: #C3073F;
            border: 1px solid #4E4E50;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3);
        }

        .btn-outline:hover {
            background: #2b2b30;
            border-color: #C3073F;
            color: #ffffff;
            transform: translateY(-2px);
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .section-header h2 {
            font-size: clamp(32px, 5vw, 44px);
            margin-bottom: 16px;
        }

        .section-header p {
            font-size: 18px;
            color: #9E9EA5;
            max-width: 600px;
            margin: 0 auto;
            font-weight: 500;
        }

        .accent-text {
            color: #C3073F;
        }

        /* ===== SCROLL REVEAL ===== */
        .reveal {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== NAVIGATION ===== */
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 20px 0;
            transition: all 0.3s ease;
        }

        .nav.scrolled {
            background: rgba(26, 26, 29, 0.95);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.5);
            border-bottom: 1px solid #38383D;
        }

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

        .nav-logo {
            font-size: 24px;
            font-weight: 700;
            color: #FFFFFF;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 32px;
            list-style: none;
        }

        .nav-links a {
            color: #E2E2E5;
            text-decoration: none;
            font-size: 16px;
            font-weight: 600;
            transition: color 0.2s;
        }

        .nav-links a:hover {
            color: #C3073F;
        }

        .nav-cta {
            padding: 10px 24px !important;
            font-size: 15px !important;
            box-shadow: 0 4px 10px rgba(195, 7, 63, 0.3) !important;
        }

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

        .btn-hover-swap {
            min-width: 280px;
            overflow: hidden;
        }
        .text-wrap {
            position: relative;
            display: inline-flex;
            flex-direction: column;
            height: 20px;
            overflow: hidden;
        }
        .btn-hover-swap .text-default,
        .btn-hover-swap .text-hover {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 20px;
            line-height: 20px;
            white-space: nowrap;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .btn-hover-swap .text-hover {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            color: #ffffff;
        }
        .btn-hover-swap:hover .text-default {
            transform: translateY(-100%);
        }
        .btn-hover-swap:hover .text-hover {
            transform: translateY(-100%);
        }

        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 100px;
            position: relative;
            background: radial-gradient(circle at 15% 50%, rgba(195, 7, 63, 0.08) 0%, #0F0F13 60%);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 0.85fr 1.15fr;
            gap: 40px;
            align-items: center;
        }

        .hero-text h1 {
            font-size: clamp(40px, 5vw, 64px);
            line-height: 1.15;
            margin-bottom: 24px;
        }

        .hero-text p {
            font-size: 18px;
            color: #9E9EA5;
            margin-bottom: 40px;
            max-width: 480px;
            font-weight: 500;
        }

        .hero-buttons { position: relative; z-index: 1000;
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 48px;
        }

        .hero-stats {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
        }

        .stat-value {
            font-size: 32px;
            font-weight: 700;
            color: #C3073F;
            margin-bottom: 4px;
        }

        .stat-label {
            font-size: 14px;
            color: #9E9EA5;
            font-weight: 600;
        }

        /* ===== MESSENGER DESKTOP MOCKUP (GLASS THEME) ===== */
        .hero-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            width: 100%;
        }

        

        @keyframes mockupEntrance {
            0% { opacity: 0; transform: scale(0.95) translateY(30px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }
        
        /* MacBook Style Buttons (Top Right of Mockup) */
        .mac-buttons-global {
            position: absolute;
            top: 20px;
            right: 20px;
            display: flex;
            gap: 6px;
            z-index: 50;
        }

        /* SIDEBAR (Left) */
        .ms-sidebar { width: 35%; 
            width: 38%;
            background: rgba(0, 0, 0, 0.2);
            border-right: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
        }

        .ms-header {
            padding: 16px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 15px;
            font-weight: 700;
            color: #fff;
            background: transparent;
            z-index: 10;
        }
        
                        
        .ms-contacts {
            flex: 1;
            padding: 8px;
            display: flex;
            flex-direction: column;
            gap: 2px;
            overflow: hidden;
        }

        .ms-contact {
            position: relative;
            display: flex;
            align-items: center;
            padding: 6px 12px;
            border-radius: 12px;
            background: transparent;
            height: 44px;
            opacity: 1; filter: none; transform: none;
        }
        
        .ms-contact:not(:last-child)::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 54px;
            right: 12px;
            height: 1px;
            background: rgba(255, 255, 255, 0.06);
        }
        
        .ms-contact.c-1 { animation: blurCascade1 12s infinite cubic-bezier(0.2, 0.8, 0.2, 1); }
        .ms-contact.c-2 { animation: blurCascade2 12s infinite cubic-bezier(0.2, 0.8, 0.2, 1); }
        .ms-contact.c-3 { animation: blurCascade3 12s infinite cubic-bezier(0.2, 0.8, 0.2, 1); }
        
        /* Skeleton Layer */
        .ms-skeleton { display: none; }
        
        .c-1 .ms-skeleton { display: none; }
        .c-2 .ms-skeleton { display: none; }
        .c-3 .ms-skeleton { display: none; }

        .sk-avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1); flex-shrink: 0; }
        .sk-lines { display: flex; flex-direction: column; gap: 6px; flex: 1; justify-content: center; }
        .sk-line { height: 6px; background: rgba(255,255,255,0.1); border-radius: 4px; }
        .sk-line.w-short { width: 40%; }
        .sk-line.w-long { width: 70%; }

        /* Real Content Layer */
        .ms-real {
            position: absolute; left: 12px; top: 6px; right: 12px; bottom: 6px;
            display: flex; align-items: center; gap: 10px;
            opacity: 1;
        }
        
        .c-1 .ms-real { animation: showReal1 12s infinite cubic-bezier(0.2, 0.8, 0.2, 1); }
        .c-2 .ms-real { animation: showReal2 12s infinite cubic-bezier(0.2, 0.8, 0.2, 1); }
        .c-3 .ms-real { animation: showReal3 12s infinite cubic-bezier(0.2, 0.8, 0.2, 1); }

        .ms-avatar {
            width: 32px; height: 32px; border-radius: 50%;
            background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
            font-size: 13px; color: #fff; font-weight: 700;
            flex-shrink: 0;
        }

        .ms-contact-info {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .ms-name {
            font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 2px;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }

        .ms-status-wrap {
            position: relative;
            height: 16px;
        }

        .ms-status-typing {
            font-size: 11px; color: #b0b0c0; font-style: italic;
            position: absolute; left: 0; top: 0;
            opacity: 1;
        }
        
        .c-1 .ms-status-typing { animation: hideTyping1 12s infinite; }
        .c-2 .ms-status-typing { animation: hideTyping2 12s infinite; }
        .c-3 .ms-status-typing { animation: hideTyping3 12s infinite; }

        .ms-status-replied {
            font-size: 11px; color: var(--text-heading); font-weight: 600;
            position: absolute; left: 0; top: 0;
            display: flex; align-items: center; gap: 4px;
            opacity: 0;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        
        .c-1 .ms-status-replied { animation: showReply1 12s infinite; }
        .c-2 .ms-status-replied { animation: showReply2 12s infinite; }
        .c-3 .ms-status-replied { animation: showReply3 12s infinite; }

        .ms-status-replied svg { stroke: #C3073F; width: 12px; height: 12px; flex-shrink: 0; }
        
        /* CHAT AREA (Right) */
        .ms-chat { width: 65%; 
            width: 62%;
            display: flex;
            flex-direction: column;
            background: transparent;
            position: relative;
        }
        
        .ms-chat-header {
            padding: 16px 70px 16px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            gap: 12px;
            background: transparent;
        }

        .ms-chat-body {
            flex: 1;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .ms-input {
            padding: 16px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            color: #b0b0c0;
            font-size: 13px;
            display: flex; align-items: center; justify-content: space-between;
        }

        /* Bubbles in Chat */
        .mc-bubble {
            font-size: 13px; padding: 10px 14px; border-radius: 14px;
            line-height: 1.4; font-weight: 500; max-width: 85%;
            animation: fadeInChat 12s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        .mc-client {
            background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.05);
            align-self: flex-start; border-bottom-left-radius: 4px;
        }

        .mc-bot {
            background: var(--gradient-primary); color: #fff;
            align-self: flex-end; border-bottom-right-radius: 4px;
            box-shadow: 0 4px 12px rgba(195, 7, 63, 0.3);
            opacity: 0; transform: scale(0.9) translateY(10px);
            animation: botChatReply 12s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        /* Overlay Mass Toast */
        .ms-overlay-toast { display: none; }
        @media (max-width: 480px) {
            .ms-overlay-toast { display: none; }
        }

        
        /* --- JS Demo Chat Styles --- */
        .demo-msg {
            font-size: 13px; padding: 10px 14px; border-radius: 14px;
            line-height: 1.4; font-weight: 500; max-width: 85%;
            opacity: 0;
            transform: translateY(10px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        }
        .demo-msg.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        .client-msg {
            background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.05);
            align-self: flex-start; border-bottom-left-radius: 4px;
        }
        .bot-msg {
            background: var(--gradient-primary); color: #fff;
            align-self: flex-end; border-bottom-right-radius: 4px;
            box-shadow: 0 4px 12px rgba(195, 7, 63, 0.3);
        }
        .typing-indicator {
            display: flex; align-items: center; gap: 4px; padding: 10px 14px;
            background: var(--gradient-primary);
            box-shadow: 0 4px 12px rgba(195, 7, 63, 0.3);
            border-radius: 14px; border-bottom-right-radius: 4px; align-self: flex-end;
        }
        .typing-dot {
            width: 5px; height: 5px; border-radius: 50%; background: #fff;
            animation: typing 1.4s infinite;
        }
        .typing-dot:nth-child(2) { animation-delay: 0.2s; }
        .typing-dot:nth-child(3) { animation-delay: 0.4s; }
        
        @keyframes typing {
            0%, 100% { transform: translateY(0); opacity: 0.5; }
            50% { transform: translateY(-3px); opacity: 1; }
        }

        
        
        /* Pause animations until scrolled into view */
        .hero-visual .ms-contact, 
        .hero-visual .ms-status-typing, 
        .hero-visual .ms-status-replied, 
        .hero-visual .ms-skeleton, 
        .hero-visual .ms-real,
        .hero-visual .ms-overlay-toast { display: none; }
        
        .hero-visual.playing .ms-contact, 
        .hero-visual.playing .ms-status-typing, 
        .hero-visual.playing .ms-status-replied, 
        .hero-visual.playing .ms-skeleton, 
        .hero-visual.playing .ms-real,
        .hero-visual.playing .ms-overlay-toast { display: none; }

        /* Counter Animation */
        @keyframes countUp {
            0%, 13.3% { content: "Повідомлення (1)"; }
            18.3%, 26.6% { content: "Повідомлення (4)"; }
            31.6%, 100% { content: "Повідомлення (10)"; }
        }

        /* ===== 12s TIMELINE KEYFRAMES ===== */
        
        @keyframes mockupEntrance {
            0% { opacity: 0; transform: scale(0.95) translateY(30px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }

        /* Waterfall: C-1 */
        @keyframes blurCascade1 {
            0%, 1.6% { opacity: 0; filter: blur(12px); transform: translateY(30px) scale(0.95); }
            6.6%, 95.8% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
            97.5%, 100% { opacity: 0; filter: blur(8px); transform: translateY(-20px) scale(0.95); }
        }
        @keyframes hideSkeleton1 {
            0%, 6.6% { opacity: 1; transform: scale(1); }
            8.3%, 100% { opacity: 0; transform: scale(0.95); }
        }
        @keyframes showReal1 {
            0%, 6.6% { opacity: 0; transform: scale(0.95); }
            8.3%, 95.8% { opacity: 1; transform: scale(1); }
            97.5%, 100% { opacity: 0; }
        }
        @keyframes hideTyping1 {
            0%, 8.3% { opacity: 1; transform: scale(1); }
            10.0%, 100% { opacity: 0; transform: scale(0.9); }
        }
        @keyframes showReply1 {
            0%, 8.3% { opacity: 0; transform: scale(0.9); }
            10.0%, 95.8% { opacity: 1; transform: scale(1); color: #fff; }
            97.5%, 100% { opacity: 0; }
        }

        /* Waterfall: C-2 */
        @keyframes blurCascade2 {
            0%, 13.3% { opacity: 0; filter: blur(12px); transform: translateY(30px) scale(0.95); }
            18.3%, 95.8% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
            97.5%, 100% { opacity: 0; filter: blur(8px); transform: translateY(-20px) scale(0.95); }
        }
        @keyframes hideSkeleton2 {
            0%, 20.0% { opacity: 1; transform: scale(1); }
            21.6%, 100% { opacity: 0; transform: scale(0.95); }
        }
        @keyframes showReal2 {
            0%, 20.0% { opacity: 0; transform: scale(0.95); }
            21.6%, 95.8% { opacity: 1; transform: scale(1); }
            97.5%, 100% { opacity: 0; }
        }
        @keyframes hideTyping2 {
            0%, 21.6% { opacity: 1; transform: scale(1); }
            23.3%, 100% { opacity: 0; transform: scale(0.9); }
        }
        @keyframes showReply2 {
            0%, 21.6% { opacity: 0; transform: scale(0.9); }
            23.3%, 95.8% { opacity: 1; transform: scale(1); color: #fff; }
            97.5%, 100% { opacity: 0; }
        }

        /* Waterfall: C-3 */
        @keyframes blurCascade3 {
            0%, 26.6% { opacity: 0; filter: blur(12px); transform: translateY(30px) scale(0.95); }
            31.6%, 95.8% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
            97.5%, 100% { opacity: 0; filter: blur(8px); transform: translateY(-20px) scale(0.95); }
        }
        @keyframes hideSkeleton3 {
            0%, 33.3% { opacity: 1; transform: scale(1); }
            35.0%, 100% { opacity: 0; transform: scale(0.95); }
        }
        @keyframes showReal3 {
            0%, 33.3% { opacity: 0; transform: scale(0.95); }
            35.0%, 95.8% { opacity: 1; transform: scale(1); }
            97.5%, 100% { opacity: 0; }
        }
        @keyframes hideTyping3 {
            0%, 35.0% { opacity: 1; transform: scale(1); }
            36.6%, 100% { opacity: 0; transform: scale(0.9); }
        }
        @keyframes showReply3 {
            0%, 35.0% { opacity: 0; transform: scale(0.9); }
            36.6%, 95.8% { opacity: 1; transform: scale(1); color: #fff; }
            97.5%, 100% { opacity: 0; }
        }

        /* Right side chat */
        @keyframes fadeInChat {
            0%, 1.6% { opacity: 0; transform: translateY(15px) scale(0.98); }
            8.3%, 95.8% { opacity: 1; transform: translateY(0) scale(1); }
            97.5%, 100% { opacity: 0; }
        }
        @keyframes botChatReply {
            0%, 10.0% { opacity: 0; transform: scale(0.9) translateY(10px); }
            11.6%, 95.8% { opacity: 1; transform: scale(1) translateY(0); }
            97.5%, 100% { opacity: 0; transform: scale(0.9) translateY(-10px); }
        }
        
        @keyframes massToast {
            0%, 37.5% { opacity: 0; transform: translate(-50%, 20px) scale(0.9); }
            40.8%, 95.8% { opacity: 1; transform: translate(-50%, 0) scale(1); }
            97.5%, 100% { opacity: 0; transform: translate(-50%, -10px) scale(0.9); }
        }

        /* ===== FEATURES ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .feature-card {
            background: #222226;
            border: 1px solid #38383D;
            border-radius: 24px;
            padding: 40px 32px;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            text-align: center;
        }

        .feature-card:hover {
            border-color: #C3073F;
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(195, 7, 63, 0.2);
        }

        .feature-icon {
            width: 64px;
            height: 64px;
            border-radius: 20px;
            background: rgba(195, 7, 63, 0.12);
            border: 1px solid rgba(195, 7, 63, 0.3);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            box-shadow: 0 8px 20px rgba(195, 7, 63, 0.15);
            transition: all 0.3s ease;
        }

        .feature-card:hover .feature-icon {
            background: rgba(195, 7, 63, 0.25);
            border-color: #C3073F;
            transform: scale(1.08);
            box-shadow: 0 10px 25px rgba(195, 7, 63, 0.3);
        }

        .feature-card h3 {
            font-size: 20px;
            margin-bottom: 12px;
            color: #FFFFFF;
        }

        .feature-card p {
            font-size: 15px;
            color: #9E9EA5;
            font-weight: 500;
        }

        /* ===== HOW IT WORKS ===== */
        .steps-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .step-card {
            background: #222226;
            border: 1px solid #38383D;
            border-radius: 24px;
            padding: 40px 32px;
            text-align: center;
            position: relative;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .step-number {
            width: 48px; height: 48px;
            background: linear-gradient(135deg, #950740, #C3073F);
            color: white;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 24px; font-weight: 700;
            margin: 0 auto 24px;
            box-shadow: 0 4px 10px rgba(195, 7, 63, 0.4);
        }

        .step-card h3 {
            font-size: 20px;
            margin-bottom: 16px;
        }

        .step-card p {
            font-size: 15px;
            color: #9E9EA5;
            font-weight: 500;
        }

        
        /* ===== PRICING TOGGLE ===== */
        .pricing-toggle-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-top: 40px;
            margin-bottom: -30px; /* Pull it closer to the tariffs */
        }

        .toggle-label {
            font-size: 16px;
            font-weight: 600;
            color: #9E9EA5;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .toggle-label.active {
            color: #ffffff;
        }

        .badge-save {
            background: rgba(94, 220, 123, 0.1);
            color: #5EDC7B;
            padding: 2px 8px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 700;
            border: 1px solid rgba(94, 220, 123, 0.2);
            margin-left: 4px;
        }

        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 56px;
            height: 32px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #222226;
            border: 1px solid #38383D;
            transition: .4s;
            border-radius: 34px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 24px;
            width: 24px;
            left: 3px;
            bottom: 3px;
            background-color: #ffffff;
            transition: .4s;
            border-radius: 50%;
            box-shadow: 0 2px 4px rgba(0,0,0,0.4);
        }

        input:checked + .toggle-slider {
            background-color: #C3073F;
            border-color: #C3073F;
        }

        input:checked + .toggle-slider:before {
            transform: translateX(24px);
        }
        
        .pricing-savings {
            font-size: 14px;
            color: #5EDC7B;
            font-weight: 600;
            letter-spacing: 0.3px;
            margin-top: -8px;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            height: 0;
            overflow: hidden;
        }
        
        .pricing-savings.visible {
            opacity: 1;
            transform: translateY(0);
            height: 20px;
        }

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

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

        .pricing-card {
            background: #222226;
            border: 1px solid #38383D;
            border-radius: 24px;
            padding: 40px 32px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
        }

        .pricing-card:hover { transform: translateY(-4px); }

        .pricing-card.popular {
            border-color: #C3073F;
            background: #25181c;
            position: relative;
            box-shadow: 0 10px 30px rgba(195, 7, 63, 0.2);
        }

        .pricing-card.popular::before {
            content: 'Найпопулярніший';
            position: absolute;
            top: -14px;
            left: 50%;
            transform: translateX(-50%);
            background: #C3073F;
            color: white;
            padding: 4px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
        }

        .pricing-plan-name {
            font-size: 20px;
            font-weight: 700;
            color: #FFFFFF;
            margin-bottom: 16px;
        }

        .pricing-price {
            font-size: 48px;
            font-weight: 700;
            color: #C3073F;
            margin-bottom: 12px;
        }

        .pricing-price .price-period {
            font-size: 16px;
            color: #C4C4CD; /* Lighter, more visible */
            font-weight: 600;
        }
        .pricing-price .price-val {
            font-size: 48px;
            font-weight: 700;
            color: #C3073F;
        }

        .pricing-desc {
            font-size: 15px;
            color: #9E9EA5;
            margin-bottom: 32px;
            padding-bottom: 32px;
            border-bottom: 1px solid #38383D;
            font-weight: 500;
        }

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

        .pricing-features li {
            font-size: 15px;
            color: #E2E2E5;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 500;
        }

        .pricing-features li::before {
            content: '✓';
            color: #C3073F;
            font-size: 14px;
            font-weight: bold;
        }

        .pricing-card .btn { width: 100%; margin-top: auto; }

        .pricing-features li.excluded {
            color: #6e6e73;
            opacity: 0.6;
        }
        
        .pricing-features li.excluded::before {
            content: '✕';
            color: #ef4444;
            font-size: 14px;
            font-weight: 700;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: #222226;
            border: 1px solid #38383D;
            border-radius: 16px;
            margin-bottom: 16px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            overflow: hidden;
        }

        .faq-question {
            width: 100%;
            text-align: left;
            padding: 24px;
            background: none;
            border: none;
            font-family: 'Quicksand', sans-serif;
            font-size: 18px;
            font-weight: 700;
            color: #FFFFFF;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-icon {
            font-size: 24px;
            color: #C3073F;
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-answer-inner {
            padding: 0 24px 24px;
            font-size: 15px;
            color: #9E9EA5;
            line-height: 1.6;
            font-weight: 500;
        }

        .faq-item.active .faq-answer {
            max-height: 200px;
        }

        /* ===== FOOTER ===== */
        .footer {
            background: #141416;
            border-top: 1px solid #38383D;
            padding: 80px 0 40px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 64px;
            margin-bottom: 64px;
        }

        .footer-col h4 {
            font-size: 16px;
            font-weight: 700;
            color: #FFFFFF;
            margin-bottom: 20px;
        }

        .footer-col a {
            display: block;
            color: #9E9EA5;
            text-decoration: none;
            font-size: 15px;
            margin-bottom: 12px;
            font-weight: 500;
            transition: color 0.2s;
        }

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

        .footer-bottom {
            padding-top: 32px;
            border-top: 1px solid #38383D;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            color: #9E9EA5;
            font-weight: 500;
        }

        /* ===== RESPONSIVE ===== */
        .nav-hamburger {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            z-index: 1001;
        }
        .nav-hamburger span {
            display: block;
            width: 28px;
            height: 3px;
            background: #FFFFFF;
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        
        @media (max-width: 992px) {
            .nav-hamburger { display: flex; }
            .nav-links {
                position: fixed;
                top: 0; left: 0; right: 0;
                background: rgba(10, 10, 15, 0.95);
                backdrop-filter: blur(10px);
                flex-direction: column;
                padding: 100px 24px 40px;
                box-shadow: 0 10px 30px rgba(0,0,0,0.1);
                transform: translateY(-100%);
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                opacity: 0; pointer-events: none;
            }
            .nav-links.active {
                transform: translateY(0);
                opacity: 1; pointer-events: auto;
            }
            .nav-hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
            .nav-hamburger.active span:nth-child(2) { opacity: 0; }
            .nav-hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

            .hero-content { grid-template-columns: 1fr; text-align: center; }
            .hero-text h1 { font-size: 36px; }
            .hero-text p { margin: 0 auto 40px; font-size: 16px; }
            .hero-buttons { position: relative; z-index: 1000; justify-content: center; }
            .hero-visual .laptop-3d-screen { padding-top: 195% !important; }
            
            .stat-value { font-size: 24px; }
            .section-padding { padding: 60px 0; }
            .features-grid, .pricing-grid, .steps-container { grid-template-columns: 1fr; gap: 24px; }
            .pricing-card.popular { order: -1; }
            .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
            .footer-bottom { flex-direction: column; gap: 16px; justify-content: center; text-align: center; }
            .section-header h2 { font-size: 28px; }
        }
    
        /* ===== CAROUSEL ===== */
        .features-carousel-container {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }
        .features-carousel-wrap {
            width: 100%;
            overflow: hidden;
            padding: 40px 0; /* extra padding for glow */
        }
        .features-track {
            display: flex;
            gap: 24px;
        }
        .features-track .feature-card {
            flex: 0 0 300px;
            margin: 0;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, box-shadow 0.5s ease;
            opacity: 0.5;
            transform: scale(0.85);
            cursor: pointer;
        }
        .features-track .feature-card.active {
            opacity: 1;
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(195, 7, 63, 0.3);
            border-color: #C3073F;
            z-index: 10;
        }
        
        /* Elegant Arrows */
        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(26, 26, 29, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 20;
            backdrop-filter: blur(8px);
            transition: all 0.3s ease;
        }
        .carousel-arrow:hover {
            background: rgba(195, 7, 63, 0.8);
            border-color: #C3073F;
            transform: translateY(-50%) scale(1.1);
        }
        .carousel-arrow svg {
            width: 24px;
            height: 24px;
            stroke-width: 2;
        }
        .carousel-arrow.left { left: 10px; }
        .carousel-arrow.right { right: 10px; }


/* ─── Data Table & Pagination ─── */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.data-table th, .data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr {
    transition: background-color 0.2s;
}

.data-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

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

.page-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.page-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.expand-btn-container {
    text-align: center;
    margin-top: 16px;
}

.expand-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    padding: 8px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.expand-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}


        /* ===== 3D LAPTOP MOCKUP ===== */
        .laptop-3d-wrapper {
            perspective: 2000px;
            width: 100%;
            max-width: 1000px; /* 16% larger */
            margin: -40px auto 0; /* Lifted higher */
            z-index: 10;
            position: relative;
        }
        
        .laptop-3d-wrapper::before,
        .laptop-3d-wrapper::after {
            content: '';
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            z-index: -1;
            pointer-events: none;
        }
        .laptop-3d-wrapper::before {
            top: -10%; left: -5%;
            width: 40%; height: 40%;
            background: rgba(195, 7, 63, 0.15); /* light burgundy glow */
        }
        .laptop-3d-wrapper::after {
            bottom: -10%; right: -5%;
            width: 50%; height: 50%;
            background: rgba(195, 7, 63, 0.08); /* blurred spot */
        }

        .laptop-3d-scene {
            position: relative;
            width: 100%;
            /* Rotate straight on, maybe a tiny floating tilt */
            transform: rotateX(2deg) rotateY(0deg) rotateZ(0deg);
            animation: tabletEntrance 2s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        @keyframes tabletEntrance {
            0% { opacity: 0; transform: scale(0.95) translateY(20px); }
            100% { opacity: 1; transform: scale(1) translateY(0) rotateX(2deg) rotateY(0deg); }
        }

        /* --- SCREEN --- */
        .laptop-3d-screen {
            position: relative;
            width: 100%;
            padding-top: 70%; 
            background: #000;
            border-radius: 28px;
            border: 9px solid #1c1c1e; /* Thinner frame */
            /* Metallic edge + soft shadow + small glow + inner gap shadow */
            box-shadow: 
                0 0 0 1px #4a4a50, 
                0 0 0 2px #111,
                0 0 30px rgba(195, 7, 63, 0.1), /* glow around screen */
                0 40px 100px rgba(0,0,0,0.5); /* very soft shadow */
            z-index: 2;
            overflow: hidden; /* To contain glare */
        }

        .laptop-3d-screen::after {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            pointer-events: none;
            /* Light glare top-left */
            background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 45%);
            z-index: 50;
        }

        /* iPad Home Indicator */
        .laptop-3d-screen::before {
            content: '';
            position: absolute;
            bottom: 8px;
            left: 50%;
            transform: translateX(-50%);
            width: 15%;
            height: 4px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 4px;
            z-index: 100;
            pointer-events: none;
        }

        .laptop-camera {
            position: absolute;
            top: 8px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background: #111;
            border-radius: 50%;
            border: 1px solid #222;
            z-index: 10;
        }

        .laptop-logo {
            position: absolute;
            bottom: -14px;
            left: 50%;
            transform: translateX(-50%);
            height: 14px;
            display: flex;
            align-items: center;
            font-size: 8px;
            color: #555;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .laptop-3d-screen-inner {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: radial-gradient(circle at top right, #3B001F, #0a0a0f);
            border-radius: 18px;
            overflow: hidden;
            display: flex;
            border: 1px solid rgba(255,255,255,0.05);
        }

        /* --- BASE --- */
        .laptop-3d-base {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 400px; 
            background: linear-gradient(to bottom, #7a7a80, #4a4a50); /* Space Gray Base */
            border-radius: 0 0 16px 16px;
            transform-origin: top center;
            transform: rotateX(-90deg) translateY(2px);
            transform-style: preserve-3d;
            border: 1px solid #8a8a90;
            border-top: none;
            box-shadow: 0 50px 70px rgba(0,0,0,0.8);
            z-index: 1;
        }

        .laptop-3d-keyboard {
            position: absolute;
            top: 30px;
            left: 8%;
            width: 84%;
            height: 200px;
            background: #111;
            border-radius: 8px;
            border: 1px solid #222;
            box-shadow: inset 0 2px 8px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.2);
            background-image: 
                linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
            background-size: 28px 28px;
            background-position: center top;
        }

        .laptop-3d-trackpad {
            position: absolute;
            top: 260px;
            left: 50%;
            transform: translateX(-50%);
            width: 35%;
            height: 130px;
            background: #5a5a60;
            border-radius: 8px;
            border: 1px solid rgba(0,0,0,0.2);
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 1px 0 rgba(255,255,255,0.2);
        }

        .laptop-3d-lip {
            position: absolute;
            top: 100%;
            left: -1px;
            width: calc(100% + 2px);
            height: 14px;
            background: linear-gradient(to right, #3a3a40, #5a5a60, #3a3a40); /* Lip lighting */
            transform-origin: top center;
            transform: rotateX(90deg);
            border-radius: 0 0 16px 16px;
            border: 1px solid #4a4a50;
        }

        .laptop-3d-side {
            position: absolute;
            top: 0;
            width: 14px;
            height: 100%;
            background: linear-gradient(to bottom, #6a6a70, #3a3a40);
            border: 1px solid #5a5a60;
        }

        .laptop-3d-side-left {
            left: -1px;
            transform-origin: left center;
            transform: rotateY(-90deg);
            border-radius: 0 0 0 16px;
        }

        .laptop-3d-side-right {
            right: -1px;
            transform-origin: right center;
            transform: rotateY(90deg);
            border-radius: 0 0 16px 0;
        }
        

        .laptop-3d-side {
            position: absolute;
            top: 0;
            width: 12px;
            height: 100%;
            background: linear-gradient(to bottom, #2a2a2e, #151518);
            border: 1px solid #38383D;
        }

        .laptop-3d-side-left {
            left: 0;
            transform-origin: left center;
            transform: rotateY(-90deg);
            border-radius: 0 0 0 16px;
        }

        .laptop-3d-side-right {
            right: 0;
            transform-origin: right center;
            transform: rotateY(90deg);
            border-radius: 0 0 16px 0;
        }
        

        /* Messenger Mockup */
        .messenger-mockup {
            width: 100%;
            height: 100%;
            background: rgba(26, 26, 29, 0.7);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            display: flex;
            overflow: hidden;
            position: relative;
        }

        .mac-buttons-global {
            position: absolute;
            top: 16px;
            left: 16px;
            display: flex;
            gap: 6px;
            z-index: 50;
        }

        .unread-badge {
            width: 8px; height: 8px;
            background: #C3073F;
            border-radius: 50%;
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            box-shadow: 0 0 8px rgba(195,7,63,0.5);
        }

        .ms-contact.active-contact {
            background: rgba(255,255,255,0.06);
        }
        
        /* Fix padding for ms-header to avoid overlapping Mac buttons */
        .ms-header {
            padding: 16px 20px 16px 70px !important;
        }


/* Utility to disable transitions during snap */
.no-transition, .no-transition * {
    transition: none !important;
}

@media (max-width: 992px) {
    .laptop-3d-wrapper { margin-top: 40px !important; }
}

@media (max-width: 768px) {
    .btn-hover-swap {
        min-width: unset !important;
        width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 14px !important;
    }
    .btn-hover-swap svg {
        width: 16px !important;
        height: 16px !important;
        margin-right: 4px !important;
    }
    .laptop-3d-wrapper {
        max-width: 320px !important;
        transform: scale(0.95) !important;
        transform-origin: top center;
    }
    .laptop-3d-screen {
        padding-top: 195% !important; /* iPhone height */
        border-radius: 40px !important;
        border-width: 10px !important;
        box-shadow: 0 0 0 1px #4a4a50, 0 0 0 2px #111, 0 0 30px rgba(195, 7, 63, 0.1), 0 40px 100px rgba(0,0,0,0.5) !important;
    }
    .laptop-3d-screen-inner, .messenger-mockup.mockup-v2 {
        border-radius: 30px !important;
    }
    .laptop-3d-screen::before {
        width: 35% !important; /* Longer home indicator */
        bottom: 8px !important;
    }
    .laptop-camera {
        top: 10px !important;
        width: 90px !important;
        height: 26px !important;
        border-radius: 20px !important;
        background: #000 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding-right: 8px !important;
        opacity: 1 !important;
    }
    .laptop-camera > div {
        display: none !important; /* Hide inline dot to prevent duplicates */
    }
    /* Dynamic Island Camera Dot */
    .laptop-camera::after {
        content: '';
        display: block;
        width: 10px;
        height: 10px;
        background: #111;
        border-radius: 50%;
        box-shadow: inset 0 0 2px rgba(255,255,255,0.2);
    }
    /* Hide sidebar and adjust chat for mobile look */
    .v2-sidebar {
        display: none !important;
    }
    .v2-chat {
        border-radius: 30px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .v2-chat-header {
        padding: 42px 10px 10px 10px !important; /* Clear Dynamic Island */
        gap: 8px !important;
    }
    .v2-chat-user {
        gap: 10px !important;
        justify-content: flex-start !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    .v2-user-details {
        text-align: left !important;
        margin: 0 !important;
        /* Removed overflow hidden so pill is visible */
    }
    .v2-chat-actions .v2-btn-outline {
        padding: 4px 8px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }
    .v2-chat-actions .v2-btn-icon {
        display: none !important; /* Hide 3 dots on mobile */
    }
}


/* Global Lightning Animation for Hero & Demo */
.lightning-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    mix-blend-mode: screen;
}
.lightning {
    position: absolute;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 400" xmlns="http://www.w3.org/2000/svg"><path d="M 65 0 L 30 180 H 55 L 20 400 L 80 160 H 50 Z" fill="%23ff4d79" style="filter: drop-shadow(0 0 15px %23C3073F) drop-shadow(0 0 30px %23C3073F)"/></svg>') no-repeat center top;
    background-size: 100% 100%;
    opacity: 0;
    mix-blend-mode: screen;
}

@keyframes strike-lightning {
    0%   { opacity: 0; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); filter: brightness(1); }
    1%   { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); filter: brightness(2); }
    5%   { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); filter: brightness(1.2); }
    6%   { opacity: 0.3; filter: brightness(1); }
    7%   { opacity: 0.8; filter: brightness(1.5); }
    12%  { opacity: 0; }
    100% { opacity: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.l1 { width: 300px; height: 100vh; top: -5%; left: 0%; transform-origin: top center; animation: strike-lightning 12s infinite 2s; }
.l2 { width: 400px; height: 120vh; top: -10%; left: 45%; transform-origin: top center; transform: scaleX(-1); animation: strike-lightning 17s infinite 6s; }
.l3 { width: 250px; height: 80vh; top: -5%; right: 0%; transform-origin: top center; animation: strike-lightning 23s infinite 10s; }

/* Finance KPI Icons */
.fin-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.fin-kpi-icon svg {
  width: 20px;
  height: 20px;
}
.fin-kpi-icon.income { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.fin-kpi-icon.expense { background: rgba(168, 85, 247, 0.1); color: #A855F7; }
.fin-kpi-icon.profit { background: rgba(225, 29, 72, 0.1); color: #E11D48; }
.fin-kpi-icon.salaries { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.fin-kpi-icon.avg { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
.fin-kpi-icon.appointments { background: rgba(236, 72, 153, 0.1); color: #EC4899; }

/* Custom scrollbar for lists */
.scrollable-list {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}
.scrollable-list::-webkit-scrollbar {
    width: 6px;
}
.scrollable-list::-webkit-scrollbar-track {
    background: transparent;
}
.scrollable-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.scrollable-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Top services tooltip hover */
.top-service-name-container:hover .fin-custom-tooltip {
    opacity: 1 !important;
    transform: translateX(0) translateY(-4px) !important;
}
