@font-face {
    font-family: farhang2fanum;
    font-style: normal;
    src: url('../fonts/Farhang2FaNum-Bold.ttf') format('truetype');
}
@font-face {
    font-family: kalameh;
    font-style: normal;
    src: url('../fonts/Kalameh-Regular.ttf') format('truetype');
}

:root {
    --brand: #872017;
    --brand-dark: #5e1610;
    --brand-light: #a8362b;
    --gold: #d4a64a;
    --gold-dark: #b3862e;
    --gold-soft: #f3e3b8;

    --bg: #fbf8f5;
    --fg: #1d1410;
    --muted: #7a6b65;
    --card: #ffffff;
    --border: #ece4dd;
    --accent: #f7ece4;

    --radius: 14px;
    --radius-lg: 24px;
    --shadow-elegant: 0 20px 60px -20px rgba(135, 32, 23, 0.28);
    --shadow-gold: 0 12px 40px -12px rgba(212, 166, 74, 0.55);
    --gradient-hero: linear-gradient(135deg, #990b07 0%, #7E2320 100%);
    --gradient-gold: linear-gradient(135deg, hsl(33.23deg 100% 50%) 0%, hsl(46.15deg 100% 50%) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { direction: rtl; scroll-behavior: smooth; }
body {
    font-family: "farhang2fanum", Tahoma, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: var(--radius); font-weight: 700;
    font-size: 0.95rem; transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn-gold {
    background: var(--gradient-gold); color: #3d2a08;
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px) scale(1.01); }
.btn-ghost {
    background: rgba(255,255,255,0.08); color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-block { width: 100%; margin-top: 24px; }

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(251, 248, 245, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-logo {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--gradient-gold);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.nav-links { display: none; gap: 28px; font-size: 0.92rem; color: var(--muted); }
.nav-links a:hover { color: var(--brand); }
.nav-phone { font-size: 0.9rem; font-weight: 600; color: var(--fg); }
.nav-phone:hover { color: var(--brand); }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--gradient-hero); color: #fff; }
.hero-bg {
    position: absolute; inset: 0; opacity: .35; mix-blend-mode: soft-light;
    background:
            radial-gradient(circle at 20% 20%, rgba(244, 200, 100, 0.6), transparent 40%),
            radial-gradient(circle at 85% 75%, rgba(255, 90, 60, 0.45), transparent 45%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid; gap: 48px; align-items: center;
    padding: 80px 20px 100px;
}
@media (min-width: 960px) {
    .hero-grid { grid-template-columns: 1.1fr 0.9fr; padding: 110px 20px 130px; }
}
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    font-size: 0.78rem; font-weight: 500;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.06);
}
.dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }

.hero-text h1 {
    margin-top: 20px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.2; font-weight: 800; letter-spacing: -0.5px;
}
.gradient-text {
    display: block; margin-top: 10px;
    background: var(--gradient-gold);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.lead { margin-top: 22px; font-size: 1.075rem; color: rgba(255,255,255,0.82); max-width: 560px; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.stats { margin-top: 48px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;text-align: center; }
.stats dt { font-size: 1.85rem; font-weight: 800; color: var(--gold-soft); }
.stats dd { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

.hero-img-wrap { position: relative; }
.hero-img-glow {
    position: absolute; inset: -20px; border-radius: 32px;
    background: var(--gradient-gold); filter: blur(40px); opacity: 0.5;
}
.hero-img-wrap img {
    position: relative; border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow-elegant);
}

/* Facts */
.facts { margin-top: -56px; position: relative; z-index: 5; }
.facts-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .facts-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .facts-grid { grid-template-columns: repeat(4,1fr); } }
.fact-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    justify-content: space-around;
    align-items: baseline;
}
.fact-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(135,32,23,0.10); }
.fact-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--accent); color: var(--brand);
    display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
    margin-bottom: 14px;
}
.fact-label { font-size: 0.78rem; color: var(--muted); }
.fact-value { font-size: 1.15rem; font-weight: 800; margin-top: 4px; }

.capacity-card {
    margin-top: 24px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 22px;
}
.capacity-head { display: flex; justify-content: space-between; font-size: 0.92rem; margin-bottom: 10px; font-weight: 500; }
.capacity-bar { height: 10px; background: var(--accent); border-radius: 999px; overflow: hidden; }
.capacity-fill { height: 100%; background: var(--gradient-gold); border-radius: 999px; }

/* Sections */
.section { padding: 96px 20px; }
.eyebrow {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 2px;
    color: var(--brand); text-transform: uppercase;
}
h2 {
    margin-top: 8px; font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800; letter-spacing: -0.4px;
}
.section-lead { margin-top: 16px; color: var(--muted); max-width: 640px; }

/* Roadmap */
.roadmap {
    background: linear-gradient(180deg, #f5ede5 0%, #fbf8f5 100%);
    border-block: 1px solid var(--border);
    padding: 96px 0;
}
.roadmap-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    flex-wrap: wrap; gap: 16px; margin-bottom: 48px;
}
.roadmap-head p { max-width: 380px; }

.weeks-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .weeks-grid { grid-template-columns: repeat(2,1fr); } }

.week-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 24px; padding: 28px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.week-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-elegant);
    transform: translateY(-3px);
}
.week-head { display: flex; gap: 16px; align-items: flex-start; }
.week-icon {
    width: 50px; height: 50px; border-radius: 14px;
    background: var(--gradient-gold); color: #3d2a08;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
}
.week-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.week-tag { font-size: 0.78rem; font-weight: 700; color: var(--brand); }
.week-num { font-size: 0.78rem; color: var(--muted); }
.week-title { font-size: 1.2rem; font-weight: 800; margin-top: 4px; }
.week-goal { margin-top: 8px; font-size: 0.92rem; color: var(--muted); }
.week-list {
    list-style: none; margin-top: 20px; padding-top: 20px;
    border-top: 1px solid var(--border);
    display: grid; gap: 10px;
}
.week-list li {
    display: flex; gap: 10px; font-size: 0.92rem; line-height: 1.6;
}
.week-list li::before {
    content: "✓"; color: var(--brand); font-weight: 800; flex-shrink: 0;
}

/* Register */
.register-grid {
    display: grid; gap: 40px; align-items: start;
}
@media (min-width: 960px) {
    .register-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
}
.info-list {
    list-style: none; margin-top: 32px; display: grid; gap: 16px;
}
.info-list li { display: flex; gap: 14px; align-items: center; }
.info-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--accent); color: var(--brand);
    display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}

.form-wrap { position: relative; }
.form-glow {
    position: absolute; inset: -8px; border-radius: 28px;
    background: var(--gradient-gold); filter: blur(36px); opacity: 0.25;
}
.form-card {
    position: relative;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 24px; padding: 32px;
    box-shadow: var(--shadow-elegant);
}
.form-card h3 { font-size: 1.4rem; font-weight: 800; }
.form-card > .small { margin-top: 4px; }

.field { display: block; margin-top: 18px; }
.field span {
    display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px;
}
.field i { color: var(--brand); font-style: normal; }
.field input, .field textarea {
    width: 100%; padding: 12px 16px; border-radius: 12px;
    background: var(--bg); border: 1px solid var(--border);
    color: var(--fg); font-family: inherit; font-size: 0.95rem;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(135,32,23,0.12);
}
.field textarea { resize: none; }
.row-2 { display: grid; gap: 14px; }
@media (min-width: 540px) { .row-2 { grid-template-columns: 1fr 1fr; } }

.form-card.success { text-align: center; padding: 56px 32px; }
.check {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--gradient-gold); color: #3d2a08;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 800; margin-bottom: 20px;
}
.form-card.success h3 { font-size: 1.5rem; }
.form-card.success p { margin-top: 12px; }

/* Footer */
.footer { background: var(--brand-dark); color: #fff; margin-top: 40px; }
.footer-inner {
    padding: 40px 20px; display: grid; gap: 16px; align-items: center;
    font-size: 0.92rem;
}
@media (min-width: 760px) {
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
    .footer-phone { justify-self: center; }
    .copy { justify-self: end; }
}
.brand-light { color: #fff; }
.footer-phone { color: rgba(255,255,255,0.85); }
.footer-phone:hover { color: var(--gold-soft); }
.copy { color: rgba(255,255,255,0.6); }
p {
    font-family: 'kalameh' !important;
}