/* ═══════════════════════════════════════════════════════════
   UniPanel — Public Site CSS
   Font: Vazirmatn — all text
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800;900&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --accent:       #6366f1;
  --accent-light: #818cf8;
  --accent-dark:  #4f46e5;
  --accent-glow:  rgba(99,102,241,.2);
  --danger:       #ef4444;
  --success:      #22c55e;
  --warning:      #f59e0b;

  /* Light */
  --bg:           #f8fafc;
  --bg-card:      #ffffff;
  --bg-nav:       rgba(255,255,255,.9);
  --border:       #e2e8f0;
  --text:         #0f172a;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;

  --radius:       14px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --shadow:       0 1px 4px rgba(0,0,0,.06), 0 4px 20px rgba(0,0,0,.06);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.12);
  --t:            .2s ease;
}

[data-theme="dark"] {
  --bg:           #080d17;
  --bg-card:      #0f1929;
  --bg-nav:       rgba(8,13,23,.92);
  --border:       #1a2535;
  --text:         #e2e8f0;
  --text-muted:   #64748b;
  --text-light:   #475569;
  --shadow:       0 1px 4px rgba(0,0,0,.3), 0 4px 20px rgba(0,0,0,.2);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.45);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
svg[stroke] { stroke-linecap: round; stroke-linejoin: round; }
body {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t), color var(--t);
  direction: rtl;
  user-select: none; -webkit-user-select: none; -moz-user-select: none;
}
/* ── Keep form fields selectable/typeable despite the site-wide lock above ── */
input, textarea, [contenteditable="true"] {
  user-select: text; -webkit-user-select: text; -moz-user-select: text;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: 'Vazirmatn', system-ui, sans-serif; }
input, select, textarea { font-family: 'Vazirmatn', system-ui, sans-serif; }

/* ── Utilities ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
[data-theme="dark"] .site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}


/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  margin-right: 36px;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 11px;
  display: grid; place-items: center;
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 900; font-size: 16px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(99,102,241,.4);
  transition: transform var(--t), box-shadow var(--t);
}
.nav-logo:hover .nav-logo-icon {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(99,102,241,.5);
}
.nav-logo-name {
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 800; font-size: 18px;
  color: var(--text);
  letter-spacing: -.01em;
}
.nav-logo-name span {
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Desktop links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  position: relative;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t), background var(--t);
  letter-spacing: .01em;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(99,102,241,.07);
}
.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
[data-theme="dark"] .nav-link:hover { background: rgba(99,102,241,.12); }

/* ── Right side ── */
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Theme toggle pill */
.nav-theme-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all var(--t);
}
.nav-theme-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* Sign In link */
.nav-signin {
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all var(--t);
}
.nav-signin:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* Get Started CTA */
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 3px 12px rgba(99,102,241,.35);
  transition: all var(--t);
  letter-spacing: .01em;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,.45);
}
.nav-cta:active { transform: translateY(0); }

/* ── Mobile hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 10px;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
  width: 40px; height: 40px;
}
.nav-hamburger:hover { border-color: var(--accent); background: var(--accent-glow); }
.nav-hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all .25s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--accent); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--accent); }

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  z-index: 190;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; animation: slideDown .2s ease; }
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.mobile-menu .nav-link { font-size: 15px; padding: 10px 14px; }
.mobile-menu-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark); border-color: var(--accent-dark);
  box-shadow: 0 4px 18px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--accent); border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent-glow); }
.btn-ghost {
  background: var(--bg); color: var(--text-muted); border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); background: var(--bg-card); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-sm); }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero-title .grad {
  background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-light);
}

/* ════════════════════════════════════════════════════════════
   PLANS SECTION
   ════════════════════════════════════════════════════════════ */
.section {
  padding: 80px 0;
}
.section-center { text-align: center; }
.section-eyebrow {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 52px;
}

/* Plan cards grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px 28px;
  position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px var(--accent-glow);
}
.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .04em;
}
.plan-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.plan-name {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.plan-duration {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 20px;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}
.plan-features li .check {
  width: 18px; height: 18px;
  background: rgba(34,197,94,.12);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
[data-theme="dark"] .plan-features li .check { background: rgba(34,197,94,.2); }
.plan-features li .check svg { stroke: var(--success); }
.plan-cta {
  display: block;
  text-align: center;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  transition: all var(--t);
}
.plan-cta-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.plan-cta-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 18px var(--accent-glow);
  transform: translateY(-1px);
}
.plan-cta-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.plan-cta-outline:hover { background: var(--accent-glow); }

/* Plan color themes */
.plan-3m  .plan-icon { background: rgba(56,189,248,.12);  color: #0284c7; }
.plan-6m  .plan-icon { background: rgba(99,102,241,.12);  color: var(--accent); }
.plan-1y  .plan-icon { background: rgba(245,158,11,.12);  color: #d97706; }
.plan-unl .plan-icon { background: rgba(34,197,94,.12);   color: var(--success); }

/* ════════════════════════════════════════════════════════════
   FEATURES STRIP
   ════════════════════════════════════════════════════════════ */
.features-strip {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item { display: flex; gap: 16px; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--accent-glow);
  color: var(--accent);
}
.feature-title { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.feature-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════════ */
.cta-banner {
  padding: 80px 0;
}
.cta-inner {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,.35) 0%, transparent 65%);
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-title {
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: #fff; margin-bottom: 14px;
}
.cta-sub { font-size: 16px; color: rgba(255,255,255,.65); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btn-white {
  background: #fff; color: var(--accent-dark);
  border: 1px solid #fff; font-weight: 700;
}
.cta-btn-white:hover { background: #f0f0ff; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(0,0,0,.2); }
.cta-btn-outline-w {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.4); font-weight: 600;
}
.cta-btn-outline-w:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 700; font-size: 15px;
}
.footer-logo-icon {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #fff;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color var(--t); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 13px; color: var(--text-light); }

/* ════════════════════════════════════════════════════════════
   LOGIN PAGE
   ════════════════════════════════════════════════════════════ */
.login-page-wrap {
  min-height: 100vh;
  display: flex;
  padding-top: 68px;
}
.login-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-height: calc(100vh - 68px);
}
.login-visual {
  background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 55%, #1a0533 100%);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 60px;
  position: relative; overflow: hidden;
}
.login-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(99,102,241,.28) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(139,92,246,.18) 0%, transparent 55%);
}
.login-visual-content { position: relative; z-index: 1; text-align: center; max-width: 380px; }
.login-visual-logo {
  width: 60px; height: 60px;
  background: var(--accent);
  border-radius: 16px;
  display: grid; place-items: center;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 24px; font-weight: 800; color: #fff;
  margin: 0 auto 28px;
  box-shadow: 0 8px 32px rgba(99,102,241,.45);
}
.login-visual-title {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 30px; font-weight: 800; color: #fff;
  line-height: 1.25; margin-bottom: 14px;
}
.login-visual-title span { color: var(--accent-light); }
.login-visual-desc { font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.7; }

/* Plan badges on visual */
.login-plan-list {
  display: flex; flex-direction: column; gap: 10px; margin-top: 36px;
}
.login-plan-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  text-align: left;
}
.login-plan-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.login-plan-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.login-plan-dur  { font-size: 12px; color: rgba(255,255,255,.4); margin-left: auto; }

/* Login form side */
.login-form-side {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 32px;
  background: var(--bg);
}
.login-form-box { width: 100%; max-width: 400px; }
.login-form-title {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 26px; font-weight: 800;
  color: var(--text); margin-bottom: 6px;
}
.login-form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; }

/* Forms */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 7px;
}
.form-label .req { color: var(--danger); margin-left: 3px; }
.form-control {
  width: 100%; height: 44px;
  padding: 0 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.form-control::placeholder { color: var(--text-light); }
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 46px; }
.pw-toggle {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--text-muted); padding: 4px;
  display: grid; place-items: center;
  border-radius: 4px;
  transition: color var(--t);
}
.pw-toggle:hover { color: var(--accent); }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }

.alert {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 14px; display: flex;
  align-items: flex-start; gap: 10px;
  margin-bottom: 18px; border-left: 4px solid transparent;
}
.alert-danger  { background: rgba(239,68,68,.08);  border-color: var(--danger);  color: var(--danger); }
.alert-success { background: rgba(34,197,94,.08);  border-color: var(--success); color: var(--success); }
.alert-warning { background: rgba(245,158,11,.08); border-color: var(--warning); color: var(--warning); }
.alert-info    { background: rgba(59,130,246,.08);  border-color: var(--accent);  color: var(--accent); }

.login-bottom-link {
  margin-top: 22px; text-align: center;
  font-size: 14px; color: var(--text-muted);
}
.login-bottom-link a { color: var(--accent); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   SCROLLBAR
   ════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

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

@media (max-width: 768px) {
  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }
  .nav-signin   { display: none; }
  .nav-cta      { display: none; }

  .hero { padding: 110px 0 70px; }
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-inner { padding: 40px 24px; }

  /* Login split → stacked */
  .login-split { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-form-side { padding: 32px 20px; min-height: calc(100vh - 72px); }
  .login-form-box { max-width: 100%; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .plan-card { padding: 24px 20px 22px; }
}