/* ═══════════════════════════════════════════════
   AZAD NET — style.css  v3
   Mobile-first · Dark premium · RTL Persian
   Layer 0: canvas  |  Layer 1: shade  |  Layer 3: content
══════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────── */
:root {
  --bg:          #080f18;
  --bg-section:  rgba(8, 15, 24, 0.78);
  --bg-card:     rgba(10, 20, 34, 0.88);
  --bg-card-hi:  rgba(14, 28, 48, 0.92);
  --accent:      #2FA7D8;
  --accent-hi:   #5dcff5;
  --accent-glow: rgba(47, 167, 216, 0.22);
  --accent-dim:  rgba(47, 167, 216, 0.10);
  --gold:        #e8a020;
  --gold-dim:    rgba(232, 160, 32, 0.12);
  --text:        #e2eef8;
  --text-2:      #7eaac8;
  --text-3:      #3d6070;
  --border:      rgba(47, 167, 216, 0.14);
  --border-hi:   rgba(47, 167, 216, 0.38);
  --warn:        #e8a020;
  --warn-bg:     rgba(232, 160, 32, 0.08);
  --warn-border: rgba(232, 160, 32, 0.35);
  --f-head:      'Syne', sans-serif;
  --f-body:      'Vazirmatn', sans-serif;
  --blur:        blur(14px);
  --radius:      14px;
  --radius-sm:   8px;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
svg { flex-shrink: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ══════════════════════════════════════════════
   BACKGROUND LAYERS
══════════════════════════════════════════════ */

/* Layer 0 — canvas video */
.canvas-wrap {
  position: fixed; inset: 0; z-index: 0;
  clip-path: circle(0% at 50% 50%); /* hero scrolls away → JS expands this */
}
#canvas { width: 100%; height: 100%; display: block; }

/* Layer 1 — permanent dark shade (always on, keeps text readable) */
#dark-overlay {
  position: fixed; inset: 0; z-index: 1;
  background: rgba(6, 13, 22, 0.82);
  pointer-events: none;
}

/* Layer 3 — all content */
main        { position: relative; z-index: 3; }
.site-footer { position: relative; z-index: 3; }
.site-header { z-index: 100; }

/* ══════════════════════════════════════════════
   LOADER
══════════════════════════════════════════════ */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-brand  { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.loader-logo   { width: 56px; height: 56px; object-fit: contain; animation: glowPulse 2s ease-in-out infinite; }
.loader-name   { font-family: var(--f-head); font-size: 1rem; font-weight: 800; letter-spacing: 0.3em; color: var(--accent); }

.loader-bar-wrap { width: 160px; height: 2px; background: rgba(47,167,216,0.12); border-radius: 2px; overflow: hidden; }
#loader-bar      { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); transition: width 0.08s linear; }
#loader-percent  { font-size: 0.7rem; color: var(--text-3); letter-spacing: 0.12em; }

@keyframes glowPulse {
  0%,100% { filter: drop-shadow(0 0 8px var(--accent)); }
  50%      { filter: drop-shadow(0 0 22px var(--accent-hi)); }
}

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 56px; padding: 0 20px;
  display: flex; align-items: center;
  background: transparent;
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled {
  background: rgba(6, 12, 22, 0.90);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border);
}
.nav-inner  { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-right  { display: flex; align-items: center; gap: 10px; }
.nav-logo   { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.18em; color: var(--accent); }
.nav-logo img { width: 26px; height: 26px; object-fit: contain; }
.nav-cta {
  padding: 7px 16px; background: var(--accent); color: var(--bg) !important;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.78rem;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent-hi); transform: translateY(-1px); }
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-2); border-radius: 2px; transition: 0.3s; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 12, 22, 0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav-close { position: absolute; top: 18px; left: 18px; padding: 8px; color: var(--text-2); }
.mobile-nav ul    { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.mobile-nav a     { font-size: 1.35rem; font-weight: 600; color: var(--text); transition: color 0.2s; }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-cta {
  padding: 12px 36px !important; background: var(--accent) !important;
  color: var(--bg) !important; border-radius: 9px; font-size: 1.05rem !important;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero-section {
  position: relative; z-index: 3;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  background: var(--bg);
  overflow: hidden;
}
/* Radial glow behind hero text */
.hero-section::before {
  content: '';
  position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%);
  width: min(90vw, 520px); height: min(90vw, 520px);
  background: radial-gradient(ellipse, rgba(47,167,216,0.09) 0%, transparent 68%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  max-width: 680px; width: 100%;
}

/* Live badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: rgba(47,167,216,0.07);
  font-size: 0.7rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.08em;
  opacity: 0; animation: fadeUp 0.6s ease 0.15s forwards;
}
.hero-badge svg { color: var(--accent-hi); }

/* Heading word animation */
.hero-heading {
  font-family: var(--f-head);
  font-size: clamp(2.4rem, 9vw, 5.2rem);
  font-weight: 800; line-height: 1.12;
  color: var(--text); letter-spacing: -0.01em;
}
.word          { display: inline-block; opacity: 0; transform: translateY(22px); animation: wordIn 0.55s ease forwards; }
.word-accent   { color: var(--accent); }
.word:nth-child(1)  { animation-delay: 0.22s; }
.word:nth-child(2)  { animation-delay: 0.30s; }
.word:nth-child(3)  { animation-delay: 0.38s; }
.word:nth-child(4)  { animation-delay: 0.46s; }
.word:nth-child(5)  { animation-delay: 0.54s; }
.word:nth-child(6)  { animation-delay: 0.62s; }
.word:nth-child(7)  { animation-delay: 0.70s; }
.word:nth-child(8)  { animation-delay: 0.78s; }
.word:nth-child(9)  { animation-delay: 0.86s; }

.hero-tagline {
  font-size: clamp(0.88rem, 3.5vw, 1.02rem);
  color: var(--text-2); line-height: 1.95; max-width: 580px;
}

.hero-ctas {
  display: flex; flex-direction: column; gap: 11px; width: 100%; max-width: 300px;
}

/* Trust strip */
.trust-strip {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; justify-content: center;
  margin-top: 4px;
}
.trust-item { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: var(--text-3); }
.trust-item svg { color: var(--accent); opacity: 0.8; }
.trust-sep  { color: var(--text-3); font-size: 0.6rem; }

/* Scroll arrow */
.scroll-arrow {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--text-3); animation: bounceY 1.8s ease infinite;
}

/* Hero reveal class (CSS animation, not IntersectionObserver) */
.reveal-fade {
  opacity: 0; animation: fadeUp 0.6s ease forwards;
}

@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bounceY { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-sm);
  font-family: var(--f-body); font-size: 0.93rem; font-weight: 700;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
  position: relative; overflow: hidden;
}
/* Shimmer on primary */
.btn-primary {
  background: var(--accent); color: var(--bg);
  box-shadow: 0 0 18px rgba(47,167,216,0.28);
}
.btn-primary::after {
  content: ''; position: absolute;
  top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-15deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 0 28px rgba(47,167,216,0.40); }
.btn-ghost {
  border: 1px solid var(--border-hi); color: var(--text);
  background: rgba(47,167,216,0.05);
}
.btn-ghost:hover { background: rgba(47,167,216,0.10); border-color: var(--accent); }
.btn-telegram {
  background: #229ED9; color: #fff;
  box-shadow: 0 0 14px rgba(34,158,217,0.22);
}
.btn-telegram:hover { background: #1a8fc0; transform: translateY(-1px); }
.btn-wide { width: 100%; }

/* ══════════════════════════════════════════════
   CONTENT SECTIONS — with frosted glass backdrop
══════════════════════════════════════════════ */
.content-section {
  position: relative; z-index: 3;
  padding: 72px 20px;
}
.section-alt {
  background: rgba(10, 18, 30, 0.42);
}
.section-cta-final {
  background: rgba(6, 12, 22, 0.55);
}

/* The glass card behind every section's text */
.section-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}

/* Reveal animation — IntersectionObserver adds .in-view */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

.reveal-child {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-child.in-view { opacity: 1; transform: none; }
.reveal-child:nth-child(2) { transition-delay: 0.09s; }
.reveal-child:nth-child(3) { transition-delay: 0.18s; }
.reveal-child:nth-child(4) { transition-delay: 0.27s; }
.reveal-child:nth-child(5) { transition-delay: 0.36s; }
.reveal-child:nth-child(6) { transition-delay: 0.45s; }

/* Typography */
.section-heading {
  font-family: var(--f-head);
  font-size: clamp(1.55rem, 5vw, 2.3rem);
  font-weight: 800; line-height: 1.2;
  color: var(--text); margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-body {
  font-size: 0.92rem; color: var(--text-2);
  line-height: 1.9; margin-bottom: 22px;
}
.section-note {
  font-size: 0.76rem; color: var(--text-3);
  margin-top: 10px; font-style: italic;
}
.cta-eyebrow {
  font-family: var(--f-head); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px; display: block;
}
.cta-center { text-align: center; }
.cta-center .section-heading { font-size: clamp(1.7rem, 5.5vw, 2.6rem); }
.cta-row { display: flex; flex-direction: column; gap: 11px; margin-top: 4px; }

/* ══════════════════════════════════════════════
   STEPS — connected timeline
══════════════════════════════════════════════ */

/* Prominent notice shown BEFORE the steps */
.steps-notice {
  display: flex; align-items: center; gap: 9px;
  background: rgba(47, 167, 216, 0.08);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  margin-bottom: 20px;
  font-size: 0.88rem; font-weight: 700;
  color: var(--accent);
}
.steps-notice svg { flex-shrink: 0; }
.steps-list { display: flex; flex-direction: column; margin-top: 22px; }

.step {
  display: grid;
  grid-template-columns: 48px 20px 1fr;
  gap: 0 12px;
  align-items: start;
  padding: 0 0 24px 0;
}
.step:last-child { padding-bottom: 0; }

.step-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-dim); border: 1px solid var(--border-hi);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; flex-shrink: 0;
  color: var(--accent);
}
.step-num { font-family: var(--f-head); font-size: 0.58rem; font-weight: 800; color: var(--text-3); letter-spacing: 0.05em; }

/* Vertical connector line */
.step-connector {
  grid-column: 2; grid-row: 1;
  width: 2px; background: var(--border);
  margin: 44px auto 0; height: calc(100% - 44px + 24px);
}
.step:last-child .step-connector { display: none; }

.step-body { grid-column: 3; padding-top: 10px; }
.step-body strong    { display: block; font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step-body p        { font-size: 0.82rem; color: var(--text-2); line-height: 1.7; margin-bottom: 6px; }
.step-body p:last-child { margin-bottom: 0; }
.step-note          { font-size: 0.78rem !important; color: var(--text-3) !important; border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px; }

/* ══════════════════════════════════════════════
   PLANS
══════════════════════════════════════════════ */
.plans-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }

.plan-card {
  position: relative;
  background: rgba(8, 16, 28, 0.70);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover { border-color: var(--border-hi); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }

/* Animated gradient border for popular plan */
.plan-popular {
  border-color: transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px var(--accent), 0 0 20px rgba(47,167,216,0.12);
}
.plan-popular:hover { box-shadow: 0 0 0 1px var(--accent-hi), 0 8px 32px rgba(47,167,216,0.20); }
.plan-premium {
  border-color: rgba(232,160,32,0.3);
}
.plan-premium:hover { border-color: rgba(232,160,32,0.6); box-shadow: 0 8px 32px rgba(232,160,32,0.10); }

.popular-badge {
  position: absolute; top: -1px; right: 18px;
  background: var(--accent); color: var(--bg);
  font-family: var(--f-head); font-size: 0.58rem; font-weight: 800;
  letter-spacing: 0.1em; padding: 3px 10px;
  border-radius: 0 0 6px 6px;
}
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.plan-name  { font-family: var(--f-head); font-size: 0.98rem; font-weight: 800; color: var(--text); }
.plan-price { display: flex; align-items: baseline; gap: 5px; direction: rtl; }
.plan-amount  { font-family: var(--f-head); font-size: 1.55rem; font-weight: 800; color: var(--accent); line-height: 1; }
.gold-amt     { color: var(--gold); }
.plan-currency { font-size: 0.68rem; color: var(--text-3); }
.plan-desc    { font-size: 0.78rem; color: var(--text-2); line-height: 1.65; margin-bottom: 12px; }

.plan-features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.plan-features li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-2); }
.feat-check   { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.gold-check   { color: var(--gold); }
.feat-gold    { color: var(--gold); }

.plan-cta {
  display: block; text-align: center;
  padding: 11px 16px; border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm); font-size: 0.86rem; font-weight: 700;
  color: var(--accent);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.plan-cta::after {
  content: ''; position: absolute;
  top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(47,167,216,0.15), transparent);
  transform: skewX(-15deg); transition: left 0.4s ease;
}
.plan-cta:hover::after { left: 130%; }
.plan-cta:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.plan-cta-gold { border-color: rgba(232,160,32,0.4); color: var(--gold); }
.plan-cta-gold::after { background: linear-gradient(90deg, transparent, rgba(232,160,32,0.15), transparent); }
.plan-cta-gold:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* ══════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════ */
.features-list { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.feature-row   { display: flex; align-items: flex-start; gap: 14px; }
.feat-icon-box {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--accent-dim); border: 1px solid var(--border);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-top: 1px;
}
.feature-row strong { display: block; font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.feature-row p      { font-size: 0.80rem; color: var(--text-2); line-height: 1.65; }

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 7px; margin-top: 22px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; background: rgba(8,16,28,0.55);
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border-hi); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; gap: 12px; text-align: right;
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 16px; height: 16px; flex-shrink: 0; color: var(--accent);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 16px 14px; font-size: 0.82rem; color: var(--text-2); line-height: 1.75; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: rgba(6, 11, 20, 0.96);
  border-top: 1px solid var(--border);
  padding: 48px 24px 0;
}
.footer-inner {
  display: flex; flex-direction: column; gap: 32px;
  max-width: 640px; margin: 0 auto;
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.footer-logo    { height: 40px; width: auto; object-fit: contain; border-radius: 4px; margin-bottom: 8px; }
.footer-tagline {
  font-family: var(--f-head); font-size: 0.58rem;
  letter-spacing: 0.15em; color: var(--text-3);
  text-transform: uppercase; margin-bottom: 10px;
}
.footer-tg {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 600; color: var(--accent);
  transition: color 0.2s;
}
.footer-tg:hover { color: var(--accent-hi); }
.footer-links h4 { font-size: 0.8rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.footer-links ul { display: flex; flex-direction: column; gap: 9px; }
.footer-links a  { font-size: 0.83rem; color: var(--text-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 0; font-size: 0.72rem; color: var(--text-3);
}
.footer-tech { opacity: 0.5; }

/* ══════════════════════════════════════════════
   NOTICE WIDGET — vertical sidebar tab (left)
══════════════════════════════════════════════ */
.notice-widget {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

/* Vertical pill tab */
.notice-tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 5px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-left: none;
  border-radius: 0 6px 6px 0;
  color: var(--warn);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  writing-mode: vertical-rl;
}
.notice-tab:hover { background: rgba(232,160,32,0.15); border-color: var(--warn); }
.notice-tab svg { flex-shrink: 0; transform: rotate(0deg); }

.notice-tab-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* Expandable panel slides right */
.notice-panel {
  width: 0;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(8, 14, 24, 0.97);
  border: 1px solid var(--warn-border);
  border-left: none;
  border-radius: 0 8px 8px 0;
  max-height: 80vh;
  overflow-y: auto;
}
.notice-widget.open .notice-panel { width: min(310px, 80vw); }

.notice-content { padding: 18px 16px; min-width: min(310px, 80vw); }
.notice-content h4 {
  font-family: var(--f-head); font-size: 0.82rem; font-weight: 700;
  color: var(--warn); margin-bottom: 12px;
}
.notice-content p { font-size: 0.76rem; color: var(--text-2); line-height: 1.75; margin-bottom: 9px; }
.notice-content ul { padding-right: 14px; list-style: disc; margin-bottom: 8px; }
.notice-content li { font-size: 0.74rem; color: var(--text-2); list-style: disc; line-height: 1.65; margin-bottom: 3px; }
.notice-divider { height: 1px; background: var(--warn-border); margin: 10px 0; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (min-width: 540px) {
  .hero-ctas { flex-direction: row; max-width: none; justify-content: center; }
  .cta-row   { flex-direction: row; max-width: none; justify-content: center; }
  .plans-grid { flex-direction: row; flex-wrap: wrap; }
  .plan-card  { flex: 1 1 200px; }
}

@media (min-width: 640px) {
  .content-section { padding: 80px 32px; }
  .section-wrap    { padding: 40px 36px; }
  .footer-inner    { flex-direction: row; justify-content: space-between; }
  .footer-bottom   { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 900px) {
  .content-section { padding: 96px 5vw; }
  .section-wrap    { max-width: 680px; }
  .plans-grid      { flex-wrap: nowrap; }
}

/* Smaller screens: notice widget collapses to bottom-left mini */
@media (max-width: 380px) {
  .notice-tab { padding: 8px 4px; }
  .notice-tab-text { font-size: 0.62rem; }
}

