/* ============================================
   Dism++ — Premium SaaS Light Theme v2
   Completely new layout system
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #4338ca;
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);

    --accent: #06b6d4;
    --accent-50: #ecfeff;
    --success: #10b981;
    --success-50: #ecfdf5;
    --amber: #f59e0b;

    --surface: #ffffff;
    --surface-raised: #f8fafc;
    --surface-dim: #f1f5f9;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;

    --border: #e2e8f0;
    --border-light: #f1f5f9;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .03);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, .06);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, .08);
    --shadow-xl: 0 24px 64px rgba(15, 23, 42, .12);
    --shadow-primary: 0 8px 32px rgba(79, 70, 229, .2);
    --shadow-glow: 0 0 60px rgba(79, 70, 229, .12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    --ease: cubic-bezier(.4, 0, .2, 1);
    --duration: .25s;
    --container: 1180px;
    --header-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--surface);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   HEADER — frosted glass bar
   ========================================== */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.logo-text a {
    color: inherit;
}

.logo-highlight,
.footer-logo-highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-50);
}

.header-cta {
    font-size: .85rem;
    font-weight: 600;
    padding: 9px 22px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.header-cta:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* ==========================================
   HERO — full-width centered, screenshot below
   ========================================== */
.hero {
    padding: calc(var(--header-h) + 72px) 0 0;
    text-align: center;
    overflow: hidden;
    position: relative;
    background: var(--surface);
}

/* Soft radial glow */
.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(79, 70, 229, .07) 0%, transparent 70%);
    pointer-events: none;
}

/* Dot grid */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: .35;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 60%, transparent 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    margin-bottom: 28px;
    border-radius: var(--radius-full);
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary);
}

.hero-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.04em;
    margin-bottom: 20px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-screenshot-wrap {
    max-width: 880px;
    margin: 0 auto;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border: 1px solid var(--border);
    border-bottom: none;
    position: relative;
}

.hero-screenshot-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--surface-raised);
    border-bottom: 1px solid var(--border);
}

.hero-screenshot-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-screenshot-bar span:nth-child(1) {
    background: #f87171;
}

.hero-screenshot-bar span:nth-child(2) {
    background: #fbbf24;
}

.hero-screenshot-bar span:nth-child(3) {
    background: #34d399;
}

.hero-screenshot-wrap img {
    width: 100%;
    display: block;
}

/* ==========================================
   TRUST BAR — logos / stats strip
   ========================================== */
.trust-bar {
    padding: 56px 0;
    background: var(--surface-raised);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-bar .container {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
}

.trust-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.03em;
    line-height: 1.2;
}

.trust-stat-value .accent {
    color: var(--primary);
}

.trust-stat-label {
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 4px;
}

/* ==========================================
   BTNS — shared
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 12px 40px rgba(79, 70, 229, .28);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary-200);
    padding: 12px 28px;
}

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary);
}

.btn-icon {
    font-size: .9em;
}

/* legacy class support */
.primary-btn {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--duration) var(--ease);
}

.primary-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 12px 40px rgba(79, 70, 229, .28);
}

/* ==========================================
   SECTION base
   ========================================== */
.section {
    padding: 96px 0;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: var(--primary-50);
    color: var(--primary);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
}

.section-header {
    margin-bottom: 56px;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-sub {
    margin: 0 auto;
}

/* ==========================================
   FEATURES — Bento grid (mixed sizes)
   ========================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-card {
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 36px;
    transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.bento-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.bento-card.span-4 {
    grid-column: span 4;
}

.bento-card.span-6 {
    grid-column: span 6;
}

.bento-card.span-8 {
    grid-column: span 8;
}

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.bento-icon.purple {
    background: var(--primary-50);
    color: var(--primary);
}

.bento-icon.cyan {
    background: var(--accent-50);
    color: var(--accent);
}

.bento-icon.green {
    background: var(--success-50);
    color: var(--success);
}

.bento-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.bento-card p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   PRODUCT SHOWCASE — stacked centered blocks
   ========================================== */
.showcase-block {
    display: flex;
    gap: 56px;
    align-items: center;
    margin-bottom: 96px;
}

.showcase-block:last-child {
    margin-bottom: 0;
}

.showcase-block.reversed {
    flex-direction: row-reverse;
}

.showcase-visual {
    flex: 1.2;
    min-width: 0;
}

.showcase-visual .app-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: var(--surface-raised);
}

.app-frame-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--surface-dim);
    border-bottom: 1px solid var(--border);
}

.app-frame-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.app-frame-bar span:nth-child(1) {
    background: #f87171;
}

.app-frame-bar span:nth-child(2) {
    background: #fbbf24;
}

.app-frame-bar span:nth-child(3) {
    background: #34d399;
}

.app-frame img {
    width: 100%;
    display: block;
}

.showcase-info {
    flex: 1;
}

.showcase-info .section-label {
    margin-bottom: 12px;
}

.showcase-info h2 {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 16px;
    line-height: 1.25;
}

.showcase-info>p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .925rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.check-list li .icon-wrap {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--success-50);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================
   CORE ADVANTAGES — horizontal numbered strip
   ========================================== */
.advantages-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface);
}

.adv-cell {
    padding: 40px 28px;
    border-right: 1px solid var(--border);
    transition: background var(--duration) var(--ease);
    position: relative;
}

.adv-cell:last-child {
    border-right: none;
}

.adv-cell:hover {
    background: var(--primary-50);
}

.adv-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-200);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -.04em;
}

.adv-cell h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.adv-cell p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   DOWNLOAD — centered card
   ========================================== */
.dl-card {
    max-width: 720px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dl-card-top {
    background: var(--primary-gradient);
    color: #fff;
    padding: 40px 48px;
    text-align: center;
}

.dl-card-top h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.dl-card-top p {
    opacity: .85;
    font-size: .95rem;
}

.dl-card-body {
    padding: 40px 48px;
}

.dl-meta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.dl-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--surface-dim);
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.dl-meta-pill i {
    color: var(--primary);
}

.dl-btn-wrap {
    text-align: center;
    margin-bottom: 32px;
}

.dl-btn-wrap .btn {
    padding: 16px 48px;
    font-size: 1.05rem;
}

.dl-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dl-detail-block h4 {
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.dl-detail-block h4 i {
    color: var(--primary);
    font-size: .9rem;
}

.dl-detail-block li,
.dl-detail-block p {
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.dl-detail-block li {
    padding: 2px 0;
}

/* ==========================================
   GUIDE — horizontal stepper
   ========================================== */
.stepper {
    display: flex;
    gap: 0;
    position: relative;
}

/* connecting line behind */
.stepper::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--primary-200);
    z-index: 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}

.step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 6px var(--surface), var(--shadow-primary);
}

.step-item h3 {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.step-item p {
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   SPECS — 2×2 with icons left-aligned
   ========================================== */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.spec-tile {
    display: flex;
    gap: 20px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.spec-tile:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.spec-tile-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.spec-tile h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.spec-tile li {
    font-size: .85rem;
    color: var(--text-secondary);
    padding: 3px 0;
    line-height: 1.5;
}

.spec-tile li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ==========================================
   USE CASES — large horizontal cards
   ========================================== */
.cases-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px 36px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.case-row:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.case-row-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.case-row-body {
    flex: 1;
    min-width: 0;
}

.case-row-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.case-row-body p {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.case-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: var(--success-50);
    color: var(--success);
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ==========================================
   TESTIMONIALS — featured + side cards
   ========================================== */
.testimonials-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}

.testimonial-featured {
    padding: 48px;
    border-radius: var(--radius-xl);
    background: var(--primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-featured .stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}

.testimonial-featured .stars i {
    color: #fbbf24;
    font-size: .9rem;
}

.testimonial-featured blockquote {
    font-size: 1.15rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
    opacity: .95;
}

.testimonial-featured .author-name {
    font-weight: 600;
    font-size: .95rem;
}

.testimonial-featured .author-role {
    opacity: .7;
    font-size: .82rem;
}

.testimonials-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testi-side-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    flex: 1;
    transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.testi-side-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.testi-side-card .stars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.testi-side-card .stars i {
    color: var(--amber);
    font-size: .8rem;
}

.testi-side-card blockquote {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}

.testi-side-card .author-name {
    font-weight: 600;
    font-size: .85rem;
}

.testi-side-card .author-role {
    font-size: .78rem;
    color: var(--text-tertiary);
}

/* ==========================================
   FAQ — accordion
   ========================================== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.faq-item.open {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    gap: 16px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
}

.faq-q .faq-chevron {
    font-size: .7rem;
    color: var(--text-tertiary);
    transition: transform var(--duration) var(--ease);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), padding .35s var(--ease);
    padding: 0 24px;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-a p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================
   CTA BAND
   ========================================== */
.cta-band {
    padding: 80px 0;
    text-align: center;
    background: var(--text-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: .12;
}

.cta-band .container {
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-band p {
    font-size: 1rem;
    opacity: .7;
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-band .btn {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
}

.cta-band .btn:hover {
    box-shadow: 0 12px 40px rgba(255, 255, 255, .15);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--text-primary);
    color: #94a3b8;
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.footer-logo>p {
    font-size: .875rem;
    line-height: 1.6;
}

.footer-links-column h4 {
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
}

.footer-links-column li {
    margin-bottom: 10px;
}

.footer-links-column a {
    font-size: .85rem;
    color: #94a3b8;
    transition: color var(--duration) var(--ease);
}

.footer-links-column a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: .78rem;
    color: #64748b;
}

.footer-bottom a {
    color: #94a3b8;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: .85rem;
    transition: all var(--duration) var(--ease);
}

.social-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .2);
}

/* ==========================================
   DOWNLOAD PAGE — hero variant
   ========================================== */
.hero-compact {
    padding: calc(var(--header-h) + 56px) 0 48px;
    text-align: center;
    background: var(--surface);
    position: relative;
}

.hero-compact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(79, 70, 229, .05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-compact .container {
    position: relative;
    z-index: 1;
}

.hero-compact h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 12px;
}

.hero-compact p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* DL page specific */
.download-page-section {
    padding-top: 56px;
}

.download-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.download-detail-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.download-detail-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.detail-header i {
    font-size: 1.15rem;
    color: var(--primary);
}

.detail-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.detail-list li {
    padding: 6px 0;
    font-size: .85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.detail-steps {
    counter-reset: ds;
}

.detail-steps li {
    position: relative;
    padding: 6px 0 6px 34px;
    font-size: .85rem;
    color: var(--text-secondary);
    counter-increment: ds;
}

.detail-steps li::before {
    content: counter(ds);
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Alt downloads grid */
.alt-dl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.alt-dl-card {
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    text-align: center;
    transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.alt-dl-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.alt-dl-card .card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 14px;
}

.alt-dl-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.alt-dl-card>p {
    font-size: .85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Version timeline */
.version-timeline {
    max-width: 700px;
    margin: 0 auto;
    padding-left: 28px;
    position: relative;
}

.version-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: var(--primary-200);
}

.version-item {
    position: relative;
    padding: 0 0 36px 28px;
}

.version-item:last-child {
    padding-bottom: 0;
}

.version-item::before {
    content: '';
    position: absolute;
    left: -21px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--primary);
}

.version-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: .7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 6px;
    background: var(--primary-50);
    color: var(--primary);
}

.version-badge.current {
    background: var(--primary);
    color: #fff;
}

.version-number {
    font-size: .95rem;
    font-weight: 600;
}

.version-time {
    font-size: .78rem;
    color: var(--text-tertiary);
    margin-top: 2px;
    margin-bottom: 10px;
}

.version-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.version-changes li {
    padding: 3px 0 3px 18px;
    font-size: .84rem;
    color: var(--text-secondary);
    position: relative;
}

.version-changes li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-200);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width:1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .bento-card.span-4,
    .bento-card.span-6,
    .bento-card.span-8 {
        grid-column: span 6;
    }

    .showcase-block,
    .showcase-block.reversed {
        flex-direction: column;
    }

    .advantages-strip {
        grid-template-columns: 1fr 1fr;
    }

    .adv-cell:nth-child(2) {
        border-right: none;
    }

    .adv-cell:nth-child(1),
    .adv-cell:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .stepper {
        flex-wrap: wrap;
    }

    .stepper::before {
        display: none;
    }

    .step-item {
        flex: 0 0 50%;
        margin-bottom: 32px;
    }

    .testimonials-layout {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:768px) {
    :root {
        --header-h: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: calc(var(--header-h) + 48px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-screenshot-wrap {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .section {
        padding: 64px 0;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.span-4,
    .bento-card.span-6,
    .bento-card.span-8 {
        grid-column: span 1;
    }

    .advantages-strip {
        grid-template-columns: 1fr;
        border-radius: var(--radius-lg);
    }

    .adv-cell {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .adv-cell:last-child {
        border-bottom: none;
    }

    .stepper {
        flex-direction: column;
    }

    .step-item {
        flex: none;
    }

    .dl-card-body {
        padding: 28px 24px;
    }

    .dl-card-top {
        padding: 28px 24px;
    }

    .dl-details {
        grid-template-columns: 1fr;
    }

    .case-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .case-badge {
        align-self: flex-start;
    }

    .download-details-grid,
    .alt-dl-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .trust-bar .container {
        gap: 32px;
    }

    .hero-compact h1 {
        font-size: 1.85rem;
    }
}

@media (max-width:480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .primary-btn {
        font-size: .9rem;
        padding: 14px 24px;
    }

    .trust-stat-value {
        font-size: 1.5rem;
    }
}