*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #f5c842;
  --gold-light:  #fde68a;
  --gold-dark:   #d4a017;
  --purple:      #8b5cf6;
  --purple-deep: #4c1d95;
  --pink:        #ec4899;
  --teal:        #14b8a6;
  --sky:         #38bdf8;
  --green:       #22c55e;
  --orange:      #fb923c;
  --dark:        #07070f;
  --dark2:       #0f0f1a;
  --dark3:       #16162a;
  --dark4:       #1e1e35;
  --glass:       rgba(255,255,255,0.05);
  --glass-border:rgba(255,255,255,0.10);
  --text:        #f1f0ff;
  --text-muted:  #9490b5;
  --radius:      16px;
  --shadow-gold: 0 0 40px rgba(245,200,66,0.2);
  --shadow-glow: 0 8px 32px rgba(139,92,246,0.3);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ══ BUTTONS ═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 12px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all .22s; border: 1.5px solid transparent; gap: 8px;
  position: relative; overflow: hidden; letter-spacing: .3px;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent);
  opacity: 0; transition: opacity .2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #f5c842, #fb923c, #ec4899);
  color: #0a0a0f; font-weight: 800;
  box-shadow: 0 4px 20px rgba(245,200,66,0.4), 0 0 0 1px rgba(245,200,66,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(245,200,66,0.55), 0 0 0 1px rgba(245,200,66,0.4);
}
.btn-outline {
  border-color: rgba(245,200,66,0.5); color: var(--gold);
  background: rgba(245,200,66,0.06);
}
.btn-outline:hover {
  background: rgba(245,200,66,0.15); border-color: var(--gold);
  box-shadow: 0 0 20px rgba(245,200,66,0.2); transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--glass-border); color: var(--text-muted);
  background: var(--glass);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.2); color: var(--text); }
.btn-lg { padding: 16px 38px; font-size: 17px; border-radius: 14px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ══ NAV ════════════════════════════════════════════════════════════════════════ */
.nav {
  border-bottom: 1px solid var(--glass-border);
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-weight: 900; font-size: 21px; letter-spacing: -.5px;
  background: linear-gradient(135deg, #f5c842, #fb923c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.badge-ai {
  background: linear-gradient(135deg, #f5c842, #fb923c);
  color: #07070f; font-size: 10px; font-weight: 900;
  padding: 2px 7px; border-radius: 5px; vertical-align: middle;
  margin-left: 5px; -webkit-text-fill-color: #07070f; letter-spacing: .5px;
}

/* ══ HERO ═══════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 110px 24px 90px;
  text-align: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,92,246,.18) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(245,200,66,.08) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 80% 80%, rgba(236,72,153,.08) 0%, transparent 60%),
              var(--dark);
}

/* Animated orbs */
.hero::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,92,246,.15) 0%, transparent 65%);
  animation: pulse 6s ease-in-out infinite; pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,200,66,.08) 0%, transparent 65%);
  animation: pulse 8s ease-in-out infinite reverse; pointer-events: none;
}
@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .7; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

.hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(245,200,66,.1);
  border: 1px solid rgba(245,200,66,.3);
  color: var(--gold); font-size: 13px; font-weight: 700;
  padding: 7px 18px; border-radius: 100px; margin-bottom: 32px;
  box-shadow: 0 0 20px rgba(245,200,66,.15);
  animation: fadeUp .6s ease both;
}
.hero-tag::before { content: '✦'; animation: spin2 4s linear infinite; display: inline-block; }
@keyframes spin2 { to { transform: rotate(360deg); } }

h1 {
  font-size: clamp(42px, 7vw, 72px); font-weight: 900;
  line-height: 1.05; letter-spacing: -2.5px; margin-bottom: 26px;
  animation: fadeUp .7s .1s ease both;
}
.grad {
  background: linear-gradient(135deg, #f5c842 0%, #fb923c 40%, #ec4899 70%, #8b5cf6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200% 200%; animation: gradShift 4s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 19px; color: var(--text-muted); max-width: 580px;
  margin: 0 auto 44px; line-height: 1.75;
  animation: fadeUp .7s .2s ease both;
}
.hero-cta {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; margin-bottom: 60px;
  animation: fadeUp .7s .3s ease both;
}
.hero-note { font-size: 13px; color: var(--text-muted); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Demo Card ── */
.demo-card {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 28px; text-align: left;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 64px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
  animation: fadeUp .7s .4s ease both;
}
.demo-before { background: rgba(255,255,255,.03); border-radius: 12px; padding: 16px; }
.demo-after { background: rgba(245,200,66,.05); border: 1px solid rgba(245,200,66,.2); border-radius: 12px; padding: 16px; }
.demo-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 10px; }
.ai-label { color: var(--gold) !important; }
.demo-text { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); }
.after-text { color: rgba(255,255,255,.9) !important; font-weight: 600; }
.demo-arrow {
  font-size: 28px; font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ══ SECTIONS ═══════════════════════════════════════════════════════════════════ */
.section { padding: 90px 24px; }
.section-dark { background: var(--dark); }
.section-gray { background: var(--dark2); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 38px; font-weight: 900; text-align: center;
  margin-bottom: 58px; letter-spacing: -.7px;
}
.section-title .grad-text {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step {
  text-align: center; padding: 40px 28px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; transition: all .25s;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.step:hover { transform: translateY(-6px); border-color: rgba(245,200,66,.3); box-shadow: 0 12px 40px rgba(0,0,0,.3), 0 0 20px rgba(245,200,66,.1); }
.step-num {
  width: 60px; height: 60px; border-radius: 50%; color: #07070f; font-weight: 900;
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(245,200,66,.4);
}
.step:nth-child(1) .step-num { background: linear-gradient(135deg, var(--gold), var(--orange)); }
.step:nth-child(2) .step-num { background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; box-shadow: 0 4px 20px rgba(139,92,246,.4); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, var(--teal), var(--sky)); color: #fff; box-shadow: 0 4px 20px rgba(20,184,166,.4); }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.step p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* ── Testimonials ── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 32px; position: relative; overflow: hidden;
  backdrop-filter: blur(12px); transition: all .25s;
}
.testimonial::before {
  content: '"'; position: absolute; top: 10px; right: 24px;
  font-size: 100px; line-height: 1; opacity: .06; font-family: serif; color: var(--gold);
}
.testimonial:hover { border-color: rgba(245,200,66,.25); transform: translateY(-4px); }
.testimonial p { font-size: 15px; line-height: 1.8; margin-bottom: 20px; color: rgba(255,255,255,.8); }
.testimonial-author { font-size: 13px; font-weight: 700; color: var(--gold); }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }

/* ── Pricing ── */
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; max-width: 720px; margin: 0 auto; }
.pricing-card {
  border: 1px solid var(--glass-border); border-radius: 24px; padding: 40px;
  position: relative; background: var(--dark3); transition: all .25s;
}
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card-featured {
  background: linear-gradient(160deg, var(--dark4), var(--dark3));
  border-color: rgba(245,200,66,.4);
  box-shadow: 0 0 0 1px rgba(245,200,66,.2), 0 24px 64px rgba(0,0,0,.4), var(--shadow-gold);
}
.plan-badge {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #07070f; font-size: 12px; font-weight: 900;
  padding: 5px 20px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(245,200,66,.45); letter-spacing: .5px;
}
.plan-name { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 12px; }
.plan-price {
  font-size: 64px; font-weight: 900; letter-spacing: -3px; line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.plan-period { font-size: 14px; color: var(--text-muted); margin: 8px 0 28px; font-weight: 500; }
.plan-features { list-style: none; margin-bottom: 36px; }
.plan-features li {
  padding: 10px 0; font-size: 15px;
  border-bottom: 1px solid var(--glass-border); color: rgba(255,255,255,.8); font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.plan-features li:last-child { border: none; }
.plan-features li .check { color: var(--gold); font-weight: 900; font-size: 14px; }
.plan-features li .no { color: rgba(255,255,255,.25); font-weight: 900; font-size: 14px; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--glass-border); padding: 32px 24px;
  background: var(--dark2);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--text-muted);
}

/* ══ STATUS BADGES ══════════════════════════════════════════════════════════════ */
.free-badge {
  display: inline-block; font-size: 13px; font-weight: 700;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(34,197,94,.1); color: var(--green);
  border: 1px solid rgba(34,197,94,.3);
}
.pro-badge {
  background: linear-gradient(135deg, rgba(245,200,66,.15), rgba(251,146,60,.15));
  color: var(--gold); border-color: rgba(245,200,66,.4);
  box-shadow: 0 0 16px rgba(245,200,66,.15);
}

/* ══ DASHBOARD ══════════════════════════════════════════════════════════════════ */
.dashboard { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 68px); }

/* ── Sidebar ── */
.sidebar {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
  border-right: 1px solid var(--glass-border);
  padding: 28px 14px; position: sticky; top: 68px;
  height: calc(100vh - 68px); overflow-y: auto;
}
.sidebar-section { margin-bottom: 32px; }
.sidebar-label {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,.25); padding: 0 14px; margin-bottom: 8px;
}
.sidebar-btn {
  width: 100%; text-align: left; background: none; border: none;
  padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.55); cursor: pointer;
  display: flex; align-items: center; gap: 11px; transition: all .2s;
}
.sidebar-btn:hover { background: var(--glass); color: rgba(255,255,255,.85); }
.sidebar-btn.active {
  background: linear-gradient(135deg, rgba(245,200,66,.15), rgba(251,146,60,.1));
  color: var(--gold); border: 1px solid rgba(245,200,66,.3);
  box-shadow: 0 4px 16px rgba(245,200,66,.1);
}
.sidebar-icon { font-size: 18px; flex-shrink: 0; }
.sidebar-pro-box {
  background: linear-gradient(135deg, rgba(245,200,66,.12), rgba(251,146,60,.08));
  border: 1px solid rgba(245,200,66,.3); border-radius: 14px;
  padding: 18px; color: var(--text); margin-top: 16px;
  box-shadow: 0 0 20px rgba(245,200,66,.08);
}
.sidebar-pro-title { font-weight: 800; font-size: 14px; margin-bottom: 6px; color: var(--gold); }
.sidebar-pro-text { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ── Main content ── */
.dash-main {
  padding: 40px 48px 80px;
  background: radial-gradient(ellipse 60% 40% at 70% 10%, rgba(139,92,246,.06) 0%, transparent 60%), var(--dark2);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.panel-header { margin-bottom: 30px; }
.panel-header h1 {
  font-size: 30px; font-weight: 900; margin-bottom: 7px; letter-spacing: -.5px;
  background: linear-gradient(135deg, var(--text) 60%, var(--text-muted));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.panel-header p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* Mode toggle */
.mode-row { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.mode-btn {
  padding: 10px 20px; border-radius: 10px;
  border: 1px solid var(--glass-border); font-weight: 700; font-size: 14px;
  cursor: pointer; background: var(--glass); color: var(--text-muted);
  transition: all .2s; backdrop-filter: blur(8px);
}
.mode-btn:hover { border-color: rgba(245,200,66,.3); color: var(--text); }
.mode-btn.active {
  background: linear-gradient(135deg, rgba(245,200,66,.2), rgba(251,146,60,.15));
  border-color: rgba(245,200,66,.5); color: var(--gold);
  box-shadow: 0 0 16px rgba(245,200,66,.15);
}

/* Inputs */
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 9px; }
label { font-weight: 700; font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: .3px; text-transform: uppercase; }
textarea {
  width: 100%; min-height: 240px; padding: 16px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--glass-border); border-radius: 12px; resize: vertical; line-height: 1.65;
  transition: all .2s; background: var(--dark3); color: var(--text);
}
textarea::placeholder { color: rgba(255,255,255,.2); }
textarea:focus { outline: none; border-color: rgba(245,200,66,.4); box-shadow: 0 0 0 3px rgba(245,200,66,.08), 0 0 20px rgba(245,200,66,.05); }

/* Email row */
.email-row { display: flex; gap: 12px; margin-bottom: 20px; align-items: center; flex-wrap: wrap; }
.email-row input {
  flex: 1; min-width: 220px; padding: 13px 18px;
  border: 1px solid var(--glass-border); border-radius: 12px;
  font-size: 14px; font-family: inherit; background: var(--dark3);
  color: var(--text); transition: all .2s;
}
.email-row input::placeholder { color: rgba(255,255,255,.2); }
.email-row input:focus { outline: none; border-color: rgba(245,200,66,.4); box-shadow: 0 0 0 3px rgba(245,200,66,.08); }
.email-hint { font-size: 12px; color: var(--text-muted); }

/* Output */
.output-wrap { margin-top: 32px; }
.output-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.output-header h2 { font-size: 18px; font-weight: 800; }
.copy-btn { font-size: 13px; font-weight: 700; padding: 8px 18px; }
.output-box {
  background: var(--dark3); border: 1px solid var(--glass-border); border-radius: 14px;
  padding: 28px; white-space: pre-wrap; font-size: 14px; line-height: 1.9; min-height: 120px;
  color: rgba(255,255,255,.85); box-shadow: inset 0 2px 8px rgba(0,0,0,.2);
}

/* Upsell banner */
.upsell {
  background: linear-gradient(135deg, rgba(245,200,66,.08), rgba(251,146,60,.06));
  border: 1px solid rgba(245,200,66,.3); border-radius: 16px;
  padding: 24px 28px; margin-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  box-shadow: 0 0 30px rgba(245,200,66,.08);
}
.upsell p { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); }
.upsell strong { color: var(--gold); }

/* Spinner */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(7,7,15,.3); border-top-color: #07070f; border-radius: 50%; animation: spin .6s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
.toast {
  position: fixed; bottom: 30px; right: 30px;
  background: linear-gradient(135deg, var(--dark4), var(--dark3));
  border: 1px solid rgba(245,200,66,.3); color: var(--gold);
  padding: 14px 24px; border-radius: 12px; font-size: 14px; font-weight: 700;
  opacity: 0; transform: translateY(10px); transition: all .22s; z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 20px rgba(245,200,66,.15);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ══ FORUM ═══════════════════════════════════════════════════════════════════════ */
.forum-compose {
  background: var(--dark3); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 28px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.forum-compose h3 { color: var(--text); }
.forum-input {
  width: 100%; padding: 12px 16px; border: 1px solid var(--glass-border);
  border-radius: 10px; font-size: 14px; font-family: inherit;
  background: var(--dark4); color: var(--text); transition: all .2s;
}
.forum-input::placeholder { color: rgba(255,255,255,.2); }
.forum-input:focus { outline: none; border-color: rgba(245,200,66,.4); box-shadow: 0 0 0 3px rgba(245,200,66,.07); }
.forum-textarea {
  width: 100%; min-height: 100px; padding: 14px 16px;
  border: 1px solid var(--glass-border); border-radius: 10px;
  font-size: 14px; font-family: inherit; resize: vertical; line-height: 1.6;
  background: var(--dark4); color: var(--text); transition: all .2s;
}
.forum-textarea::placeholder { color: rgba(255,255,255,.2); }
.forum-textarea:focus { outline: none; border-color: rgba(245,200,66,.4); box-shadow: 0 0 0 3px rgba(245,200,66,.07); }
.forum-post {
  background: var(--dark3); border: 1px solid var(--glass-border);
  border-radius: 18px; padding: 24px; transition: all .22s;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.forum-post:hover {
  border-color: rgba(245,200,66,.25); transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.25), 0 0 20px rgba(245,200,66,.06);
}
.post-header { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.post-avatar {
  width: 46px; height: 46px; border-radius: 50%; font-weight: 900; font-size: 18px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.forum-post:nth-child(odd) .post-avatar { background: linear-gradient(135deg, var(--gold), var(--orange)); color: #07070f; }
.forum-post:nth-child(even) .post-avatar { background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; }
.post-author { font-weight: 800; font-size: 14px; color: var(--text); }
.post-meta { font-size: 12px; color: var(--text-muted); }
.post-body { font-size: 14px; line-height: 1.78; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.post-actions { display: flex; gap: 10px; }
.post-action-btn {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 7px 16px; font-size: 13px;
  cursor: pointer; transition: all .2s; display: flex; align-items: center;
  gap: 6px; font-weight: 700; color: var(--text-muted);
}
.post-action-btn:hover { border-color: rgba(245,200,66,.3); color: var(--gold); background: rgba(245,200,66,.07); }
.reply-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--glass-border); }
.post-replies { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.reply-item {
  background: var(--dark4); border-radius: 10px; padding: 12px 16px;
  font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.7);
  border-left: 3px solid var(--gold);
}
.reply-time { color: var(--text-muted); font-size: 11px; margin-left: 6px; }

/* ══ SALARY GUIDE ════════════════════════════════════════════════════════════════ */
.salary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.salary-resource-card {
  background: var(--dark3); border: 1px solid var(--glass-border);
  border-radius: 18px; padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15); transition: all .22s;
}
.salary-resource-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.25); }
.salary-resource-card:nth-child(2) { border-top: 3px solid var(--gold); }
.salary-resource-card:nth-child(3) { border-top: 3px solid var(--pink); }
.salary-resource-card:nth-child(4) { border-top: 3px solid var(--orange); }
.salary-resource-card:nth-child(5) { border-top: 3px solid var(--teal); }
.salary-resource-card:nth-child(6) { border-top: 3px solid var(--sky); }
.featured-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--dark4), rgba(139,92,246,.15));
  border-color: rgba(245,200,66,.3);
  box-shadow: 0 0 40px rgba(245,200,66,.08);
}
.resource-icon { font-size: 34px; margin-bottom: 14px; }
.salary-resource-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.salary-resource-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.resource-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.resource-link {
  background: rgba(245,200,66,.08); color: var(--gold);
  font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 8px;
  text-decoration: none; transition: all .2s;
  border: 1px solid rgba(245,200,66,.25);
}
.resource-link:hover { background: var(--gold); color: #07070f; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(245,200,66,.3); }
.salary-steps { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.salary-steps li { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.75); }
.salary-steps li strong { color: var(--gold); }
.script-box {
  background: rgba(245,200,66,.04);
  border: 1px solid rgba(245,200,66,.15);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0; padding: 14px 18px;
}
.script-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--gold); margin-bottom: 8px; }
.script-text { font-size: 13px; line-height: 1.7; font-style: italic; color: rgba(255,255,255,.7); }
.salary-tips { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.salary-tips li { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.55; }

/* ══ CHECK-IN ════════════════════════════════════════════════════════════════════ */
.checkin-prompt-box {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  border: 1px solid rgba(245,200,66,.25);
  border-radius: 20px; padding: 36px; color: #fff; margin-bottom: 30px;
  box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 40px rgba(245,200,66,.08);
  position: relative; overflow: hidden;
}
.checkin-prompt-box::before {
  content: '✦'; position: absolute; right: 32px; top: 24px;
  font-size: 90px; opacity: .05; line-height: 1; color: var(--gold);
}
.checkin-prompt-box::after {
  content: '✦'; position: absolute; left: 20px; bottom: 10px;
  font-size: 50px; opacity: .04; line-height: 1; color: var(--purple);
}
.checkin-prompt-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); opacity: .8; margin-bottom: 14px; }
.checkin-prompt-text { font-size: 26px; font-weight: 900; line-height: 1.35; }
.checkin-form {
  background: var(--dark3); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 32px; margin-bottom: 30px;
  border-top: 3px solid var(--teal);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.checkin-form h3 { color: var(--text); }
.checkin-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 4px; }
.checkin-field { display: flex; flex-direction: column; gap: 8px; }
.checkin-field label { font-weight: 700; font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .5px; }
.checkin-milestones { margin-bottom: 30px; }
.checkin-milestones h3 { font-size: 20px; font-weight: 900; margin-bottom: 20px; color: var(--text); }
.milestone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.milestone-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--dark3); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 16px 18px; cursor: pointer; transition: all .22s;
}
.milestone-item:hover { border-color: rgba(245,200,66,.3); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.milestone-item.completed { background: rgba(34,197,94,.06); border-color: rgba(34,197,94,.3); }
.milestone-item.completed .milestone-check { background: linear-gradient(135deg, var(--green), var(--teal)); box-shadow: 0 4px 14px rgba(34,197,94,.3); }
.milestone-check {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.3); font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; transition: all .22s;
}
.milestone-item.completed .milestone-check { color: #fff; }
.milestone-text { display: flex; flex-direction: column; gap: 4px; }
.milestone-text strong { font-size: 14px; font-weight: 800; color: var(--text); }
.milestone-text span { font-size: 12px; color: var(--text-muted); line-height: 1.45; }
.checkin-reminder {
  background: linear-gradient(135deg, rgba(245,200,66,.06), rgba(251,146,60,.04));
  border: 1px solid rgba(245,200,66,.25); border-radius: 18px;
  padding: 32px; text-align: center;
  box-shadow: 0 0 30px rgba(245,200,66,.06);
}
.checkin-reminder h3 { font-size: 20px; font-weight: 900; margin-bottom: 10px; color: var(--gold); }
.checkin-reminder p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ══ RESPONSIVE — TABLET (≤900px) ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Nav */
  .nav-inner { padding: 0 20px; height: 60px; }

  /* Dashboard layout — sidebar becomes top tab bar */
  .dashboard { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky; top: 60px; z-index: 90;
    height: auto; overflow-x: auto; overflow-y: hidden;
    display: flex; flex-direction: row; flex-wrap: nowrap; gap: 4px;
    padding: 5px 12px; border-right: none;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(7,7,15,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    scrollbar-width: none;
  }
  .sidebar::-webkit-scrollbar { display: none; }
  .sidebar-section { margin-bottom: 0; display: contents; }
  .sidebar-label { display: none; }
  .sidebar-btn {
    width: auto; flex-shrink: 0;
    padding: 5px 10px; font-size: 12px;
    white-space: nowrap;
  }
  .sidebar-icon { font-size: 15px; }
  .sidebar-pro-box { display: none; }

  /* Main */
  .dash-main { padding: 24px 20px 60px; }
  .panel-header h1 { font-size: 24px; }

  /* Inputs */
  .inputs { grid-template-columns: 1fr; }
  .email-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .email-hint { font-size: 12px; }

  /* Mode buttons */
  .mode-row { gap: 8px; }
  .mode-btn { padding: 9px 14px; font-size: 13px; }

  /* Output */
  .output-header { flex-wrap: wrap; gap: 10px; }

  /* Download row */
  .download-row { flex-direction: column; gap: 10px; }
  .download-btn { width: 100%; justify-content: center; }

  /* Field header (upload button) */
  .field-header { gap: 10px; }

  /* Upsell */
  .upsell { flex-direction: column; align-items: flex-start; }

  /* Salary guide */
  .salary-grid { grid-template-columns: 1fr; }
  .featured-card { grid-column: 1; }

  /* Forum */
  .forum-compose { padding: 20px; }

  /* Check-in */
  .checkin-fields { grid-template-columns: 1fr; }
  .milestone-grid { grid-template-columns: 1fr; }
  .checkin-prompt-text { font-size: 20px; }
  .checkin-prompt-box { padding: 24px; }

  /* Help */
  .help-grid { grid-template-columns: 1fr; }

  /* Landing page */
  .demo-card { grid-template-columns: 1fr; gap: 12px; }
  .demo-arrow { display: none; }
  .hero { padding: 70px 20px 60px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 60px 20px; }
  .section-title { font-size: 28px; margin-bottom: 36px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
}

/* ══ RESPONSIVE — PHONE (≤480px) ════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Nav */
  .nav-inner { padding: 0 16px; height: 56px; }
  .nav-inner .btn { padding: 8px 14px; font-size: 13px; }
  #navUsername { display: none !important; }
  #logoutBtn { padding: 8px 12px !important; font-size: 12px !important; }

  /* Sidebar tab bar — tighter */
  .sidebar { top: 56px; padding: 2px 8px; gap: 2px; }
  .sidebar-btn { padding: 4px 8px; font-size: 11px; gap: 4px; border-radius: 7px; }
  .sidebar-icon { font-size: 13px; }

  /* Main */
  .dash-main { padding: 20px 16px 80px; }
  .panel-header { margin-bottom: 20px; }
  .panel-header h1 { font-size: 22px; letter-spacing: -.3px; }
  .panel-header p { font-size: 14px; }

  /* Mode buttons — wrap nicely */
  .mode-row { gap: 6px; }
  .mode-btn { padding: 8px 12px; font-size: 12px; border-radius: 8px; }

  /* Textareas */
  textarea { min-height: 180px; padding: 13px; font-size: 14px; }

  /* Email row */
  .email-row input { font-size: 15px; padding: 13px 15px; }

  /* Output */
  .output-box { padding: 18px; font-size: 13px; }
  .output-header h2 { font-size: 16px; }

  /* Download */
  .download-btn { padding: 13px 16px; font-size: 14px; }

  /* Upload button */
  .upload-btn { padding: 7px 12px; font-size: 12px; }

  /* Buttons */
  .btn-lg { padding: 14px 28px; font-size: 15px; }
  .btn-full { padding: 14px; font-size: 15px; }

  /* Forum */
  .forum-compose { padding: 16px; }
  .forum-post { padding: 18px 16px; }
  .post-avatar { width: 38px; height: 38px; font-size: 15px; }

  /* Check-in */
  .checkin-prompt-text { font-size: 18px; }
  .checkin-prompt-box { padding: 20px; }
  .checkin-form { padding: 20px; }
  .milestone-item { padding: 13px 14px; gap: 11px; }

  /* Salary */
  .salary-resource-card { padding: 20px; }

  /* Help */
  .help-form-card, .help-faq-card { padding: 20px; }

  /* Upsell */
  .upsell { padding: 18px 20px; }

  /* Toast */
  .toast { bottom: 16px; right: 16px; left: 16px; text-align: center; font-size: 13px; }

  /* Hero */
  .hero { padding: 56px 16px 48px; }
  h1 { font-size: clamp(32px, 9vw, 48px); letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; margin-bottom: 32px; }
  .hero-cta .btn-lg { padding: 14px 28px; font-size: 15px; width: 100%; }
  .demo-card { padding: 18px; }
  .demo-text { font-size: 12px; }
  .section { padding: 48px 16px; }
  .section-title { font-size: 24px; margin-bottom: 28px; }
  .pricing-card { padding: 28px 22px; }
  .plan-price { font-size: 52px; }

  /* Auth modal */
  .auth-card { padding: 28px 22px; border-radius: 16px; }
  .auth-heading { font-size: 20px; }
}

/* ── Help & Support ──────────────────────────────────────────────────────── */
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.help-form-card, .help-faq-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  gap: 12px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }

.faq-arrow {
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
  transition: color 0.2s;
}
.faq-q:hover .faq-arrow { color: var(--gold); }

.faq-a {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══ TEMPLATE GALLERY ════════════════════════════════════════════════════════════ */
.template-gallery {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.tpl-card {
  width: 160px; flex-shrink: 0; cursor: pointer; border-radius: 10px; overflow: hidden;
  transition: transform .22s, box-shadow .22s;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03);
}
.tpl-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,.4), 0 0 0 1px rgba(245,200,66,0.2); }
.tpl-card.locked:hover { box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.tpl-preview-wrap {
  width: 160px; height: 207px; overflow: hidden; position: relative; background: #f5f5f5;
}
.tpl-preview-inner {
  position: absolute; top: 0; left: 0;
  width: 794px; height: 1123px;
  transform: scale(0.2015); transform-origin: top left; pointer-events: none;
}
.tpl-card-label {
  padding: 9px 10px; font-size: 11px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tpl-free-badge {
  position: absolute; top: 7px; left: 7px;
  background: rgba(34,197,94,0.92); color: #fff;
  font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 20px; letter-spacing: .5px;
}
.tpl-lock-overlay {
  position: absolute; inset: 0; background: rgba(7,7,15,0.72);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.tpl-pro-badge {
  background: linear-gradient(135deg,#f5c842,#fb923c); color: #07070f;
  font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 20px; letter-spacing: .5px;
}
/* Template modal */
.tpl-modal-overlay {
  position: fixed; inset: 0; z-index: 9998; background: rgba(7,7,15,0.92);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.tpl-modal-box {
  background: #16162a; border: 1px solid rgba(245,200,66,0.2); border-radius: 16px;
  width: 100%; max-width: 880px; height: 90vh; display: flex; flex-direction: column;
  overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.tpl-modal-header {
  padding: 14px 20px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0;
}
.tpl-modal-title { font-size: 15px; font-weight: 800; color: var(--text); }
.tpl-modal-body { flex: 1; overflow: auto; background: #d8d8e0; padding: 20px; }
.tpl-modal-body iframe {
  width: 794px; min-height: 1123px; border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,.3); display: block; margin: 0 auto; background: #fff;
}
.tpl-free-note {
  background: rgba(245,200,66,0.08); border: 1px solid rgba(245,200,66,0.3);
  border-radius: 12px; padding: 13px 18px; margin-bottom: 20px; font-size: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 600px) {
  .tpl-card { width: calc(50% - 7px); }
  .tpl-preview-wrap { width: 100%; }
  .tpl-modal-body iframe { width: 100%; min-width: 0; }
}
