@font-face {
    font-family: 'Forma DJR Arabic Text';
    src: url('../font/alfont_com_FormaDJRArabicText-Medium-Testing.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Light Mode Colors */
    --bg-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --frame-border: #eeeeee;
    --bento-bg: #f9f9f9;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --card-border: #eeeeee;
    --accent-color: #000000;
    --accent-text: #ffffff;
    
    /* Play Icon Colors */
    --play-icon-bg: #000000;
    --play-icon-text: #ffffff;
    
    /* Fonts */
    --font-main: 'Rubik', sans-serif;
    
    /* Star Colors */
    --star-color-1: rgba(0, 0, 0, 0.2);
    --star-color-2: rgba(0, 0, 0, 0.15);
}

html {
    overflow-y: scroll;
    scroll-padding-top: 80px;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-main);
    font-weight: 500;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --frame-border: #222222;
    --bento-bg: #151515;
    --nav-bg: rgba(10, 10, 10, 0.9);
    --card-border: #222222;
    --accent-color: #ffffff;
    --accent-text: #000000;
    --play-icon-bg: #ffffff;
    --play-icon-text: #000000;
    
    --star-color-1: rgba(255, 255, 255, 0.5);
    --star-color-2: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 { transition-delay: 0.2s; }
.stagger-2 { transition-delay: 0.4s; }
.stagger-3 { transition-delay: 0.6s; }
.stagger-4 { transition-delay: 0.8s; }
.stagger-5 { transition-delay: 1.0s; }
.stagger-6 { transition-delay: 1.2s; }
.stagger-7 { transition-delay: 1.4s; }
.stagger-8 { transition-delay: 1.6s; }

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* transition removed — was causing layout recalc on every scroll frame */
}

/* --- Top Lines --- */
.top-lines {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.top-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.8), transparent);
    animation: slideLine 3s ease-in-out infinite;
}

.top-line:nth-child(2) {
    animation-delay: 0.5s;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
}

.top-line:nth-child(3) {
    animation-delay: 1s;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.4), transparent);
}

@keyframes slideLine {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* --- Hero Section --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

.spline-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    contain: layout style;
}
.spline-container iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.spline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

[data-theme="dark"] .spline-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.5) 100%);
}

.hero-section > :not(.spline-container):not(.spline-overlay) {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 10;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 40%, #f0f2f5 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
    font-family: 'Poppins', var(--font-main), sans-serif;
    contain: layout style;
}

/* ── Animated Grid Beams (disabled – replaced by Spline background) ── */
.hero-section::before {
    display: none;
}

@keyframes slideBeams {
    0% {
        background-position:
            -120px 33.33vh,
            calc(100% + 100px) 66.66vh,
            33.33vw -120px,
            66.66vw calc(100% + 100px);
    }
    100% {
        background-position:
            calc(100% + 120px) 33.33vh,
            -100px 66.66vh,
            33.33vw calc(100% + 120px),
            66.66vw -100px;
    }
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 40%, #0a0a0a 100%);
}

[data-theme="dark"] .hero-section::before {
    display: none;
}

.hero-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(31, 107, 255, 0.15);
    background: rgba(31, 107, 255, 0.05);
    border-radius: 100px;
    padding: 5px 14px 5px 6px;
    text-decoration: none;
    margin-top: 20px;
    margin-bottom: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(31, 107, 255, 0.05);
}

.hero-badge-link:hover {
    background: rgba(31, 107, 255, 0.1);
    border-color: rgba(31, 107, 255, 0.3);
    transform: translateY(-2px);
}

.badge-tag {
    background: #1f6bff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
}

.badge-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-family: var(--font-main);
}

[data-theme="dark"] .hero-badge-link {
    border-color: rgba(147, 197, 253, 0.2);
    background: rgba(147, 197, 253, 0.04);
}

[data-theme="dark"] .badge-text {
    color: #60a5fa;
}

[data-theme="dark"] .badge-tag {
    background: #1f6bff;
}

.hero-badge-link i {
    font-size: 10px;
    color: #1f6bff;
    transition: transform 0.3s ease;
    margin-right: 4px;
}

[data-theme="dark"] .hero-badge-link i {
    color: #60a5fa;
}

.hero-badge-link:hover i {
    transform: translateX(-4px);
}

.hero-title {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 16px;
    max-width: 800px;
    color: #ffffff;
    font-family: var(--font-main), 'Poppins', sans-serif;
    letter-spacing: -0.02em;
}

.highlight-text {
    font-weight: inherit;
    color: inherit;
}

[data-theme="dark"] .hero-title {
    color: #ffffff;
}

.hero-tagline {
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 36px;
    font-family: var(--font-main), 'Poppins', sans-serif;
}

[data-theme="dark"] .hero-tagline {
    color: rgba(255, 255, 255, 0.75);
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: #1f6bff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(31, 107, 255, 0.25);
    font-family: var(--font-main), sans-serif;
}

.btn-cta:hover {
    background: #0056fd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 107, 255, 0.45);
}

.btn-cta i {
    transition: transform 0.2s ease;
    font-size: 12px;
}

.btn-cta:hover i {
    transform: translateX(-4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-main), sans-serif;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-ghost {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* ── Dashboard Image Showcase ── */
.hero-preview {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin-top: 32px;
    padding: 0 16px;
    margin-bottom: -40px;
    z-index: 2;
    will-change: transform;
}

.hero-preview-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.hero-preview-tab {
    position: relative;
    padding: 10px 24px;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    box-shadow: 0 0 0 rgba(255,255,255,0);
    font-family: var(--font-main), 'Poppins', sans-serif;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    overflow: visible;
    transition: all 0.3s ease-in-out;
}

.hero-preview-tab i {
    font-size: 13px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-preview-tab:hover {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 0 25px rgba(255,255,255,0.12);
}

.hero-preview-tab:hover i {
    opacity: 1;
}

/* ── Stars ── */
.hero-preview-tab .star-1,
.hero-preview-tab .star-2,
.hero-preview-tab .star-3,
.hero-preview-tab .star-4,
.hero-preview-tab .star-5,
.hero-preview-tab .star-6 {
    position: absolute;
    opacity: 0;
    filter: drop-shadow(0 0 0 rgba(255,255,255,0));
    z-index: -5;
    pointer-events: none;
}

.hero-preview-tab .star-1 {
    top: 20%;
    left: 20%;
    width: 25px;
    height: auto;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.hero-preview-tab .star-2 {
    top: 45%;
    left: 45%;
    width: 15px;
    height: auto;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.hero-preview-tab .star-3 {
    top: 40%;
    left: 40%;
    width: 5px;
    height: auto;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.hero-preview-tab .star-4 {
    top: 20%;
    left: 40%;
    width: 8px;
    height: auto;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.hero-preview-tab .star-5 {
    top: 25%;
    left: 45%;
    width: 15px;
    height: auto;
    transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
}

.hero-preview-tab .star-6 {
    top: 5%;
    left: 50%;
    width: 5px;
    height: auto;
    transition: all 0.8s ease;
}

/* Hover — stars fly out */
.hero-preview-tab:hover .star-1 {
    top: -80%;
    left: -30%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.hero-preview-tab:hover .star-2 {
    top: -25%;
    left: 10%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.hero-preview-tab:hover .star-3 {
    top: 55%;
    left: 25%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.hero-preview-tab:hover .star-4 {
    top: 30%;
    left: 80%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.hero-preview-tab:hover .star-5 {
    top: 25%;
    left: 115%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.hero-preview-tab:hover .star-6 {
    top: 5%;
    left: 60%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

/* Active — stars visible */
.hero-preview-tab.active .star-1 {
    top: -80%;
    left: -30%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.hero-preview-tab.active .star-2 {
    top: -25%;
    left: 10%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.hero-preview-tab.active .star-3 {
    top: 55%;
    left: 25%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.hero-preview-tab.active .star-4 {
    top: 30%;
    left: 80%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.hero-preview-tab.active .star-5 {
    top: 25%;
    left: 115%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.hero-preview-tab.active .star-6 {
    top: 5%;
    left: 60%;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.9));
    z-index: 2;
}

.fil0 {
    fill: rgba(255,255,255,0.9);
}

/* AI tab — blue stars */
.hero-preview-tab[data-tab="ai"]:hover .fil0,
.hero-preview-tab[data-tab="ai"].active .fil0 {
    fill: #60a5fa;
}

.hero-preview-tab[data-tab="ai"]:hover .star-1,
.hero-preview-tab[data-tab="ai"].active .star-1 {
    filter: drop-shadow(0 0 10px rgba(96,165,250,0.9));
}

.hero-preview-tab[data-tab="ai"]:hover .star-2,
.hero-preview-tab[data-tab="ai"].active .star-2 {
    filter: drop-shadow(0 0 10px rgba(96,165,250,0.9));
}

.hero-preview-tab[data-tab="ai"]:hover .star-3,
.hero-preview-tab[data-tab="ai"].active .star-3 {
    filter: drop-shadow(0 0 10px rgba(96,165,250,0.9));
}

.hero-preview-tab[data-tab="ai"]:hover .star-4,
.hero-preview-tab[data-tab="ai"].active .star-4 {
    filter: drop-shadow(0 0 10px rgba(96,165,250,0.9));
}

.hero-preview-tab[data-tab="ai"]:hover .star-5,
.hero-preview-tab[data-tab="ai"].active .star-5 {
    filter: drop-shadow(0 0 10px rgba(96,165,250,0.9));
}

.hero-preview-tab[data-tab="ai"]:hover .star-6,
.hero-preview-tab[data-tab="ai"].active .star-6 {
    filter: drop-shadow(0 0 10px rgba(96,165,250,0.9));
}

.hero-preview-tab.active {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    font-weight: 600;
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 0 20px rgba(255,255,255,0.08);
}

.hero-preview-tab.active i {
    opacity: 1;
}

/* ── Panel Loading Overlay ── */
.panel-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 18, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 16px;
    transition: opacity 0.3s ease;
}

.panel-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.panel-loader-ring {
    width: 36px;
    height: 36px;
    border: 2.5px solid rgba(255,255,255,0.08);
    border-top-color: rgba(255,255,255,0.7);
    border-radius: 50%;
    animation: panelSpin 0.8s linear infinite;
}

.panel-loader-dots {
    display: flex;
    gap: 6px;
}

.panel-loader-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    animation: panelDot 1.2s ease-in-out infinite;
}

.panel-loader-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.panel-loader-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

.panel-loader-text {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    font-family: var(--font-main), 'Poppins', sans-serif;
}

@keyframes panelSpin {
    to { transform: rotate(360deg); }
}

@keyframes panelDot {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ── Hero AI Panel ── */
.hero-ai-panel {
    border-radius: 16px;
    overflow: hidden;
    background: #13151a;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    max-height: 520px;
    will-change: transform, opacity;
    transform: translateZ(0);
}

[data-theme="dark"] .hero-ai-panel {
    background: #0d0f14;
    border-color: rgba(255,255,255,0.08);
}

.hai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.hai-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hai-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.4);
}

.hai-icon svg {
    width: 17px;
    height: 17px;
}

.hai-brand-text {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.hai-brand-text small {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    font-weight: 400;
}

.hai-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.hai-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    animation: haiPulse 2s ease-in-out infinite;
}

@keyframes haiPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hai-messages::-webkit-scrollbar { width: 3px; }
.hai-messages::-webkit-scrollbar-track { background: transparent; }
.hai-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

.hai-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: haiSlideIn 0.3s ease;
}

.hai-msg.user {
    flex-direction: row-reverse;
}

@keyframes haiSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hai-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.hai-msg-avatar.ai {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
}

.hai-msg-avatar.ai svg {
    width: 14px;
    height: 14px;
}

.hai-msg-avatar.user {
    background: #3b82f6;
}

.hai-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    max-width: 85%;
    color: rgba(255,255,255,0.88);
}

.hai-msg:not(.user) .hai-bubble {
    background: rgba(255,255,255,0.05);
    border-top-left-radius: 4px;
}

.hai-msg.user .hai-bubble {
    background: #3b82f6;
    color: #fff;
    border-top-right-radius: 4px;
}

.hai-chips {
    display: flex;
    gap: 6px;
    padding: 0 18px 12px;
    flex-wrap: wrap;
}

.hai-chip {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main), 'Poppins', sans-serif;
}

.hai-chip:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    color: rgba(255,255,255,0.8);
}

.hai-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.hai-input input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    color: #fff;
    outline: none;
    font-family: var(--font-main), 'Poppins', sans-serif;
}

.hai-input input::placeholder {
    color: rgba(255,255,255,0.25);
}

.hai-input input:focus {
    border-color: rgba(124, 58, 237, 0.5);
}

.hai-send {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.35);
}

.hai-send:hover {
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.55);
    transform: scale(1.05);
}

/* Glow behind the dashboard image */
.hero-preview::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 10%;
    right: 10%;
    bottom: 5%;
    background: radial-gradient(circle, rgba(31, 107, 255, 0.2) 0%, rgba(96, 165, 250, 0.08) 50%, transparent 100%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero-preview::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(31, 107, 255, 0.15) 60%, transparent 100%);
    filter: blur(80px);
}

/* ── Animated Dashboard Border ── */
.ld-animated-border {
    position: relative;
    padding: 2px;
    border-radius: 18px;
    display: flex;
    overflow: hidden;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.ld-animated-border::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 70%, #1f6bff 80%, transparent 100%);
    animation: rotateBorder 3s linear infinite;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
}

[data-theme="dark"] .ld-animated-border::before {
    background: conic-gradient(from 0deg, transparent 70%, #3b82f6 80%, transparent 100%);
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── Live Dashboard UI ── */
.live-dashboard {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 420px;
    background: #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 40px rgba(31, 107, 255, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.85);
    display: flex;
    overflow: hidden;
    font-family: 'Rubik', sans-serif;
    text-align: right;
    direction: rtl;
    transition: all 0.3s ease;
}

[data-theme="dark"] .live-dashboard {
    background: #020617;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.75), 0 0 50px rgba(31, 107, 255, 0.12);
}

/* Sidebar */
.ld-sidebar {
    width: 240px;
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    padding: 0 0;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
[data-theme="dark"] .ld-sidebar { background: #0f172a; border-color: #1e293b; }

.ld-logo { padding: 20px 18px 16px; }
.ld-logo-box {
    width: 42px; height: 42px; background: #2563eb; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 20px;
}
.ld-store-select {
    margin: 0 12px 6px; padding: 9px 12px; background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 10px; display: flex; justify-content: space-between; align-items: center;
    font-size: 13.5px; font-weight: 500; color: #0f172a;
}
[data-theme="dark"] .ld-store-select { background: #1e293b; border-color: #334155; color: #f8fafc; }

.ld-nav-label { padding: 14px 16px 5px; font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; }
.ld-nav-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 14px; margin: 1px 8px;
    border-radius: 10px; font-size: 13.5px; color: #475569;
}
[data-theme="dark"] .ld-nav-item { color: #94a3b8; }
.ld-nav-item i { width: 18px; text-align: center; color: #94a3b8; }
.ld-nav-item.active { background: #2563eb; color: #fff; font-weight: 500; }
.ld-nav-item.active i { color: #fff; }
.ld-badge { margin-right: auto; background: #ef4444; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 20px; }

.ld-sidebar-bottom { margin-top: auto; padding: 14px; border-top: 1px solid #e2e8f0; }
[data-theme="dark"] .ld-sidebar-bottom { border-color: #1e293b; }
.ld-visit-btn {
    padding: 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
    font-size: 13.5px; font-weight: 600; display: flex; justify-content: center; align-items: center; gap: 8px; color: #0f172a;
}
[data-theme="dark"] .ld-visit-btn { background: #1e293b; border-color: #334155; color: #f8fafc; }

/* Main Area */
.ld-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.ld-topbar {
    height: 64px; background: #ffffff; border-bottom: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: space-between; padding: 0 22px;
}
[data-theme="dark"] .ld-topbar { background: #0f172a; border-color: #1e293b; }

.ld-search {
    position: relative; width: 300px;
}
.ld-search i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 13px; }
.ld-search span {
    display: block; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 9px 38px 9px 14px; font-size: 13.5px; color: #94a3b8;
}
[data-theme="dark"] .ld-search span { background: #1e293b; border-color: #334155; }

.ld-topbar-actions { display: flex; align-items: center; gap: 10px; }
.ld-icon-btn {
    width: 36px; height: 36px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center; color: #475569; position: relative; gap: 5px;
}
.ld-icon-btn span { font-size: 10px; font-weight: 800; }
[data-theme="dark"] .ld-icon-btn { background: #1e293b; border-color: #334155; color: #94a3b8; }
.ld-notif-dot { position: absolute; top: 7px; left: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
[data-theme="dark"] .ld-notif-dot { border-color: #0f172a; }

.ld-user { display: flex; align-items: center; gap: 9px; }
.ld-user-info { text-align: right; }
.ld-user-name { font-size: 13px; font-weight: 600; color: #0f172a; }
[data-theme="dark"] .ld-user-name { color: #f8fafc; }
.ld-user-role { font-size: 11px; color: #94a3b8; }
.ld-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }

/* Content */
.ld-content { padding: 24px; overflow-y: auto; flex: 1; scrollbar-width: none; -ms-overflow-style: none; }
.ld-content::-webkit-scrollbar { display: none; }
.ld-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ld-page-title { font-size: 22px; font-weight: 700; color: #0f172a; }
[data-theme="dark"] .ld-page-title { color: #f8fafc; }
.ld-page-sub { font-size: 13px; color: #475569; margin-top: 3px; }
[data-theme="dark"] .ld-page-sub { color: #94a3b8; }

.ld-header-actions { display: flex; gap: 10px; }
.ld-btn-outline, .ld-btn-primary {
    padding: 9px 18px; border-radius: 10px; font-size: 13.5px; font-weight: 500; display: flex; align-items: center; gap: 7px;
}
.ld-btn-outline { background: #fff; border: 1px solid #e2e8f0; color: #0f172a; }
[data-theme="dark"] .ld-btn-outline { background: #0f172a; border-color: #334155; color: #f8fafc; }
.ld-btn-primary { background: #2563eb; color: #fff; border: 1px solid #2563eb; }

/* Stats Grid */
.ld-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.ld-stat-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px; position: relative;
}
[data-theme="dark"] .ld-stat-card { background: #0f172a; border-color: #1e293b; }
.ld-stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 12px; }
[data-theme="dark"] .ld-stat-icon { filter: brightness(0.8); }
.ld-stat-label { font-size: 13px; color: #475569; margin-bottom: 6px; }
[data-theme="dark"] .ld-stat-label { color: #94a3b8; }
.ld-stat-value { font-size: 24px; font-weight: 700; color: #0f172a; }
[data-theme="dark"] .ld-stat-value { color: #f8fafc; }
.ld-stat-value small { font-size: 14px; color: #94a3b8; font-weight: 500; }
.ld-stat-change { position: absolute; top: 20px; left: 20px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.ld-stat-change.up { background: #dcfce7; color: #16a34a; }
.ld-stat-change.down { background: #fee2e2; color: #dc2626; }
[data-theme="dark"] .ld-stat-change.up { background: rgba(22, 163, 74, 0.2); }
[data-theme="dark"] .ld-stat-change.down { background: rgba(220, 38, 38, 0.2); }

/* Grid 2 */
.ld-grid-2 { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 16px; }
.ld-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px; }
[data-theme="dark"] .ld-card { background: #0f172a; border-color: #1e293b; }

.ld-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 600; font-size: 15px; color: #0f172a; }
[data-theme="dark"] .ld-card-header { color: #f8fafc; }
.ld-tabs-mini { display: flex; background: #f1f5f9; padding: 3px; border-radius: 8px; }
[data-theme="dark"] .ld-tabs-mini { background: #1e293b; }
.ld-tabs-mini span { padding: 4px 12px; font-size: 12px; border-radius: 6px; color: #475569; }
[data-theme="dark"] .ld-tabs-mini span { color: #94a3b8; }
.ld-tabs-mini span.active { background: #fff; color: #0f172a; box-shadow: 0 1px 3px rgba(0,0,0,0.1); font-weight: 500; }
[data-theme="dark"] .ld-tabs-mini span.active { background: #334155; color: #f8fafc; }

.ld-see-all { font-size: 12.5px; color: #2563eb; font-weight: 500; }

.ld-table { width: 100%; border-collapse: collapse; }
.ld-table th { text-align: right; font-size: 11px; font-weight: 700; color: #94a3b8; padding: 10px 14px; border-bottom: 1px solid #e2e8f0; }
[data-theme="dark"] .ld-table th { border-color: #1e293b; }
.ld-table td { padding: 13px 14px; font-size: 13.5px; color: #0f172a; border-bottom: 1px solid #e2e8f0; }
[data-theme="dark"] .ld-table td { color: #f8fafc; border-color: #1e293b; }
.ld-table tr:last-child td { border-bottom: none; }
.ld-status { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.ld-status.green { background: #e8f5e9; color: #2e7d32; }
.ld-status.blue { background: #e3f2fd; color: #1565c0; }
.ld-status.orange { background: #fff3e0; color: #e65100; }
[data-theme="dark"] .ld-status.green { background: rgba(46, 125, 50, 0.2); color: #81c784; }
[data-theme="dark"] .ld-status.blue { background: rgba(21, 101, 192, 0.2); color: #64b5f6; }
[data-theme="dark"] .ld-status.orange { background: rgba(230, 81, 0, 0.2); color: #ffb74d; }

@media (max-width: 1024px) {
    .ld-sidebar { display: none; }
    .ld-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ld-grid-2 { grid-template-columns: 1fr; }
}

.hero-glow-animated {
    position: absolute;
    bottom: -10%;
    left: -10%;
    right: -10%;
    margin: auto;
    width: 120%;
    height: 80%;
    background: radial-gradient(ellipse at 50% 100%, rgba(31, 107, 255, 0.35) 0%, rgba(96, 165, 250, 0.15) 40%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 0.5; transform: scale(0.98); }
}

/* --- Hero Section Responsiveness --- */
@media (max-width: 768px) {
    .hero-section {
        position: relative !important;
        min-height: auto !important;
        height: auto !important;
        padding: 100px 16px 50px;
    }
.hero-section > :not(.spline-container) {
    position: relative;
    z-index: 1;
}

.hero-badge-link {
        margin-top: 10px;
        margin-bottom: 16px;
        padding: 5px 10px 5px 6px;
    }
    .badge-tag {
        font-size: 9px;
        padding: 2px 6px;
    }
    .badge-text {
        font-size: 11px;
    }
    .hero-title {
        font-size: clamp(30px, 8vw, 44px);
        line-height: 1.3;
        margin-bottom: 14px;
        padding: 0 6px;
    }
    .hero-tagline {
        margin-bottom: 28px;
        font-size: 14px;
        line-height: 1.65;
        padding: 0 10px;
    }
    .hero-actions {
        width: 100%;
        display: flex;
        flex-direction: row; /* Keep buttons side by side or wrap neatly */
        justify-content: center;
        gap: 10px;
        margin-bottom: 32px;
        padding: 0 8px;
    }
    .hero-actions .btn-cta, 
    .hero-actions .btn-ghost {
        flex: 1;
        max-width: 170px;
        width: auto;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 10px;
        white-space: nowrap;
    }
    .hero-preview {
        display: none;
    }
    .live-dashboard {
        aspect-ratio: auto;
        min-height: 400px;
        border-radius: 12px;
    }
    .ld-animated-border {
        border-radius: 14px;
        padding: 1.5px;
    }
    .ld-content {
        padding: 16px;
    }
    .ld-page-title {
        font-size: 18px;
    }
    .ld-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ld-card {
        padding: 14px;
    }
    .ld-table th, .ld-table td {
        padding: 8px 10px;
        font-size: 12px;
        white-space: nowrap;
    }
}

/* --- Marquee Columns Section --- */
.scatter-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 15;
    background: var(--bg-color);
    overflow: hidden;
}

.scatter-header { display: none; }

#scatter-images-container {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 200px;
    pointer-events: none;
}

.scatter-column {
    width: clamp(200px, 24%, 280px);
    height: 100vh;
    overflow: hidden;
    position: relative;
    pointer-events: auto;
    contain: layout style;
    mask-image: linear-gradient(to bottom, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 4%, black 96%, transparent 100%);
}

.scatter-column-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 8px 0;
    will-change: transform;
}

@media (max-width: 480px) {
    .scatter-section {
        min-height: 60vh;
    }
    .scatter-column {
        display: none !important;
    }
    #orbit-ring {
        display: block;
    }
    .scatter-column-track {
        gap: 20px;
        padding: 6px 0;
    }
}

.scatter-column-track .marquee-card {
    width: 100%;
    aspect-ratio: 320 / 560;
    flex-shrink: 0;
    border-radius: 28px;
    position: relative;
    background: var(--bento-bg);
    contain: layout style;
}

.scatter-column-track .marquee-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.scatter-column-track.scroll-down {
    animation: scrollDown 60s linear infinite;
}

.scatter-column-track.scroll-up {
    animation: scrollUp 60s linear infinite;
}

.scatter-column:hover .scatter-column-track {
    animation-play-state: paused;
}

/* --- Scatter Loading --- */
.scatter-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--frame-border);
    border-top-color: #3b82f6;
    animation: loader-spin 0.8s linear infinite;
}

@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0%); }
}

@keyframes scrollUp {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-50%); }
}

/* Center Text */
.scatter-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    width: 90%;
    max-width: 580px;
    pointer-events: none;
}

.scatter-center * {
    pointer-events: auto;
}

.scatter-badge {
    display: inline-block;
    padding: 6px 18px;
    margin-bottom: 20px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-primary);
    border: 1px solid var(--frame-border);
    border-radius: 50px;
    font-weight: 500;
    background: var(--bg-color);
}

.scatter-heading {
    font-weight: 400;
    font-size: clamp(26px, 3.5vw, 44px);
    line-height: 1.35;
    color: var(--text-primary);
}

.scatter-cta {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 36px;
    background: var(--accent-color);
    color: var(--accent-text);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-main);
}

.scatter-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* bento-glow removed */

/* pricing-glow removed */

/* --- Navigation Bar --- */
/* === Text Reveal Animations === */
.text-reveal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.text-reveal-delay-1 { transition-delay: 0.1s; }
.text-reveal-delay-2 { transition-delay: 0.2s; }
.text-reveal-delay-3 { transition-delay: 0.3s; }
.text-reveal-delay-4 { transition-delay: 0.4s; }
.text-reveal-delay-5 { transition-delay: 0.5s; }

/* === Sunday-Style Pill Navbar — Morphs into Card === */
.navbar-pill {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    max-width: 680px;
    width: calc(100% - 48px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                max-width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-50%) translateY(-16px) scale(0.95);
    border-radius: 100px;
    will-change: transform, opacity, max-width, width;
}

.navbar-pill.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.navbar-pill.scrolled {
    max-width: 920px;
    width: calc(100% - 32px);
}

.navbar-pill.active {
    border-radius: 20px;
    pointer-events: auto;
    max-width: 920px;
    width: calc(100% - 32px);
    transform: translateX(-50%) translateY(0) scale(1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .navbar-pill.active {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Backdrop */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    pointer-events: none;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Pill Bar (always visible — becomes card header) */
.nav-pill-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-top-color: rgba(255, 255, 255, 0.65);
    border-left-color: rgba(255, 255, 255, 0.55);
    border-radius: inherit;
    padding: 10px 12px 10px 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06),
                0 1px 3px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: border-radius 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease,
                padding 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
    contain: layout style;
}

.navbar-pill.active .nav-pill-bar {
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;
}

.nav-pill-bar:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.navbar-pill.active .nav-pill-bar:hover {
    box-shadow: none;
}

[data-theme="dark"] .nav-pill-bar {
    background: rgba(20, 20, 25, 0.78);
    border-color: rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.18);
    border-left-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4),
                0 1px 3px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .nav-pill-bar:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .navbar-pill.active .nav-pill-bar {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-pill-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    gap: 10px;
}

.nav-pill-logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: invert(1);
    transition: filter 0.4s ease;
}

[data-theme="dark"] .nav-pill-logo-img {
    filter: invert(0);
}

.nav-pill-brand {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

[data-theme="dark"] .nav-pill-brand {
    color: #fff;
}

/* Hamburger → X — Simple 2 Lines */
.nav-pill-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 4px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-pill-hamburger:active {
    transform: scale(0.88);
}

.nav-pill-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 10px;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease;
    transform-origin: center;
}

[data-theme="dark"] .nav-pill-hamburger span {
    background: #d4d4d4;
}

/* Active → X */
.nav-pill-hamburger.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.nav-pill-hamburger.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.nav-pill-hamburger.active span {
    background: #1a1a1a;
}

[data-theme="dark"] .nav-pill-hamburger.active span {
    background: #fff;
}

/* Pill Body — hidden by default, expands when active */
.nav-pill-body {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-top: none;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px) scaleY(0.98);
    transform-origin: top center;
    transition: max-height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .nav-pill-body {
    background: rgba(20, 20, 25, 0.78);
    border-color: rgba(255, 255, 255, 0.08);
    border-top: none;
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.navbar-pill.active .nav-pill-body {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0) scaleY(1);
}

.nav-pill-content {
    display: flex;
    gap: 32px;
    padding: 20px 24px 12px;
}

.nav-pill-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.nav-pill-link {
    text-decoration: none;
    color: #000;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 400;
    font-family: 'Rubik', sans-serif;
    line-height: 1.3;
    padding: 6px 0;
    opacity: 0;
    transform: translateY(14px) translateX(-8px);
    filter: blur(4px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.2s;
}

[data-theme="dark"] .nav-pill-link {
    color: #fff;
}

.navbar-pill.active .nav-pill-link {
    opacity: 1;
    transform: translateY(0) translateX(0);
    filter: blur(0);
}

.navbar-pill.active .nav-pill-link:nth-child(1) { transition-delay: 0.08s; }
.navbar-pill.active .nav-pill-link:nth-child(2) { transition-delay: 0.13s; }
.navbar-pill.active .nav-pill-link:nth-child(3) { transition-delay: 0.18s; }
.navbar-pill.active .nav-pill-link:nth-child(4) { transition-delay: 0.23s; }
.navbar-pill.active .nav-pill-link:nth-child(5) { transition-delay: 0.28s; }
.navbar-pill.active .nav-pill-link:nth-child(6) { transition-delay: 0.33s; }

.nav-pill-link:hover {
    opacity: 0.5;
    transform: translateX(4px);
}

.nav-pill-media {
    flex: 0 0 44%;
    max-width: 380px;
    opacity: 0;
    transform: translateX(20px) scale(0.95);
    filter: blur(6px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
                filter 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.navbar-pill.active .nav-pill-media {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

.nav-pill-card {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    transform: scale(0.92);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.navbar-pill.active .nav-pill-card {
    transform: scale(1);
}

[data-theme="dark"] .nav-pill-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-pill-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.nav-pill-play-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px 10px 14px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-pill-play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.03);
}

.nav-pill-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.nav-pill-play-text {
    white-space: nowrap;
}

.nav-pill-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 12px;
    color: rgba(0, 0, 0, 0.35);
    font-family: 'Rubik', sans-serif;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s,
                transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s;
}

.navbar-pill.active .nav-pill-footer {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .nav-pill-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.nav-pill-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #fff;
    background: #000;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 24px;
    transition: opacity 0.2s, transform 0.2s;
}

[data-theme="dark"] .nav-pill-footer-cta {
    color: #000;
    background: #fff;
}

.nav-pill-footer-cta:hover {
    opacity: 0.8;
    transform: scale(1.03);
}

.nav-pill-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

body.nav-open {
    overflow: hidden;
}

/* Smooth close: links slide out in reverse */
.navbar-pill:not(.active) .nav-pill-link {
    transition: opacity 0.25s cubic-bezier(0.4, 0, 1, 1),
                transform 0.3s cubic-bezier(0.4, 0, 1, 1),
                filter 0.3s cubic-bezier(0.4, 0, 1, 1),
                color 0.2s;
}

.navbar-pill:not(.active) .nav-pill-media {
    transition: opacity 0.25s cubic-bezier(0.4, 0, 1, 1),
                transform 0.3s cubic-bezier(0.4, 0, 1, 1),
                filter 0.3s cubic-bezier(0.4, 0, 1, 1);
}

.navbar-pill:not(.active) .nav-pill-footer {
    transition: opacity 0.2s cubic-bezier(0.4, 0, 1, 1),
                transform 0.25s cubic-bezier(0.4, 0, 1, 1);
}

.navbar-pill:not(.active) .nav-pill-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 1, 1);
}

/* === Video Overlay Modal === */
.video-overlay {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}

.video-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

/* Top bar — title centered, close right */
.video-overlay-topbar {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 20px 0;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.video-overlay.active .video-overlay-topbar {
    opacity: 1;
    transform: translateY(0);
}

.video-overlay-title {
    color: #fff;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.video-overlay-close {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-overlay-close:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%) scale(1.1);
}

/* Video container */
.video-overlay-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    transform: scale(0.82) translateY(30px);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s,
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.video-overlay.active .video-overlay-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.video-overlay-player {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    position: relative;
}

.video-overlay-player video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

/* Center play button */
.vdo-center-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, opacity 0.3s ease;
    z-index: 6;
    opacity: 0;
    pointer-events: none;
}

.vdo-center-play.show {
    opacity: 1;
    pointer-events: auto;
}

.vdo-center-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.vdo-center-play.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.6);
}

/* Hover pause icon on playing video — same style as center play */
.vdo-hover-pause {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 7;
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.video-overlay-player:hover .vdo-hover-pause:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.video-overlay-player:hover .vdo-hover-pause:not(.hidden):hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.1);
}

.vdo-hover-pause.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Controls bar */
.vdo-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    z-index: 10;
}

.vdo-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 6px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.vdo-btn:hover {
    transform: scale(1.15);
}

.vdo-time {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-family: 'Rubik', sans-serif;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Volume panel — vertical, top-left of video */
.vdo-vol-panel {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 20;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.vdo-vol-btn {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.vdo-vol-btn:hover {
    background: rgba(255,255,255,0.18);
}

.vdo-vol-bar {
    width: 8px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.vdo-vol-bar-track {
    width: 4px;
    height: 100%;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.vdo-vol-bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: #fff;
    border-radius: 4px;
}

/* Seek bar */
.vdo-seek {
    flex: 1;
    height: 28px;
    display: flex;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.vdo-seek-track {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    position: relative;
    transition: height 0.15s ease;
}

.vdo-seek:hover .vdo-seek-track {
    height: 6px;
}

.vdo-seek-dot {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(50%, -50%);
    width: 26px;
    height: 18px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    pointer-events: none;
    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.3),
        0 0 24px rgba(255, 255, 255, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.35),
        inset 0 -1px 1px rgba(255, 255, 255, 0.1);
}

.vdo-seek:hover .vdo-seek-dot {
    transform: translate(50%, -50%) scale(1.15);
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.45),
        0 0 32px rgba(255, 255, 255, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 1px rgba(255, 255, 255, 0.15);
}

.vdo-seek:hover .vdo-seek-dot {
    transform: translate(50%, -50%) scale(1.2);
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 28px rgba(255, 255, 255, 0.2),
        0 0 50px rgba(255, 255, 255, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

body.video-open {
    overflow: hidden;
}

/* Fast close */
.video-overlay:not(.active) .video-overlay-container {
    transition: transform 0.3s cubic-bezier(0.4, 0, 1, 1), opacity 0.25s ease;
}

.video-overlay:not(.active) .video-overlay-topbar {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-login {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.btn-login:hover {
    background: var(--bento-bg);
}

.btn-dark-mode {
    background: transparent;
    border: 1px solid var(--frame-border);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-dark-mode:hover {
    background: var(--frame-border);
    transform: scale(1.06);
}

.btn-dark-mode:active {
    transform: scale(0.95);
}

.btn-dark-mode .icon-dark { display: none; }
[data-theme="dark"] .btn-dark-mode .icon-light { display: none; }
[data-theme="dark"] .btn-dark-mode .icon-dark { display: block; }

.btn-signup {
    background: var(--accent-color);
    color: var(--accent-text);
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Hero Dashboard Card Text --- */
.hero-dash-title {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-dash-tagline {
    font-size: clamp(15px, 2vw, 19px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* old btn-cta cleanup */

/* old span cleanup */


/* old neon button pseudo-elements removed */

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 6px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    margin: -5px;
    animation: scroll-arrows 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes scroll-wheel {
    0% { opacity: 0; top: 8px; }
    30% { opacity: 1; }
    100% { opacity: 0; top: 18px; }
}

@keyframes scroll-arrows {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* --- Platform Stats Section --- */
.platform-stats-section {
    padding: 80px 20px 60px;
    background: #ffffff;
    position: relative;
    z-index: 5;
    margin-top: 120px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}

[data-theme="dark"] .platform-stats-section {
    background: #0a0a0a;
}

.platform-stats-section .section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.stats-header {
    text-align: center;
    margin-bottom: 40px;
}

.stats-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -1px;
}

[data-theme="dark"] .stats-title {
    color: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item .stat-icon {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .stat-item .stat-icon {
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
}

.stat-number {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2px;
    font-family: var(--font-main);
}

[data-theme="dark"] .stat-number {
    color: #ffffff;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

[data-theme="dark"] .stat-label {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .platform-stats-section {
        padding: 40px 15px;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .stat-item .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    .stat-number {
        font-size: 18px;
    }
    .stat-label {
        font-size: 10px;
    }
}

/* ===== Features — Minimalist × Brutalist ===== */
/* Swiss Industrial Print light mode: #F7F6F3 bg, #111 ink, 1px borders, square corners */

.feat {
    padding: 120px 20px;
    background: var(--bg-color, #F7F6F3);
    position: relative;
    z-index: 20;
}

.feat-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

/* ─── Header ─── */
.feat-header {
    margin-bottom: 64px;
}

.feat-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary, #787774);
    margin-bottom: 16px;
    font-family: 'Rubik', sans-serif;
}

.feat-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--text-primary, #111);
    margin: 0 0 12px;
    letter-spacing: -0.04em;
    line-height: 1;
    font-family: 'Rubik', sans-serif;
}

.feat-sub {
    font-size: 15px;
    color: var(--text-secondary, #787774);
    max-width: 420px;
    margin: 0;
    line-height: 1.6;
}

/* ─── Grid — asymmetric, visible borders (brutalist: compartmentalization) ─── */
.feat-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0;
}

/* ─── Cell Base ─── */
.feat-cell {
    border: 1px solid var(--frame-border, rgba(0,0,0,0.08));
    padding: 32px;
    position: relative;
    cursor: default;
    transition: background 0.25s ease;
    overflow: hidden;
}

[data-theme="dark"] .feat-cell {
    border-color: rgba(255,255,255,0.08);
}

.feat-cell:hover {
    background: rgba(0,0,0,0.015);
}

[data-theme="dark"] .feat-cell:hover {
    background: rgba(255,255,255,0.02);
}

/* ─── Cell Top: number + tag ─── */
.feat-cell-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.feat-num {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-secondary, #787774);
    font-family: 'Rubik', sans-serif;
}

.feat-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    font-family: 'Rubik', sans-serif;
}

.feat-tag-blue { background: #E1F3FE; color: #1F6C9F; }
.feat-tag-green { background: #EDF3EC; color: #346538; }
.feat-tag-amber { background: #FBF3DB; color: #956400; }
.feat-tag-red { background: #FDEBEC; color: #9F2F2D; }
.feat-tag-pink { background: #FDEBEC; color: #9F2F2D; }
.feat-tag-cyan { background: #E1F3FE; color: #1F6C9F; }

[data-theme="dark"] .feat-tag-blue { background: rgba(31,108,159,0.15); color: #5ba8d4; }
[data-theme="dark"] .feat-tag-green { background: rgba(52,101,56,0.15); color: #6ab06e; }
[data-theme="dark"] .feat-tag-amber { background: rgba(149,100,0,0.15); color: #d4a843; }
[data-theme="dark"] .feat-tag-red { background: rgba(159,47,45,0.15); color: #d46b6a; }
[data-theme="dark"] .feat-tag-pink { background: rgba(159,47,45,0.15); color: #d46b6a; }
[data-theme="dark"] .feat-tag-cyan { background: rgba(31,108,159,0.15); color: #5ba8d4; }

/* ─── Cell Text ─── */
.feat-cell-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary, #111);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-family: 'Rubik', sans-serif;
}

.feat-cell-desc {
    font-size: 14px;
    color: var(--text-secondary, #787774);
    line-height: 1.65;
    margin: 0;
}

/* ─── Large Cell (hero, 2 rows) ─── */
.feat-cell-lg {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.feat-cell-lg .feat-cell-title {
    font-size: 24px;
    letter-spacing: -0.03em;
}

/* Mock UI inside large cell */
.feat-mock {
    margin-top: auto;
    border: 1px solid var(--frame-border, rgba(0,0,0,0.06));
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0,0,0,0.015);
}

[data-theme="dark"] .feat-mock {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.06);
}

.feat-mock-bar {
    height: 8px;
    width: 35%;
    background: var(--frame-border, rgba(0,0,0,0.08));
}

[data-theme="dark"] .feat-mock-bar {
    background: rgba(255,255,255,0.1);
}

.feat-mock-row {
    display: flex;
    gap: 10px;
}

.feat-mock-blk {
    flex: 1;
    height: 52px;
    border: 1px solid var(--frame-border, rgba(0,0,0,0.06));
    background: rgba(0,0,0,0.02);
}

[data-theme="dark"] .feat-mock-blk {
    border-color: rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}

.feat-mock-blk-s { flex: 0.6; }

/* ─── Wide Cell (spans 2 cols) ─── */
.feat-cell-wide {
    grid-column: 2 / 4;
}

/* ─── Gauge (speed) ─── */
.feat-gauge {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-top: 16px;
}

.feat-gauge-svg { width: 90px; height: 50px; }

.feat-gauge-fill {
    stroke-dashoffset: 132;
    transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-cell.in-view .feat-gauge-fill {
    stroke-dashoffset: 18;
}

.feat-gauge-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary, #111);
    font-family: 'Rubik', sans-serif;
    line-height: 1;
    letter-spacing: -0.03em;
}

/* ─── Sparkline (analytics) ─── */
.feat-spark {
    margin-top: auto;
    height: 56px;
    padding-top: 16px;
}

.feat-spark-svg { width: 100%; height: 100%; }

.feat-spark-line {
    stroke-dasharray: 350;
    stroke-dashoffset: 350;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-cell.in-view .feat-spark-line {
    stroke-dashoffset: 0;
}

.feat-spark-area {
    opacity: 0;
    transition: opacity 0.6s ease 0.6s;
}

.feat-cell.in-view .feat-spark-area {
    opacity: 1;
}

/* ─── Rings (payment) ─── */
.feat-rings {
    margin-top: auto;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
}

.feat-ring {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(0,0,0,0.1);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

[data-theme="dark"] .feat-ring {
    border-color: rgba(255,255,255,0.1);
}

.feat-ring-2 {
    width: 28px;
    height: 28px;
    border-color: rgba(0,0,0,0.18);
}

[data-theme="dark"] .feat-ring-2 {
    border-color: rgba(255,255,255,0.18);
}

.feat-cell:hover .feat-ring {
    transform: scale(1.3);
    opacity: 0.5;
}

.feat-cell:hover .feat-ring-2 {
    transform: scale(1.5);
    opacity: 0.3;
}

/* ─── Delivery Track ─── */
.feat-delivery {
    margin-top: auto;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    padding-top: 16px;
}

.feat-del-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1.5px;
    background: rgba(0,0,0,0.08);
    transform: translateY(-50%);
}

[data-theme="dark"] .feat-del-line {
    background: rgba(255,255,255,0.08);
}

.feat-del-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0,0,0,0.15);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

[data-theme="dark"] .feat-del-dot {
    background: rgba(255,255,255,0.15);
}

.feat-del-a { left: 10%; }
.feat-del-b { left: 50%; }
.feat-del-c { right: 10%; }

.feat-del-truck {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-primary, #111);
    font-size: 12px;
    transition: left 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-cell:hover .feat-del-truck {
    left: 80%;
}

.feat-cell:hover .feat-del-b { background: var(--text-primary, #111); }
.feat-cell:hover .feat-del-c { background: var(--text-primary, #111); }

/* ─── Scroll Animations ─── */
.feat-cell[data-anim] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.feat-cell[data-anim].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .feat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .feat-cell-lg {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    .feat-cell-wide {
        grid-column: 1 / 3;
    }
}

@media (max-width: 640px) {
    .feat { padding: 80px 16px; }
    .feat-grid { grid-template-columns: 1fr; }
    .feat-cell-lg,
    .feat-cell-wide { grid-column: 1; }
    .feat-cell-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .feat-tpl-strip { width: 100%; }
    .feat-tpl { flex: 1; }
    .feat-cell { padding: 24px; }
    .feat-header { margin-bottom: 40px; }
}

.features-bento-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header — single eyebrow max per 3 sections (Section 4.7) */
.features-bento-header {
    text-align: center;
    margin-bottom: 56px;
}

.features-bento-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px;
    letter-spacing: -0.03em;
    line-height: 1.2;
    font-family: 'Rubik', sans-serif;
}

.features-bento-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid — asymmetric layout (VARIANCE:8, Section 4.3 anti-center) */
.features-bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
}

/* ─── Card Base ─── */
.bento-card {
    border-radius: 18px;
    overflow: hidden;
    background: var(--bento-bg, rgba(0, 0, 0, 0.02));
    border: 1px solid var(--frame-border);
    position: relative;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

[data-theme="dark"] .bento-card {
    background: var(--bento-bg, rgba(255, 255, 255, 0.03));
}

/* Tactile feedback (Section 4.5) — :active push */
.bento-card:active {
    transform: translateY(-2px) scale(0.99);
}

.bento-card-inner {
    padding: 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* ─── Hero Card (large, 2 rows) ─── */
.bento-card-hero {
    grid-column: 1;
    grid-row: 1 / 3;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.04), rgba(37, 99, 235, 0.01));
    border-color: rgba(37, 99, 235, 0.12);
}

[data-theme="dark"] .bento-card-hero {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.02));
    border-color: rgba(37, 99, 235, 0.15);
}

.bento-card-hero:hover {
    box-shadow: 0 24px 64px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Hero background accent — subtle gradient, not a blob */
.bento-hero-bg {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bento-card-hero .bento-card-inner {
    justify-content: flex-start;
    gap: 14px;
    min-height: 420px;
}

/* Hero visual — CSS-drawn UI mock (motivated: shows builder concept) */
.bento-hero-visual {
    margin-top: auto;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.02));
    border: 1px solid rgba(37, 99, 235, 0.08);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

[data-theme="dark"] .bento-hero-visual {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.03));
    border-color: rgba(37, 99, 235, 0.1);
}

.bento-mock-header {
    height: 10px;
    width: 40%;
    border-radius: 5px;
    background: rgba(37, 99, 235, 0.12);
}

.bento-mock-row {
    display: flex;
    gap: 8px;
}

.bento-mock-block {
    border-radius: 8px;
    flex: 1;
    height: 56px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.06);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .bento-mock-block {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.08);
}

.bento-card-hero:hover .bento-mock-block {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.12);
}

.bento-mock-a { flex: 2; }
.bento-mock-b { flex: 1; }
.bento-mock-c { flex: 1; }
.bento-mock-d { flex: 1; }
.bento-mock-e { flex: 1; }

.bento-mock-fab {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card-hero:hover .bento-mock-fab {
    transform: scale(1.1) rotate(90deg);
}

/* ─── Speed Card ─── */
.bento-card-speed {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.04), transparent);
    border-color: rgba(16, 185, 129, 0.1);
}

[data-theme="dark"] .bento-card-speed {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.06), transparent);
    border-color: rgba(16, 185, 129, 0.12);
}

.bento-card-speed:hover {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

/* Speed gauge — static by default, animates on scroll-in (motivated: shows performance score) */
.bento-speed-meter {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.bento-gauge {
    width: 120px;
    height: 70px;
}

.bento-gauge-fill {
    stroke-dashoffset: 157;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card.in-view .bento-gauge-fill {
    stroke-dashoffset: 20;
}

.bento-gauge-label {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'Rubik', sans-serif;
    line-height: 1;
}

.bento-gauge-label small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ─── Analytics Card ─── */
.bento-card-analytics {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.03), transparent);
    border-color: rgba(16, 185, 129, 0.08);
}

[data-theme="dark"] .bento-card-analytics {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.05), transparent);
    border-color: rgba(16, 185, 129, 0.1);
}

.bento-card-analytics:hover {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.18);
}

/* Sparkline — draws on scroll-in (motivated: shows growth trend) */
.bento-sparkline {
    margin-top: auto;
    position: relative;
    height: 72px;
}

.bento-spark-svg {
    width: 100%;
    height: 100%;
}

.bento-spark-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card.in-view .bento-spark-line {
    stroke-dashoffset: 0;
}

.bento-spark-area {
    opacity: 0;
    transition: opacity 0.8s ease 0.8s;
}

.bento-card.in-view .bento-spark-area {
    opacity: 1;
}

.bento-spark-dot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.bento-card.in-view .bento-spark-dot {
    transform: translate(-50%, -50%) scale(1);
}

/* ─── Wide Card (spans 2 cols) ─── */
.bento-card-wide {
    grid-column: 2 / 4;
    background: linear-gradient(145deg, rgba(217, 119, 6, 0.03), transparent);
    border-color: rgba(217, 119, 6, 0.08);
}

[data-theme="dark"] .bento-card-wide {
    background: linear-gradient(145deg, rgba(217, 119, 6, 0.05), transparent);
    border-color: rgba(217, 119, 6, 0.1);
}

.bento-card-wide:hover {
    box-shadow: 0 20px 50px rgba(217, 119, 6, 0.06);
    border-color: rgba(217, 119, 6, 0.18);
}

.bento-card-row {
    flex-direction: row;
    align-items: center;
    gap: 28px;
}

.bento-card-text-side {
    flex: 1;
    min-width: 0;
}

/* Template strip — mini wireframes (motivated: shows template variety) */
.bento-template-strip {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.bento-tpl {
    width: 96px;
    border-radius: 12px;
    padding: 12px;
    background: rgba(217, 119, 6, 0.04);
    border: 1px solid rgba(217, 119, 6, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s;
}

[data-theme="dark"] .bento-tpl {
    background: rgba(217, 119, 6, 0.06);
    border-color: rgba(217, 119, 6, 0.1);
}

.bento-card-wide:hover .bento-tpl {
    transform: translateY(-3px);
}

.bento-card-wide:hover .bento-tpl:nth-child(2) {
    transform: translateY(-6px);
}

.bento-tpl-bar {
    height: 28px;
    border-radius: 4px;
    background: rgba(217, 119, 6, 0.1);
}

.bento-tpl-bar-accent {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    opacity: 0.6;
}

.bento-tpl-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.12);
}

.bento-tpl-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bento-tpl-lines span {
    display: block;
    height: 4px;
    border-radius: 2px;
    background: rgba(217, 119, 6, 0.08);
    width: 100%;
}

/* ─── Payment Card ─── */
.bento-card-payment {
    background: linear-gradient(145deg, rgba(236, 72, 153, 0.03), transparent);
    border-color: rgba(236, 72, 153, 0.08);
}

[data-theme="dark"] .bento-card-payment {
    background: linear-gradient(145deg, rgba(236, 72, 153, 0.05), transparent);
    border-color: rgba(236, 72, 153, 0.1);
}

.bento-card-payment:hover {
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.06);
    border-color: rgba(236, 72, 153, 0.18);
}

/* Concentric rings — hover-activated only (motivated: shows payment processing) */
.bento-card-visual-bottom {
    margin-top: auto;
    position: relative;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-shape-ring {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(236, 72, 153, 0.15);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.bento-shape-ring-2 {
    width: 36px;
    height: 36px;
    border-color: rgba(236, 72, 153, 0.25);
}

.bento-card-payment:hover .bento-shape-ring {
    transform: scale(1.4);
    opacity: 0.4;
}

.bento-card-payment:hover .bento-shape-ring-2 {
    transform: scale(1.6);
    opacity: 0.2;
}

/* ─── Delivery Card ─── */
.bento-card-delivery {
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.03), transparent);
    border-color: rgba(6, 182, 212, 0.08);
}

[data-theme="dark"] .bento-card-delivery {
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.05), transparent);
    border-color: rgba(6, 182, 212, 0.1);
}

.bento-card-delivery:hover {
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.06);
    border-color: rgba(6, 182, 212, 0.18);
}

/* Delivery track — animated on hover only (motivated: shows shipping progress) */
.bento-track {
    margin-top: auto;
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
}

.bento-track-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(6, 182, 212, 0.12);
    border-radius: 1px;
    transform: translateY(-50%);
}

.bento-track-point {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.25);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.bento-track-start { left: 8%; }
.bento-track-mid { left: 50%; }
.bento-track-end { right: 8%; }

.bento-track-truck {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: #0891b2;
    font-size: 13px;
    transition: left 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-delivery:hover .bento-track-truck {
    left: 80%;
}

.bento-card-delivery:hover .bento-track-mid {
    background: #0891b2;
}

.bento-card-delivery:hover .bento-track-end {
    background: #0891b2;
}

/* ─── Icons (all cards) ─── */
.bento-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card:hover .bento-card-icon {
    transform: scale(1.08) rotate(-3deg);
}

.bento-icon-hero {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}
[data-theme="dark"] .bento-icon-hero { background: rgba(37, 99, 235, 0.15); }

.bento-icon-speed {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}
[data-theme="dark"] .bento-icon-speed { background: rgba(16, 185, 129, 0.15); }

.bento-icon-analytics {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}
[data-theme="dark"] .bento-icon-analytics { background: rgba(16, 185, 129, 0.15); }

.bento-icon-templates {
    background: rgba(217, 119, 6, 0.1);
    color: #b45309;
}
[data-theme="dark"] .bento-icon-templates { background: rgba(217, 119, 6, 0.15); }

.bento-icon-payment {
    background: rgba(236, 72, 153, 0.1);
    color: #be185d;
}
[data-theme="dark"] .bento-icon-payment { background: rgba(236, 72, 153, 0.15); }

.bento-icon-delivery {
    background: rgba(6, 182, 212, 0.1);
    color: #0e7490;
}
[data-theme="dark"] .bento-icon-delivery { background: rgba(6, 182, 212, 0.15); }

/* ─── Card Text ─── */
.bento-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    font-family: 'Rubik', sans-serif;
}

.bento-card-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ─── Scroll Animations (Section 5 — motion must be motivated) ─── */
.bento-card[data-anim="fade-up"] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.bento-card[data-anim="fade-up"].in-view {
    opacity: 1;
    transform: translateY(0);
}

.bento-card[data-delay="1"] { transition-delay: 0.06s; }
.bento-card[data-delay="2"] { transition-delay: 0.12s; }
.bento-card[data-delay="3"] { transition-delay: 0.18s; }
.bento-card[data-delay="4"] { transition-delay: 0.24s; }
.bento-card[data-delay="5"] { transition-delay: 0.30s; }

/* ─── Responsive (Section 4.7 — mobile collapse per section) ─── */
@media (max-width: 1024px) {
    .features-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .bento-card-hero {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    .bento-card-wide {
        grid-column: 1 / 3;
    }
}

@media (max-width: 640px) {
    .features-bento {
        padding: 60px 16px;
    }
    .features-bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card-hero,
    .bento-card-wide {
        grid-column: 1;
    }
    .bento-card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .bento-template-strip {
        width: 100%;
        justify-content: space-between;
    }
    .bento-tpl {
        flex: 1;
    }
    .bento-card-inner {
        padding: 22px;
    }
    .features-bento-header {
        margin-bottom: 36px;
    }
}

/* --- Infrastructure Section --- */
.infra-section {
    padding: 150px 20px;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
    z-index: 20;
}

.infra-flex {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.infra-content {
    flex: 1;
    text-align: right;
}

.badge-new {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    color: #3b82f6;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-title-alt {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.highlight-blue {
    color: #3b82f6;
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
}

.infra-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.infra-stat {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.stat-icon {
    font-size: 24px;
    background: var(--bento-bg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--frame-border);
}

.stat-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-text p {
    font-size: 13px;
    color: var(--text-secondary);
}

.btn-cta.secondary {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* --- Infra Visual --- */
.infra-visual-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infra-core {
    position: relative;
    width: 350px;
    height: 350px;
}

.core-rings {
    position: absolute;
    inset: 0;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 50%;
}

.ring:nth-child(1) { width: 100%; height: 100%; border-style: dashed; animation: rotate 20s linear infinite; }
.ring:nth-child(2) { width: 70%; height: 70%; animation: pulse-ring 4s ease-in-out infinite; }
.ring:nth-child(3) { width: 40%; height: 40%; background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%); }

.core-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: #3b82f6;
    border-radius: 25px;
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-node {
    width: 40px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 6px;
    position: relative;
}

.server-node::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 12px 0 0 #fff, 24px 0 0 #fff;
}

.location-tag {
    position: absolute;
    bottom: -40px;
    background: var(--nav-bg);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--frame-border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.location-tag .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 2s infinite;
}

.location-tag .text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

@keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pulse-ring { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; } 50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

@media (max-width: 968px) {
    .infra-flex { flex-direction: column; text-align: center; gap: 100px; }
    .infra-content { text-align: center; }
    .section-title-alt { font-size: 36px; }
    .section-desc { margin: 0 auto 40px; }
    .infra-stats-grid { text-align: right; }
}

/* --- How it Works --- */
.how-it-works {
    padding: 120px 20px;
    background: var(--bg-color);
    position: relative;
    z-index: 20;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 30px;
}

.step-number {
    font-size: 80px;
    font-weight: 900;
    color: var(--text-primary);
    opacity: 0.04;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    line-height: 1;
}

.step-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    color: var(--text-primary);
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
    max-width: 250px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .step-card:not(:last-child)::after {
        content: '←'; /* Arabic RTL arrow */
        position: absolute;
        top: 50%;
        left: -20px;
        font-size: 24px;
        color: var(--frame-border);
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .bento-image { height: 150px; }
}

/* --- Pricing --- */
.pricing-section {
    padding: 100px 20px;
    background: var(--bg-color);
    color: var(--text-primary);
    position: relative;
    z-index: 30;
    transition: background-color 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: var(--font-main), sans-serif;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-main), sans-serif;
}

.pricing-section .section-title { color: var(--text-primary); }
.pricing-section .section-subtitle { color: var(--text-secondary); }

.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 20px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    padding: 40px 30px;
    border: 1px solid var(--frame-border);
    border-radius: 20px;
    text-align: center;
    background: var(--bento-bg);
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.pricing-card.featured {
    background: var(--accent-color);
    color: var(--accent-text);
    border-color: var(--accent-color);
    position: relative;
    z-index: 2;
}

.pricing-card.featured .price,
.pricing-card.featured h3,
.pricing-card.featured .card-desc,
.pricing-card.featured li {
    color: var(--accent-text);
}

.pricing-card.featured .price span {
    opacity: 1;
    color: #fbbf24;
}

.tier-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    text-align: right;
}

.tier-label.green { color: #10b981; }
.tier-label.light-blue { color: #3b82f6; }
.tier-label.orange { color: #f59e0b; }

.pricing-card.featured .tier-label {
    color: var(--accent-text);
}

.pricing-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: right;
    letter-spacing: -0.5px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin: 15px 0;
    text-align: right;
    display: flex;
    align-items: baseline;
    gap: 4px;
    direction: ltr;
    justify-content: flex-end;
    font-feature-settings: "tnum";
    letter-spacing: -1px;
    line-height: 1;
}

.price span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0;
    font-feature-settings: normal;
}

.pricing-card.featured .price span {
    color: rgba(255,255,255,0.7);
}

.card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: right;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 35px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.pricing-card li {
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

.pricing-card li::before {
    content: '✓';
    color: #2563eb;
    font-weight: 800;
    font-size: 12px;
}

.pricing-card.featured li::before {
    color: var(--accent-text);
}

.star-list li::before {
    content: '★';
    color: #fbbf24;
}

.btn-pricing {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--frame-border);
    background: var(--bg-color);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pricing.primary {
    background: var(--accent-text);
    color: var(--accent-color);
    border-color: var(--accent-text);
}


/* Fix Hero & Bento Hovers to be smoother - REMOVED */

/* --- FAQ Section --- */
.faq-section {
    padding: 120px 20px;
    background: var(--bg-color);
    position: relative;
    z-index: 30;
}



.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bento-bg);
    border: 1px solid var(--frame-border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

.faq-item.active {
    border-color: #3b82f6;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.1);
    background: var(--bg-color);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

.faq-question i {
    font-size: 14px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: #3b82f6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Footer & Glow --- */
.main-footer {
    background:
        radial-gradient(1200px 420px at 50% 110%, rgba(59, 130, 246, 0.26) 0%, rgba(59, 130, 246, 0) 70%),
        radial-gradient(900px 380px at 50% 0%, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 65%),
        linear-gradient(180deg, #020a16 0%, #01060f 55%, #000208 100%);
    color: #fff;
    padding: 100px 0 0 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 100;
    border-radius: 60px 60px 0 0;
}

@keyframes footerStarsRise {
    from { transform: translateY(0); }
    to { transform: translateY(-1000px); }
}

@keyframes footerStarsTwinkle {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

/* footer-glow-container removed */

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.footer-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 15% 20%, rgba(255,255,255,0.9), transparent),
        radial-gradient(2.5px 2.5px at 50% 60%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1.5px 1.5px at 80% 30%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 70% 80%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1.5px 1.5px at 30% 85%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 90% 50%, rgba(255,255,255,0.8), transparent);
    background-repeat: repeat;
    background-size: 500px 500px;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    animation: footerStarsRise 60s linear infinite, footerStarsTwinkle 4s ease-in-out infinite alternate;
}

.footer-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(59, 130, 246, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.2) 0%, transparent 50%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
    color: rgba(147, 197, 253, 0.95);
}

.footer-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

/* --- Footer Grid --- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    text-align: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.7;
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.45);
    margin: 14px 0 22px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(147, 197, 253, 0.5);
    transition: width 0.25s ease;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(-4px);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-contact-link {
    color: rgba(147, 197, 253, 0.75);
    font-size: 13px;
}

.footer-contact-link:hover {
    color: #93C5FD;
}

.footer-brand .footer-logo {
    justify-content: flex-start;
}

.footer-brand .footer-social {
    margin: 0;
    justify-content: flex-start;
    gap: 12px;
}

.footer-brand .social-link {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 17px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(147, 197, 253, 0.12);
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.footer-brand .social-link:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(147, 197, 253, 0.12);
    border-color: rgba(147, 197, 253, 0.3);
    color: #93C5FD;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.footer-newsletter-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-newsletter-form {
    width: 100%;
}

.footer-newsletter-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(147, 197, 253, 0.12);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.footer-newsletter-group:focus-within {
    border-color: rgba(147, 197, 253, 0.35);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.footer-newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 18px;
    color: #fff;
    font-size: 13px;
    font-family: var(--font-main);
    direction: rtl;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.footer-newsletter-btn {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    margin: 3px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.footer-newsletter-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.footer-payment-methods {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-payment-methods i {
    transition: color 0.25s ease;
}

.footer-payment-methods i:hover {
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 18px;
    border: 1px solid rgba(147, 197, 253, 0.12);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    backdrop-filter: blur(8px);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(147, 197, 253, 0.10);
    border-color: rgba(147, 197, 253, 0.26);
    color: rgba(255, 255, 255, 0.92);
}

.social-link:focus-visible {
    outline: 2px solid rgba(147, 197, 253, 0.42);
    outline-offset: 2px;
}

.footer-bottom {
    margin-top: 80px;
    padding: 28px 0;
    border-top: 1px solid rgba(147, 197, 253, 0.08);
    background: transparent;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-inner p {
    font-size: 13px;
    color: rgba(191, 219, 254, 0.3);
}

/* cyan-glow removed */

.main-footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, rgba(147, 197, 253, 0.10) 0%, transparent 78%);
    filter: blur(150px);
    z-index: 0;
}

/* --- Companies Slider --- */
.companies-slider-section {
    padding: 80px 20px;
    background: var(--bg-color);
    position: relative;
    z-index: 20;
    transition: background-color 0.3s ease;
}

.companies-slider-section .section-title {
    font-size: 32px;
    color: var(--text-primary);
}

.companies-slider-section .section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.companies-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track {
    display: flex;
    gap: 30px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: transparent;
    border-radius: 16px;
    border: none;
    min-width: 200px;
    height: 100px;
}

.slide:hover {
    transform: none;
    box-shadow: none;
}


.slide img {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.slide img[src="spon/firogate.jpg"] {
    mix-blend-mode: normal;
    background: white;
    border-radius: 50%;
    padding: 5px;
    max-width: 260px;
    max-height: 100px;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 60px));
    }
}


/* --- Responsive --- */
@media (max-width: 1024px) {
    .nav-pill-content {
        flex-direction: column;
        gap: 20px;
    }
    .nav-pill-media {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    .nav-pill-card {
        aspect-ratio: 16 / 9;
    }
    .hero-title { font-size: 56px; }
    .hero-tagline { font-size: 20px; }
    .hero-section { padding: 120px 40px 0; }
    .section-title { font-size: 28px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 30px; }
}

@media (max-width: 768px) {
    .nav-pill-bar { padding: 8px 10px 8px 14px; }
    .nav-pill-logo-img { height: 26px; }
    .nav-pill-brand { font-size: 14px; }
    .nav-pill-content { padding: 16px 20px 0; }
    .nav-pill-link { font-size: clamp(13px, 5vw, 18px); }
    .nav-pill-footer { padding: 12px 20px 14px; font-size: 11px; flex-wrap: wrap; gap: 6px; }
    .nav-pill-media { display: none; }
    .hero-section {
        padding: 90px 16px 10px;
    }
    .hero-badge { margin-top: 40px; }
    .hero-title { font-size: clamp(28px, 7vw, 38px); }
    .hero-tagline { font-size: 14px; max-width: 340px; }
    .hero-actions { justify-content: center; }
    .hero-preview { margin-top: 40px; padding: 0 8px; }
    .dash-mock { transform: perspective(1200px) rotateX(4deg) scale(0.98); }
    .dm-sidebar { display: none; }
    .dm-stats { grid-template-columns: repeat(2, 1fr); }
    .dm-table-row { grid-template-columns: 2fr 1fr 1fr; }
    .dm-row-time { display: none; }
    .dm-search { width: 160px; }
    .dm-user-info { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: span 2; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    
    .companies-slider-section { padding: 50px 20px; }
    .slider-track { gap: 30px; }
    .slide { min-width: 150px; height: 80px; padding: 15px 25px; }
    .slide img { max-width: 100px; max-height: 40px; }
    
    .steps-grid { grid-template-columns: 1fr; gap: 30px; }
    .step-card { padding: 20px; }
    .step-number { font-size: 60px; }
    
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 14px; }
}

@media (max-width: 480px) {
    .nav-pill-bar { padding: 7px 8px 7px 12px; }
    .nav-pill-logo-img { height: 24px; }
    .nav-pill-brand { font-size: 13px; }
    .nav-pill-link { font-size: clamp(12px, 5vw, 16px); }
    .nav-pill-footer { font-size: 10px; }
    .hero-section {
        padding: 80px 16px 10px;
    }
    .hero-badge { margin-top: 30px; }
    .hero-title { font-size: 28px; }
    .hero-tagline { font-size: 13px; max-width: 280px; }
    .hero-badge { padding: 5px 12px 5px 8px; }
    .hero-badge span { font-size: 12px; }
    .dash-mock { border-radius: 12px; }
    .dm-topbar { padding: 10px 14px; }
    .dm-content { padding: 14px; }
    .dm-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .dm-stat-card { padding: 10px; }
    .dm-stat-icon { width: 30px; height: 30px; font-size: 12px; }
    .dm-stat-num { font-size: 15px; }
    .dm-search { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-brand { grid-column: span 1; }
    
    .companies-slider-section { padding: 30px 15px; }
    .section-title { font-size: 20px; }
    .section-subtitle { font-size: 12px; }
}

@media (max-width: 375px) {
    .hero-title { font-size: 24px; }
    .hero-tagline { font-size: 12px; }
}

/* --- Cookie Consent Banner --- */
/* ─── Cookie Bottom Bar ─── */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000000;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--frame-border);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease,
                visibility 0.4s;
    pointer-events: none;
}

.cookie-bar.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 28px;
}

/* Main row: text + buttons */
.cookie-bar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-bar-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.cookie-emoji {
    display: inline-block;
    font-size: 15px;
    vertical-align: -2px;
    margin-left: 3px;
    animation: cookieWiggle 2s ease-in-out infinite;
}

@keyframes cookieWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-6deg); }
    75% { transform: rotate(6deg); }
}

.cookie-bar-link {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
}

.cookie-bar-link:hover {
    opacity: 0.7;
}

/* Buttons row */
.cookie-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: var(--font-main);
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cookie-btn:active {
    transform: scale(0.97);
}

.cookie-btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
}

.cookie-btn-primary:hover {
    opacity: 0.85;
}

.cookie-btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--frame-border);
}

.cookie-btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.cookie-btn-info {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--frame-border);
    font-weight: 500;
    font-size: 12px;
}

.cookie-btn-info:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.cookie-btn-info svg {
    opacity: 0.6;
}

/* Expandable data section */
.cookie-bar-expand {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease,
                margin 0.35s ease;
    margin-top: 0;
}

.cookie-bar-expand.open {
    max-height: 120px;
    opacity: 1;
    margin-top: 12px;
}

.cookie-bar-expand-header {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    opacity: 0.7;
}

.cookie-bar-expand-title {
    font-size: 11px;
}

/* Data pills row */
.cookie-bar-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.cookie-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bento-bg);
    border: 1px solid var(--frame-border);
    white-space: nowrap;
    line-height: 1;
}

.cookie-pill svg {
    width: 10px;
    height: 10px;
    opacity: 0.45;
    flex-shrink: 0;
}

.cookie-pill-val {
    color: var(--text-primary);
    font-weight: 600;
}

/* Dark mode */
[data-theme="dark"] .cookie-bar {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* Mobile */
@media (max-width: 640px) {
    .cookie-bar-inner {
        padding: 12px 16px;
    }
    .cookie-bar-main {
        flex-wrap: wrap;
        gap: 12px;
    }
    .cookie-bar-text {
        flex-basis: 100%;
    }
    .cookie-bar-actions {
        width: 100%;
        justify-content: stretch;
    }
    .cookie-btn {
        flex: 1;
        justify-content: center;
    }
    .cookie-bar-expand.open {
        max-height: 160px;
    }
}

.ai-employees-section {
    padding: 100px 20px;
    background: var(--bg-color);
    position: relative;
    z-index: 20;
    transition: background-color 0.3s ease;
}

.ai-employees-section .section-container {
    max-width: 1180px;
    margin: 0 auto;
}

.ai-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.ai-role-card {
    background: var(--bento-bg);
    border: 1px solid var(--frame-border);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ai-role-card .icon {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1;
}

.ai-role-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.ai-role-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ai-employees-section {
        padding: 80px 20px;
    }
    .ai-role-card {
        padding: 25px;
    }
    .ai-role-card .icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    .ai-role-card h3 {
        font-size: 20px;
    }
    .ai-role-card p {
        font-size: 14px;
    }
}

/* --- Store Sections Section --- */
.store-sections {
    padding: 100px 20px 80px;
    background: #0a0a0a;
    color: #ffffff;
    position: relative;
    z-index: 20;
    overflow: hidden;
}

[data-theme="dark"] .store-sections {
    background: #0a0a0a;
}

.store-sections-container {
    max-width: 1200px;
    margin: 0 auto;
}

.store-sections-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    gap: 20px;
}

.store-sections-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
    font-family: var(--font-main);
}

.store-sections-subtitle {
    font-size: clamp(14px, 1.5vw, 17px);
    color: rgba(255, 255, 255, 0.55);
    max-width: 550px;
    line-height: 1.6;
    font-family: var(--font-main);
}

.store-sections-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1f6bff;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.store-sections-cta:hover {
    background: #0056fd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 107, 255, 0.4);
}

.store-sections-cta svg {
    transform: scaleX(-1);
}

/* Layout: Sidebar + Preview */
.store-sections-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: start;
}

/* Sidebar */
.sections-sidebar {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 20px 0;
    position: sticky;
    top: 100px;
    transition: border-color 0.3s ease;
}

.sections-sidebar:hover {
    border-color: #3a3a3a;
}

.sections-sidebar-title {
    padding: 0 20px 16px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 8px;
}

.section-list {
    display: flex;
    flex-direction: column;
}

.section-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-main);
    position: relative;
    overflow: hidden;
}

.section-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(31, 107, 255, 0.08);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.section-item:hover::before {
    opacity: 1;
}

.section-item:hover {
    color: rgba(255, 255, 255, 0.85);
}

.section-item.active {
    background: rgba(31, 107, 255, 0.12);
    color: #60a5fa;
    border-right: 3px solid #1f6bff;
    font-weight: 600;
}

.section-item.active .section-item-icon {
    color: #60a5fa;
}

.section-item.active .section-item-arrow {
    opacity: 1;
    transform: translateX(0);
}

.section-item-icon {
    width: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
}

.section-item:hover .section-item-icon {
    color: rgba(255, 255, 255, 0.7);
}

.section-item span:not(.section-item-icon):not(.section-item-arrow) {
    position: relative;
    z-index: 1;
}

.section-item-arrow {
    margin-right: auto;
    margin-left: 0;
    font-size: 10px;
    color: #1f6bff;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.25s ease;
}

/* Preview Browser */
.sections-preview {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.sections-preview:hover {
    border-color: #3a3a3a;
}

.preview-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
}

.preview-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
    transition: background 0.2s ease;
}

.preview-dots span:first-child { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:last-child { background: #28ca42; }

.preview-dots:hover span:first-child { background: #ff3b30; }
.preview-dots:hover span:nth-child(2) { background: #ffcc00; }
.preview-dots:hover span:last-child { background: #34c759; }

.preview-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #0f0f0f;
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    transition: background 0.2s ease;
}

.preview-url:hover {
    background: #1a1a1a;
}

.preview-url i {
    font-size: 10px;
    color: #28ca42;
}

.preview-controls {
    flex-shrink: 0;
}

.preview-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(31, 107, 255, 0.1);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #60a5fa;
    transition: all 0.3s ease;
}

.preview-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background: #ffffff;
    transition: opacity 0.3s ease;
}

.preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

/* Loading Spinner */
.preview-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.6);
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.preview-loading.active {
    opacity: 1;
    visibility: visible;
}

.preview-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #1f6bff;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Store Sections Responsive */
@media (max-width: 1024px) {
    .store-sections-layout {
        grid-template-columns: 1fr;
    }
    .sections-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        padding: 12px;
        gap: 0;
    }
    .sections-sidebar-title {
        width: 100%;
        padding: 0 8px 12px;
        border-bottom: none;
        margin-bottom: 0;
    }
    .section-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }
    .section-item {
        padding: 8px 14px;
        border-radius: 8px;
        border-right: none;
        font-size: 13px;
    }
    .section-item.active {
        background: rgba(31, 107, 255, 0.15);
    }
    .section-item-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .store-sections {
        padding: 60px 16px 40px;
    }
    .store-sections-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .store-sections-title {
        font-size: 24px;
    }
    .preview-iframe-wrapper {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .preview-iframe-wrapper {
        height: 280px;
    }
}

[data-theme="dark"] .store-sections {
    background: #0a0a0a;
}

.store-sections-container {
    max-width: 1200px;
    margin: 0 auto;
}

.store-sections-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    gap: 20px;
}

.store-sections-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
    font-family: var(--font-main);
}

.store-sections-subtitle {
    font-size: clamp(14px, 1.5vw, 17px);
    color: rgba(255, 255, 255, 0.55);
    max-width: 550px;
    line-height: 1.6;
    font-family: var(--font-main);
}

.store-sections-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1f6bff;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.store-sections-cta:hover {
    background: #0056fd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 107, 255, 0.4);
}

.store-sections-cta svg {
    transform: scaleX(-1);
}

/* Layout: Sidebar + Preview */
.store-sections-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

/* Sidebar */
.sections-sidebar {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 20px 0;
    position: sticky;
    top: 100px;
}

.sections-sidebar-title {
    padding: 0 20px 16px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 8px;
}

.section-list {
    display: flex;
    flex-direction: column;
}

.section-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}

.section-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.8);
}

.section-item.active {
    background: rgba(31, 107, 255, 0.1);
    color: #60a5fa;
    border-right: 2px solid #1f6bff;
}

.section-item-icon {
    width: 20px;
    text-align: center;
    font-size: 14px;
}

/* Preview Browser */
.sections-preview {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
}

.preview-browser-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.preview-dots span:first-child { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:last-child { background: #28ca42; }

.preview-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #0f0f0f;
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.preview-url i {
    font-size: 10px;
    color: #28ca42;
}

.preview-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background: #ffffff;
}

.preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

/* Store Sections Responsive */
@media (max-width: 1024px) {
    .store-sections-layout {
        grid-template-columns: 1fr;
    }
    .sections-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        padding: 12px;
        gap: 0;
    }
    .sections-sidebar-title {
        width: 100%;
        padding: 0 8px 12px;
        border-bottom: none;
        margin-bottom: 0;
    }
    .section-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }
    .section-item {
        padding: 8px 14px;
        border-radius: 8px;
        border-right: none;
        font-size: 13px;
    }
    .section-item.active {
        background: rgba(31, 107, 255, 0.15);
    }
}

@media (max-width: 768px) {
    .store-sections {
        padding: 60px 16px 40px;
    }
    .store-sections-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .store-sections-title {
        font-size: 24px;
    }
    .preview-iframe-wrapper {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .preview-iframe-wrapper {
        height: 280px;
    }
}

/* --- Builder Uniqueness Section --- */
.builder-uniqueness-section {
    padding: 100px 20px 80px;
    background: var(--bg-color);
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.builder-uniqueness-section .section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Stores Showcase */
.stores-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

/* Glow orbs behind cards */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.glow-orb-1 {
    width: 300px;
    height: 300px;
    background: #1F6BFF;
    top: -50px;
    left: 10%;
}

.glow-orb-2 {
    width: 250px;
    height: 250px;
    background: #7c3aed;
    bottom: -30px;
    right: 10%;
}

/* Browser-like store window */
.store-window {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .store-window {
    background: #1a1a2e;
    border-color: rgba(255, 255, 255, 0.08);
}

.store-window:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(31, 107, 255, 0.15), 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Window top bar */
.store-window-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f5f5f5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .store-window-bar {
    background: #12121f;
    border-color: rgba(255, 255, 255, 0.06);
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-url {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #888;
    font-family: 'Rubik', sans-serif;
}

/* iframe body */
.store-window-body {
    height: 340px;
    overflow: hidden;
}

.store-embed {
    width: 100%;
    height: 100%;
    border: none;
}

/* Window bottom label */
.store-window-label {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .store-window-label {
    border-color: rgba(255, 255, 255, 0.06);
}

.store-label-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.store-label-tag {
    font-size: 12px;
    color: #1F6BFF;
    background: rgba(31, 107, 255, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Tagline */
.builder-tagline {
    text-align: center;
    margin-top: 60px;
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.builder-tagline strong {
    color: var(--text-primary);
    font-weight: 800;
}

/* Responsive */
@media (max-width: 1024px) {
    .stores-showcase {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .builder-uniqueness-section {
        padding: 80px 16px 60px;
    }

    .store-window-body {
        height: 280px;
    }

    .builder-tagline {
        font-size: 17px;
        margin-top: 40px;
    }
}

/* --- AI Mind Section --- */
.ai-mind-section {
    padding: 140px 20px;
    background: #020617; /* Deep cosmic blue/black */
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Starry Background & Cosmic Bloom */
.ai-mind-section::before {
    content: '';
    position: absolute;
    inset: -100px;
    background-image: 
        radial-gradient(1.5px 1.5px at 20px 30px, #fff, rgba(255,255,255,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(255,255,255,0)),
        radial-gradient(1.5px 1.5px at 50px 160px, #fff, rgba(255,255,255,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(255,255,255,0)),
        radial-gradient(1.5px 1.5px at 130px 80px, #fff, rgba(255,255,255,0)),
        radial-gradient(1.5px 1.5px at 160px 120px, #fff, rgba(255,255,255,0));
    background-repeat: repeat;
    background-size: 250px 250px;
    opacity: 0.4;
    animation: 
        starsMove 40s linear infinite,
        starsTwinkle 3s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes starsTwinkle {
    0% { opacity: 0.2; filter: brightness(1); }
    50% { opacity: 0.5; filter: brightness(1.5); }
    100% { opacity: 0.3; filter: brightness(1.2); }
}

.ai-mind-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(29, 78, 216, 0.1) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
    z-index: 1;
    animation: nebulaMove 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes starsMove {
    from { transform: translateY(0); }
    to { transform: translateY(-1000px); }
}

@keyframes nebulaMove {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-48%, -52%) rotate(2deg) scale(1.1); }
    100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
}

.mind-visualization {
    position: relative;
    max-width: 1100px;
    height: 650px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.mind-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.mind-line {
    fill: none;
    stroke: url(#line-grad);
    stroke-width: 1.5;
    stroke-dasharray: 8, 8;
    opacity: 0.6;
    animation: lineFlow 4s linear infinite;
}

.data-particle {
    filter: drop-shadow(0 0 5px #3b82f6);
}

@keyframes lineFlow {
    from { stroke-dashoffset: 100; }
    to { stroke-dashoffset: 0; }
}

.central-brain {
    position: relative;
    z-index: 5;
    text-align: center;
}

.brain-core {
    width: 140px;
    height: 140px;
    background: rgba(21, 21, 21, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    animation: brainBreathing 4s ease-in-out infinite;
    z-index: 2;
}

[data-theme="light"] .brain-core {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.brain-core img {
    width: 60px;
    height: auto;
    z-index: 2;
    filter: brightness(0); /* Black in light mode */
    transition: filter 0.3s ease;
}

[data-theme="dark"] .brain-core img {
    filter: brightness(0) invert(1); /* White in dark mode */
}

/* Pulse rings removed */
@keyframes brainBreathing {
    0% { box-shadow: 0 0 30px rgba(37, 99, 235, 0.3), inset 0 0 10px rgba(37, 99, 235, 0.1); }
    50% { box-shadow: 0 0 60px rgba(37, 99, 235, 0.5), inset 0 0 20px rgba(37, 99, 235, 0.3); transform: scale(1.02); }
    100% { box-shadow: 0 0 30px rgba(37, 99, 235, 0.3), inset 0 0 10px rgba(37, 99, 235, 0.1); }
}

.brain-title {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff; /* Always white on cosmic background */
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* AI Mind Cards */
.ai-mind-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mind-card {
    position: absolute;
    width: 260px;
    padding: 24px;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    pointer-events: auto;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Only glow on hover, no movement */
.mind-card:hover {
    transform: none;
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

.top-left { top: 5%; left: 0%; }
.top-right { top: 5%; right: 0%; text-align: right; }
.bottom-left { bottom: 5%; left: 0%; }
.bottom-right { bottom: 5%; right: 0%; text-align: right; }

.card-wave {
    display: none;
}

@keyframes waveMove {
    from { transform: translateY(10px); }
    to { transform: translateY(-5px); }
}

.card-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.card-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
}

.card-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Responsive */
.rotating-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.rotating-word {
    display: inline-block;
}

/* Hero rotating word */
.rw-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    height: 1.15em;
    line-height: 1.15;
}

.rw-word {
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(0);
    opacity: 1;
}

.rw-word.rw-out {
    transform: translateY(100%);
    opacity: 0;
}

.rw-word.rw-in {
    transform: translateY(-100%);
    opacity: 0;
}

/* --- Mobile Orbit Ring --- */
@keyframes orbit-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbit-spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

#orbit-ring {
    display: none;
}

#orbit-ring:hover {
    animation-play-state: paused !important;
}

#orbit-ring:hover .orbit-video {
    animation-play-state: paused !important;
}

.orbit-video {
    position: absolute;
    border-radius: 16px;
}

.orbit-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .scatter-section {
        display: none;
    }

    .scatter-column {
        display: none !important;
    }

    #orbit-ring {
        display: block;
    }

    .scatter-heading { font-size: 20px; }
}

@media (max-width: 480px) {
    .scatter-section {
        min-height: 60vh;
    }

    .scatter-column {
        display: none !important;
    }

    #orbit-ring {
        display: block;
    }

    .scatter-heading { font-size: 18px; }
}
    
    .mind-svg { display: none; }
    
    .ai-mind-cards {
        position: relative;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        height: auto;
    }
    
    .mind-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100%;
        text-align: center;
    }
}

/* --- Featured Stores Section Premium Redesign --- */
.featured-stores-section {
    padding: 120px 0;
    background: var(--bg-color);
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.featured-stores-section .section-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.stores-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.stores-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 40px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    cursor: grab;
    direction: rtl;
}

.stores-grid::-webkit-scrollbar { display: none; }

/* Store Card Main Styles */
.store-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: transparent;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    perspective: 1000px;
}

.store-card-inner {
    background: var(--bento-bg);
    border: 1px solid var(--frame-border);
    border-radius: 32px;
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.store-card:hover .store-card-inner {
    transform: translateY(-12px);
    border-color: #3b82f6;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* Banner & Badge */
.store-banner {
    height: 100px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

.banner-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.store-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Main Info */
.store-main-info {
    padding: 0 24px 20px 24px;
    margin-top: -30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 5;
}

.store-logo-container {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    border: 4px solid var(--bento-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.store-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.category-tag {
    font-size: 11px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.date-tag {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Stats Strip */
.store-stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(0,0,0,0.03);
    margin: 0 20px;
    padding: 15px 10px;
    border-radius: 20px;
    gap: 10px;
}

[data-theme="dark"] .store-stats-strip {
    background: rgba(255,255,255,0.03);
}

.mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-lbl {
    font-size: 9px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Products Preview */
.store-products-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 24px;
}

.mini-product {
    aspect-ratio: 1;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--frame-border);
    transition: all 0.3s ease;
}

.mini-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mini-product:hover img {
    transform: scale(1.15);
}

/* Actions */
.store-card-actions {
    padding: 0 24px 24px 24px;
    margin-top: auto;
}

.btn-visit-new {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--text-primary);
    color: var(--bg-color);
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-visit-new:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-visit-new i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-visit-new:hover i {
    transform: translate(-3px, -3px);
}

/* Slider Navigation */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.slider-nav-btn i {
    font-size: 16px;
}

.slider-nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.slider-nav-btn.prev { right: -24px; }
.slider-nav-btn.next { left: -24px; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .featured-stores-section .section-container { padding: 0 20px; }
    .store-card { flex: 0 0 310px; }
    .slider-nav-btn { display: none; }
}

@media (max-width: 768px) {
    .featured-stores-section { padding: 80px 0; }
    .store-card { flex: 0 0 280px; }
    .store-banner { height: 80px; }
    .store-logo-container { width: 70px; height: 70px; border-radius: 20px; }
    .store-text h3 { font-size: 18px; }
    .store-products-preview { padding: 20px; }
}

.section-actions {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Skeleton Loading */
.skeleton-loading {
    flex: 0 0 350px;
    min-height: 480px;
    background: linear-gradient(90deg, var(--bento-bg) 25%, var(--frame-border) 50%, var(--bento-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
    border-radius: 32px;
    border: 1px solid var(--frame-border);
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}







/* --- Builder Showcase Section --- */
.builder-showcase-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-color);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.showcase-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.builder-mockup {
    background: var(--bento-bg);
    border: 1px solid var(--frame-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.15);
    position: relative;
    transition: transform 0.5s ease;
}

.builder-mockup:hover {
    transform: translateY(-10px) rotateX(2deg);
}

[data-theme=" dark"] .mockup-content {
 background: #111;
}

.main-mockup-img {
 width: 100%;
 height: auto;
 border-radius: 12px;
 box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-pills {
 display: flex;
 flex-wrap: wrap;
 gap: 12px;
 margin: 30px 0;
}

.pill {
 padding: 10px 20px;
 background: var(--bento-bg);
 border: 1px solid var(--frame-border);
 border-radius: 12px;
 font-size: 14px;
 display: flex;
 align-items: center;
 gap: 10px;
 color: var(--text-primary);
}

.pill i {
 color: #2563eb;
}

.showcase-cta-group {
 display: flex;
 flex-direction: column;
 gap: 15px;
}

.cta-hint {
 font-size: 13px;
 color: var(--text-secondary);
 margin-right: 15px;
}

.floating-element {
 position: absolute;
 background: var(--bg-color);
 padding: 10px 15px;
 border-radius: 10px;
 box-shadow: 0 15px 30px rgba(0,0,0,0.15);
 border: 1px solid var(--frame-border);
 display: flex;
 align-items: center;
 gap: 10px;
 font-size: 12px;
 animation: float 4s ease-in-out infinite;
 z-index: 10;
}

.element-1 {
 top: 40%;
 right: -20px;
 background: #2563eb;
 color: white;
 border: none;
}

.element-2 {
 bottom: 30%;
 left: 20%;
 padding: 8px;
 border-radius: 50%;
 color: #2563eb;
 animation-delay: 1s;
}

@keyframes float {
 0%, 100% { transform: translateY(0); }
 50% { transform: translateY(-15px); }
}

.showcase-glow {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: 60%;
 height: 60%;
 background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
 pointer-events: none;
 z-index: -1;
}

@media (max-width: 992px) {
 .showcase-content {
 grid-template-columns: 1fr;
 gap: 50px;
 text-align: center;
 }
 
 .feature-pills {
 justify-content: center;
 }
 
 .showcase-text {
 order: 1;
 display: flex;
 flex-direction: column;
 align-items: center;
 }
 
 .showcase-visual {
 order: 2;
 max-width: 600px;
 margin: 0 auto;
 }
 
}

/* --- Built with Itliq Showcase Section (Clean Iframe) --- */
/* ===== Showcase Slider — Minimalist × Brutalist ===== */

.showcase {
    padding: 120px 0 80px;
    background: var(--bg-color);
    position: relative;
    z-index: 20;
}

.showcase-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.showcase-header {
    margin-bottom: 48px;
}

.showcase-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary, #787774);
    margin-bottom: 16px;
    font-family: 'Rubik', sans-serif;
}

.showcase-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--text-primary, #111);
    margin: 0 0 12px;
    letter-spacing: -0.04em;
    line-height: 1;
    font-family: 'Rubik', sans-serif;
}

.showcase-sub {
    font-size: 15px;
    color: var(--text-secondary, #787774);
    max-width: 500px;
    margin: 0;
    line-height: 1.6;
}

/* Track — one slide at a time */
.showcase-track {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--frame-border, rgba(0,0,0,0.08));
    border-radius: 12px;
}

[data-theme="dark"] .showcase-track {
    border-color: rgba(255,255,255,0.08);
}

/* Slide */
.showcase-slide {
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: showcaseFadeIn 0.5s ease;
}

.showcase-slide.active {
    display: flex;
}

@keyframes showcaseFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Browser mockup */
.showcase-browser {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

[data-theme="dark"] .showcase-browser {
    background: #111;
}

/* Browser bar */
.showcase-browser-bar {
    height: 38px;
    background: rgba(0,0,0,0.03);
    border-bottom: 1px solid var(--frame-border, rgba(0,0,0,0.06));
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 12px;
}

[data-theme="dark"] .showcase-browser-bar {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
}

.showcase-browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.showcase-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
}

[data-theme="dark"] .showcase-browser-dots span {
    background: rgba(255,255,255,0.08);
}

.showcase-browser-dots span:first-child { background: rgba(239,68,68,0.6); }
.showcase-browser-dots span:nth-child(2) { background: rgba(234,179,8,0.6); }
.showcase-browser-dots span:last-child { background: rgba(34,197,94,0.6); }

.showcase-browser-url {
    flex: 1;
    font-size: 12px;
    color: var(--text-secondary, #787774);
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--frame-border, rgba(0,0,0,0.06));
    border-radius: 6px;
    padding: 4px 12px;
    text-align: center;
    font-family: 'Rubik', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-theme="dark"] .showcase-browser-url {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
}

.showcase-browser-actions {
    display: flex;
    gap: 8px;
    color: var(--text-secondary, #787774);
    font-size: 11px;
    flex-shrink: 0;
}

/* Browser screen */
.showcase-browser-screen {
    position: relative;
    height: 480px;
    background: #fff;
}

[data-theme="dark"] .showcase-browser-screen {
    background: #0a0a0a;
}

.showcase-browser-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.showcase-browser-screen.loaded iframe {
    opacity: 1;
}

/* Loading */
.showcase-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.02);
    z-index: 2;
    transition: opacity 0.4s ease;
}

[data-theme="dark"] .showcase-loading {
    background: rgba(255,255,255,0.02);
}

.showcase-loading.done {
    opacity: 0;
    pointer-events: none;
}

.showcase-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0,0,0,0.06);
    border-top-color: var(--text-primary, #111);
    border-radius: 50%;
    animation: showcaseSpin 0.8s linear infinite;
}

[data-theme="dark"] .showcase-spinner {
    border-color: rgba(255,255,255,0.06);
    border-top-color: var(--text-primary, #eaeaea);
}

@keyframes showcaseSpin {
    to { transform: rotate(360deg); }
}

/* Card info */
.showcase-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 0 0 12px 12px;
}

[data-theme="dark"] .showcase-card-info {
    background: rgba(255,255,255,0.03);
}

.showcase-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.showcase-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--text-primary, #111);
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    flex-shrink: 0;
}

[data-theme="dark"] .showcase-card-num {
    background: rgba(255,255,255,0.15);
}

.showcase-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #111);
    font-family: 'Rubik', sans-serif;
}

.showcase-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #787774);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0,0,0,0.04);
    transition: color 0.2s, background 0.2s;
    font-family: 'Rubik', sans-serif;
}

[data-theme="dark"] .showcase-card-link {
    background: rgba(255,255,255,0.08);
}

.showcase-card-link:hover {
    color: var(--text-primary, #111);
    background: rgba(0,0,0,0.08);
}

[data-theme="dark"] .showcase-card-link:hover {
    background: rgba(255,255,255,0.14);
}

/* Footer */
.showcase-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.showcase-hint {
    font-size: 12px;
    color: var(--text-secondary, #787774);
    font-family: 'Rubik', sans-serif;
}

/* Dots */
.showcase-dots {
    display: flex;
    gap: 6px;
}

.showcase-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.12);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

[data-theme="dark"] .showcase-dot {
    background: rgba(255,255,255,0.12);
}

.showcase-dot.active {
    background: var(--text-primary, #111);
    transform: scale(1.3);
}

[data-theme="dark"] .showcase-dot.active {
    background: var(--text-primary, #eaeaea);
}

/* Responsive */
@media (max-width: 768px) {
    .showcase { padding: 80px 0 60px; }
    .showcase-browser-screen { height: 360px; }
    .showcase-header { margin-bottom: 32px; }
    .showcase-footer { display: none; }
}

/* --- Store Design Section --- */
.store-design-section {
    padding: 100px 20px;
    background: var(--bg-color);
    position: relative;
    z-index: 20;
}

.store-design-section .section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-sub-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: -10px;
    margin-bottom: 40px;
    text-align: center;
}



.iframe-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 40px rgba(31, 107, 255, 0.3),
        0 0 80px rgba(31, 107, 255, 0.15);
    border: 1px solid var(--frame-border);
    background: #000;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.3s ease;
}

.iframe-container:hover {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 60px rgba(31, 107, 255, 0.5),
        0 0 120px rgba(31, 107, 255, 0.25);
}

@media (max-width: 768px) {
    .iframe-container {
        border-radius: 16px;
    }
    .store-design-glow {
        width: 400px;
        height: 250px;
    }
}

.design-video-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .store-design-section {
        padding: 60px 15px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .video-grid-item {
        border-radius: 16px;
    }
}

/* --- Site Footer --- */
.site-footer {
    position: relative;
    background: #ffffff;
    border-radius: 32px;
    margin: 0 16px 40px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    z-index: 15;
}

[data-theme="dark"] .site-footer {
    background: #111111;
    border-color: #222222;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.footer-watermark {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(150px, 30vw, 350px);
    font-weight: 800;
    color: #000000;
    opacity: 0.03;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    white-space: nowrap;
    z-index: 0;
    font-family: var(--font-main);
}

[data-theme="dark"] .footer-watermark {
    color: #ffffff;
    opacity: 0.02;
}

.footer-inner {
    position: relative;
    z-index: 1;
    padding: 60px 48px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

[data-theme="dark"] .footer-logo-text {
    color: #ffffff;
}

.footer-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

[data-theme="dark"] .footer-desc {
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    font-size: 19px;
    text-decoration: none;
    color: #64748b;
    transition: color 0.3s ease, transform 0.3s ease;
}

[data-theme="dark"] .social-icon {
    color: #94a3b8;
}

.social-icon:hover {
    color: #0f172a;
    transform: translateY(-2px);
}

[data-theme="dark"] .social-icon:hover {
    color: #f8fafc;
}

[data-theme="dark"] .social-icon {
    border-color: #334155;
    color: #94a3b8;
}

.social-icon:hover {
    background: rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .social-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f8fafc;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

[data-theme="dark"] .footer-col-title {
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: #1f6bff;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-theme="dark"] .footer-bottom {
    border-color: #222222;
}

.footer-copyright {
    font-size: 12px;
    color: #94a3b8;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-tagline {
    font-size: 12px;
    color: #94a3b8;
}

.footer-theme-toggle {
    background: var(--bento-bg);
    border: 1px solid var(--frame-border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-theme-toggle:hover {
    background: var(--accent-color);
    color: var(--accent-text);
    border-color: var(--accent-color);
    transform: rotate(30deg);
}

.footer-theme-icon-dark {
    display: none;
}

[data-theme="dark"] .footer-theme-icon-light {
    display: none;
}

[data-theme="dark"] .footer-theme-icon-dark {
    display: inline;
}

/* Simple footer grid */
.footer-grid-simple {
    grid-template-columns: 2fr 1fr 1fr;
}

.footer-social-vertical {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-link-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link-row i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.social-link-row:hover {
    color: #1f6bff;
    transform: translateX(-3px);
}

[data-theme="dark"] .social-link-row {
    color: #94a3b8;
}

[data-theme="dark"] .social-link-row:hover {
    color: #60a5fa;
}

@media (max-width: 768px) {
    .cta-container {
        padding: 60px 24px;
    }

    .cta-btn {
        padding: 14px 36px;
        font-size: 16px;
    }

    .site-footer {
        margin: 0 12px 24px;
        border-radius: 24px;
    }

    .footer-inner {
        padding: 40px 24px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* --- Availability Banner --- */
.avail-banner {
    position: relative;
    width: 100%;
    z-index: 12;
    background: linear-gradient(135deg, rgba(79,172,254,0.04), rgba(0,242,195,0.04));
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    direction: rtl;
}

.avail-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.avail-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.avail-title {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.avail-flags {
    display: flex;
    gap: 8px;
}

.avail-flag img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.avail-flag:hover img {
    opacity: 1;
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .avail-banner-inner {
        padding: 12px 16px;
        gap: 12px;
    }
    .avail-title {
        font-size: 0.9rem;
    }
    .avail-flag img {
        width: 26px;
        height: 26px;
    }
    .avail-flags {
        gap: 5px;
    }
}

/* ===== DASHBOARD BENTO SECTION ===== */
.dash-bento {
    padding: 80px 24px;
    background: var(--bg-color);
}

.dash-bento-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.dash-bento-header {
    text-align: center;
    margin-bottom: 48px;
}

.dash-bento-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

.dash-bento-sub {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.dash-bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 500px;
}

.dash-bento-cell {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bento-bg);
    border: 1px solid var(--card-border);
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, filter 0.8s ease-out, transform 0.8s ease-out;
}

.dash-bento-cell.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.dash-bento-cell:nth-child(1) { transition-delay: 0.1s; }
.dash-bento-cell:nth-child(2) { transition-delay: 0.25s; }
.dash-bento-cell:nth-child(3) { transition-delay: 0.4s; }

.dash-bento-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dash-bento-cell:hover img {
    transform: scale(1.05);
}

.dash-bento-cell-lg {
    grid-row: 1 / -1;
}

.dash-bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    color: #fff;
}

.dash-bento-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.dash-bento-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.dash-bento-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .dash-bento {
        padding: 60px 16px;
    }
    .dash-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    .dash-bento-cell-lg {
        grid-row: auto;
        height: 280px;
    }
    .dash-bento-cell:not(.dash-bento-cell-lg) {
        height: 200px;
    }
    .dash-bento-overlay {
        padding: 16px;
    }
}
