/* سرزمین آموزش — طرح جدید (لایهٔ تم). بعد از style.css و pages.css بارگذاری می‌شود و توکن‌ها و اجزای اصلی را بازطراحی می‌کند. */
:root {
  --navy: #12405c;
  --navy-dark: #0a2536;
  --orange: #F5A623;
  --orange-dark: #D98A0E;
  --green: #2FA36B;
  --cream: #F4F7FA;
  --cream-2: #E9F0F6;
  --ink: #1b2b37;
  --line: rgba(18, 64, 92, .11);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 1px 2px rgba(10, 37, 54, .05), 0 14px 34px rgba(10, 37, 54, .08);
  --shadow-lift: 0 2px 4px rgba(10, 37, 54, .06), 0 26px 56px rgba(10, 37, 54, .16);
  --grad-hero: radial-gradient(900px 420px at 85% -10%, rgba(245, 166, 35, .22), transparent 60%), radial-gradient(700px 500px at 0% 110%, rgba(47, 163, 107, .20), transparent 60%), linear-gradient(135deg, #07202f 0%, #0f3a54 55%, #15506f 100%);
}
body { background: var(--cream); color: var(--ink); line-height: 1.85; }
h1, h2, h3, h4, h5, h6 { color: var(--navy); letter-spacing: -.1px; }
::selection { background: rgba(245, 166, 35, .35); }

/* نوار بالا و هدر */
.chalk-topbar { background: var(--navy-dark); font-size: .8rem; padding: .25rem 0 !important; }
.site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset; }
.nav-link { color: var(--navy); font-size: .93rem; font-weight: 600; }
.nav-link:hover, .nav-link.active { background: rgba(18, 64, 92, .07); color: var(--navy); }
.nav-link.active { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 12px; }

/* دکمه‌ها */
.btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-brand-orange { background: linear-gradient(180deg, #ffb83d, var(--orange)); border: 0; color: #2a1c00; box-shadow: 0 8px 22px rgba(245, 166, 35, .38); }
.btn-brand-orange:hover { background: linear-gradient(180deg, #ffc255, #f0a018); color: #2a1c00; box-shadow: 0 12px 28px rgba(245, 166, 35, .48); }
.btn-brand-navy { box-shadow: 0 8px 20px rgba(18, 64, 92, .28); }
.btn-outline-brand { border-width: 1.5px; }
.btn-lg { padding: .85rem 1.9rem; }

/* سرتیتر بخش‌ها */
.section-tag { display: inline-block; background: rgba(245, 166, 35, .15); color: #a86400; border: 0; border-radius: 999px; padding: .22rem .95rem; font-weight: 700; font-size: .8rem; margin-bottom: .6rem; }
.section-title { font-size: clamp(1.55rem, 2.6vw, 2.25rem); font-weight: 800; line-height: 1.5; }
.section-sub { color: #55697a; font-size: 1.04rem; }
section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.bg-cream-2 { background: var(--cream-2) !important; }

/* هیروی صفحات داخلی */
.page-hero, .deep-hero { background: var(--grad-hero) !important; position: relative; overflow: hidden; }
.page-hero::after, .deep-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 26px 26px; opacity: .55; pointer-events: none; }
.page-hero > .container, .deep-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.badge-pill { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: 999px; padding: .3rem 1rem; font-size: .85rem; display: inline-block; }

/* کارت‌ها */
.plugin-card, .service-card, .feature-card, .form-card, .narrative-block, .gateway-card, .hm-seg, .hm-outcome, .deep-role, .deep-trust, .deep-side-card {
  background: #fff; border: 1px solid var(--line) !important; border-radius: 22px; box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.plugin-card:hover, .service-card:hover, .feature-card:hover, .gateway-card:hover, .hm-seg:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(245, 166, 35, .5) !important; }
.plugin-card-thumb { border-bottom: 0; }
.plugin-card-top { border-bottom: 1px solid var(--line); }
.plugin-icon { border-radius: 16px; box-shadow: 0 8px 18px rgba(10, 37, 54, .2); }
.category-badge { background: rgba(18, 64, 92, .07); color: var(--navy); border-radius: 999px; }
.filter-pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-weight: 600; transition: all .18s; }
.filter-pill:hover { border-color: var(--orange); }
.filter-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 8px 18px rgba(18, 64, 92, .3); }
.compare-table { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-soft); }
.compare-table thead th { background: var(--navy); color: #fff; border: 0; }
.cta-banner { background: var(--grad-hero); border-radius: 30px; padding: clamp(2rem, 5vw, 3.6rem); box-shadow: var(--shadow-lift); position: relative; overflow: hidden; }
.accordion-item { border: 1px solid var(--line) !important; border-radius: 16px !important; overflow: hidden; margin-bottom: .7rem; box-shadow: var(--shadow-soft); }

/* هیروی صفحهٔ اصلی */
.hm-hero { background: var(--grad-hero) !important; }
.hm-hero h1 { font-weight: 800; letter-spacing: -.3px; }
.hm-hero h1 .hl { background: linear-gradient(90deg, #ffd27a, #F5A623); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-eyebrow { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }

/* فوتر */
.site-footer { background: linear-gradient(180deg, #0a2536, #06192a); }
.footer-heading { color: #fff; }

/* قیمت‌ها */
.price-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); padding: 1.6rem; height: 100%; position: relative; }
.price-box.hot { border: 2px solid var(--orange); box-shadow: 0 18px 44px rgba(245, 166, 35, .22); }
.price-box .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #2a1c00; font-weight: 800; font-size: .78rem; border-radius: 999px; padding: .15rem .9rem; white-space: nowrap; }
.price-big { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.3; }
.price-note { background: #fff8e8; border: 1px solid #f6dca0; border-radius: 16px; color: #6b4a00; padding: .85rem 1.1rem; display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.price-note i { color: #d98a0e; font-size: 1.15rem; margin-top: .15rem; }
.price-chip { display: inline-flex; align-items: center; gap: .4rem; background: rgba(245, 166, 35, .18); color: #ffe3a6; border: 1px solid rgba(245, 166, 35, .45); border-radius: 999px; padding: .25rem .9rem; font-weight: 700; font-size: .92rem; }

/* ماشین‌حساب */
.calc-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft); padding: 1.6rem; }
.calc-step { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.calc-step span { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.calc-mod { display: flex; align-items: center; justify-content: space-between; gap: .6rem; border: 1px solid var(--line); border-radius: 14px; padding: .6rem .9rem; cursor: pointer; transition: all .15s; background: #fff; }
.calc-mod:hover { border-color: var(--orange); }
.calc-mod input { accent-color: var(--orange-dark); width: 18px; height: 18px; flex: none; }
.calc-mod.on { background: #fff8e8; border-color: var(--orange); }
.calc-result { position: sticky; top: 96px; background: var(--grad-hero); color: #fff; border-radius: 26px; padding: 1.7rem; box-shadow: var(--shadow-lift); }
.calc-result h3 { color: #fff; }
.calc-result .big { font-size: 1.9rem; font-weight: 800; line-height: 1.3; }
.calc-result .row-line { display: flex; justify-content: space-between; gap: .6rem; padding: .35rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .18); font-size: .92rem; }
.calc-result .muted { color: rgba(255, 255, 255, .7); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== صفحهٔ اصلی — طرح جدید ===== */
.nh-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.nh-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.45; }
.nh-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.2rem; }
.nh-stats div { display: flex; flex-direction: column; min-width: 120px; }
.nh-stats strong { font-size: 2rem; font-weight: 800; color: #ffd27a; line-height: 1.2; }
.nh-stats span { font-size: .85rem; color: rgba(255, 255, 255, .75); }
.nh-collage { position: relative; min-height: 440px; }
.nh-frame { position: absolute; display: block; border: 0; padding: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .14); }
.nh-frame img { display: block; width: 100%; height: auto; }
.nh-frame .shot-bar { display: flex; }
.nh-frame.f1 { right: 0; top: 0; width: 86%; z-index: 1; }
.nh-frame.f2 { left: 0; top: 46%; width: 56%; z-index: 2; transform: rotate(-2deg); }
.nh-frame.f3 { right: 4%; bottom: -10px; width: 38%; z-index: 3; transform: rotate(2deg); }
@media (max-width: 991px) { .nh-collage { min-height: 380px; margin-top: 1rem; } }


/* ===================== شمارهٔ تلفن تماس (قابل نمایش/مخفی از پنل مدیریت) ===================== */
.topbar-phone {
  color: #fff; text-decoration: none; font-weight: 700;
  background: rgba(245,166,35,.28); padding: .1rem .75rem; border-radius: 999px;
  transition: background .15s ease;
}
.topbar-phone:hover { background: var(--orange); color: #fff; }

.contact-phone-card {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff;
  border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.contact-phone-card:hover { transform: translateY(-3px); color: #fff; }
.contact-phone-card .ic {
  flex: 0 0 54px; height: 54px; border-radius: 16px; background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.contact-phone-card small { display: block; color: rgba(255,255,255,.75); font-size: .82rem; }
.contact-phone-card strong { display: block; font-size: 1.5rem; letter-spacing: .5px; line-height: 1.5; }

.call-fab {
  position: fixed; bottom: 1.1rem; left: 1.1rem; z-index: 1030;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 1.5rem; text-decoration: none;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.3);
}
.call-fab:hover { color: #fff; background: #2f8d58; }
@media (max-width: 991px) { .call-fab { display: flex; } }
