/* ── app.css — FiveM Script Generator ── */

/* ── 1. CSS Variables ── */
:root {
  --primary:        #6C63FF;
  --primary-hover:  #5A52E0;
  --primary-glow:   rgba(108,99,255,0.3);
  --secondary:      #00D4AA;
  --danger:         #FF4757;
  --warning:        #FFA502;
  --success:        #2ED573;

  --transition-fast: 0.15s ease;
  --transition:      0.25s ease;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  --shadow:    0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
}

[data-theme="dark"], :root {
  --bg:           #0D0D1A;
  --bg-secondary: #111127;
  --bg-card:      #161630;
  --bg-input:     #1E1E3A;
  --border:       rgba(255,255,255,0.08);
  --text:         #E8E8F5;
  --text-muted:   #8888AA;
}

[data-theme="light"] {
  --bg:           #F5F5FF;
  --bg-secondary: #EBEBFF;
  --bg-card:      #FFFFFF;
  --bg-input:     #F0F0FF;
  --border:       rgba(0,0,0,0.1);
  --text:         #1A1A2E;
  --text-muted:   #666688;
}

/* ── 2. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-hover); }

img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 3. Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── 4. Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,26,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition), background var(--transition);
}
[data-theme="light"] .navbar {
  background: rgba(245,245,255,0.9);
}
.navbar--scrolled { padding: 4px 0; }

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.logo-icon { font-size: 22px; }
.logo-text { color: var(--primary); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: var(--border);
}
.nav-link--admin { color: var(--warning) !important; }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.nav-user-menu { display: flex; align-items: center; gap: 8px; }
.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: border-color var(--transition-fast);
}
.nav-avatar:hover { border-color: var(--primary-hover); }

/* ── 5. Theme Toggle ── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.theme-toggle:hover { color: var(--text); background: var(--border); }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ── 6. Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 7. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 0 20px var(--primary-glow);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--ghost {
  background: var(--border);
  color: var(--text);
  border-color: transparent;
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }

.btn--danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn--danger:hover { background: #e0394a; }

.btn--sm { padding: 6px 14px; font-size: 13px; }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

.btn[disabled], .btn.loading {
  opacity: 0.6;
  pointer-events: none;
}
.btn.loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 6px;
}

/* ── 8. Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card--glow:hover {
  box-shadow: 0 0 32px var(--primary-glow);
}

/* ── 9. Forms ── */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control--error { border-color: var(--danger) !important; }

textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 5px; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.checkbox-group input[type="checkbox"] { margin-top: 2px; accent-color: var(--primary); }
.checkbox-group a { color: var(--primary); }

/* ── 10. Flash Messages ── */
.flash {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  max-width: 380px;
  box-shadow: var(--shadow);
  animation: slideInRight 0.3s ease;
  border-left: 4px solid transparent;
}
.flash--success { background: var(--bg-card); border-color: var(--success); color: var(--success); }
.flash--error   { background: var(--bg-card); border-color: var(--danger);  color: var(--danger); }
.flash--warning { background: var(--bg-card); border-color: var(--warning); color: var(--warning); }
.flash--info    { background: var(--bg-card); border-color: var(--primary); color: var(--primary); }
.flash--hiding  { animation: slideOutRight 0.4s ease forwards; }
.flash__close   { margin-left: auto; color: var(--text-muted); font-size: 18px; line-height: 1; }
.flash svg { flex-shrink: 0; width: 16px; height: 16px; }

/* ── 11. Main Content ── */
.main-content { min-height: calc(100vh - 64px - 280px); }

/* ── 12. Section / Page Header ── */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}
.page-header p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 13. Hero Section ── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.hero p   { font-size: 18px; color: var(--text-muted); max-width: 580px; margin: 0 auto 36px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 14. Code Block (Hero animation) ── */
.hero-code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 640px;
  margin: 60px auto 0;
  text-align: left;
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.8;
  position: relative;
  overflow: hidden;
}
.hero-code::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.hero-code__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.hero-code__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.hero-code__dot:nth-child(1) { background: #FF5F57; }
.hero-code__dot:nth-child(2) { background: #FEBC2E; }
.hero-code__dot:nth-child(3) { background: #28C840; }
.code-line { display: block; opacity: 0; animation: fadeInLine 0.3s ease forwards; }
.code-kw  { color: #C678DD; }
.code-fn  { color: #61AFEF; }
.code-str { color: #98C379; }
.code-cmt { color: #5C6370; font-style: italic; }
.code-num { color: #D19A66; }

/* ── 15. Features Grid ── */
.features { padding: 80px 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.feature-card p  { color: var(--text-muted); font-size: 14px; }

/* ── 16. Pricing ── */
.pricing { padding: 80px 0; }
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 32px 0 48px;
  font-size: 14px;
  font-weight: 500;
}
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.toggle-switch.active { background: var(--primary); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}
.toggle-switch.active::after { transform: translateX(24px); }
.toggle-badge {
  background: var(--success);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px var(--primary-glow);
  transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card__name  { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-card__price { font-size: 42px; font-weight: 800; margin-bottom: 4px; line-height: 1; }
.pricing-card__price span[data-monthly] { font-size: inherit; font-weight: inherit; color: inherit; }
.pricing-card__price span:not([data-monthly]) { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-card__period { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card__features { margin-bottom: 28px; }
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features li svg { color: var(--success); flex-shrink: 0; width: 15px; height: 15px; }

/* ── 17. FAQ ── */
.faq { padding: 80px 0; }
.faq__list { max-width: 700px; margin: 48px auto 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item__question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition-fast);
}
.faq-item__question:hover { background: var(--border); }
.faq-item__question svg { flex-shrink: 0; transition: transform var(--transition-fast); }
.faq-item.open .faq-item__question svg { transform: rotate(180deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition-fast);
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.open .faq-item__answer { max-height: 400px; padding: 0 20px 18px; }

/* ── 18. How It Works ── */
.how-it-works { padding: 80px 0; background: var(--bg-secondary); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.step { text-align: center; padding: 24px; }
.step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-glow);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 18px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.step p   { color: var(--text-muted); font-size: 14px; }

/* ── 19. Section Header ── */
.section-header { text-align: center; }
.section-header h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; margin-bottom: 12px; }
.section-header p  { color: var(--text-muted); font-size: 16px; max-width: 520px; margin: 0 auto; }

/* ── 20. Dashboard Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.stat-card__label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.stat-card__value { font-size: 28px; font-weight: 800; color: var(--primary); }
.stat-card__sub   { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── 21. Progress Bar ── */
.progress-bar {
  height: 8px;
  background: var(--bg-input);
  border-radius: 4px;
  overflow: hidden;
  margin: 10px 0;
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* ── 22. Tables ── */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
  text-align: left;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(108,99,255,0.04); }

/* ── 23. Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge--success  { background: rgba(46,213,115,0.15); color: var(--success); }
.badge--danger   { background: rgba(255,71,87,0.15);  color: var(--danger); }
.badge--warning  { background: rgba(255,165,2,0.15);  color: var(--warning); }
.badge--primary  { background: var(--primary-glow);   color: var(--primary); }
.badge--muted    { background: var(--bg-input);        color: var(--text-muted); }

/* ── 24. Auth Pages ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.auth-card__logo { text-align: center; margin-bottom: 28px; font-size: 26px; font-weight: 800; }
.auth-card__logo .logo-text { color: var(--primary); }
.auth-card h1   { text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.auth-card__sub { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-card__footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ── 25. Footer ── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}
.footer__brand { display: flex; flex-direction: column; gap: 0; }
.footer__logo { font-size: 19px; font-weight: 800; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.footer__logo .logo-text { color: var(--primary); }
.footer__tagline { color: var(--text-muted); font-size: 14px; margin-top: 12px; line-height: 1.6; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all .15s;
}
.footer__social-link:hover { border-color: var(--primary); color: var(--primary); }
.footer__col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer__col a  { font-size: 14px; color: var(--text-muted); transition: color var(--transition-fast); text-decoration: none; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__bottom-sub { font-size: 12px; opacity: .6; }

/* ── 26. Checkout ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  max-width: 960px;
  margin: 40px auto;
  padding: 0 24px;
  align-items: start;
}
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.order-summary__line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.order-summary__line:last-child { border-bottom: none; font-weight: 700; font-size: 16px; }
.order-summary__label { color: var(--text-muted); }

/* ── 27. Tabs (Generator) ── */
.tabs { display: flex; gap: 2px; background: var(--bg-input); border-radius: var(--radius-sm); padding: 3px; margin-bottom: 16px; }
.tab {
  flex: 1;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.tab.active { background: var(--bg-card); color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── 28. Error Pages ── */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.error-page__code { font-size: 96px; font-weight: 900; color: var(--primary); opacity: 0.3; line-height: 1; }
.error-page h1    { font-size: 28px; font-weight: 700; margin: 12px 0 8px; }
.error-page p     { color: var(--text-muted); max-width: 420px; margin: 0 auto 28px; }

/* ── 29. Plan Overlay (generator no-plan) ── */
.plan-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,26,0.9);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.plan-overlay__box { text-align: center; padding: 40px; }
.plan-overlay__box h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.plan-overlay__box p  { color: var(--text-muted); margin-bottom: 24px; }

/* ── 30. Animations ── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInLine { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes slideOutRight { to { opacity: 0; transform: translateX(30px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.animate-pulse { animation: pulse 1.5s ease infinite; }

/* ── 31. Responsive ── */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar__links { display: none; position: fixed; inset: 64px 0 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 24px; gap: 4px; z-index: 99; overflow-y: auto; }
  .navbar__links.open { display: flex; }
  .nav-link { width: 100%; padding: 12px 16px; font-size: 16px; }
  .hamburger { display: flex; }
  .navbar__actions .btn:not(.btn--sm):not(#themeToggle) { display: none; }
  .hero { padding: 60px 0 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .features__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: center; }
}
