/* =========================================================
   MRRECIPE — Unified Stylesheet
   Version 5.1.0 — Landing + FAQ + Plans (همه در یک فایل)
   ========================================================= */

:root {
    --brand: #2563eb;
    --brand-hover: #1d4ed8;
    --brand-active: #1e40af;
    --brand-subtle: rgba(37, 99, 235, 0.08);
    --brand-subtle-hover: rgba(37, 99, 235, 0.14);
    --success: #059669;
    --success-subtle: #ecfdf5;
    --bg: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-muted: #f1f5f9;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #64748b;
    --text-inverse: #ffffff;
    --text-inverse-2: #cbd5e1;
    --ink: #0b1120;
    --ink-2: #0f172a;
    --ink-border: rgba(255, 255, 255, 0.08);
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --border-hover: #94a3b8;
    --font-sans: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 3rem;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-black: 800;
    --lh-tight: 1.25;
    --lh-snug: 1.4;
    --lh-normal: 1.6;
    --lh-relaxed: 1.75;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 2px 6px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 4px 12px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.08);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --t-fast: 150ms var(--ease);
    --t-med: 250ms var(--ease);
    --container: 1120px;
    --ticker-duration: 40s;
    --header-h: 64px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--space-4)); }
body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--lh-relaxed);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.stat-value, .price, .price-value, .plan-limits, .audience-ticker, [data-numeric] {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: var(--fw-bold); line-height: var(--lh-tight); color: var(--text); }
h1 { font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl)); font-weight: var(--fw-black); line-height: var(--lh-tight); }
h2 { font-size: clamp(var(--text-xl), 2.6vw, var(--text-2xl)); line-height: var(--lh-snug); }
h3 { font-size: var(--text-lg); line-height: var(--lh-snug); }
p { line-height: var(--lh-relaxed); color: var(--text-2); }
strong { font-weight: var(--fw-semibold); color: var(--text); }

/* ── Layout ── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
section { padding-block: var(--space-9); }
section[id] { scroll-margin-top: calc(var(--header-h) + var(--space-4)); }
.section-header { max-width: 640px; margin: 0 auto var(--space-8); text-align: center; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    background: var(--brand-subtle);
    color: var(--brand);
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-4);
}
.section-eyebrow i { font-size: var(--text-sm); }
.section-header h2 { margin-bottom: var(--space-3); }
.section-header p { font-size: var(--text-base); line-height: var(--lh-relaxed); color: var(--text-2); }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--text-inverse); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-hover); box-shadow: var(--shadow); }
.btn-primary:active { background: var(--brand-active); }
.btn-outline { background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--border-hover); background: var(--bg-subtle); }

/* ── Header ── */
.landing-header {
    position: fixed; inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 var(--space-6);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--t-med), background var(--t-med);
}
@supports (backdrop-filter: blur(10px)) {
    .landing-header {
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: saturate(180%) blur(12px);
        -webkit-backdrop-filter: saturate(180%) blur(12px);
    }
}
.landing-header.scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow-sm); }
.landing-header .logo { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--text); }
.landing-header .logo i { color: var(--brand); font-size: 1.5rem; }
.landing-header .nav-links { display: flex; align-items: center; gap: var(--space-6); }
.landing-header .nav-links > a, .nav-dropdown-toggle {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--text-2);
    padding: var(--space-2) 0;
    transition: color var(--t-fast);
    position: relative;
}
.landing-header .nav-links > a:hover, .nav-dropdown:hover .nav-dropdown-toggle, .nav-dropdown:focus-within .nav-dropdown-toggle { color: var(--text); }
.landing-header .nav-links .btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: var(--text-inverse) !important;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius);
    font-weight: var(--fw-semibold);
}
.landing-header .nav-links .btn-nav:hover { background: var(--brand-hover); }

/* Dropdown */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: var(--space-1); cursor: pointer; }
.nav-dropdown-toggle::after {
    content: '\ea4e';
    font-family: 'remixicon';
    font-size: var(--text-sm);
    transition: transform var(--t-fast);
}
.nav-dropdown:hover .nav-dropdown-toggle::after, .nav-dropdown:focus-within .nav-dropdown-toggle::after { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 50%;
    transform: translateX(50%) translateY(-4px);
    min-width: 200px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: var(--space-2);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
    z-index: 1100;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(50%) translateY(0);
}
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--text-2);
    transition: background var(--t-fast), color var(--t-fast);
}
.nav-dropdown-menu a:hover { background: var(--bg-subtle); color: var(--text); }
.nav-dropdown-menu a i { color: var(--text-3); font-size: var(--text-base); }
.mobile-menu-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1.4rem;
    transition: background var(--t-fast);
}
.mobile-menu-toggle:hover { background: var(--bg-subtle); }

/* ── HERO ── */
.hero {
    padding-block: calc(var(--header-h) + var(--space-9)) var(--space-9);
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 70%), var(--bg);
    position: relative;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: var(--space-8); }
.hero-content { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }

/* FIX: H1 با متن کیورد-محور طولانی نیاز به عرض کامل دارد */
.hero h1 {
    line-height: 1.25;
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    font-weight: var(--fw-black);
    color: var(--text);
}

/* FIX: H2 زیرتیتر — کوچک‌تر از H1 */
/*.hero h2 {
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
    font-weight: var(--fw-medium);
    color: var(--text-2);
    line-height: var(--lh-snug);
}*/

.brand-tagline {
    display: inline-flex; align-items: center; gap: var(--space-2);
    align-self: flex-start;
    padding: var(--space-1) var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg);
    color: var(--text-2);
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
}
.brand-tagline i { color: var(--brand); font-size: var(--text-sm); }
.hero-lead {
    font-size: var(--text-base);
    line-height: var(--lh-relaxed);
    color: var(--text-2);
    max-width: 55ch;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hero-visual { position: relative; min-width: 0; }

/* Mockup */
.mockup {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}
.mockup::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 22%;
    background: linear-gradient(to top, var(--bg) 40%, transparent);
    pointer-events: none;
    z-index: 1;
}
.image-preview { width: 100%; aspect-ratio: 16 / 10; background: var(--bg-muted); }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }

/* FIX: Floating badges روی ماکاپ 
.floating-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex; align-items: center; gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--text);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    white-space: nowrap;
}
@supports not (backdrop-filter: blur(8px)) { .floating-badge { background: var(--bg); } }
.floating-badge-tr { top: var(--space-4); right: var(--space-4); }
.floating-badge-bl { bottom: var(--space-4); left: var(--space-4); }
.badge-icon-primary { color: var(--brand); font-size: var(--text-base); }
.badge-icon-secondary { color: var(--success); font-size: var(--text-base); }*/

/* Audience داخل هیرو 
.audience-wrap { display: flex; flex-direction: column; gap: var(--space-2); margin-block: var(--space-2); max-width: 100%; overflow: hidden; }
.audience-wrap .audience-title {
    text-align: right;
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--text-3);
    margin-bottom: 0;
    letter-spacing: 0.3px;
}*/

/* ── Ticker ── */
.audience-section { padding-block: var(--space-7); background: var(--bg); border-bottom: 1px solid var(--border); }
.audience-title {
    text-align: center;
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    color: var(--text-3);
    margin-bottom: var(--space-4);
    letter-spacing: 0.5px;
}
.audience-ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    direction: ltr;
}
.ticker-track { display: flex; width: max-content; animation: audience-ticker-scroll var(--ticker-duration) linear infinite; will-change: transform; }
.audience-ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes audience-ticker-scroll { 0% { transform: translateX(-50%); } 100% { transform: translateX(0%); } }
.ticker-item {
    display: inline-flex; align-items: center; gap: 6px;
    padding: var(--space-2) var(--space-4);
    margin: 0 var(--space-2);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--text-2);
    white-space: nowrap;
    flex-shrink: 0;
    direction: rtl;
}
.ticker-item[aria-hidden="true"] { pointer-events: none; }

/* ── Logo Wall ── */
.logo-wall { padding-block: var(--space-8); background: var(--bg); }
.logo-wall-title { text-align: center; font-size: var(--text-sm); color: var(--text-3); margin-bottom: var(--space-5); font-weight: var(--fw-medium); }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-6); align-items: center; opacity: 0.7; }
.logo-grid span {
    width: 100%;
    height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-weight: var(--fw-bold);
    font-size: var(--text-lg);
    color: var(--text-3);
    filter: grayscale(1);
    transition: opacity var(--t-fast), filter var(--t-fast);
}
.logo-grid span:hover { filter: grayscale(0); opacity: 1; }

/* ── Problem / Solution ── */
.problem-solution { padding-block: var(--space-9); background: var(--bg-subtle); }
.ps-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: var(--space-5); max-width: 1000px; margin: 0 auto; }
.ps-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex; flex-direction: column; gap: var(--space-4);
}
.ps-card.problem { border-color: #fecaca; }
.ps-card.solution { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-subtle); }
.ps-card h3 { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-lg); }
.ps-card.problem h3 i { color: #dc2626; }
.ps-card.solution h3 i { color: var(--success); }
.ps-list { display: flex; flex-direction: column; gap: var(--space-3); }
.ps-list li { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--text-sm); line-height: var(--lh-normal); color: var(--text-2); }
.ps-list li i { flex-shrink: 0; margin-top: 3px; font-size: var(--text-base); }
.ps-card.problem .ps-list li i { color: #dc2626; }
.ps-card.solution .ps-list li i { color: var(--success); }
.ps-arrow { display: flex; align-items: center; justify-content: center; font-size: var(--text-xl); color: var(--brand); }

/* ── Features ── */
.why-section { padding-block: var(--space-9); background: var(--bg); }

/* FIX: auto-fit برای ۷ کارت به‌صورت خودکار */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
}

.feature-card {
    position: relative;
    display: flex; flex-direction: column; gap: var(--space-3);
    padding: var(--space-6);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.feature-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: var(--brand-subtle);
    color: var(--brand);
    font-size: var(--text-lg);
    flex-shrink: 0;
}
.feature-card h3 { font-size: var(--text-base); font-weight: var(--fw-semibold); color: var(--text); line-height: var(--lh-snug); }
.feature-card p { font-size: var(--text-sm); line-height: var(--lh-normal); color: var(--text-2); flex: 1; }
/*.feature-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    margin-top: var(--space-1);
    border-radius: 50%;
    background: var(--bg-subtle);
    color: var(--text-3);
    font-size: var(--text-sm);
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
    align-self: flex-start;
}
.feature-card:hover .feature-arrow { background: var(--brand); color: var(--text-inverse); transform: translateX(-4px); }*/

/* ── Stats Panel (روشن) ──
.stats-panel {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.stats-panel-header { text-align: center; margin-bottom: var(--space-6); }
.stats-panel-header h3 {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--text);
    margin-bottom: var(--space-2);
}
.stats-panel-header h3 i { color: var(--brand); font-size: var(--text-xl); }
.stats-panel-header p { font-size: var(--text-sm); color: var(--text-2); line-height: var(--lh-normal); margin: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-3); }
.stat-item {
    display: flex; align-items: center; gap: var(--space-3);
    text-align: right;
    padding: var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.stat-item:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.stat-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--brand-subtle);
    color: var(--brand);
    font-size: var(--text-lg);
}
.stat-body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.stat-value { font-size: var(--text-xl); font-weight: var(--fw-black); color: var(--text); line-height: 1.1; }
.stat-label { font-size: var(--text-xs); color: var(--text-2); font-weight: var(--fw-medium); line-height: var(--lh-normal); }
 */
/* ── How it works ── */
.how-it-works { padding-block: var(--space-9); background: var(--bg-subtle); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); max-width: 1000px; margin: 0 auto; }
.step-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--text-inverse);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-2);
}
.step-item h4 { font-size: var(--text-base); font-weight: var(--fw-semibold); }
.step-item p { font-size: var(--text-sm); line-height: var(--lh-normal); color: var(--text-2); max-width: 30ch; }

/* ── Testimonials ── */
.testimonials { padding-block: var(--space-9); background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.testimonial-card {
    display: flex; flex-direction: column; gap: var(--space-4);
    padding: var(--space-6);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.testimonial-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.testimonial-quote { font-size: var(--text-base); line-height: var(--lh-relaxed); color: var(--text); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--brand-subtle);
    display: flex; align-items: center; justify-content: center;
    font-weight: var(--fw-semibold);
    color: var(--brand);
    flex-shrink: 0;
    overflow: hidden;
}
.testimonial-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.testimonial-name { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text); }
.testimonial-role { font-size: var(--text-xs); color: var(--text-3); }
.testimonial-stars { display: flex; gap: 2px; color: #f59e0b; font-size: var(--text-sm); margin-bottom: var(--space-2); }

/* ── Pricing ── */
.pricing { padding-block: var(--space-9); background: var(--bg-subtle); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); align-items: stretch; }
.pricing-card {
    display: flex; flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-5);
    position: relative;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.pricing-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.pricing-card.popular { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-subtle); }
.pricing-card.popular:hover { box-shadow: 0 0 0 3px var(--brand-subtle), var(--shadow); }
.pricing-card .badge {
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    display: inline-flex; align-items: center; gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    background: var(--brand);
    color: var(--text-inverse);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    white-space: nowrap;
}
.pricing-card .plan-name { font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--text); margin-bottom: var(--space-2); }
.price-from-label { font-size: var(--text-xs); font-weight: var(--fw-medium); color: var(--text-3); margin-bottom: var(--space-1); display: block; }
.price {
    display: flex; align-items: baseline; gap: var(--space-1); flex-wrap: wrap;
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--text);
    line-height: 1.1;
    margin-bottom: var(--space-3);
}
.price small { font-size: var(--text-xs); font-weight: var(--fw-regular); color: var(--text-3); }
.plan-limits {
    display: flex; flex-wrap: wrap; gap: var(--space-2);
    padding: var(--space-3);
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-4);
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    color: var(--text-2);
}
.plan-limits span { display: inline-flex; align-items: center; gap: 4px; }
.features-list { flex: 1; display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.features-list li { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--text-sm); line-height: var(--lh-normal); color: var(--text-2); }
.features-list li i { flex-shrink: 0; margin-top: 3px; color: var(--success); font-size: var(--text-base); }
.btn-pricing { width: 100%; justify-content: center; }
.pricing-empty { grid-column: 1 / -1; text-align: center; color: var(--text-3); padding: var(--space-8); }

/* ── CTA Final ── */
.cta-final { padding-block: var(--space-9); background: var(--brand); color: var(--text-inverse); text-align: center; position: relative; overflow: hidden; }
.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 20% 30%, rgba(255, 255, 255, 0.1), transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 70%, rgba(255, 255, 255, 0.08), transparent 60%);
    pointer-events: none;
}
/* ── CTA Final — content styles ── */
.cta-final .container {
    position: relative;
    z-index: 1;
}

.cta-final h2 {
    color: var(--text-inverse);
    margin-bottom: var(--space-3);
    max-width: 720px;
    margin-inline: auto;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-base);
    max-width: 560px;
    margin: 0 auto var(--space-6);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--bg);
    color: var(--brand);
    border-radius: var(--radius);
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    box-shadow: var(--shadow-md);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ── Footer — 4-column grid (هماهنگ با PHP v5.1.0) ── */

/* ── Footer — 4-column grid (هماهنگ با PHP v5.1.0) ── */
.footer-landing {
    background: var(--ink);
    color: var(--text-inverse-2);
    padding-block: var(--space-9) var(--space-6);
    font-size: var(--text-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-7);
    margin-bottom: var(--space-7);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 320px;
}

.footer-brand .logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--text-inverse);
}

.footer-brand .logo i {
    color: var(--brand);
    font-size: 1.5rem;
}

.footer-brand p {
    font-size: var(--text-sm);
    line-height: var(--lh-relaxed);
    color: var(--text-inverse-2);
    margin: 0;
}

.footer-col h4 {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-col a {
    color: var(--text-inverse-2);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    transition: color var(--t-fast);
}

.footer-col a:hover {
    color: var(--text-inverse);
}

.footer-bottom {
    padding-top: var(--space-5);
    border-top: 1px solid var(--ink-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    font-size: var(--text-xs);
    color: var(--text-inverse-2);
}

.footer-bottom span {
    display: inline-block;
}
/* ── Accessibility ── */
.skip-link {
    position: absolute;
    top: -100px;
    right: var(--space-4);
    padding: var(--space-2) var(--space-4);
    background: var(--brand);
    color: var(--text-inverse);
    border-radius: var(--radius-sm);
    font-weight: var(--fw-semibold);
    z-index: 9999;
    transition: top var(--t-fast);
}
.skip-link:focus { top: var(--space-4); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── Gradient Text ── */
.gradient-text {
    background: linear-gradient(135deg, var(--brand) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: var(--fw-black);
}

/* ═══════════════════════════════════════════════════════
   FAQ PAGE (faq.php)
   ═══════════════════════════════════════════════════════ */
.faq-page { background: var(--bg); min-height: 100vh; padding-bottom: var(--space-9); }
.faq-page .breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1);
    padding: calc(var(--header-h) + var(--space-5)) 0 var(--space-4);
    list-style: none;
    font-size: var(--text-sm);
    color: var(--text-3);
}
.faq-page .breadcrumb li { display: inline-flex; align-items: center; }
.faq-page .breadcrumb li + li::before { content: '›'; margin: 0 var(--space-2); color: var(--text-3); font-size: var(--text-base); }
.faq-page .breadcrumb a { color: var(--text-2); font-weight: var(--fw-medium); transition: color var(--t-fast); }
.faq-page .breadcrumb a:hover { color: var(--brand); }

.faq-hero { text-align: center; padding: var(--space-6) 0 var(--space-8); max-width: 780px; margin: 0 auto; }
.faq-hero .icon-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px;
    border-radius: var(--radius-lg);
    background: var(--brand-subtle);
    color: var(--brand);
    font-size: 1.75rem;
    margin-bottom: var(--space-5);
    border: 1px solid var(--border);
}
.faq-hero h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: var(--fw-black); line-height: var(--lh-tight); color: var(--text); margin-bottom: var(--space-4); }
.faq-hero > p { font-size: var(--text-base); line-height: var(--lh-relaxed); color: var(--text-2); margin: 0 auto var(--space-6); max-width: 680px; }

.faq-search { position: relative; max-width: 520px; margin: 0 auto var(--space-6); }
.faq-search i { position: absolute; top: 50%; right: 18px; transform: translateY(-50%); color: var(--text-3); font-size: var(--text-lg); pointer-events: none; transition: color var(--t-fast); }
.faq-search input {
    width: 100%;
    padding: var(--space-3) 48px var(--space-3) var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-subtle);
    color: var(--text);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
    outline: none;
}
.faq-search input::placeholder { color: var(--text-3); }
.faq-search input:focus { border-color: var(--brand); background: var(--bg); box-shadow: 0 0 0 4px var(--brand-subtle); }
.faq-search:focus-within i { color: var(--brand); }

.faq-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-top: var(--space-2); }
.faq-toc a {
    display: inline-flex; align-items: center; gap: var(--space-1);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
    white-space: nowrap;
}
.faq-toc a i { font-size: var(--text-sm); color: var(--brand); transition: color var(--t-fast); }
.faq-toc a:hover { background: var(--brand); color: var(--text-inverse); border-color: var(--brand); }
.faq-toc a:hover i { color: var(--text-inverse); }

.faq-group { margin-bottom: var(--space-8); scroll-margin-top: calc(var(--header-h) + var(--space-4)); }
.faq-group-header {
    display: flex; align-items: center; gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border);
}
.faq-group-header .g-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: var(--brand-subtle);
    color: var(--brand);
    font-size: var(--text-lg);
    flex-shrink: 0;
}
.faq-group-header h2 { font-size: clamp(1.125rem, 2.2vw, 1.5rem); font-weight: var(--fw-bold); color: var(--text); line-height: var(--lh-snug); margin: 0; }

.faq-page .faq-list { display: flex; flex-direction: column; gap: var(--space-2); }
.faq-page .faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--t-fast), background var(--t-fast); }
.faq-page .faq-item:hover { border-color: var(--border-strong); }
.faq-page .faq-item[open] { border-color: var(--brand); }
.faq-page .faq-item summary {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text);
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
    list-style: none;
    line-height: var(--lh-normal);
    user-select: none;
}
.faq-page .faq-item summary::-webkit-details-marker { display: none; }
.faq-page .faq-item summary::after {
    content: '\ea4e';
    font-family: 'remixicon';
    font-size: var(--text-base);
    color: var(--text-3);
    flex-shrink: 0;
    transition: transform var(--t-fast), color var(--t-fast);
    line-height: 1;
}
.faq-page .faq-item[open] summary { color: var(--brand); }
.faq-page .faq-item[open] summary::after { transform: rotate(180deg); color: var(--brand); }
.faq-page .faq-item .faq-answer {
    padding: var(--space-3) var(--space-5) var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-2);
    line-height: var(--lh-relaxed);
    border-top: 1px solid var(--border);
}

.faq-no-result {
    display: none;
    text-align: center;
    padding: var(--space-7) var(--space-4);
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-strong);
    margin: var(--space-5) 0;
}
.faq-no-result i { font-size: 2.5rem; color: var(--text-3); margin-bottom: var(--space-3); display: block; }
.faq-no-result p { color: var(--text-2); font-size: var(--text-sm); font-weight: var(--fw-medium); margin: 0; }

.faq-cta {
    text-align: center;
    padding: var(--space-7) var(--space-5);
    margin: var(--space-8) 0 0;
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.faq-cta h2 { font-size: clamp(1.125rem, 2.2vw, 1.5rem); font-weight: var(--fw-bold); color: var(--text); margin-bottom: var(--space-2); }
.faq-cta p { font-size: var(--text-sm); color: var(--text-2); line-height: var(--lh-normal); margin-bottom: var(--space-5); }
.faq-cta a {
    display: inline-flex; align-items: center; gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius);
    background: var(--brand);
    color: var(--text-inverse);
    font-weight: var(--fw-semibold);
    font-size: var(--text-sm);
    transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
    box-shadow: var(--shadow-sm);
}
.faq-cta a:hover { background: var(--brand-hover); box-shadow: var(--shadow); transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════
   PLANS PAGE (plans.php)
   ═══════════════════════════════════════════════════════ */
.plans-hero {
    padding-block: calc(var(--header-h) + var(--space-8)) var(--space-7);
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 70%), var(--bg);
    text-align: center;
}
.plans-hero .brand-tagline {
    display: inline-flex; align-items: center; gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg);
    color: var(--text-2);
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-4);
}
.plans-hero .brand-tagline i { color: var(--brand); font-size: var(--text-sm); }
.plans-hero h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: var(--fw-black); line-height: var(--lh-tight); color: var(--text); margin-bottom: var(--space-3); max-width: 720px; margin-inline: auto; }
.plans-hero p { font-size: var(--text-base); color: var(--text-2); line-height: var(--lh-relaxed); max-width: 640px; margin: 0 auto; }

.duration-wrap { padding-block: var(--space-4); background: var(--bg); position: sticky; top: var(--header-h); z-index: 90; border-bottom: 1px solid var(--border); }
.duration-label { text-align: center; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-2); margin-bottom: var(--space-3); }
.duration-selector {
    display: flex; justify-content: center; gap: var(--space-1); flex-wrap: wrap;
    padding: var(--space-1);
    background: var(--bg-subtle);
    border-radius: var(--radius);
    max-width: fit-content;
    margin: 0 auto;
    border: 1px solid var(--border);
}
.duration-tab {
    position: relative;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-2);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
    display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
    min-width: 90px;
}
.duration-tab:hover { color: var(--brand); background: var(--brand-subtle); }
.duration-tab.active { background: var(--brand); color: var(--text-inverse); box-shadow: var(--shadow-sm); }
.duration-tab .dtag {
    font-size: 0.65rem;
    font-weight: var(--fw-semibold);
    padding: 2px 6px;
    border-radius: var(--radius-full);
    background: var(--success-subtle);
    color: var(--success);
    line-height: 1.4;
}
.duration-tab.active .dtag { background: rgba(255, 255, 255, 0.22); color: var(--text-inverse); }

.plans-section { padding-block: var(--space-7) var(--space-9); background: var(--bg); }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); max-width: 1200px; margin: 0 auto; }
.plan-card {
    display: flex; flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-5);
    position: relative;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    height: 100%;
    text-align: right;
}
.plan-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.plan-card.popular { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-subtle); }
.plan-card .badge {
    position: absolute;
    top: -12px; right: 50%;
    transform: translateX(50%);
    background: var(--brand);
    color: var(--text-inverse);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    white-space: nowrap;
    display: inline-flex; align-items: center; gap: var(--space-1);
    box-shadow: var(--shadow-sm);
}
.plan-card .plan-name { font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--text); margin-bottom: var(--space-2); line-height: var(--lh-snug); }
.plan-card .plan-desc { font-size: var(--text-sm); color: var(--text-2); line-height: var(--lh-normal); margin-bottom: var(--space-4); min-height: 2.6em; }

.plan-card .price-block {
    padding: var(--space-4) var(--space-3);
    background: var(--bg-subtle);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: var(--space-4);
    text-align: center;
}
.plan-card.popular .price-block { background: var(--brand-subtle); border-color: rgba(37, 99, 235, 0.15); }
.plan-card .price-block .price { display: flex; align-items: baseline; justify-content: center; gap: var(--space-1); flex-wrap: wrap; margin-bottom: var(--space-1); }
.plan-card .price-value { font-size: var(--text-2xl); font-weight: var(--fw-bold); color: var(--text); line-height: 1.1; }
.plan-card .price-block .price small { font-size: var(--text-xs); font-weight: var(--fw-regular); color: var(--text-3); }
/* ✅ بعد — بدون min-height، ریسپانسیو نسبت به محتوا */
.plan-card .price-meta {
    font-size: var(--text-xs);
    color: var(--text-2);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
    margin-bottom: var(--space-1);
}
.plan-card .price-old {
    font-size: var(--text-xs);
    color: var(--text-3);
    text-decoration: line-through;
    text-decoration-color: rgba(220, 38, 38, 0.5);
    text-decoration-thickness: 1.5px;
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-1);
}

/* ⭐ کلید ماجرا: پنهان کردن ردیف‌های خالی price-block */
.plan-card .price-block > .price-meta:empty,
.plan-card .price-block > .price-old:empty,
.plan-card .price-block > [data-discount-for]:empty {
    display: none;
}
.plan-card .discount-tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px var(--space-2);
    border-radius: var(--radius-full);
    background: var(--success-subtle);
    color: var(--success);
    font-size: 0.7rem;
    font-weight: var(--fw-semibold);
    border: 1px solid rgba(5, 150, 105, 0.2);
}
.plan-card .plan-limits {
    display: flex; justify-content: center; gap: var(--space-2); flex-wrap: wrap;
    padding: var(--space-2) var(--space-3);
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    color: var(--text-2);
}
.plan-card .plan-limits span { white-space: nowrap; }
.plan-card .features-list { flex: 1; display: flex; flex-direction: column; gap: var(--space-2); margin: 0 0 var(--space-5); padding: 0; text-align: right; }
.plan-card .features-list li { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-2); font-weight: var(--fw-regular); line-height: var(--lh-normal); }
.plan-card .features-list li i { color: var(--success); font-size: var(--text-base); flex-shrink: 0; margin-top: 3px; }
.plan-card .features-list li span { flex: 1; }

.info-strip {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3);
    max-width: 900px;
    margin: var(--space-7) auto 0;
    padding: var(--space-5);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.info-strip .item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-1); padding: var(--space-3); border-radius: var(--radius); }
.info-strip .item i { font-size: var(--text-xl); color: var(--brand); margin-bottom: var(--space-1); }
.info-strip .item .t { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text); line-height: var(--lh-snug); }
.info-strip .item .d { font-size: var(--text-xs); color: var(--text-3); font-weight: var(--fw-regular); line-height: var(--lh-normal); }

.plan-guide { padding-block: var(--space-9); background: var(--bg-subtle); }
.plan-guide .section-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-8); }
.plan-guide .section-header h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: var(--fw-bold); margin-bottom: var(--space-3); color: var(--text); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); max-width: 1000px; margin: 0 auto; }
.guide-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.guide-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.guide-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.guide-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--brand-subtle);
    color: var(--brand);
    font-size: var(--text-lg);
    flex-shrink: 0;
}
.guide-title-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.guide-title-wrap h3 { font-size: var(--text-base); font-weight: var(--fw-bold); color: var(--text); line-height: var(--lh-snug); margin: 0; }
.guide-sub { font-size: 0.65rem; font-weight: var(--fw-semibold); color: var(--text-3); letter-spacing: 1.5px; text-transform: uppercase; font-family: ui-monospace, 'Courier New', monospace; }
.guide-card p { font-size: var(--text-sm); color: var(--text-2); line-height: var(--lh-relaxed); margin: 0; }
.guide-note {
    display: inline-flex; align-items: center; gap: var(--space-2);
    margin: var(--space-6) auto 0;
    padding: var(--space-3) var(--space-4);
    background: var(--brand-subtle);
    border-radius: var(--radius);
    color: var(--brand);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    max-width: fit-content;
}

.plans-faq { padding-block: var(--space-9); background: var(--bg); }
.plans-faq .section-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-7); }
.plans-faq .section-header h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: var(--fw-bold); color: var(--text); }
.plans-faq .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-2); }
.plans-faq .faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--t-fast); }
.plans-faq .faq-item:hover { border-color: var(--border-strong); }
.plans-faq .faq-item[open] { border-color: var(--brand); }
.plans-faq .faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    cursor: pointer;
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    color: var(--text);
    list-style: none;
    user-select: none;
    line-height: var(--lh-normal);
    transition: color var(--t-fast);
}
.plans-faq .faq-item summary::-webkit-details-marker { display: none; }
.plans-faq .faq-item summary::after {
    content: '\ea4e';
    font-family: 'remixicon';
    font-size: var(--text-lg);
    color: var(--text-3);
    flex-shrink: 0;
    transition: transform var(--t-fast), color var(--t-fast);
}
.plans-faq .faq-item[open] summary { color: var(--brand); }
.plans-faq .faq-item[open] summary::after { transform: rotate(180deg); color: var(--brand); }
.plans-faq .faq-answer { padding: 0 var(--space-5) var(--space-5); font-size: var(--text-sm); color: var(--text-2); line-height: var(--lh-relaxed); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* Tablet — 1024px */
@media (max-width: 1024px) {
    :root { --container: 100%; --space-9: 4.5rem; }

    .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
    .hero-visual { max-width: 720px; margin: 0 auto; width: 100%; }

    .logo-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
    .ps-grid { grid-template-columns: 1fr; }
    .ps-arrow { transform: rotate(90deg); margin-block: var(--space-2); }

    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid > :nth-child(3) { grid-column: span 2; }

    .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
    .steps { grid-template-columns: repeat(2, 1fr); }

    .plans-grid { grid-template-columns: repeat(2, 1fr); max-width: 740px; }
    .guide-grid { grid-template-columns: 1fr; }
}

/* Mobile — 768px */
@media (max-width: 768px) {
    :root { --header-h: 60px; --space-9: 4rem; --space-8: 3rem; --space-7: 2rem; --ticker-duration: 25s; }

    .landing-header { padding: 0 var(--space-4); }
    .mobile-menu-toggle { display: inline-flex; }

    .landing-header .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: var(--space-2);
        padding: var(--space-4);
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .landing-header .nav-links.open { display: flex; }
    .landing-header .nav-links > a,
    .nav-dropdown-toggle {
        width: 100%;
        padding: var(--space-3);
        font-size: var(--text-base);
        border-radius: var(--radius-sm);
    }
    .nav-dropdown { width: 100%; display: block; }
    .nav-dropdown-toggle {
        justify-content: space-between;
        /* pointer-events: none حذف شد تا کلیک/تاچ کار کند */
    }

    /* FIX: منوی dropdown در موبایل به‌صورت باز/بسته با aria-expanded */
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-right: var(--space-4);
        background: transparent;
        display: none;
        flex-direction: column;
    }
    .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu { display: flex; }
    .nav-dropdown-menu::before { display: none; }

    .landing-header .nav-links .btn-nav {
        width: 100%;
        text-align: center;
        padding: var(--space-3);
        margin-top: var(--space-2);
    }

    /* Hero */
    .hero { padding-block: calc(var(--header-h) + var(--space-7)) var(--space-7); }
    .hero-content { align-items: center; text-align: center; }
    .brand-tagline { align-self: center; }
    .hero h1 { font-size: 1.6rem; text-align: center; }
    .hero h2 { font-size: 1rem; text-align: center; }
    .hero-lead { font-size: var(--text-base); text-align: center; }
    .hero-buttons { justify-content: center; width: 100%; }
    .hero-buttons .btn { flex: 1 1 auto; min-width: 140px; }

    .floating-badge { padding: var(--space-1) var(--space-2); font-size: 0.7rem; }
    .floating-badge-tr { top: var(--space-3); right: var(--space-3); }
    .floating-badge-bl { bottom: var(--space-3); left: var(--space-3); }
    .mockup::after { height: 18%; }

    .audience-wrap .audience-title { text-align: center; }
    .audience-ticker { -webkit-mask-image: none; mask-image: none; }

    /* Features → 1 column */
    .features-grid { grid-template-columns: 1fr; }

    /* Stats panel */
    /* Stats section */
    .stats-section { padding-block: var(--space-7); }
    .stats-section .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-section .stat-item { padding: var(--space-4); }
    .stats-section .stat-value { font-size: var(--text-2xl); }

    /* Steps */
    .steps { grid-template-columns: 1fr; gap: var(--space-5); }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid > :nth-child(3) { grid-column: auto; }

    /* Pricing */
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .price { font-size: var(--text-xl); }
    .pricing-card { padding: var(--space-5) var(--space-4); }

    /* CTA */
    .cta-final { padding-block: var(--space-8); }
    .btn-cta { padding: var(--space-3) var(--space-5); }

    /* Footer */
    /* Footer — mobile compact */
    .footer-landing {
        padding-block: var(--space-7) var(--space-5);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: var(--space-5);
    }

    .footer-brand {
        grid-column: auto;
        max-width: none;
        padding-bottom: var(--space-5);
        border-bottom: 1px solid var(--ink-border);
        gap: var(--space-2);
    }

    .footer-brand .logo { font-size: var(--text-base); }
    .footer-brand .logo i { font-size: 1.25rem; }
    .footer-brand p { font-size: var(--text-xs); color: var(--text-3); }

    .footer-col {
        padding-block: var(--space-3);
        border-bottom: 1px solid var(--ink-border);
    }

    .footer-col:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-col h4 {
        font-size: var(--text-xs);
        color: var(--text-3);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: var(--space-2);
    }

    .footer-col ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-1) var(--space-4);
    }

    .footer-col ul a {
        display: inline-block;
        padding: var(--space-2) 0;
        font-size: var(--text-sm);
        min-height: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
        padding-top: var(--space-4);
        font-size: 0.7rem;
        color: var(--text-3);
    }

    /* FAQ */
    .faq-page .breadcrumb { padding-top: calc(var(--header-h) + var(--space-4)); font-size: var(--text-xs); }
    .faq-hero { padding: var(--space-5) 0 var(--space-6); }
    .faq-hero .icon-badge { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: var(--space-4); }
    .faq-hero > p { font-size: var(--text-sm); }
    .faq-search input { padding: var(--space-3) 44px var(--space-3) var(--space-4); }
    .faq-group { margin-bottom: var(--space-7); }
    .faq-page .faq-item summary { padding: var(--space-3) var(--space-4); }
    .faq-page .faq-item .faq-answer { padding: var(--space-3) var(--space-4); }

    /* Plans */
    .plans-hero { padding-block: calc(var(--header-h) + var(--space-6)) var(--space-5); }
    .plans-hero h1 { font-size: 1.5rem; }
    .plans-hero p { font-size: var(--text-sm); }
    .duration-tab { padding: var(--space-2) var(--space-3); font-size: var(--text-xs); min-width: 72px; }
    .plans-grid { grid-template-columns: 1fr; max-width: 420px; }
    .plan-card { padding: var(--space-5) var(--space-4); }
    .plan-card .price-value { font-size: var(--text-xl); }
    .info-strip { grid-template-columns: 1fr; gap: var(--space-2); padding: var(--space-4); }
    .info-strip .item { flex-direction: row; text-align: right; justify-content: flex-start; gap: var(--space-3); }
    .info-strip .item i { margin-bottom: 0; flex-shrink: 0; }
    .plan-guide, .plans-faq { padding-block: var(--space-7); }
    .guide-card { padding: var(--space-4); }
    .plans-faq .faq-item summary { padding: var(--space-3) var(--space-4); font-size: var(--text-sm); }
    .plans-faq .faq-answer { padding: 0 var(--space-4) var(--space-4); font-size: var(--text-xs); }
}

/* Small Mobile — 480px */
@media (max-width: 480px) {
    :root { --space-9: 3.5rem; --space-8: 2.5rem; }
    .container { padding-inline: var(--space-4); }
    .hero h1 { font-size: 1.4rem; }
    .hero h2 { font-size: 0.9rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }

    /* FIX: Stats panel → 1 column on very small screens */
.stats-section .stats-grid { grid-template-columns: 1fr; }
	
    /* FAQ small */
    .faq-hero h1 { font-size: 1.4rem; }
    .faq-toc { flex-direction: column; align-items: stretch; }
    .faq-toc a { justify-content: center; }
    .faq-page .faq-item summary { padding: var(--space-3); font-size: var(--text-xs); }
    .faq-page .faq-item .faq-answer { padding: var(--space-2) var(--space-3) var(--space-3); font-size: var(--text-xs); }
    .faq-group-header h2 { font-size: 1.05rem; }

    /* Plans small */
    .plans-hero h1 { font-size: 1.35rem; }
    .duration-selector { width: 100%; max-width: 100%; justify-content: space-between; }
    .duration-tab { flex: 1; min-width: 0; padding: var(--space-2) 4px; font-size: var(--text-xs); }
    .plan-card .price-value { font-size: var(--text-lg); }
    .plan-card .plan-name { font-size: var(--text-base); }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .ticker-track { animation: none; transform: none !important; }
    .audience-ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* Print */
@media print {
.landing-header, .mobile-menu-toggle, .cta-final, .footer-landing,
.audience-section, .logo-wall, .hero-visual,
.faq-search, .faq-toc, .faq-cta, .duration-wrap, .info-strip {
        display: none !important;
    }
    body { color: #000; background: #fff; }
    .hero, .faq-page, .plans-hero { padding-block: var(--space-4); }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
}
/* ═══════════════════════════════════════════════════════
   27. CONTENT PAGES — About, Terms, Contact, Legal
   نسخهٔ یکپارچه — هماهنگ کامل با design tokens landing.css
   ═══════════════════════════════════════════════════════ */

/* ─── 27.0 Alias tokens برای سازگاری با فایل قدیمی ─── */
.page-hero,
.page-content,
.contact-form,
.contact-info-grid {
    --primary:         var(--brand);
    --primary-dark:    var(--brand-hover);
    --secondary:       #10b981;
    --text-dark:       var(--text);
    --text-gray:       var(--text-2);
    --text-muted:      var(--text-3);
    --bg-light:        var(--bg-subtle);
    --radius-xl:       20px;
    --transition:      220ms var(--ease);
    --font:            var(--font-sans);
}

/* ─── 27.1 HERO ─── */
.page-hero {
    padding-block: calc(var(--header-h) + var(--space-8)) var(--space-7);
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 500px at 90% -10%, rgba(37, 99, 235, 0.07), transparent 60%),
        radial-gradient(900px 400px at 10% 110%, rgba(16, 185, 129, 0.07), transparent 60%),
        linear-gradient(165deg, #f0f7ff 0%, #ffffff 50%, #f5f3ff 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--text-3);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-5);
}

.page-hero .breadcrumb a {
    color: var(--brand);
    text-decoration: none;
    transition: color var(--t-fast);
}

.page-hero .breadcrumb a:hover { color: var(--brand-hover); }

.page-hero .breadcrumb span:last-child {
    color: var(--text);
    font-weight: var(--fw-bold);
}

.page-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: var(--fw-black);
    line-height: 1.45;
    color: var(--text);
    letter-spacing: -0.3px;
    margin-bottom: var(--space-3);
}

.page-hero .page-subtitle {
    font-size: var(--text-lg);
    line-height: 2;
    color: var(--text-2);
    max-width: 680px;
    margin: 0 auto;
}

/* ─── 27.2 CONTENT ─── */
.page-content {
    padding-block: var(--space-8) var(--space-9);
    background: var(--bg);
}

.container-narrow {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.page-content h2 {
    font-size: clamp(1.25rem, 2.4vw, 1.8rem);
    font-weight: var(--fw-black);
    color: var(--text);
    margin: var(--space-7) 0 var(--space-4);
    padding-inline-start: var(--space-4);
    position: relative;
    letter-spacing: -0.2px;
    line-height: var(--lh-snug);
    border: none;
}

.page-content h2::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--brand), var(--success));
}

.page-content h2:first-of-type { margin-top: 0; }

.page-content h3 {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--text);
    margin: var(--space-6) 0 var(--space-3);
    line-height: var(--lh-snug);
    border: none;
    padding: 0;
}

.page-content h4 {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--text);
    margin: var(--space-5) 0 var(--space-2);
    line-height: var(--lh-snug);
    border: none;
    padding: 0;
}

.page-content p {
    font-size: var(--text-base);
    line-height: 2;
    color: var(--text-2);
    margin-bottom: var(--space-4);
}

.page-content strong { color: var(--text); font-weight: var(--fw-bold); }

.page-content a {
    color: var(--brand);
    text-decoration: none;
    font-weight: var(--fw-bold);
    border-bottom: 1.5px dashed rgba(37, 99, 235, 0.35);
    transition: color var(--t-fast), border-color var(--t-fast);
}

.page-content a:hover {
    color: var(--brand-hover);
    border-bottom-style: solid;
    border-bottom-color: var(--brand-hover);
}

/* Lists — rich bullet / numbered style */
.page-content ul,
.page-content ol {
    margin: var(--space-4) 0;
    padding: 0;
    list-style: none;
    line-height: 2;
    color: var(--text-2);
}

.page-content ul li {
    position: relative;
    padding-inline-start: var(--space-6);
    margin-bottom: var(--space-3);
    font-size: var(--text-base);
    line-height: var(--lh-relaxed);
    transition: color var(--t-fast);
}

.page-content ul li::before {
    content: '✓';
    position: absolute;
    inset-inline-start: 0;
    top: 0.2rem;
    width: 1.3rem;
    height: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: var(--fw-black);
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--success));
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.page-content ul li:hover { color: var(--text); }

.page-content ol { counter-reset: mr-counter; }

.page-content ol li {
    position: relative;
    padding-inline-start: var(--space-7);
    margin-bottom: var(--space-3);
    font-size: var(--text-base);
    line-height: var(--lh-relaxed);
    counter-increment: mr-counter;
}

.page-content ol li::before {
    content: counter(mr-counter);
    position: absolute;
    inset-inline-start: 0;
    top: 0.15rem;
    width: 1.6rem;
    height: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: var(--fw-black);
    color: var(--brand);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 50%;
}

/* ─── 27.3 Info / Warning boxes ─── */
.page-content .info-box {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border: 1px solid #dbeafe;
    border-inline-start: 4px solid var(--brand);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    margin: var(--space-5) 0;
    font-size: var(--text-base);
    line-height: 2;
    color: #1e3a8a;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}

.page-content .info-box strong {
    display: block;
    color: #1e40af;
    font-weight: var(--fw-black);
    margin-bottom: var(--space-1);
}

.page-content .warning-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-inline-start: 4px solid #f59e0b;
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    margin: var(--space-5) 0;
    font-size: var(--text-base);
    line-height: 2;
    color: #92400e;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.06);
}

/* ─── 27.4 Team grid ─── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-5);
    margin: var(--space-6) 0 var(--space-4);
}

.team-card {
    position: relative;
    text-align: center;
    padding: var(--space-6) var(--space-5);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med), background var(--t-med);
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -60%;
    inset-inline-end: -30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand);
    background: var(--bg);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.team-card:hover::before { opacity: 1; }

.team-card .avatar-lg {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--success));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-black);
    font-size: 1.9rem;
    margin: 0 auto var(--space-4);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    transition: transform var(--t-med), box-shadow var(--t-med);
}

.team-card:hover .avatar-lg {
    transform: scale(1.06) rotate(-3deg);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.team-card .name {
    font-weight: var(--fw-black);
    font-size: var(--text-base);
    color: var(--text);
    margin-bottom: var(--space-1);
}

.team-card .role {
    color: var(--text-2);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* ─── 27.5 Contact form ─── */
.contact-form {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: var(--space-5) 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.contact-form label {
    display: block;
    font-weight: var(--fw-bold);
    font-size: var(--text-sm);
    color: var(--text);
    margin-bottom: var(--space-2);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: var(--text-sm);
    background: var(--bg);
    color: var(--text);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-subtle);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form .form-group { margin-bottom: var(--space-4); }

.contact-form button {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: var(--space-3) var(--space-7);
    border-radius: var(--radius);
    font-weight: var(--fw-bold);
    font-size: var(--text-base);
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    font-family: inherit;
}

.contact-form button:hover {
    background: var(--brand-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

/* ─── 27.6 Contact info cards ─── */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-4);
    margin: var(--space-5) 0;
}

.contact-info-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);
}

.contact-info-card .icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto var(--space-3);
}

.contact-info-card h3 {
    font-size: var(--text-base);
    font-weight: var(--fw-bold);
    color: var(--text);
    margin-bottom: var(--space-1);
}

.contact-info-card p,
.contact-info-card a {
    font-size: var(--text-sm);
    color: var(--text-2);
    text-decoration: none;
    transition: color var(--t-fast);
}

.contact-info-card a:hover { color: var(--brand); }

/* ─── 27.7 Fade-up animation ─── */
@media (prefers-reduced-motion: no-preference) {
    .page-content > .container-narrow > * {
        animation: mr-fadeUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    }
}

@keyframes mr-fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── 27.8 Responsive ─── */
@media (max-width: 1024px) {
    .page-hero {
        padding-block: calc(var(--header-h) + var(--space-6)) var(--space-6);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding-block: calc(var(--header-h) + var(--space-5)) var(--space-5);
    }

    .page-hero h1 { font-size: 1.75rem; line-height: 1.5; }
    .page-hero .page-subtitle { font-size: var(--text-base); line-height: 1.9; }

    .page-content { padding-block: var(--space-6) var(--space-7); }

    .page-content h2 { font-size: 1.4rem; margin-top: var(--space-6); }

    .container-narrow { padding: 0 var(--space-4); }

    .team-grid { gap: var(--space-4); }
    .team-card { padding: var(--space-5) var(--space-4); }
    .team-card .avatar-lg { width: 72px; height: 72px; font-size: 1.6rem; }
}

@media (max-width: 640px) {
    .contact-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .page-hero .breadcrumb { font-size: 0.78rem; padding: var(--space-1) var(--space-3); }

    .page-content p,
    .page-content ul li,
    .page-content ol li {
        font-size: var(--text-sm);
    }
}
/* ═══════════════════════════════════════════════════════
   28. STATS SECTION — Dark (برای landing.php)
   ═══════════════════════════════════════════════════════ */
.stats-section {
    padding-block: var(--space-9);
    background: var(--ink);
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 80%);
    pointer-events: none;
}

.stats-inner {
    position: relative;
    z-index: 1;
}

.stats-section .stats-panel-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.stats-section .stats-panel-header h2 {
    color: var(--text-inverse);
    margin-bottom: var(--space-3);
}

.stats-section .stats-panel-header p {
    color: var(--text-inverse-2);
    font-size: var(--text-base);
    margin: 0;
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-5);
    max-width: 900px;
    margin: 0 auto;
}

.stats-section .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2);
    padding: var(--space-5) var(--space-4);
    border-radius: var(--radius);
    border: 1px solid var(--ink-border);
    background: rgba(255, 255, 255, 0.02);
}

.stats-section .stat-value {
    font-size: var(--text-3xl);
    font-weight: var(--fw-black);
    color: var(--text-inverse);
    line-height: 1.1;
}

.stats-section .stat-label {
    font-size: var(--text-sm);
    color: var(--text-inverse-2);
    font-weight: var(--fw-medium);
    line-height: var(--lh-normal);
}

/* ─── Button sizes ─── */
.btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ─── Hero trust list ─── */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-3);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.hero-trust i {
    color: var(--success);
    font-size: var(--text-sm);
}

/* ─── Mockup browser bar ─── */
.mockup-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-2) var(--space-3);
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
}

.mockup-browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-strong);
}

.mockup-browser-bar span:nth-child(1) { background: #fca5a5; }
.mockup-browser-bar span:nth-child(2) { background: #fcd34d; }
.mockup-browser-bar span:nth-child(3) { background: #86efac; }

/* ─── Print: hide extras ─── */
@media print {
    .stats-section { background: #fff; color: #000; }
}

/* ═══════════════════════════════════════════════════════
   29. LOGO / BRAND MARK — کامپوننت قابل استفاده در هر جا
   ═══════════════════════════════════════════════════════ */

/* ─── Base logo (used in header, footer, etc.) ─── */
.logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--text);
    line-height: 1;
    text-decoration: none;
    transition: opacity var(--t-fast), transform var(--t-fast);
    -webkit-tap-highlight-color: transparent;
}

.logo:hover { opacity: 0.9; }
.logo:active { transform: scale(0.98); }

.logo:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

/* ─── Icon (Remixicon or SVG) ─── */
.logo > i,
.logo > svg {
    color: var(--brand);
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

/* ─── If logo uses <img> instead of <i> ─── */
.logo > img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ─── Wordmark (text) ─── */
.logo > span {
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* ─── Variations ─── */

/* Icon-only (no text) — e.g. favicon-style square */
.logo--icon-only > span { display: none; }

/* Small (mobile header, breadcrumbs) */
.logo--sm { font-size: var(--text-base); gap: var(--space-1); }
.logo--sm > i,
.logo--sm > svg { font-size: 1.25rem; }
.logo--sm > img { width: 24px; height: 24px; }

/* Large (hero, about page intro) */
.logo--lg { font-size: var(--text-xl); gap: var(--space-3); }
.logo--lg > i,
.logo--lg > svg { font-size: 2rem; }
.logo--lg > img { width: 44px; height: 44px; }

/* Extra large (splash/centered — e.g. about page) */
.logo--xl { flex-direction: column; gap: var(--space-3); font-size: var(--text-2xl); }
.logo--xl > i,
.logo--xl > svg { font-size: 3rem; }
.logo--xl > img { width: 64px; height: 64px; }

/* Stacked: icon on top, wordmark below (column) */
.logo--stacked {
    flex-direction: column;
    gap: var(--space-2);
    align-items: center;
    text-align: center;
}

/* ─── Color contexts ─── */

/* On dark background (footer, dark sections) */
.logo--on-dark { color: var(--text-inverse); }
.logo--on-dark > i,
.logo--on-dark > svg { color: var(--brand); }

/* On brand-colored background (cta-final) */
.logo--on-brand { color: var(--text-inverse); }
.logo--on-brand > i,
.logo--on-brand > svg { color: var(--text-inverse); }

/* ─── App badge / PWA icon (square with rounded corners) ─── */
.app-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--brand) 0%, #4f46e5 100%);
    color: var(--text-inverse);
    font-size: 1.75rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.app-logo--sm { width: 40px; height: 40px; font-size: 1.25rem; border-radius: var(--radius); }
.app-logo--lg { width: 72px; height: 72px; font-size: 2.25rem; border-radius: 20px; }
.app-logo--xl { width: 96px; height: 96px; font-size: 3rem; border-radius: 24px; }

/* App logo with image */
.app-logo img,
.app-logo svg {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* ─── Already-existing logo overrides (header & footer) ─── */

/* Header: inherited from .logo base */
.landing-header .logo { color: var(--text); }

/* Footer: ensure white text (dark background) */
.footer-brand .logo {
    color: var(--text-inverse);
}

.footer-brand .logo > i,
.footer-brand .logo > svg {
    color: var(--brand);
}

/* ─── Responsive tweaks ─── */
@media (max-width: 768px) {
    .logo { font-size: var(--text-base); }
    .logo > i,
    .logo > svg { font-size: 1.25rem; }

    .logo--lg { font-size: var(--text-lg); }
    .logo--lg > i,
    .logo--lg > svg { font-size: 1.75rem; }

    .app-logo { width: 48px; height: 48px; font-size: 1.5rem; }
}