/* ── Variables ── */
:root {
    --rose: #F43F5E;
    --rose-light: #FB7185;
    --rose-pale: #FFF1F2;
    --purple: #9333EA;
    --purple-light: #A855F7;
    --purple-pale: #FAF5FF;
    --pink: #EC4899;
    --indigo: #6366F1;
    --gradient: linear-gradient(135deg, #F43F5E 0%, #9333EA 100%);
    --gradient-soft: linear-gradient(135deg, #FFF1F2 0%, #FAF5FF 100%);
    --text: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --surface: #FFFFFF;
    --surface-2: #F8FAFC;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.06);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xl: 28px;
    --font: 'Vazirmatn', 'Inter', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

/* ── Container ── */
.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: #fff;
    padding: 10px 22px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(244,63,94,.35);
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(244,63,94,.4); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ── Store Badges ── */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0F172A;
    color: #fff;
    padding: 10px 20px;
    border-radius: 14px;
    transition: transform .2s, box-shadow .2s, background .2s;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    min-width: 148px;
}
.store-badge:hover {
    background: #1E293B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.22);
}
.store-icon { width: 22px; height: 22px; flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; gap: 1px; }
.store-sub { font-size: 0.65rem; opacity: .7; font-family: 'Inter', sans-serif; font-weight: 400; line-height: 1; }
.store-name { font-size: 1rem; font-weight: 700; font-family: 'Inter', sans-serif; line-height: 1.2; }

.store-badge-lg { padding: 13px 24px; border-radius: 16px; min-width: 168px; }
.store-badge-lg .store-icon { width: 26px; height: 26px; }
.store-badge-lg .store-sub { font-size: 0.7rem; }
.store-badge-lg .store-name { font-size: 1.15rem; }

/* ── Header ── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.header.scrolled {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}
.logo-link { display: flex; align-items: center; }
.logo { height: 40px; width: auto; }

.nav ul { display: flex; gap: 8px; align-items: center; }
.nav ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
    transition: color .2s, background .2s;
}
.nav ul li a:hover { color: var(--text); background: var(--surface-2); }

/* ── Blobs (decorative shapes) ── */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    pointer-events: none;
}

/* ── Hero ── */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: var(--gradient-soft);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob-1 { width: 500px; height: 500px; background: var(--rose); top: -100px; right: -120px; }
.blob-2 { width: 400px; height: 400px; background: var(--purple); bottom: -80px; left: -100px; }
.blob-3 { width: 300px; height: 300px; background: var(--pink); top: 50%; right: 40%; transform: translateY(-50%); }

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text { display: flex; flex-direction: column; gap: 24px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.8);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    width: fit-content;
    backdrop-filter: blur(8px);
}
.badge-dot {
    width: 8px; height: 8px;
    background: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34,197,94,.2);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
    50% { box-shadow: 0 0 0 6px rgba(34,197,94,.1); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    letter-spacing: -0.02em;
    color: var(--text);
}
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.8;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 8px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ── Hero Screens ── */
.hero-screens { display: flex; justify-content: center; align-items: center; }
.screen-wrapper {
    position: relative;
    width: 320px;
    height: 500px;
}
.screen {
    position: absolute;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255,255,255,.6);
}
.screen img { width: 100%; height: 100%; object-fit: cover; }
.screen-front {
    width: 200px; height: 420px;
    top: 40px; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: floatCenter 4s ease-in-out infinite;
}
.screen-back {
    width: 170px; height: 360px;
    top: 20px; left: 10px;
    z-index: 2;
    transform: rotate(-8deg);
    opacity: .85;
    animation: floatLeft 4.5s ease-in-out infinite;
}
.screen-side {
    width: 170px; height: 360px;
    top: 20px; right: 10px;
    z-index: 2;
    transform: rotate(8deg);
    opacity: .85;
    animation: floatRight 5s ease-in-out infinite;
}
@keyframes floatCenter {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}
@keyframes floatLeft {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50% { transform: rotate(-8deg) translateY(-8px); }
}
@keyframes floatRight {
    0%, 100% { transform: rotate(8deg) translateY(0); }
    50% { transform: rotate(8deg) translateY(-10px); }
}

/* ── Section Header ── */
.section-header {
    text-align: center;
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.section-tag {
    display: inline-block;
    background: var(--gradient);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text);
    letter-spacing: -0.02em;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 500px;
}

/* ── Features ── */
.features {
    padding: 100px 0;
    background: var(--surface);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    opacity: 0;
    transform: translateY(20px);
}
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: transform .5s ease, box-shadow .3s, border-color .3s, opacity .5s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.icon-rose { background: #FFF1F2; color: var(--rose); }
.icon-purple { background: #FAF5FF; color: var(--purple); }
.icon-pink { background: #FDF2F8; color: var(--pink); }
.icon-indigo { background: #EEF2FF; color: var(--indigo); }

.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ── Screenshots ── */
.screenshots {
    padding: 100px 0;
    background: var(--gradient-soft);
}
.screenshots-row {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.screenshot-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .4s, box-shadow .4s;
    opacity: 0;
    transform: scale(0.95);
    width: 200px;
}
.screenshot-item.visible {
    opacity: 1;
    transform: scale(1);
    transition: transform .5s ease, box-shadow .4s, opacity .5s ease;
}
.screenshot-item:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.screenshot-featured {
    width: 240px;
    box-shadow: var(--shadow-lg);
}
.screenshot-item img { width: 100%; height: auto; display: block; }

/* ── Download CTA ── */
.download-cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--surface);
}
.download-cta-bg { position: absolute; inset: 0; }
.blob-cta-1 { width: 600px; height: 600px; background: var(--rose); top: -200px; left: -200px; opacity: .1; }
.blob-cta-2 { width: 500px; height: 500px; background: var(--purple); bottom: -200px; right: -100px; opacity: .1; }

.download-card {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 680px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(24px);
}
.download-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}
.download-logo img { height: 80px; width: auto; }
.download-card h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
.download-card > p { font-size: 1.1rem; color: var(--text-muted); }
.download-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.download-note {
    font-size: 0.85rem !important;
    color: var(--text-light) !important;
    margin-top: -4px;
}

/* ── Footer ── */
.footer {
    background: var(--text);
    color: rgba(255,255,255,.7);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    padding: 64px 0 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { height: 44px; width: 44px; border-radius: 12px; object-fit: cover; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 280px; }

.footer-links { display: flex; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 600; letter-spacing: .04em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,.55);
    transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { font-size: 0.85rem; }

/* ── Account Page ── */
.account-page { padding: 120px 0 80px; }

.account-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 56px;
}
.account-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: -0.02em;
}
.account-hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 500px;
}

.account-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
    margin-bottom: 64px;
}

.steps-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-body { padding-top: 6px; }
.step-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step-body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.step-body strong { color: var(--rose); }

.step-connector {
    width: 2px;
    height: 32px;
    background: var(--border);
    margin-right: 19px;
}

.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-top: 28px;
}
.warning-box svg { width: 20px; height: 20px; color: #F97316; flex-shrink: 0; margin-top: 1px; }
.warning-box p { font-size: 0.9rem; color: #92400E; line-height: 1.6; margin: 0; }

.screenshot-card { position: sticky; top: 100px; }
.phone-frame {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid #fff;
    outline: 1px solid var(--border);
}
.phone-frame img { width: 100%; display: block; }

.account-download {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 48px;
    background: var(--gradient-soft);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}
.account-download > p { font-size: 1.1rem; color: var(--text-muted); }
.account-download .download-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 768px) {
    .account-layout { grid-template-columns: 1fr; }
    .screenshot-card { position: static; max-width: 280px; margin: 0 auto; }
    .steps-card { padding: 28px 24px; }
}

/* ── Privacy Page ── */
.privacy-page { padding: 120px 0 80px; }
.privacy-page .prose {
    max-width: 780px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 56px;
    box-shadow: var(--shadow);
}
.privacy-page h1 {
    font-size: 2.4rem;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}
.privacy-page .meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 40px; }
.privacy-page h2 {
    font-size: 1.2rem;
    color: var(--text);
    margin-top: 32px;
    margin-bottom: 10px;
}
.privacy-page p {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { padding: 120px 0 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-screens { order: -1; }
    .screen-wrapper { width: 280px; height: 420px; }
    .screen-front { width: 170px; height: 360px; }
    .screen-back, .screen-side { width: 140px; height: 300px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { flex-direction: column; gap: 24px; }
    .nav ul { display: none; }
    .download-card { padding: 40px 24px; }
    .screenshot-item { width: 150px; }
    .screenshot-featured { width: 180px; }
    .hero-stats { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .download-buttons { flex-direction: column; align-items: center; }
}
