@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ============================================================
   DESIGN TOKENS — NEO POS  (LIGHT MODE)
   ============================================================ */
:root {
    /* Backgrounds */
    --bg:        #ffffff;
    --bg-2:      #f8f9fb;
    --bg-3:      #f1f3f6;
    --card:      #ffffff;
    --card-hover:#f6f8ff;

    /* Borders */
    --border:       rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.16);

    /* Text */
    --text-1: #0d0f14;
    --text-2: #5a6070;
    --text-3: #9ba3b2;

    /* Accent — rich emerald green */
    --accent:       #16a34a;
    --accent-light: #22c55e;
    --accent-dim:   rgba(22,163,74,0.08);
    --accent-mid:   rgba(22,163,74,0.16);
    --accent-glow:  0 8px 32px rgba(22,163,74,0.20);

    /* Supporting */
    --blue:     #2563eb;
    --wa-green: #25D366;
    --red:      #dc2626;
    --yellow:   #d97706;
    --purple:   #7c3aed;

    /* Shadows */
    --shadow-sm:  0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04);
    --shadow-xl:  0 24px 64px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);

    /* Misc */
    --radius:    16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --font-ar:   'Tajawal', sans-serif;
    --font-en:   'DM Sans', sans-serif;

    /* Easing — smoother, slower curves */
    --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

    /* Layout */
    --nav-h:       80px;
    --section-gap: 120px;
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text-1);
    direction: rtl;
    font-family: var(--font-ar);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ============================================================
   CURSOR GLOW — subtle green tint on white
   ============================================================ */
.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 500px; height: 500px;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22,163,74,0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: transform 0.15s linear;
    will-change: transform;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1160px;
    z-index: 1000;
}

.navbar.scrolled .nav-inner {
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(16, 185, 129, 0.25);
    backdrop-filter: blur(25px) saturate(190%);
    box-shadow: 0 12px 50px rgba(16, 185, 129, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.5s var(--ease-out);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    width: 34px; height: 34px;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.logo-img:hover {
    transform: scale(1.1) rotate(6deg);
}

.logo-text {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
    color: #111827;
}

.nav-badge {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #047857;
    font-size: 10px; font-weight: 700;
    font-family: var(--font-en);
    padding: 2px 8px;
    border-radius: 100px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 8px 14px;
    font-size: 13.5px; font-weight: 600;
    color: #374151;
    border-radius: 10px;
    transition: all 0.3s var(--ease-out);
}
.nav-link:hover { color: #047857; background: rgba(16, 185, 129, 0.08); }

.nav-actions {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

.btn-nav-secondary {
    padding: 9px 16px;
    font-size: 13px; font-weight: 600;
    color: var(--text-2);
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s var(--ease-out);
    background: none;
}
.btn-nav-secondary:hover { color: var(--text-1); border-color: var(--border); background: var(--bg-2); }

.btn-nav-primary {
    padding: 10px 22px;
    font-size: 13px; font-weight: 800;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-radius: 12px;
    border: none;
    transition: all 0.4s var(--ease-spring);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 6px;
}
.mobile-menu-btn span {
    display: block; width: 22px; height: 2px;
    background: var(--text-2); border-radius: 2px;
    transition: all 0.4s var(--ease-out);
}

.mobile-menu {
    display: none; flex-direction: column; gap: 6px;
    padding: 16px 20px; margin-top: 8px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 18px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-link {
    padding: 10px 14px; font-size: 15px; color: var(--text-2);
    border-radius: 10px; transition: all 0.3s;
}
.mobile-link:hover { color: var(--text-1); background: var(--bg-2); }
.mobile-cta { align-self: flex-start; margin-top: 8px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--nav-h) + 80px);
    padding-bottom: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--bg);
}

/* Subtle mesh gradient background */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(22,163,74,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(37,99,235,0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.018'/%3E%3C/svg%3E");
    pointer-events: none; opacity: 0.6;
}

.hero-glow-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(22,163,74,0.07) 0%, transparent 60%);
    top: -150px; right: -150px;
    animation: float1 12s ease-in-out infinite;
    filter: blur(40px);
}
.hero-glow-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 60%);
    bottom: 50px; left: 5%;
    animation: float2 15s ease-in-out infinite;
    filter: blur(40px);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex; flex-direction: column; gap: 20px;
    align-items: center; max-width: 780px;
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-mid);
    padding: 6px 14px; border-radius: 100px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    width: fit-content;
}

.tag-dot {
    width: 6px; height: 6px;
    background: var(--accent); border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(36px, 4.8vw, 60px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--text-1);
}

.hero-highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #15803d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px; color: var(--text-2);
    line-height: 1.75; max-width: 600px; text-align: center;
}

.hero-actions {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* PRIMARY BUTTON */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 28px;
    background: var(--accent); color: #fff;
    font-size: 15px; font-weight: 700;
    border-radius: 12px; border: none;
    transition: all 0.4s var(--ease-spring);
    box-shadow: 0 4px 16px rgba(22,163,74,0.28);
    position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
}
.btn-primary:hover {
    background: #15803d;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(22,163,74,0.36);
}
.btn-glow { /* alias */ }

/* GHOST BUTTON */
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 22px;
    background: var(--bg-2); color: var(--text-2);
    font-size: 15px; font-weight: 600;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}
.btn-ghost:hover { color: var(--text-1); border-color: var(--border-hover); background: var(--bg-3); }

/* HERO STATS */
.hero-stats {
    display: flex; align-items: center; gap: 24px; padding-top: 8px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-val {
    font-family: var(--font-en); font-size: 22px; font-weight: 800;
    color: var(--text-1);
}
.stat-lbl { font-size: 12px; color: var(--text-3); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* HERO MOCKUP */
.hero-visual { position: relative; }

.hero-mockup {
    position: relative;
    border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-2);
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(22,163,74,0.04);
    animation: float-mockup 9s ease-in-out infinite;
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-mockup::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(255,255,255,0.3) 100%);
    pointer-events: none;
}

.mockup-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    background: #f3f4f6;
    border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28c840; }
.mockup-url {
    flex: 1; text-align: center;
    font-family: var(--font-en); font-size: 11px; color: var(--text-3);
    background: #e9ecef; padding: 3px 12px; border-radius: 6px;
    margin: 0 8px;
}

.hero-mockup img { width: 100%; display: block; }

/* Floating Badges */
.float-badge {
    position: absolute; display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--border-hover);
    backdrop-filter: blur(12px);
    padding: 9px 16px; border-radius: 100px;
    font-size: 12px; font-weight: 600; white-space: nowrap; z-index: 10;
    box-shadow: var(--shadow-md);
    color: var(--text-1);
}
.badge-1 { top: 20%; right: -15%; animation: badge-float 6s ease-in-out infinite; }
.badge-2 { bottom: 28%; right: -18%; animation: badge-float 6s ease-in-out infinite 2s; }
.badge-3 { bottom: 10%; left: -15%; animation: badge-float 6s ease-in-out infinite 1.2s; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrapper {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    background: var(--bg-2);
    direction: ltr;
}
.marquee-track { display: flex; }
.marquee-slide {
    display: flex; align-items: center; gap: 16px;
    flex-shrink: 0;
    animation: marquee-scroll 40s linear infinite; /* slowed from 25s */
    padding-right: 16px;
}
.marquee-chip {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 8px 18px; border-radius: 100px;
    font-size: 13px; font-weight: 600; color: var(--text-2);
    white-space: nowrap;
    transition: all 0.35s var(--ease-out);
    box-shadow: var(--shadow-sm);
}
.marquee-chip:hover { color: var(--accent); border-color: var(--accent-mid); background: var(--accent-dim); }
.chip-icon { font-size: 14px; }

/* ============================================================
   VALUE ICONS
   ============================================================ */
.value-icons {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.values-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.value-item {
    background: var(--bg); padding: 40px 32px;
    transition: all 0.4s var(--ease-out);
}
.value-item:hover { background: var(--bg-2); }

.value-icon-wrap {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-dim);
    border: 1px solid var(--accent-mid);
    border-radius: 12px; color: var(--accent); margin-bottom: 16px;
}
.value-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.value-item p  { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* ============================================================
   FEATURE SECTIONS
   ============================================================ */
.feature-section {
    padding: var(--section-gap) 0;
    background: var(--bg);
    position: relative;
}

.feature-section:nth-child(even),
.feature-reversed { background: var(--bg-2); }

.feature-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.feature-reversed .feature-layout { direction: ltr; }
.feature-reversed .feature-text  { order: 2; direction: rtl; }
.feature-reversed .feature-visual { order: 1; }

.feature-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--accent); background: var(--accent-dim);
    border: 1px solid var(--accent-mid);
    padding: 5px 12px; border-radius: 100px; margin-bottom: 20px;
}
.feature-tag-green { color: #16a34a; background: rgba(22,163,74,0.08); border-color: rgba(22,163,74,0.2); }
.feature-tag-blue  { color: var(--blue); background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.2); }

.feature-text h2 {
    font-size: clamp(26px, 3vw, 40px); font-weight: 800;
    line-height: 1.2; letter-spacing: -0.8px; margin-bottom: 16px;
    color: var(--text-1);
}
.feature-text p {
    font-size: 16px; color: var(--text-2);
    line-height: 1.75; margin-bottom: 28px;
}

.feature-list {
    list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px;
}
.feature-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; color: var(--text-2); font-weight: 500;
}
.feature-list svg { flex-shrink: 0; }

.btn-feature {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 22px;
    background: var(--bg); border: 1px solid var(--border);
    color: var(--text-1); font-size: 14px; font-weight: 600;
    border-radius: 10px; transition: all 0.4s var(--ease-out);
    box-shadow: var(--shadow-sm);
}
.btn-feature:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
    transform: translateX(-4px);
}

/* --- FEATURE CARD STACK (LAN) --- */
.feature-card-stack { position: relative; padding: 20px; }
.fcard {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px; padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.45s var(--ease-out);
}
.fcard:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.fcard-main { position: relative; z-index: 2; }

.fcard-header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.fcard-icon {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.fcard-icon-green { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent-mid); }
.fcard-title { font-size: 14px; font-weight: 700; flex: 1; color: var(--text-1); }

.status-live {
    font-size: 11px; font-weight: 700; color: var(--accent);
    background: var(--accent-dim); padding: 3px 9px;
    border-radius: 100px; animation: pulse-text 3s ease-in-out infinite;
}

.sync-devices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.sync-device {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px;
    transition: all 0.3s var(--ease-out);
}
.sync-device.active { border-color: var(--accent-mid); background: var(--accent-dim); }
.dev-icon { font-size: 20px; }
.dev-info { display: flex; flex-direction: column; gap: 2px; }
.dev-name { font-size: 13px; font-weight: 600; color: var(--text-1); }
.dev-status { font-size: 11px; }
.dev-status.synced  { color: var(--accent); }
.dev-status.syncing { color: var(--yellow); }

.sync-pulse { display: flex; gap: 4px; align-items: flex-end; height: 24px; }
.pulse-bar {
    flex: 1; background: var(--accent); border-radius: 2px; opacity: 0.5;
    animation: pulse-bar 2s ease-in-out infinite; /* slowed */
}

.fcard-mini {
    position: absolute; padding: 14px 18px; z-index: 3;
    box-shadow: var(--shadow-lg);
}
.fcard-mini-1 { bottom: -14px; right: -16px; }
.fcard-mini-2 { bottom: -14px; left: -16px; }
.mini-stat { text-align: center; }
.mini-val { font-family: var(--font-en); font-size: 22px; font-weight: 800; color: var(--accent); display: block; }
.mini-lbl { font-size: 11px; color: var(--text-3); }

/* --- WHATSAPP MOCKUP --- */
.whatsapp-mockup {
    background: #f0f4f8;
    border-radius: 20px; border: 1px solid var(--border);
    overflow: hidden; box-shadow: var(--shadow-xl);
    max-width: 360px; margin: 0 auto;
}
.wa-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    background: var(--wa-green);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.wa-avatar {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; color: #fff;
}
.wa-info { display: flex; flex-direction: column; }
.wa-name   { font-size: 14px; font-weight: 700; color: #fff; }
.wa-status { font-size: 11px; color: rgba(255,255,255,0.8); }

.wa-messages {
    padding: 16px; display: flex; flex-direction: column; gap: 12px;
    background: #e5ddd5; min-height: 280px;
}
.wa-msg { display: flex; justify-content: flex-start; }
.wa-bubble {
    max-width: 85%;
    background: #ffffff; color: var(--text-1);
    border-radius: 0 14px 14px 14px;
    padding: 12px 14px; font-size: 13px; line-height: 1.55;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    animation: msg-appear 0.6s var(--ease-out) both;
}
.wa-bubble p { margin-bottom: 4px; }
.wa-bubble p:last-of-type { margin-bottom: 8px; }
.wa-time { display: block; font-size: 10px; color: #9ca3af; text-align: left; direction: ltr; }
.wa-reminder { border-right: 3px solid var(--yellow); }
.wa-promo    { border-right: 3px solid var(--blue); }
.wa-bubble hr { border-color: var(--border); margin: 8px 0; }

/* --- WORDPRESS INTEGRATION --- */
.wp-integration-visual {
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    padding: 40px; background: var(--bg); border: 1px solid var(--border);
    border-radius: 20px; box-shadow: var(--shadow-lg);
}
.integration-box {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 24px 32px; background: var(--bg-2);
    border: 1px solid var(--border); border-radius: 14px;
    font-size: 14px; font-weight: 600; color: var(--text-1); width: 100%;
    transition: all 0.4s var(--ease-out);
}
.integration-box:hover { box-shadow: var(--shadow-md); }
.box-neo { border-color: var(--accent-mid); }
.box-wp  { border-color: rgba(37,99,235,0.2); }
.int-logo {
    width: 48px; height: 48px;
    background: var(--accent); color: #fff; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 22px; font-family: var(--font-en);
    box-shadow: 0 4px 12px rgba(22,163,74,0.25);
}
.int-logo-wp { background: var(--blue); box-shadow: 0 4px 12px rgba(37,99,235,0.25); }

.integration-arrows { display: flex; flex-direction: column; gap: 8px; width: 100%; align-items: center; }
.arrow-flow { display: flex; align-items: center; gap: 12px; width: 100%; justify-content: center; }
.arrow-line {
    flex: 1; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-mid), transparent);
    position: relative; overflow: hidden; max-width: 120px;
}
.arrow-dot {
    width: 8px; height: 8px;
    background: var(--accent); border-radius: 50%;
    position: absolute; top: -3px;
    animation: travel 3s linear infinite; /* slowed */
}
.arrow-flow-reverse .arrow-dot { animation-direction: reverse; }
.arrow-label { font-size: 11px; color: var(--text-3); }

.int-stats {
    display: flex; gap: 32px;
    padding-top: 16px; border-top: 1px solid var(--border);
    width: 100%; justify-content: center;
}
.int-stat { text-align: center; }
.int-val { font-family: var(--font-en); font-size: 22px; font-weight: 800; color: var(--accent); display: block; }
.int-key  { font-size: 12px; color: var(--text-3); }

/* ============================================================
   WORKFLOW SECTION
   ============================================================ */
.workflow-section {
    padding: var(--section-gap) 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head { text-align: center; margin-bottom: 64px; }

.section-tag {
    display: inline-block;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--accent); background: var(--accent-dim);
    border: 1px solid var(--accent-mid);
    padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 46px); font-weight: 800;
    letter-spacing: -1px; margin-bottom: 16px; color: var(--text-1);
}
.section-head p { font-size: 17px; color: var(--text-2); max-width: 550px; margin: 0 auto; line-height: 1.7; }

.workflow-steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; position: relative;
}

.wf-step {
    position: relative; padding: 32px;
    display: flex; flex-direction: column; gap: 16px;
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    margin: 0 8px;
    transition: all 0.45s var(--ease-out);
    box-shadow: var(--shadow-sm);
}
.wf-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-mid); }

.wf-number {
    font-family: var(--font-en); font-size: 44px; font-weight: 900;
    color: var(--accent); opacity: 0.25; line-height: 1;
}
.wf-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.wf-content p  { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ============================================================
   BENTO GRID
   ============================================================ */
.bento-section { padding: var(--section-gap) 0; background: var(--bg); }

.bento-grid {
    display: grid; grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px; gap: 16px;
}

.bento-card {
    background: var(--bg);
    border: 1px solid var(--border); border-radius: 20px;
    padding: 28px; transition: all 0.5s var(--ease-out);
    overflow: hidden; position: relative;
    display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: var(--shadow-sm);
}
.bento-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at top left, rgba(22,163,74,0.02), transparent 60%);
    pointer-events: none;
}
.bento-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bento-large    { grid-column: span 7; grid-row: span 2; }
.bento-tall     { grid-column: span 5; grid-row: span 2; }
.bento-small    { grid-column: span 3; }
.bento-wide     { grid-column: span 6; }
.bento-stat-card{ grid-column: span 3; }

.bento-tag {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--accent); margin-bottom: 10px;
}
.bento-content h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.bento-content p  { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.bento-icon { font-size: 30px; margin-bottom: 12px; }

/* Inventory */
.inventory-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.inv-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 12px; background: var(--bg-2); border-radius: 8px;
    font-size: 13px; border: 1px solid var(--border);
}
.inv-name { color: var(--text-2); }
.inv-qty  { font-weight: 700; font-family: var(--font-en); font-size: 12px; padding: 2px 8px; border-radius: 6px; }
.inv-ok      { color: #16a34a; background: rgba(22,163,74,0.08); }
.inv-warning { color: var(--yellow); background: rgba(217,119,6,0.08); }
.inv-danger  { color: var(--red); background: rgba(220,38,38,0.08); }

/* Mini Chart */
.bento-chart { margin-top: 16px; }
.mini-chart {
    display: flex; align-items: flex-end; gap: 5px;
    height: 80px; margin-bottom: 12px;
}
.chart-bar {
    flex: 1; background: var(--accent-mid);
    border-radius: 4px 4px 0 0;
    transition: all 0.45s var(--ease-out);
}
.chart-bar.active { background: var(--accent); }
.chart-bar:hover  { background: var(--accent); opacity: 0.8; }
.chart-label { display: flex; flex-direction: column; gap: 3px; }
.chart-val   { font-family: var(--font-en); font-size: 22px; font-weight: 800; color: var(--text-1); }
.chart-trend { font-size: 12px; color: var(--accent); font-weight: 600; }

/* Permissions */
.permissions-grid { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.perm-item  { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 100px; }
.perm-role  { font-size: 12px; color: var(--text-3); font-weight: 500; }
.perm-tag   { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.perm-green { background: rgba(22,163,74,0.1); color: var(--accent); }
.perm-blue  { background: rgba(37,99,235,0.1); color: var(--blue); }
.perm-white { background: var(--bg-2); color: var(--text-1); border: 1px solid var(--border); }

/* Ring */
.big-stat-ring {
    display: flex; align-items: center; justify-content: center;
    height: 100%; position: relative;
}
.ring-svg { width: 130px; height: 130px; }
.ring-center {
    position: absolute; text-align: center;
    display: flex; flex-direction: column; gap: 2px; align-items: center;
}
.ring-val { font-family: var(--font-en); font-size: 26px; font-weight: 800; color: var(--accent); }
.ring-lbl { font-size: 11px; color: var(--text-3); }
.ring-svg circle:first-child { stroke: var(--bg-3) !important; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    padding: var(--section-gap) 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.testimonials-layout {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 80px; align-items: center;
}
.quote-mark {
    font-family: var(--font-en); font-size: 80px;
    line-height: 1; color: var(--accent); opacity: 0.3; margin-bottom: -20px;
}
blockquote {
    font-size: 20px; line-height: 1.75;
    color: var(--text-1); font-weight: 500; margin-bottom: 32px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--accent), #15803d);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px;
}
.author-name  { font-size: 15px; font-weight: 700; display: block; color: var(--text-1); }
.author-title { font-size: 13px; color: var(--text-3); display: block; }

.testimonial-stats {
    display: flex; flex-direction: column; gap: 28px;
    padding: 40px; background: var(--bg);
    border: 1px solid var(--border); border-radius: 20px;
    box-shadow: var(--shadow-md);
}
.t-stat-val {
    font-family: var(--font-en); font-size: 42px; font-weight: 900;
    color: var(--accent); display: block; letter-spacing: -2px;
}
.t-stat-label { font-size: 15px; color: var(--text-2); font-weight: 500; }

/* ============================================================
   CUSTOMERS
   ============================================================ */
.customers-section { padding: var(--section-gap) 0; background: var(--bg); }
.customers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.customer-stat-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: 20px;
    padding: 40px 32px; text-align: center;
    transition: all 0.45s var(--ease-out); box-shadow: var(--shadow-sm);
}
.customer-stat-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.csc-highlight { border-color: var(--accent-mid); background: var(--accent-dim); }
.csc-number {
    font-family: var(--font-en); font-size: 52px; font-weight: 900;
    color: var(--text-1); letter-spacing: -2px; display: block; margin-bottom: 4px;
}
.csc-highlight .csc-number { color: var(--accent); }
.csc-stars  { font-size: 20px; color: #f59e0b; margin-bottom: 8px; letter-spacing: 2px; }
.csc-label  { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.csc-desc   { font-size: 14px; color: var(--text-3); }

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section {
    padding: var(--section-gap) 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}
.pricing-toggle {
    display: inline-flex; gap: 4px;
    background: var(--bg-3); border: 1px solid var(--border);
    padding: 4px; border-radius: 12px; margin-top: 28px;
}
.toggle-btn {
    padding: 8px 20px; border-radius: 8px;
    font-size: 13px; font-weight: 600;
    background: none; border: none; color: var(--text-3);
    transition: all 0.35s var(--ease-out);
    display: flex; align-items: center; gap: 8px;
}
.toggle-btn.active { background: var(--bg); color: var(--text-1); box-shadow: var(--shadow-sm); }
.save-badge { background: var(--accent-dim); color: var(--accent); padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }

.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 48px; align-items: start;
}
.pricing-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: 24px;
    padding: 36px; display: flex; flex-direction: column; gap: 28px;
    position: relative; transition: all 0.45s var(--ease-out);
    box-shadow: var(--shadow-sm);
}
.pricing-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.pricing-popular {
    border-color: var(--accent-mid); transform: scale(1.02);
    box-shadow: var(--accent-glow), var(--shadow-lg);
}
.pricing-popular:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 16px 48px rgba(22,163,74,0.20), var(--shadow-xl);
}
.popular-badge {
    position: absolute; top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent); color: #fff;
    font-size: 12px; font-weight: 800;
    padding: 5px 18px; border-radius: 100px; white-space: nowrap;
    box-shadow: 0 4px 12px rgba(22,163,74,0.3);
}
.plan-name { font-size: 20px; font-weight: 800; color: var(--text-1); }
.plan-desc { font-size: 14px; color: var(--text-3); margin-top: 4px; }
.plan-price {
    display: flex; align-items: baseline; gap: 4px; margin-top: 12px;
}
.price-amount {
    font-family: var(--font-en); font-size: 52px; font-weight: 900;
    color: var(--text-1); letter-spacing: -2px; transition: all 0.4s;
}
.price-currency, .price-period { color: var(--text-3); font-size: 15px; align-self: flex-start; padding-top: 10px; }
.pricing-popular .price-amount { color: var(--accent); }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-features li {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; color: var(--text-2);
}
.feat-disabled { opacity: 0.35; }

.btn-plan {
    display: block; text-align: center; padding: 14px;
    border-radius: 12px; font-size: 15px; font-weight: 700;
    background: var(--bg-2); border: 1px solid var(--border);
    color: var(--text-1); transition: all 0.35s var(--ease-out);
}
.btn-plan:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn-plan-primary {
    background: var(--accent); color: #fff; border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(22,163,74,0.25);
}
.btn-plan-primary:hover {
    background: #15803d; border-color: #15803d; color: #fff;
    box-shadow: 0 8px 24px rgba(22,163,74,0.35);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-section {
    padding: 80px 0 var(--section-gap); border-bottom: 1px solid var(--border); background: var(--bg);
}
.comparison-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table th, .comparison-table td {
    padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--border);
}
.comparison-table th:first-child, .comparison-table td:first-child {
    text-align: right; color: var(--text-2);
}
.comparison-table thead { background: var(--bg-2); }
.comparison-table th { font-size: 14px; font-weight: 700; color: var(--text-2); padding-bottom: 18px; padding-top: 18px; }
.comparison-table .col-popular { background: rgba(22,163,74,0.04); color: var(--accent); font-weight: 700; }
.comparison-table tbody tr:hover td { background: var(--bg-2); }
.comparison-table tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { padding: var(--section-gap) 0; background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq-col  { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }

.faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    gap: 16px; padding: 22px 0; background: none; border: none;
    color: var(--text-1); font-size: 16px; font-weight: 600;
    text-align: right; cursor: pointer; transition: color 0.3s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
    font-family: var(--font-en); font-size: 22px; font-weight: 300;
    color: var(--text-3); flex-shrink: 0;
    transition: all 0.45s var(--ease-out); /* slowed */
    line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a {
    max-height: 0; overflow: hidden;
    font-size: 15px; color: var(--text-2); line-height: 1.75;
    transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out); /* slowed */
    padding: 0;
}
.faq-item.open .faq-a { max-height: 220px; padding-bottom: 22px; }

/* ============================================================
   FINAL CTA / CONTACT
   ============================================================ */
.final-cta-section {
    padding: var(--section-gap) 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.final-cta-card {
    background: var(--bg);
    border: 1px solid var(--border); border-radius: 28px;
    display: grid; grid-template-columns: 1.3fr 1fr;
    overflow: hidden; position: relative;
    box-shadow: var(--shadow-xl);
}
.cta-glow {
    position: absolute; top: -80px; right: -80px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(22,163,74,0.07) 0%, transparent 70%);
    pointer-events: none; filter: blur(40px);
}
.cta-content {
    padding: 56px; border-left: 1px solid var(--border);
}
.cta-content h2 {
    font-size: clamp(26px, 2.8vw, 38px); font-weight: 800;
    letter-spacing: -0.8px; margin: 12px 0; color: var(--text-1);
}
.cta-content > p { font-size: 16px; color: var(--text-2); margin-bottom: 32px; line-height: 1.7; }

.cta-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-group input, .form-group select, .form-group textarea {
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 14px;
    color: var(--text-1); font-family: var(--font-ar); font-size: 14px;
    transition: all 0.35s var(--ease-out); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent); background: var(--accent-dim);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
}
.form-group select option { background: #fff; color: var(--text-1); }

.btn-submit-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 28px; background: var(--accent); color: #fff;
    font-size: 16px; font-weight: 800; border-radius: 12px; border: none;
    transition: all 0.4s var(--ease-spring); margin-top: 8px;
    box-shadow: 0 4px 16px rgba(22,163,74,0.28);
}
.btn-submit-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(22,163,74,0.35);
    background: #15803d;
}

.cta-info {
    padding: 56px; display: flex; flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(22,163,74,0.04) 0%, transparent 100%);
}
.cta-contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.cci-icon {
    width: 44px; height: 44px; background: var(--bg-2);
    border: 1px solid var(--border); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    color: var(--accent);
}
.cci-label { font-size: 12px; color: var(--text-3); display: block; margin-bottom: 4px; }
.cci-val   { font-size: 15px; font-weight: 600; color: var(--text-1); }

.cta-guarantees {
    display: flex; flex-direction: column; gap: 12px;
    padding: 24px; background: var(--bg);
    border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow-sm);
}
.guarantee-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; color: var(--text-2); font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    padding: 72px 0 40px;
    border-top: 1px solid var(--border);
    background: #f8f9fb;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px; margin-bottom: 56px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: var(--text-3); line-height: 1.6; margin-bottom: 24px; max-width: 280px; }

.footer-social { display: flex; gap: 10px; }
.social-link {
    width: 36px; height: 36px; background: var(--bg);
    border: 1px solid var(--border); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3); transition: all 0.35s var(--ease-out);
}
.social-link:hover { color: var(--accent); border-color: var(--accent-mid); background: var(--accent-dim); }

.footer-links-col h4 {
    font-size: 13px; font-weight: 700; color: var(--text-3);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a  { font-size: 14px; color: var(--text-2); transition: color 0.3s; }
.footer-links-col a:hover { color: var(--accent); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; border-top: 1px solid var(--border);
    font-size: 13px; color: var(--text-3);
}

/* ============================================================
   ANIMATIONS — ALL SLOWED DOWN
   ============================================================ */

/* Slow floats — 12s+ */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(25px, -25px) scale(1.04); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50%       { transform: translate(-18px, 18px); }
}

/* Mockup gentle float — 10s */
@keyframes float-mockup {
    0%, 100% { transform: translateY(0) rotateX(1.5deg); }
    50%       { transform: translateY(-10px) rotateX(0deg); }
}

/* Badge slow float — 7s */
@keyframes badge-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}

/* Pulse — gentle, 3s */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
}

/* Pulse text — slow, 3s */
@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.55; }
}

/* Pulse bar — slow, 2s */
@keyframes pulse-bar {
    0%, 100% { transform: scaleY(0.4); opacity: 0.35; }
    50%       { transform: scaleY(1); opacity: 0.9; }
}

/* Marquee — slow, 40s */
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Travel — slow, 3s */
@keyframes travel {
    0%   { left: -8px; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Message appear — 0.6s */
@keyframes msg-appear {
    from { opacity: 0; transform: translateX(16px) scale(0.97); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ============================================================
   SCROLL-TRIGGERED ANIMATION CLASSES
   — Elements are ALWAYS VISIBLE by default (no opacity:0 without js-ready)
   — js-ready is added by JS to <html>, enabling the animation system
   — This guarantees content is readable even if JS is slow or fails
   ============================================================ */

/* Default state — always visible */
[data-animate] {
    opacity: 1;
    transform: none;
}

/* Only hide & animate IF JavaScript has loaded (progressive enhancement) */
.js-ready [data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.js-ready [data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}
[data-delay="200"] { transition-delay: 100ms; }
[data-delay="400"] { transition-delay: 200ms; }

/* Stagger — parent always visible */
[data-animate="stagger"] { opacity: 1 !important; transform: none !important; }

/* Stagger children — hidden only with JS ready */
.js-ready [data-animate="stagger"] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.js-ready [data-animate="stagger"].in-view > *:nth-child(1) { opacity:1; transform:none; transition-delay:   0ms; }
.js-ready [data-animate="stagger"].in-view > *:nth-child(2) { opacity:1; transform:none; transition-delay:  80ms; }
.js-ready [data-animate="stagger"].in-view > *:nth-child(3) { opacity:1; transform:none; transition-delay: 160ms; }
.js-ready [data-animate="stagger"].in-view > *:nth-child(4) { opacity:1; transform:none; transition-delay: 240ms; }
.js-ready [data-animate="stagger"].in-view > *:nth-child(5) { opacity:1; transform:none; transition-delay: 320ms; }
.js-ready [data-animate="stagger"].in-view > *:nth-child(6) { opacity:1; transform:none; transition-delay: 400ms; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content    { align-items: center; }
    .hero-subtitle   { text-align: center; }
    .hero-actions    { justify-content: center; }
    .hero-stats      { justify-content: center; }
    .hero-visual     { display: none; }

    .feature-layout   { grid-template-columns: 1fr; gap: 48px; }
    .feature-reversed .feature-text  { order: unset; }
    .feature-reversed .feature-visual{ order: unset; }

    .bento-large, .bento-tall, .bento-wide { grid-column: span 12; }
    .bento-small, .bento-stat-card         { grid-column: span 6; }

    .testimonials-layout { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 48px auto 0; }
    .pricing-popular { transform: none; }
    .pricing-popular:hover { transform: translateY(-5px); }
    .final-cta-card { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: span 2; }
    .workflow-steps { grid-template-columns: 1fr 1fr; gap: 20px; }
    .faq-grid { grid-template-columns: 1fr; }
    .customers-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-gap: 80px; }
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    .badge-1, .badge-2, .badge-3 { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .cta-content, .cta-info { padding: 32px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .bento-small, .bento-stat-card { grid-column: span 12; }
    .workflow-steps { grid-template-columns: 1fr; }
    .comparison-table { font-size: 12px; }
    .comparison-table th, .comparison-table td { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    [data-animate], [data-animate="stagger"] > * {
        opacity: 1; transform: none;
    }
}

/* ============================================================
   3D LAPTOP HERO SCENE
   ============================================================ */

/* Scene container — sets perspective */
.scene-3d {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
    overflow: visible;
}

/* Ambient glow ring behind the POS panel */
.scene-3d::before {
    content: '';
    position: absolute;
    width: 480px; height: 280px;
    background: radial-gradient(ellipse at 50% 55%,
        rgba(94,14,215,0.38) 0%,
        rgba(79,70,229,0.18) 45%,
        transparent 70%);
    filter: blur(38px);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* 3D POS Mockup Panel — replacing laptop-3d */
.laptop-3d {
    position: relative;
    width: 1120px;
    height: 700px;
    background: var(--pos-bg);
    border-radius: 24px;
    box-shadow:
        0 50px 120px rgba(0,0,0,0.65),
        0  0   80px rgba(94, 14, 215, 0.18),
        0  0    1px rgba(94, 14, 215, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.18);
    transform-style: preserve-3d;
    transform: rotateX(-5deg) rotateY(-18deg) scale(0.52);
    animation: laptop-drift 14s ease-in-out infinite;
    will-change: transform;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #1f2937;
}

/* Spotlight sheen overlay */
.laptop-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.12), transparent 45%);
    z-index: 99;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* POS Header Layout */
.pos-header {
    background: #ffffff;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #e5e7eb;
    transform: translateZ(20px);
    transform-style: preserve-3d;
    z-index: 10;
}

.header-left-actions {
    display: flex;
    gap: 4px;
}

.action-chip {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.action-chip:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.chip-وفد { background: #06b6d4; }
.chip-قراءات { background: #22c55e; }
.chip-استرجاع { background: #ec4899; }
.chip-تلف { background: #eab308; }
.chip-خصم { background: #a855f7; }
.chip-مصروف { background: #b91c1c; }
.chip-كلفة { background: #6b7280; }
.chip-أقلام { background: #374151; }

.header-center-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.search-scan-bar {
    width: 420px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 8px 16px;
    padding-left: 100px;
    border: 2px solid var(--purple-primary);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-ar);
    text-align: right;
    outline: none;
    color: #111827;
    box-shadow: 0 4px 12px rgba(94, 14, 215, 0.05);
}

.barcode-icon {
    position: absolute;
    left: 14px;
    color: var(--purple-primary);
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 0.5px;
    font-weight: bold;
    opacity: 0.75;
}

.center-sub-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-btn {
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.sub-btn:hover {
    transform: translateY(-1px);
}

.btn-quick-sale { background: #dc2626; }
.btn-add-client { background: #2563eb; }

.client-status {
    font-size: 10px;
    color: #4b5563;
    font-weight: 700;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-btn-red {
    width: 22px;
    height: 22px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
    cursor: pointer;
}

.invoice-badge {
    background: #f5f3ff;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-new-invoice {
    background: #2563eb;
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    border: none;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.2);
    transition: transform 0.2s ease;
}

.btn-new-invoice:hover {
    transform: translateY(-1px);
}

/* POS Grid in landing page (RTL flow) */
.pos-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 280px 1fr 260px; /* Right (price), middle (cart), left (product) in RTL */
    gap: 14px;
    padding: 14px;
    background: #f3f4f6;
    transform-style: preserve-3d;
    direction: rtl !important;
}

.col-product-info, .col-basket, .col-price-details {
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    direction: rtl;
}

/* Pop out columns */
.col-product-info {
    transform: translateZ(40px);
    transform-style: preserve-3d;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.col-basket {
    transform: translateZ(10px);
    transform-style: preserve-3d;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.col-price-details {
    transform: translateZ(50px);
    transform-style: preserve-3d;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.info-header, .price-header {
    padding: 12px 14px;
    font-weight: 800;
    font-size: 13px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-header { background: var(--green-primary); }
.price-header { background: var(--purple-primary); }

.info-body, .price-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
}

.info-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.2s ease;
}

.info-card:hover {
    background: #ffffff;
    border-color: rgba(94, 14, 215, 0.1);
    transform: translateY(-1px);
}

.info-card-title {
    font-size: 11px;
    color: #6b7280;
    font-weight: 700;
}

.info-card-val {
    font-size: 12px;
    color: #111827;
    font-weight: 800;
}

.ic-highlight-green {
    background: rgba(22, 163, 74, 0.04);
    border-color: rgba(22, 163, 74, 0.15);
    position: relative;
    overflow: hidden;
}

.ic-highlight-green::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1.8px;
    background: linear-gradient(90deg, rgba(22, 163, 74, 0) 0%, rgba(22, 163, 74, 0.8) 50%, rgba(22, 163, 74, 0) 100%);
    animation: laser-sweep 2.5s infinite linear;
}

.ic-highlight-green .info-card-val {
    color: var(--green-primary);
    font-family: var(--font-en);
    font-size: 13px;
}

.green-badge-dot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--green-primary);
    font-size: 10px;
    font-weight: 800;
}

.green-badge-dot::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--green-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
    animation: pulse-dot 1.8s infinite ease-in-out;
}

.ic-highlight-red {
    background: rgba(220, 38, 38, 0.04);
    border-color: rgba(220, 38, 38, 0.12);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.ic-highlight-red .info-card-val {
    color: var(--red-primary);
    font-family: var(--font-en);
}

.calendar-icon-pos {
    width: 42px;
    height: 42px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    font-weight: 800;
    flex-shrink: 0;
}

.cal-top {
    font-size: 8px;
    background: var(--red-primary);
    color: white;
    width: 100%;
    text-align: center;
    border-radius: 9px 9px 0 0;
}

.cal-val {
    font-size: 14px;
    font-family: var(--font-en);
}

/* Basket styles */
.basket-header-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.tab-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--purple-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-badge {
    background: rgba(94, 14, 215, 0.08);
    color: var(--purple-primary);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-family: var(--font-en);
}

.basket-items {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

.basket-row {
    border: 2px solid rgba(94, 14, 215, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(94, 14, 215, 0.02);
}

.br-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.br-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f3e8ff;
    color: var(--purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.br-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.br-name {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.br-sub-badge {
    font-size: 9px;
    background: #f3f4f6;
    color: #4b5563;
    padding: 1px 6px;
    border-radius: 4px;
    width: max-content;
}

.br-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 900;
    background: none;
    border: none;
    color: #4b5563;
}

.qty-btn-minus { background: rgba(220, 38, 38, 0.06); color: var(--red-primary); }
.qty-btn-plus { background: rgba(22, 163, 74, 0.06); color: var(--green-primary); }

.qty-val {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 800;
    border-left: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    background: white;
    font-family: var(--font-en);
}

.br-price-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.br-price {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    font-family: var(--font-en);
}

/* Pricing/Checkout styles */
.discount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.discount-btn {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #b45309;
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    font-family: var(--font-en);
    text-align: center;
}

.bill-total-box {
    background: linear-gradient(135deg, var(--red-primary) 0%, #991b1b 100%);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    padding: 16px 14px;
    color: white;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.2);
    transform: translateZ(20px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bill-total-box::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: total-shimmer 4s infinite ease-in-out;
}

.btb-label {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
}

.btb-val {
    font-size: 28px;
    font-weight: 900;
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-en);
}

.btb-curr {
    font-size: 14px;
    font-family: var(--font-ar);
}

.checkout-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    border: none;
    color: white;
}

.btn-pay-cash { background: var(--blue-primary); }
.btn-pay-print { background: var(--green-primary); }

@keyframes laser-sweep {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
    50% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}

@keyframes pulse-search {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

@keyframes total-shimmer {
    0% { left: -100%; }
    40%, 100% { left: 100%; }
}

/* Laptop slow drift */
@keyframes laptop-drift {
    0%,100% { transform: rotateX(-5deg) rotateY(-18deg) translateY(0); }
    25%      { transform: rotateX(-6deg) rotateY(-16deg) translateY(-6px); }
    50%      { transform: rotateX(-4deg) rotateY(-20deg) translateY(-10px); }
    75%      { transform: rotateX(-6deg) rotateY(-17deg) translateY(-5px); }
}

/* Floating card animations — each slightly different path */
@keyframes hf-float-a {
    0%,100% { transform: translateY(0) rotate(0deg); }
    40%      { transform: translateY(-10px) rotate(-0.5deg); }
    70%      { transform: translateY(-6px) rotate(0.3deg); }
}
@keyframes hf-float-b {
    0%,100% { transform: translateY(0) rotate(0deg); }
    35%      { transform: translateY(-12px) rotate(0.5deg); }
    65%      { transform: translateY(-7px) rotate(-0.3deg); }
}
@keyframes hf-float-c {
    0%,100% { transform: translateY(0) rotate(0deg); }
    45%      { transform: translateY(-9px) rotate(-0.4deg); }
    75%      { transform: translateY(-4px) rotate(0.2deg); }
}

/* Chart SVG draw-on animation */
@keyframes draw-chart-line {
    to { stroke-dashoffset: 0; }
}
@keyframes chart-fill-appear {
    to { opacity: 1; }
}

/* Live dot on chart tip */
@keyframes dot-pulse {
    0%,100% { r: 3.5; opacity: 1; }
    50%      { r: 5.5; opacity: 0.7; }
}

/* Barcode scan line */
@keyframes barcode-scan {
    0%   { top: 0; opacity: 1; }
    48%  { top: calc(100% - 1.5px); opacity: 1; }
    50%  { top: calc(100% - 1.5px); opacity: 0; }
    52%  { top: 0; opacity: 0; }
    54%  { top: 0; opacity: 1; }
    100% { top: 0; opacity: 1; }
}

/* Floating card live dot */
@keyframes hfc-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}

/* POS status dot */
@keyframes dpp-pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(1.3); }
}

/* ============================================================
   FLOATING HERO CARDS (around the laptop)
   ============================================================ */
.hf-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px; padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.13), 0 2px 8px rgba(0,0,0,.06);
    z-index: 20; white-space: nowrap; pointer-events: none;
    transition: margin .05s linear, border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}
.hf-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.15) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.15) 60%, transparent 70%);
    z-index: 25;
    pointer-events: none;
    border-radius: 16px;
}
.hf-card-1::after { animation: shimmer-sweep 6s infinite ease-in-out; }
.hf-card-2::after { animation: shimmer-sweep 6s infinite ease-in-out 1.5s; }
.hf-card-3::after { animation: shimmer-sweep 6s infinite ease-in-out 3.0s; }
.hf-card-sales::after { animation: shimmer-sweep 6s infinite ease-in-out 4.5s; }

@keyframes shimmer-sweep {
    0% { left: -150%; }
    22% { left: 150%; }
    100% { left: 150%; }
}

.hfc-icon {
    width: 32px; height: 32px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hfc-green { background: rgba(22,163,74,0.12); }
.hfc-wa    { background: rgba(37,211,102,0.12); }
.hfc-warn  { background: rgba(217,119,6,0.12); }

.hfc-body { display: flex; flex-direction: column; gap: 2px; }
.hfc-t { font-size: 12px; font-weight: 700; color: #111827; }
.hfc-s { font-size: 11px; color: #4b5563; }

/* Live pulse dot */
.hfc-live {
    width: 8px; height: 8px;
    background: #16a34a; border-radius: 50%;
    flex-shrink: 0;
    animation: hfc-pulse 2.5s ease-in-out infinite;
}

/* Sales card (big number) */
.hf-card-sales {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 12px 16px;
}
.hfcs-label { font-size: 11px; color: #4b5563; font-weight: 600; }
.hfcs-val   { font-size: 24px; font-weight: 900; color: #16a34a; font-family: var(--font-en); letter-spacing: -1px; line-height: 1.1; }
.hfcs-sub   { font-size: 11px; color: #16a34a; font-weight: 600; }

/* Card positions — OLD (overridden below by new .hf-card-* rules) */
.hf-card-1 { top: 16%; right: 9%; animation: hf-float-a 8s ease-in-out infinite, glow-green 4s ease-in-out infinite; }
.hf-card-2 { bottom: 34%; right: 7%; animation: hf-float-b 9s ease-in-out infinite 1.2s, glow-wa 4s ease-in-out infinite 1s; }
.hf-card-3 { top: 38%; left: 9%; animation: hf-float-c 10s ease-in-out infinite 0.6s, glow-warn 4s ease-in-out infinite 2s; }
.hf-card-sales { bottom: 12%; left: 8%; animation: hf-float-a 11s ease-in-out infinite 2.5s, glow-green 4s ease-in-out infinite 3s; }

/* ============================================================
   3D LAPTOP + CARD ANIMATIONS
   ============================================================ */

/* Laptop slow drift */
@keyframes laptop-drift {
    0%,100% { transform: rotateX(-5deg) rotateY(-18deg) translateY(0); }
    25%      { transform: rotateX(-6deg) rotateY(-16deg) translateY(-6px); }
    50%      { transform: rotateX(-4deg) rotateY(-20deg) translateY(-10px); }
    75%      { transform: rotateX(-6deg) rotateY(-17deg) translateY(-5px); }
}

/* Floating card animations — each slightly different path */
@keyframes hf-float-a {
    0%,100% { transform: translateY(0) rotate(0deg); }
    40%      { transform: translateY(-10px) rotate(-0.5deg); }
    70%      { transform: translateY(-6px) rotate(0.3deg); }
}
@keyframes hf-float-b {
    0%,100% { transform: translateY(0) rotate(0deg); }
    35%      { transform: translateY(-12px) rotate(0.5deg); }
    65%      { transform: translateY(-7px) rotate(-0.3deg); }
}
@keyframes hf-float-c {
    0%,100% { transform: translateY(0) rotate(0deg); }
    45%      { transform: translateY(-9px) rotate(-0.4deg); }
    75%      { transform: translateY(-4px) rotate(0.2deg); }
}

/* Chart SVG draw-on animation */
@keyframes draw-chart-line {
    to { stroke-dashoffset: 0; }
}
@keyframes chart-fill-appear {
    to { opacity: 1; }
}

/* Live dot on chart tip */
@keyframes dot-pulse {
    0%,100% { r: 3.5; opacity: 1; }
    50%      { r: 5.5; opacity: 0.7; }
}

/* Barcode scan line */
@keyframes barcode-scan {
    0%   { top: 0; opacity: 1; }
    48%  { top: calc(100% - 1.5px); opacity: 1; }
    50%  { top: calc(100% - 1.5px); opacity: 0; }
    52%  { top: 0; opacity: 0; }
    54%  { top: 0; opacity: 1; }
    100% { top: 0; opacity: 1; }
}

/* Floating card live dot */
@keyframes hfc-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}

/* POS status dot */
@keyframes dpp-pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(1.3); }
}

/* ============================================================
   HERO VISUAL — inline 3D POS panel
   ============================================================ */
.hero-visual {
    position: relative;
    width: 100%;
    overflow: visible;
}

.scene-3d {
    position: relative;
    width: 100%;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1100px;
    overflow: visible;
}

/* Purple glow ring behind the panel */
.panel-glow-ring {
    position: absolute;
    width: 90%; height: 350px;
    background: radial-gradient(ellipse at 50% 60%,
        rgba(94,14,215,.16) 0%, rgba(79,70,229,.08) 45%, transparent 70%);
    filter: blur(55px);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0; pointer-events: none;
}

/* ── Main POS panel ── */
.laptop-3d {
    position: relative;
    width: 1100px;
    height: 660px;
    background: #f4f5f8;
    border-radius: 24px;
    border: 1px solid rgba(167, 139, 250, 0.4);
    box-shadow:
        0 70px 160px rgba(0,0,0,.28),
        0  20px  60px rgba(94,14,215,.14),
        0   0    2px  rgba(94,14,215,.18),
        inset 0 1px 0 rgba(255,255,255,1);
    transform-style: preserve-3d;
    transform-origin: center center;
    transform: rotateX(-6deg) rotateY(-16deg) scale(0.62);
    animation: laptop-drift 14s ease-in-out infinite, laptop-glow 6s ease-in-out infinite;
    will-change: transform;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #1f2937;
    z-index: 1;
}

/* Screen reflection overlay */
.laptop-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.08) 55%, transparent 65%);
    z-index: 98;
    pointer-events: none;
    border-radius: 24px;
    animation: laptop-reflection 9s infinite linear;
}

@keyframes laptop-reflection {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

@keyframes laptop-glow {
    0%, 100% {
        border-color: rgba(167, 139, 250, 0.4);
        box-shadow:
            0 70px 160px rgba(0,0,0,.28),
            0  20px  60px rgba(94,14,215,.14),
            0   0    2px  rgba(94,14,215,.18),
            inset 0 1px 0 rgba(255,255,255,1),
            0 0 0 rgba(167, 139, 250, 0);
    }
    50% {
        border-color: rgba(167, 139, 250, 0.85);
        box-shadow:
            0 70px 160px rgba(0,0,0,.35),
            0  25px  70px rgba(94,14,215,.22),
            0   0    12px rgba(167, 139, 250, 0.45),
            inset 0 1px 0 rgba(255,255,255,1),
            0 0 25px rgba(167, 139, 250, 0.45);
    }
}

/* Spotlight sheen */
.laptop-3d::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(700px circle at var(--mouse-x,30%) var(--mouse-y,30%),
        rgba(255,255,255,.18), transparent 52%);
    z-index: 99; pointer-events: none; border-radius: 24px;
    mix-blend-mode: overlay;
}

/* ── POS Header Row 1 ── */
.pos-h1 {
    background: #fff;
    padding: 8px 14px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1.5px solid #e5e7eb;
    transform: translateZ(14px);
    flex-shrink: 0; gap: 8px;
}
.pos-chips { display: flex; gap: 3px; }
.pos-chip {
    padding: 5px 10px; border-radius: 7px;
    font-size: 10.5px; font-weight: 800; color: #fff;
    white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.15);
    font-family: var(--font-ar);
}
.pos-h1-right { display: flex; align-items: center; gap: 6px; }
.pos-close-x {
    width: 22px; height: 22px; border-radius: 50%;
    background: #ef4444; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 900;
    box-shadow: 0 2px 8px rgba(239,68,68,.35);
}
.pos-inv-pill {
    background: #f5f3ff; color: #5b21b6;
    border: 1.5px solid #ddd6fe;
    padding: 4px 9px; border-radius: 8px;
    font-size: 11px; font-weight: 800;
}
.pos-new-btn {
    background: #2563eb; color: #fff;
    padding: 5px 11px; border-radius: 7px; border: none;
    font-size: 11px; font-weight: 800;
    box-shadow: 0 3px 8px rgba(37,99,235,.25);
    font-family: var(--font-ar);
}

/* ── POS Header Row 2 ── */
.pos-h2 {
    background: #fff;
    padding: 7px 14px;
    display: flex; align-items: center;
    border-bottom: 2px solid #e5e7eb;
    transform: translateZ(14px);
    flex-shrink: 0; gap: 10px;
}
.pos-quick-btn {
    background: #dc2626; color: #fff;
    padding: 6px 14px; border-radius: 8px; border: none;
    font-size: 12px; font-weight: 800;
    box-shadow: 0 3px 10px rgba(220,38,38,.3);
    font-family: var(--font-ar); flex-shrink: 0;
}
.pos-search-wrap {
    flex: 1; position: relative;
    display: flex; align-items: center;
}
.pos-search-wrap input {
    width: 100%; padding: 8px 14px 8px 50px;
    border: 2px solid #7C3AED; border-radius: 9px;
    font-size: 12.5px; font-weight: 700;
    font-family: var(--font-ar); text-align: right;
    outline: none; color: #111827;
}
.pos-bc-icon {
    position: absolute; left: 13px;
    color: #7C3AED; font-family: monospace;
    font-size: 11.5px; font-weight: bold; opacity: .65;
}
.pos-h2-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pos-client-btn {
    background: #2563eb; color: #fff;
    padding: 5px 11px; border-radius: 7px; border: none;
    font-size: 11px; font-weight: 800;
    font-family: var(--font-ar);
}
.pos-client-txt { font-size: 10.5px; color: #6b7280; font-weight: 700; white-space: nowrap; }

/* ── POS Body Grid ── */
.pos-body-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 240px 1fr 230px;
    gap: 10px; padding: 10px;
    background: #f3f4f6;
    transform-style: preserve-3d;
    overflow: hidden; direction: rtl;
    min-height: 0;
}

/* ── Shared column card ── */
.pos-col {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 3px 14px rgba(0,0,0,.04);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.pos-col-head {
    padding: 10px 13px;
    font-size: 12.5px; font-weight: 800; color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
}
.pos-col-body {
    padding: 10px;
    display: flex; flex-direction: column; gap: 8px;
    flex: 1; overflow-y: auto; min-height: 0;
}
.pos-col-body::-webkit-scrollbar { width: 3px; }
.pos-col-body::-webkit-scrollbar-thumb { background: rgba(124,58,237,.25); border-radius: 3px; }

/* Parallax Z depths */
.pos-col-info   { transform: translateZ(36px); transform-style: preserve-3d; }
.pos-col-basket { transform: translateZ(10px); transform-style: preserve-3d; }
.pos-col-price  { transform: translateZ(48px); transform-style: preserve-3d; }

/* ── Info cards inside columns ── */
.pos-ic {
    background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 9px; padding: 9px 11px;
    display: flex; flex-direction: column; gap: 3px;
}
.pos-ic-lbl { font-size: 10px; color: #6b7280; font-weight: 700; }
.pos-ic-val { font-size: 12px; color: #111827; font-weight: 800; font-family: var(--font-en); }

.pos-ic-green { background: rgba(21,128,61,.05); border-color: rgba(21,128,61,.22); position: relative; overflow: hidden; }
.pos-ic-green .pos-ic-val { color: #15803d; }
.pos-ic-green::before {
    content: ''; position: absolute; left: 0; right: 0; height: 2px; top: 0;
    background: linear-gradient(90deg, transparent, rgba(21,128,61,.7), transparent);
    animation: laser-sweep 2.8s infinite linear;
}
.pos-pulse-dot {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 10px; font-weight: 700; color: #15803d; margin-top: 2px;
}
.pos-pulse-dot::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: #15803d; box-shadow: 0 0 0 3px rgba(21,128,61,.2);
    animation: pulse-dot 1.9s infinite ease-in-out;
}

.pos-ic-red { background: rgba(220,38,38,.04); border-color: rgba(220,38,38,.15); }
.pos-ic-red .pos-ic-val { color: #dc2626; }
.pos-ic-orange { background: rgba(234,88,12,.04); border-color: rgba(234,88,12,.18); }
.pos-ic-orange .pos-ic-val { color: #ea580c; }

.pos-cal { width: 40px; height: 40px; border-radius: 8px; background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.2); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.pos-cal-t { font-size: 7px; background: #dc2626; color: #fff; width: 100%; text-align: center; border-radius: 7px 7px 0 0; padding: 1px 0; }
.pos-cal-n { font-size: 13px; font-weight: 800; font-family: var(--font-en); color: #dc2626; }

/* ── Basket cart row ── */
.pos-cart-row {
    border: 2px solid rgba(124,58,237,.1); border-radius: 11px;
    padding: 9px 11px; display: flex; align-items: center;
    justify-content: space-between; background: #fff;
}
.pos-cart-icon { width: 34px; height: 34px; border-radius: 8px; background: #f3e8ff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.pos-cart-name { font-family: var(--font-en); font-size: 12.5px; font-weight: 700; color: #111827; }
.pos-cart-sub { font-size: 9px; background: #f3f4f6; color: #4b5563; padding: 1px 5px; border-radius: 4px; width: max-content; margin-top: 2px; }
.pos-cart-price { font-size: 13px; font-weight: 800; color: #111827; font-family: var(--font-en); }
.pos-qty { display: flex; align-items: center; border: 1px solid #d1d5db; border-radius: 8px; overflow: hidden; }
.pos-qb { padding: 5px 10px; font-size: 13px; font-weight: 900; border: none; cursor: pointer; }
.pos-qb-m { background: rgba(220,38,38,.07); color: #dc2626; }
.pos-qb-p { background: rgba(21,128,61,.07); color: #15803d; }
.pos-qv { padding: 5px 12px; font-size: 13px; font-weight: 800; border-inline: 1px solid #d1d5db; background: #fff; font-family: var(--font-en); }

/* ── Price / Discount ── */
.pos-disc-lbl { font-size: 10.5px; color: #ca8a04; font-weight: 800; }
.pos-disc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pos-disc-btn {
    background: rgba(234,179,8,.08); border: 1.5px solid rgba(234,179,8,.22);
    color: #92400e; padding: 10px; border-radius: 9px;
    font-size: 13px; font-weight: 900; font-family: var(--font-en); cursor: pointer;
}
.pos-total-box {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border-radius: 12px; padding: 14px 13px; color: #fff;
    box-shadow: 0 10px 28px rgba(220,38,38,.28);
    transform: translateZ(22px);
    display: flex; flex-direction: column; gap: 4px;
    position: relative; overflow: hidden;
}
.pos-total-box::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
    animation: total-shimmer 4s infinite;
}
.pos-total-lbl { font-size: 10px; color: rgba(255,255,255,.72); font-weight: 700; }
.pos-total-val { font-size: 30px; font-weight: 900; letter-spacing: -.5px; display: flex; align-items: baseline; gap: 5px; font-family: var(--font-en); }
.pos-total-cur { font-size: 14px; font-weight: 700; font-family: var(--font-ar); }
.pos-ctas { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.pos-cta {
    width: 100%; padding: 11px; border-radius: 9px;
    font-size: 12.5px; font-weight: 800; border: none; color: #fff;
    font-family: var(--font-ar);
}
.pos-cta-cash { background: #2563eb; box-shadow: 0 4px 14px rgba(37,99,235,.22); }
.pos-cta-print { background: #15803d; box-shadow: 0 4px 14px rgba(21,128,61,.22); }

/* ── Drift animation ── */
@keyframes laptop-drift {
    0%,100% { transform: rotateX(-6deg) rotateY(-16deg) scale(0.62) translateY(0px); }
    25%      { transform: rotateX(-7deg) rotateY(-14deg) scale(0.62) translateY(-10px); }
    50%      { transform: rotateX(-5deg) rotateY(-18deg) scale(0.62) translateY(-18px); }
    75%      { transform: rotateX(-7deg) rotateY(-15deg) scale(0.62) translateY(-9px); }
}

/* ── Floating info cards ── */
.hf-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px; padding: 10px 14px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.13), 0 2px 8px rgba(0,0,0,.06);
    z-index: 20; white-space: nowrap; pointer-events: none;
    transition: margin .05s linear, border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}
.hf-card .hfc-t { color: #111827; }
.hf-card .hfc-s { color: #4b5563; }
.hfc-icon { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hfc-green { background: rgba(22,163,74,.12); }
.hfc-wa    { background: rgba(37,211,102,.12); }
.hfc-warn  { background: rgba(217,119,6,.12); }
.hfc-body  { display: flex; flex-direction: column; gap: 2px; }
.hfc-t { font-size: 12px; font-weight: 700; color: #111827; }
.hfc-s { font-size: 11px; color: #4b5563; }
.hfc-live { width: 8px; height: 8px; background: #16a34a; border-radius: 50%; flex-shrink: 0; animation: hfc-pulse 2.5s ease-in-out infinite; }
.hf-card-sales { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; }
.hfcs-label { font-size: 11px; color: #4b5563; font-weight: 600; }
.hfcs-val   { font-size: 24px; font-weight: 900; color: #16a34a; font-family: var(--font-en); letter-spacing: -1px; line-height: 1.1; }
.hfcs-sub   { font-size: 11px; color: #16a34a; font-weight: 600; }

.hf-card-1     { top: 16%;    right: 9%;  animation: hf-float-a 8s ease-in-out infinite, glow-green 4s ease-in-out infinite; }
.hf-card-2     { bottom: 34%; right: 7%;  animation: hf-float-b 9s ease-in-out infinite 1.2s, glow-wa 4s ease-in-out infinite 1s; }
.hf-card-3     { top: 38%;   left:  9%;  animation: hf-float-c 10s ease-in-out infinite .6s, glow-warn 4s ease-in-out infinite 2s; }
.hf-card-sales { bottom: 12%; left:  8%;  animation: hf-float-a 11s ease-in-out infinite 2.5s, glow-green 4s ease-in-out infinite 3s; }

/* Glowing pulsing border animations */
@keyframes glow-green {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 12px 40px rgba(0,0,0,.08), 0 0 0 rgba(22, 163, 74, 0);
  }
  50% {
    border-color: rgba(22, 163, 74, 0.7);
    box-shadow: 0 12px 40px rgba(22, 163, 74, 0.12), 0 0 12px rgba(22, 163, 74, 0.35);
  }
}
@keyframes glow-wa {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 12px 40px rgba(0,0,0,.08), 0 0 0 rgba(37, 211, 102, 0);
  }
  50% {
    border-color: rgba(37, 211, 102, 0.7);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.12), 0 0 12px rgba(37, 211, 102, 0.35);
  }
}
@keyframes glow-warn {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 12px 40px rgba(0,0,0,.08), 0 0 0 rgba(217, 119, 6, 0);
  }
  50% {
    border-color: rgba(217, 119, 6, 0.7);
    box-shadow: 0 12px 40px rgba(217, 119, 6, 0.12), 0 0 12px rgba(217, 119, 6, 0.35);
  }
}

@keyframes hf-float-a { 0%,100%{transform:translateY(0)} 40%{transform:translateY(-10px)} 70%{transform:translateY(-6px)} }
@keyframes hf-float-b { 0%,100%{transform:translateY(0)} 35%{transform:translateY(-12px)} 65%{transform:translateY(-7px)} }
@keyframes hf-float-c { 0%,100%{transform:translateY(0)} 45%{transform:translateY(-9px)} 75%{transform:translateY(-4px)} }

@keyframes hfc-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(22,163,74,.4)} 50%{box-shadow:0 0 0 6px rgba(22,163,74,0)} }

/* On mobile hide */
@media (max-width: 1024px) {
    .scene-3d    { display: none; }
    .hero-visual { display: none; }
    .hero-content { align-items: center; }
    .hero .container { text-align: center; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Real Desktop App Bento Styles --- */
.bento-ai-visual {
    margin-top: 12px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(168, 85, 247, 0.02) 100%);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: inset 0 2px 8px rgba(168, 85, 247, 0.05);
}
.ai-chat-bubble {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ai-badge {
    font-size: 10px;
    font-weight: 800;
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    width: max-content;
}
.ai-chat-bubble p {
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--text-2);
    margin: 0;
}

.shortages-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}
.shortage-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s;
}
.shortage-item:hover {
    border-color: rgba(249, 115, 22, 0.3);
    background: rgba(249, 115, 22, 0.02);
}
.shortage-item .med-name {
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-1);
}
.shortage-item .qty-status {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--red);
}
.shortage-item .supplier-tag {
    font-size: 10px;
    color: var(--text-3);
    font-weight: 600;
}

/* --- Download Section Styles --- */
.download-section {
    padding: var(--section-gap) 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.download-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 56px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.download-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(50px);
}
.download-content {
    max-width: 650px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.download-content h2 {
    font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-1);
    margin: 6px 0;
}
.download-content p {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 12px;
}
.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
}
.download-requirements {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-3);
    font-weight: 600;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- Hero Features Chips --- */
.hero-features-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 16px 0 24px 0;
}
.h-chip {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.h-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(255, 255, 255, 0.65);
}
.h-chip i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.chip-dot-green { background: #10b981; box-shadow: 0 0 8px #10b981; }
.chip-dot-blue { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.chip-dot-purple { background: #a855f7; box-shadow: 0 0 8px #a855f7; }
.chip-dot-orange { background: #f97316; box-shadow: 0 0 8px #f97316; }
.chip-dot-red { background: #ef4444; box-shadow: 0 0 8px #ef4444; }

/* --- Special Glowing Animated 'Neo' Word --- */
.neon-neo {
    display: inline-block;
    font-family: var(--font-en);
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 40%, #a855f7 60%, #10b981 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    animation: shine-neo 4s linear infinite, pulse-neo 2.5s ease-in-out infinite;
    text-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}
@keyframes shine-neo {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
@keyframes pulse-neo {
    0%, 100% {
        filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.5)) drop-shadow(0 0 28px rgba(59, 130, 246, 0.35));
    }
}
