@font-face {
    font-family: "Yekan Bakh";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("fonts/YekanBakhFaEnRegular.woff2") format("woff2");
}

@font-face {
    font-family: "Yekan Bakh";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("fonts/YekanBakhFaEnRegular.woff2") format("woff2");
}

:root {
    --primary: #1d7a4d;
    --primary-light: #30a46c;
    --primary-dark: #145c38;
    --primary-glow: rgba(48, 164, 108, 0.45);
    --primary-soft: rgba(29, 122, 77, 0.12);
    --bg: #f3f8f5;
    --bg-elevated: #ffffff;
    --bg-muted: #e8f2ec;
    --text: #122018;
    --text-muted: #5a6f62;
    --border: rgba(29, 122, 77, 0.14);
    --shadow: 0 24px 60px rgba(18, 48, 32, 0.1);
    --shadow-soft: 0 12px 32px rgba(18, 48, 32, 0.06);
    --header-bg: rgba(255, 255, 255, 0.82);
    --hero-mesh-1: rgba(48, 164, 108, 0.22);
    --hero-mesh-2: rgba(29, 122, 77, 0.12);
    --card-hover: rgba(29, 122, 77, 0.08);
    --logo-file: url("../images/logo-dark.png");
    --transition-theme: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html.dark {
    --primary: #30a46c;
    --primary-light: #3ecf7a;
    --primary-dark: #1d7a4d;
    --primary-glow: rgba(62, 207, 122, 0.35);
    --primary-soft: rgba(48, 164, 108, 0.16);
    --bg: #0a1210;
    --bg-elevated: #111b16;
    --bg-muted: #16221c;
    --text: #e8f3ec;
    --text-muted: #93a89c;
    --border: rgba(48, 164, 108, 0.18);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.28);
    --header-bg: rgba(10, 18, 16, 0.88);
    --hero-mesh-1: rgba(48, 164, 108, 0.18);
    --hero-mesh-2: rgba(29, 122, 77, 0.08);
    --card-hover: rgba(48, 164, 108, 0.12);
    --logo-file: url("../images/logo-light.png");
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    margin: 0;
    font-family: "Yekan Bakh", Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.85;
    text-align: right;
    font-variant-numeric: lining-nums;
    transition: background var(--transition-theme), color var(--transition-theme);
    overflow-x: hidden;
    position: relative;
}

.num, [data-count], .install-step-num, .hero-badge, .tech-badge, .stat-card strong, .marquee-item {
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

/* Decorative background */
.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.page-bg-logo {
    position: absolute;
    opacity: 0.04;
    filter: saturate(0.9);
    transition: opacity var(--transition-theme);
}

html.dark .page-bg-logo--light { opacity: 0; }
html:not(.dark) .page-bg-logo--dark { opacity: 0; }

.page-bg-logo-1 {
    width: min(520px, 55vw);
    top: 8%;
    left: -8%;
    transform: rotate(-12deg);
}

.page-bg-logo-2 {
    width: min(380px, 42vw);
    bottom: 6%;
    right: -6%;
    transform: rotate(18deg);
}

.page-bg-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
    opacity: 0.45;
}

.page-bg-ring-1 {
    width: 280px;
    height: 280px;
    top: 22%;
    right: 12%;
    animation: floatBlob 18s ease-in-out infinite;
}

.page-bg-ring-2 {
    width: 180px;
    height: 180px;
    bottom: 28%;
    left: 18%;
    animation: floatBlob 14s ease-in-out infinite reverse;
}

.page-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.06;
    mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

.icon {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    display: block;
}

.icon-lg { width: 1.35rem; height: 1.35rem; }
.icon-xl { width: 1.65rem; height: 1.65rem; }

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }

.container { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }

.ltr, code, .path, .flow-steps {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: left;
    display: inline-block;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    height: 74px;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-theme), border-color var(--transition-theme), box-shadow 0.3s;
}

.site-header.scrolled {
    box-shadow: var(--shadow-soft);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    font-weight: 700;
    font-size: 1.05rem;
}

.brand-logo {
    height: 42px;
    width: auto;
    display: block;
    transition: opacity var(--transition-theme);
}

.brand-logo--dark { display: none; }
html.dark .brand-logo--light { display: none; }
html.dark .brand-logo--dark { display: block; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.site-nav a {
    color: var(--text-muted);
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.theme-toggle,
.nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 0.2s;
}

.theme-toggle .icon,
.nav-toggle .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.theme-toggle:hover,
.nav-toggle:hover { border-color: var(--primary); background: var(--primary-soft); }

.nav-toggle { display: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.72rem 1.35rem;
    border-radius: 14px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: #fff;
    box-shadow: 0 14px 36px var(--primary-glow);
}

.btn-outline {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--primary); background: var(--primary-soft); }

/* Hero */
.hero {
    position: relative;
    padding: calc(74px + 4rem) 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    animation: floatBlob 14s ease-in-out infinite;
}

.hero-blob-1 {
    width: 420px;
    height: 420px;
    top: -80px;
    left: -60px;
    background: var(--hero-mesh-1);
}

.hero-blob-2 {
    width: 360px;
    height: 360px;
    bottom: -100px;
    right: -40px;
    background: var(--hero-mesh-2);
    animation-delay: -5s;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -25px) scale(1.06); }
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--primary-soft);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 0.84rem;
    margin-bottom: 1rem;
    animation: fadeUp 0.7s ease both;
}

.hero h1 {
    margin: 0 0 0.85rem;
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    line-height: 1.3;
    animation: fadeUp 0.7s 0.1s ease both;
}

.hero h1 em {
    font-style: normal;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    margin: 0 0 1.6rem;
    color: var(--text-muted);
    font-size: 1.08rem;
    max-width: 36rem;
    animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
    animation: fadeUp 0.7s 0.3s ease both;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    animation: fadeUp 0.7s 0.4s ease both;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem 0.42rem 0.65rem;
    border-radius: 999px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: 0.2s;
}

.tech-badge img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.tech-badge strong { color: var(--text); }

.tech-badge:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    animation: fadeUp 0.9s 0.25s ease both;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 6% -5% -6% 8%;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary-soft), transparent);
    z-index: 0;
}

.browser-frame {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow var(--transition-theme), border-color var(--transition-theme);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.9rem;
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.browser-dot:nth-child(1) { background: #ff6b6b; }
.browser-dot:nth-child(2) { background: #ffd166; }
.browser-dot:nth-child(3) { background: #30a46c; }

.theme-shot {
    opacity: 1;
    transition: opacity 0.35s var(--ease-smooth);
}

.shot-viewport {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-muted);
    position: relative;
}

.shot-viewport .theme-shot {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.shot-frame.small .shot-viewport {
    aspect-ratio: 16 / 9;
}

.feature-media .shot-viewport .theme-shot {
    object-fit: contain;
    background: var(--bg-muted);
}

.hero-visual .browser-frame {
    max-height: 420px;
}

/* Stats */
.stats-strip {
    padding: 0 0 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s, border-color 0.25s, background var(--transition-theme);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.stat-card strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1.2;
}

.stat-card span { color: var(--text-muted); font-size: 0.88rem; }

/* Panel zones */
.panel-zone {
    position: relative;
    scroll-margin-top: 88px;
}

.panel-zone--user {
    border-top: 3px solid var(--primary);
}

.panel-zone--admin {
    border-top: 3px solid var(--primary);
}

html.dark .panel-zone--admin {
    background: linear-gradient(180deg, rgba(48, 164, 108, 0.04) 0%, transparent 220px);
}

.panel-zone-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    padding: 3.25rem 1.5rem 1.25rem;
}

.panel-zone-intro .eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.panel-zone-intro h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.panel-zone-intro p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

.panel-zone-nav-bar {
    position: sticky;
    top: 74px;
    z-index: 45;
    padding: 0.5rem 1rem 0.85rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

html.dark .panel-zone-nav-bar {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.panel-zone-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    max-width: 720px;
    margin: 0 auto;
    padding: 0.3rem;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.panel-zone-nav a {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    transition: 0.2s var(--ease-smooth);
    white-space: nowrap;
}

.panel-zone-nav a:hover,
.panel-zone-nav a.active {
    background: var(--bg-elevated);
    color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.panel-zone-nav-bar + .block {
    padding-top: 2.75rem;
}

.panel-zone .block {
    scroll-margin-top: 132px;
}

/* Sections */
section.block { padding: 4.5rem 0; }

.block-alt { background: var(--bg-muted); transition: background var(--transition-theme); }

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.75rem;
}

.section-head .eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.section-head h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head p { margin: 0; color: var(--text-muted); }

/* Day/Night demo toggle */
.demo-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.daynight-switch {
    display: inline-flex;
    padding: 0.3rem;
    border-radius: 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}

.daynight-switch button {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.daynight-switch button .icon {
    width: 1rem;
    height: 1rem;
}

.daynight-switch button.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.preview-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.preview-tab {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    transition: 0.2s;
}

.preview-tab.active,
.preview-tab:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}

.preview-panel { display: none; }
.preview-panel.active { display: block; }

/* Panel slider */
.panel-slider { margin-top: 0.5rem; }

.slider-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: stretch;
    gap: 0.75rem;
}

.slider-btn {
    align-self: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--primary);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 0.25s var(--ease-smooth);
    flex-shrink: 0;
}

.slider-btn:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    transform: scale(1.05);
}

.slider-btn .icon { width: 1.35rem; height: 1.35rem; }

.slider-viewport {
    overflow: hidden;
    border-radius: 18px;
    direction: ltr;
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.slider-frame {
    width: 100%;
    overflow: hidden;
}

.slider-poster.shot-viewport {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--bg-muted);
}

.slider-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: var(--bg-muted);
    opacity: 0;
    transition: opacity 0.35s var(--ease-smooth);
    pointer-events: none;
}

.slider-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-meta {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.65rem;
    justify-items: center;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--border);
    cursor: pointer;
    transition: 0.3s var(--ease-smooth);
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.25);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.slider-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    direction: rtl;
}

.slider-caption .icon {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--primary);
}

.slider-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.15rem 0;
}

.slider-thumb {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    transition: 0.25s var(--ease-smooth);
    direction: rtl;
    white-space: nowrap;
}

.slider-thumb .icon {
    width: 0.95rem;
    height: 0.95rem;
}

.slider-thumb.active,
.slider-thumb:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
}
.feature-category {
    margin-bottom: 3.5rem;
}

.feature-category h3 {
    margin: 0 0 1.5rem;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.feature-category h3::before {
    content: "";
    width: 4px;
    height: 1.4rem;
    border-radius: 4px;
    background: linear-gradient(var(--primary), var(--primary-light));
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-media { order: 1; }

.feature-copy h4 {
    margin: 0 0 0.55rem;
    font-size: 1.25rem;
}

.feature-copy p {
    margin: 0 0 0.85rem;
    color: var(--text-muted);
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-right: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.feature-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.72rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.feature-media {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    background: var(--bg-elevated);
    transition: transform 0.35s, box-shadow 0.35s;
}

.feature-media.shot-frame {
    padding: 0;
}

.cta-brand,
.footer-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-brand { margin-bottom: 0.6rem; }

h1, h2, h3, h4, strong, .faq-q span:first-child { font-weight: 700; }

.feature-media:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

/* Server / site catalog */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.catalog-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.2rem 1.1rem 1.1rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s, box-shadow 0.25s, background var(--transition-theme);
    overflow: hidden;
}

.catalog-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.catalog-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.catalog-card:hover::after { transform: scaleX(1); }

.catalog-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.catalog-icon .icon {
    width: 1.35rem;
    height: 1.35rem;
}

.catalog-card strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.96rem;
}

.catalog-card p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.catalog-card.soon {
    opacity: 0.72;
}

.catalog-card.soon .catalog-badge {
    display: inline-block;
    margin-top: 0.55rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--bg-muted);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.gateway-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.gateway-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.35rem 1.35rem 0;
    display: grid;
    gap: 1rem;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.gateway-panel:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.gateway-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.gateway-panel-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    flex-shrink: 0;
}

.gateway-panel-icon .icon {
    width: 1.45rem;
    height: 1.45rem;
}

.gateway-panel-head h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.gateway-panel-head p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.gateway-panel .gateway-shot {
    margin-inline: -1.35rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--border);
}

.gateway-panel .gateway-shot .shot-viewport {
    aspect-ratio: 16 / 10;
    border-radius: 0 0 18px 18px;
}

.gateway-note {
    margin: 0;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: var(--bg-muted);
    border: 1px dashed var(--border);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.gateway-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    margin: 0 auto 0.65rem;
}

.stat-icon .icon {
    width: 1.2rem;
    height: 1.2rem;
}

.gateway-brands {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.65rem;
}

.gateway-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 108px;
    padding: 0.85rem 0.65rem;
    border-radius: 14px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    transition: 0.25s var(--ease-smooth);
    text-align: center;
}

.gateway-brand:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.gateway-brand img {
    height: 36px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
}

.gateway-brand span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.gateway-brand:hover span {
    color: var(--primary);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(11) { transition-delay: 0.55s; }
.reveal-stagger.visible > *:nth-child(12) { transition-delay: 0.6s; }
.reveal-stagger.visible > *:nth-child(13) { transition-delay: 0.65s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: none;
}

/* Mini feature grid */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.mini-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.15rem;
    transition: 0.25s var(--ease-smooth);
}

.mini-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.mini-card-icon .icon {
    width: 1.1rem;
    height: 1.1rem;
}

.mini-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    background: var(--card-hover);
}

.mini-card strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.mini-card p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* Marquee */
.marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    padding: 1rem 0;
}

.marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: marquee 28s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

.marquee-item {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    white-space: nowrap;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Installer walkthrough */
.install-prep {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 920px;
    margin: 0 auto 2.5rem;
    padding: 1.2rem 1.25rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-soft);
}

.install-prep-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    flex-shrink: 0;
}

.install-prep-icon .icon {
    width: 1.45rem;
    height: 1.45rem;
}

.install-prep h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.install-prep p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.install-steps {
    display: grid;
    gap: 2rem;
}

.install-step {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1.75rem;
    align-items: center;
}

.install-step.reverse .install-step-copy { order: 2; }
.install-step.reverse .install-step-shot { order: 1; }

.install-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.install-step-copy h3 {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
}

.install-step-copy p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    max-width: 28rem;
}

.install-step-shot {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    background: var(--bg-elevated);
}

.install-step-shot .shot-viewport {
    aspect-ratio: 16 / 10;
}

.install-step-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.step-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.4rem 1.2rem;
    text-align: center;
    transition: 0.3s;
}

.step-card:hover { transform: translateY(-6px); border-color: var(--primary); }

.step-num {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: #fff;
    font-weight: 700;
}

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 0.7rem; }

.faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.open { border-color: var(--primary); }

.faq-q {
    width: 100%;
    border: none;
    background: none;
    padding: 1.05rem 1.2rem;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-chevron {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--bg-muted);
    display: grid;
    place-items: center;
    color: var(--primary);
    transition: transform 0.35s var(--ease-smooth), background 0.25s;
    flex-shrink: 0;
}

.faq-chevron .icon {
    width: 1rem;
    height: 1rem;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    background: var(--primary-soft);
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease-smooth);
}

.faq-a-inner {
    overflow: hidden;
    padding: 0 1.2rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.faq-item.open .faq-a {
    grid-template-rows: 1fr;
}

.faq-item.open .faq-a-inner {
    padding-bottom: 1.05rem;
}

/* CTA */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.12), transparent 55%);
}

.cta .container { position: relative; }
.cta h2 { margin: 0 0 0.5rem; font-size: 2rem; }
.cta p { margin: 0 0 1.5rem; opacity: 0.92; }
.cta .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }

.site-footer {
    padding: 2.5rem 0;
    background: #070d0b;
    color: #8fa89a;
    text-align: center;
}

html.dark .site-footer { background: #050807; }

.site-footer .brand { justify-content: center; margin-bottom: 0.6rem; }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

/* Marketing blocks */
.value-grid,
.persona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.value-card,
.persona-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.35rem 1.25rem;
    transition: transform 0.3s, border-color 0.25s, box-shadow 0.25s;
}

.value-card:hover,
.persona-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.value-card-icon,
.persona-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-soft), transparent);
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.value-card-icon .icon,
.persona-card-icon .icon {
    width: 1.45rem;
    height: 1.45rem;
}

.value-card h3,
.persona-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
}

.value-card p,
.persona-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.pitch-banner {
    margin-top: 2rem;
    padding: 1.35rem 1.5rem;
    border-radius: 20px;
    border: 1px dashed var(--primary);
    background: linear-gradient(135deg, var(--primary-soft), transparent);
    text-align: center;
}

.pitch-banner p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.85;
}

.pitch-banner strong {
    color: var(--primary);
}

.compare-wrap {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-soft);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.compare-table th,
.compare-table td {
    padding: 0.95rem 1rem;
    text-align: right;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.compare-table th {
    background: var(--bg-muted);
    color: var(--text);
    font-weight: 700;
}

.compare-table td:first-child {
    color: var(--text-muted);
    font-weight: 700;
    width: 34%;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-yes {
    color: var(--primary);
    font-weight: 700;
}

.compare-no {
    color: var(--text-muted);
    opacity: 0.75;
}

.feature-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.feature-copy .feature-desc {
    margin: 0 0 0.85rem;
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 0.95rem;
}

.quote-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.quote-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.2rem 1.1rem;
}

.quote-card p {
    margin: 0 0 0.65rem;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.8;
}

.quote-card span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.section-lead-long {
    max-width: 42rem;
    margin-inline: auto;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.9;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .feature-row,
    .mini-grid,
    .catalog-grid,
    .gateway-board,
    .install-step,
    .stats-grid,
    .steps,
    .value-grid,
    .persona-grid,
    .quote-strip { grid-template-columns: 1fr 1fr; }

    .install-step.reverse .install-step-copy,
    .install-step.reverse .install-step-shot { order: unset; }
    .feature-row.reverse .feature-copy,
    .feature-row.reverse .feature-media { order: unset; }
}

@media (max-width: 720px) {
    .site-nav {
        display: none;
        position: fixed;
        top: 74px;
        right: 0;
        left: 0;
        flex-direction: column;
        background: var(--header-bg);
        border-bottom: 1px solid var(--border);
        padding: 0.75rem 1rem 1rem;
        backdrop-filter: blur(16px);
    }
    .site-nav.open { display: flex; }
    .nav-toggle { display: grid; }

    .hero-grid,
    .feature-row,
    .mini-grid,
    .catalog-grid,
    .gateway-board,
    .install-step,
    .stats-grid,
    .steps,
    .value-grid,
    .persona-grid,
    .quote-strip { grid-template-columns: 1fr; }

    .slider-shell {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .slider-btn {
        display: none;
    }

    .panel-zone-nav-bar {
        top: 74px;
        padding-inline: 0.75rem;
    }

    .panel-zone-nav {
        max-width: 100%;
        border-radius: 16px;
        padding: 0.35rem;
    }

    .panel-zone-nav a {
        padding: 0.45rem 0.75rem;
        font-size: 0.82rem;
    }

    .panel-zone-intro {
        padding: 2.25rem 1rem 1rem;
    }

    .hero { padding-top: calc(74px + 2.5rem); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
