/* صفحه‌ی معرفی عمومی (index.php) — بدون CDN و فونت خارجی */
:root {
    --brand: #0f766e;
    --brand-dark: #115e59;
    --brand-light: #ccfbf1;
    --ink: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --bg: #f8fafc;
    --card: #fff;
    --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Vazirmatn", "Vazir", Tahoma, "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.9;
    font-size: 16px;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
a:focus-visible, .btn:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
h1, h2, h3 { line-height: 1.5; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.skip {
    position: absolute; inset-inline-start: 8px; top: -60px; z-index: 10;
    background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* سربرگ */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; }
.brand img { width: 36px; height: 36px; }
.nav { display: none; gap: 20px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--brand); }

/* دکمه‌ها */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 10px 22px; border-radius: 12px;
    font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent;
    transition: background-color .15s, color .15s;
}
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 14px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-light); }

/* هیرو */
.hero {
    background: radial-gradient(circle at top right, #134e4a, #0f172a 70%);
    color: #fff; padding: 56px 0 64px;
}
.hero .eyebrow {
    display: inline-block; background: rgba(204,251,241,.15); color: var(--brand-light);
    padding: 4px 14px; border-radius: 999px; font-size: 14px; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(26px, 6vw, 42px); font-weight: 800; }
.hero .lead { font-size: clamp(16px, 2.6vw, 19px); color: #e2e8f0; max-width: 640px; }
.hero .actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero .note { font-size: 14px; color: #cbd5e1; margin-top: 14px; }

/* بخش‌ها */
section { padding: 56px 0; }
section.alt { background: #fff; border-block: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(22px, 4.5vw, 30px); font-weight: 800; }
.sec-head p { color: var(--muted); }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px;
}
.card h3 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.ico {
    flex: none; width: 40px; height: 40px; border-radius: 12px;
    background: var(--brand-light); color: var(--brand-dark);
    display: inline-flex; align-items: center; justify-content: center;
}
.ico svg { width: 22px; height: 22px; }

/* مراحل سفارش */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li {
    counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 18px 70px 18px 18px;
}
.steps li::before {
    content: counter(step, persian); position: absolute; inset-inline-start: 18px; top: 18px;
    width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.steps strong { display: block; font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }

/* ورود */
.access { display: grid; gap: 16px; grid-template-columns: 1fr; }
.access .card.cta { background: var(--brand); border-color: var(--brand); color: #fff; }
.access .card.cta p { color: #e6fffa; }
.check { list-style: none; padding: 0; margin: 0 0 18px; }
.check li { padding-inline-start: 26px; position: relative; margin-bottom: 8px; color: var(--muted); }
.check li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 800; }

/* پاورقی */
.foot { background: var(--ink); color: #cbd5e1; padding: 28px 0; font-size: 14px; }
.foot .wrap { display: flex; flex-direction: column; gap: 10px; }
.foot a { color: #e2e8f0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }

@media (min-width: 640px) {
    .hero .actions { flex-direction: row; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .foot .wrap { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 900px) {
    .nav { display: flex; }
    .hero { padding: 88px 0 96px; }
    section { padding: 72px 0; }
    .grid { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .access { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
