/* ═══════════════════════════════════════
   TwitchLift — Complete Stylesheet
   ═══════════════════════════════════════ */
:root {
   --bg: #0a0a0f;
   --bg-card: #12121a;
   --bg-card-hover: #1a1a2e;
   --bg-glass: rgba(18, 18, 26, 0.7);
   --bg-input: #16161f;
   --border: #1e1e2e;
   --border-hover: #2a2a3e;
   --text: #e4e4e7;
   --text-muted: #71717a;
   --text-dim: #52525b;
   --purple: #a855f7;
   --indigo: #6366f1;
   --green: #22c55e;
   --red: #ef4444;
   --amber: #f59e0b;
   --blue: #3b82f6;
   --grad: linear-gradient(135deg, #a855f7, #6366f1);
   --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
   --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.15);
   --radius: 12px;
   --radius-sm: 8px;
   --font: 'Inter', system-ui, sans-serif;
   --tr: 0.2s cubic-bezier(0.4, 0, 0.2, 1)
}

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

html {
   scroll-behavior: smooth;
   -webkit-font-smoothing: antialiased
}

body {
   font-family: var(--font);
   background: var(--bg);
   color: var(--text);
   line-height: 1.6;
   min-height: 100vh;
   overflow-x: hidden
}

a {
   color: var(--purple);
   text-decoration: none;
   transition: color var(--tr)
}

a:hover {
   color: var(--indigo)
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 24px
}

.glass {
   background: var(--bg-glass);
   backdrop-filter: blur(16px);
   border: 1px solid var(--border)
}

.gradient-text,
.accent {
   background: var(--grad);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text
}

/* Buttons */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   padding: 10px 24px;
   border-radius: var(--radius-sm);
   font-weight: 600;
   font-size: 14px;
   border: none;
   transition: all var(--tr);
   cursor: pointer;
   font-family: var(--font);
   text-decoration: none;
   white-space: nowrap
}

.btn-primary {
   background: var(--grad);
   color: #fff;
   box-shadow: 0 2px 12px rgba(168, 85, 247, 0.3)
}

.btn-primary:hover {
   box-shadow: 0 4px 20px rgba(168, 85, 247, 0.5);
   transform: translateY(-1px);
   color: #fff
}

.btn-secondary {
   background: var(--bg-card);
   color: var(--text);
   border: 1px solid var(--border)
}

.btn-secondary:hover {
   border-color: var(--purple);
   background: var(--bg-card-hover);
   color: #fff
}

.btn-ghost {
   background: transparent;
   color: var(--text-muted);
   border: 1px solid transparent
}

.btn-ghost:hover {
   color: var(--text);
   border-color: var(--border)
}

.btn-danger {
   background: var(--red);
   color: #fff
}

.btn-sm {
   padding: 7px 16px;
   font-size: 13px
}

.btn-lg {
   padding: 14px 32px;
   font-size: 16px
}

.btn:disabled {
   opacity: 0.5;
   cursor: not-allowed;
   transform: none !important
}

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

.form-label {
   display: block;
   font-size: 13px;
   font-weight: 500;
   color: var(--text-muted);
   margin-bottom: 6px
}

.form-input {
   width: 100%;
   padding: 10px 14px;
   background: var(--bg-input);
   border: 1px solid var(--border);
   border-radius: var(--radius-sm);
   color: var(--text);
   font-size: 14px;
   transition: all var(--tr);
   font-family: var(--font)
}

.form-input:focus {
   outline: none;
   border-color: var(--purple);
   box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15)
}

.form-input::placeholder {
   color: var(--text-dim)
}

select.form-input {
   appearance: none;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2371717a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
   background-position: right 12px center
}

/* Badges */
.badge {
   display: inline-flex;
   padding: 2px 8px;
   font-size: 11px;
   font-weight: 600;
   border-radius: 20px;
   text-transform: uppercase;
   letter-spacing: 0.5px
}

.badge-green {
   background: rgba(34, 197, 94, 0.15);
   color: var(--green)
}

.badge-red {
   background: rgba(239, 68, 68, 0.15);
   color: var(--red)
}

.badge-blue {
   background: rgba(59, 130, 246, 0.15);
   color: var(--blue)
}

.badge-amber {
   background: rgba(245, 158, 11, 0.15);
   color: var(--amber)
}

.badge-purple {
   background: rgba(168, 85, 247, 0.15);
   color: var(--purple)
}

/* Flash */
.flash-container {
   position: fixed;
   top: 80px;
   right: 24px;
   z-index: 9999
}

.flash {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 12px 20px;
   border-radius: var(--radius-sm);
   font-size: 14px;
   animation: slideIn .3s ease;
   min-width: 300px;
   margin-bottom: 8px
}

.flash-success {
   background: rgba(34, 197, 94, 0.15);
   border: 1px solid rgba(34, 197, 94, 0.3);
   color: var(--green)
}

.flash-error {
   background: rgba(239, 68, 68, 0.15);
   border: 1px solid rgba(239, 68, 68, 0.3);
   color: var(--red)
}

.flash-info {
   background: rgba(59, 130, 246, 0.15);
   border: 1px solid rgba(59, 130, 246, 0.3);
   color: var(--blue)
}

.flash-close {
   background: none;
   border: none;
   color: inherit;
   font-size: 18px;
   cursor: pointer;
   opacity: 0.7
}

@keyframes slideIn {
   from {
      transform: translateX(100%);
      opacity: 0
   }

   to {
      transform: translateX(0);
      opacity: 1
   }
}

/* ── NAV ── */
.nav {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 1000;
   padding: 16px 0;
   transition: all var(--tr)
}

.nav.scrolled {
   background: rgba(10, 10, 15, 0.92);
   backdrop-filter: blur(20px);
   border-bottom: 1px solid var(--border);
   padding: 10px 0
}

.nav-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 24px;
   display: flex;
   align-items: center;
   justify-content: space-between
}

.nav-brand {
   display: flex;
   align-items: center;
   gap: 10px;
   text-decoration: none
}

.brand-text {
   font-size: 22px;
   font-weight: 800;
   color: var(--text);
   letter-spacing: -0.5px
}

.nav-links {
   display: flex;
   gap: 32px
}

.nav-mobile-auth {
   display: none
}

.nav-link {
   color: var(--text-muted);
   font-size: 14px;
   font-weight: 500;
   transition: color var(--tr)
}

.nav-link:hover {
   color: var(--text)
}

.nav-actions {
   display: flex;
   align-items: center;
   gap: 12px
}

.lang-switch {
   display: flex;
   gap: 2px;
   border-radius: 50px;
   background: rgba(255, 255, 255, 0.05);
   padding: 3px;
   box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3)
}

.lang-btn {
   padding: 5px 12px;
   font-size: 12px;
   font-weight: 600;
   border-radius: 50px;
   color: rgba(255, 255, 255, 0.5);
   text-decoration: none;
   transition: all var(--tr)
}

.lang-btn:hover {
   color: rgba(255, 255, 255, 0.8)
}

.lang-btn.active {
   background: #fff;
   color: var(--bg);
   box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3)
}

.nav-toggle {
   display: none;
   background: none;
   border: none;
   width: 28px;
   height: 20px;
   flex-direction: column;
   justify-content: space-between;
   cursor: pointer
}

.nav-toggle span {
   display: block;
   height: 2px;
   background: var(--text);
   border-radius: 1px
}

@media(max-width:768px) {
   .nav-links {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      height: 100dvh;
      background: #0a0a0f;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 28px;
      z-index: 10000;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding: 80px 20px 40px
   }

   .nav-links.open {
      display: flex
   }

   .nav-link {
      font-size: 22px;
      font-weight: 600;
      color: var(--text)
   }

   .nav-toggle {
      display: flex;
      z-index: 10001
   }

   .nav-actions .btn {
      display: none
   }

   .nav-actions .lang-switch {
      margin-right: 4px
   }

   .nav-mobile-auth {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 8px;
      width: 200px
   }

   .nav-mobile-auth .btn {
      display: flex;
      width: 100%;
      text-align: center;
      justify-content: center
   }
}

/* ── HERO ── */
.hero {
   padding: 160px 0 100px;
   text-align: center;
   position: relative;
   overflow: hidden
}

.hero::before {
   content: '';
   position: absolute;
   top: -200px;
   left: 50%;
   transform: translateX(-50%);
   width: 800px;
   height: 800px;
   background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
   pointer-events: none
}

.hero-badge {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 6px 16px;
   background: rgba(168, 85, 247, 0.1);
   border: 1px solid rgba(168, 85, 247, 0.2);
   border-radius: 50px;
   font-size: 13px;
   color: var(--purple);
   margin-bottom: 24px;
   animation: fadeUp .6s ease
}

.hero-badge .pulse {
   width: 8px;
   height: 8px;
   background: var(--green);
   border-radius: 50%;
   animation: pulse 2s infinite
}

@keyframes pulse {

   0%,
   100% {
      opacity: 1
   }

   50% {
      opacity: 0.4
   }
}

.hero h1 {
   font-size: clamp(36px, 5vw, 64px);
   font-weight: 800;
   line-height: 1.1;
   margin-bottom: 20px;
   letter-spacing: -1.5px;
   animation: fadeUp .6s ease .1s both
}

.hero-sub {
   font-size: 18px;
   color: var(--text-muted);
   max-width: 560px;
   margin: 0 auto 36px;
   line-height: 1.7;
   animation: fadeUp .6s ease .2s both
}

.hero-actions {
   display: flex;
   gap: 16px;
   justify-content: center;
   flex-wrap: wrap;
   animation: fadeUp .6s ease .3s both
}

.hero-stats {
   display: flex;
   gap: 48px;
   justify-content: center;
   margin-top: 60px;
   animation: fadeUp .6s ease .4s both
}

.hero-stat .stat-num {
   font-size: 28px;
   font-weight: 800;
   background: var(--grad);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent
}

.hero-stat .stat-label {
   font-size: 13px;
   color: var(--text-dim);
   margin-top: 4px
}

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

   to {
      opacity: 1;
      transform: translateY(0)
   }
}

/* ── TRUST BAR ── */
.trust-bar {
   background: var(--bg-card);
   border-top: 1px solid var(--border);
   border-bottom: 1px solid var(--border);
   padding: 20px 0
}

.trust-items {
   display: flex;
   justify-content: center;
   gap: 48px;
   flex-wrap: wrap
}

.trust-item {
   font-size: 14px;
   color: var(--text-muted)
}

/* ── SECTIONS ── */
.section {
   padding: 80px 0
}

.section-header {
   text-align: center;
   margin-bottom: 56px
}

.section-tag {
   display: inline-block;
   font-size: 13px;
   font-weight: 600;
   color: var(--purple);
   text-transform: uppercase;
   letter-spacing: 1.5px;
   margin-bottom: 12px
}

.section-title {
   font-size: clamp(28px, 3.5vw, 42px);
   font-weight: 800;
   letter-spacing: -0.5px;
   margin-bottom: 16px
}

.section-desc {
   color: var(--text-muted);
   font-size: 16px;
   max-width: 520px;
   margin: 0 auto
}

/* Features */
.features-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 24px
}

.feature-card {
   background: var(--bg-card);
   border: 1px solid var(--border);
   border-radius: 16px;
   padding: 32px;
   transition: all var(--tr);
   position: relative;
   overflow: hidden
}

.feature-card:hover {
   border-color: var(--purple);
   transform: translateY(-4px);
   box-shadow: var(--shadow-glow)
}

.feature-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 2px;
   background: var(--grad);
   opacity: 0;
   transition: opacity var(--tr)
}

.feature-card:hover::before {
   opacity: 1
}

.feature-icon {
   font-size: 28px;
   margin-bottom: 16px
}

.feature-card h3 {
   font-size: 18px;
   font-weight: 700;
   margin-bottom: 10px
}

.feature-card p {
   color: var(--text-muted);
   font-size: 14px;
   line-height: 1.7
}

/* Advanced Features */
.adv-features-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 24px;
   max-width: 1000px;
   margin: 0 auto
}

.adv-feature-card {
   position: relative;
   background: var(--bg-card);
   border: 1px solid var(--border);
   border-radius: 16px;
   padding: 36px 32px;
   display: flex;
   gap: 20px;
   align-items: flex-start;
   transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
   overflow: hidden
}

.adv-feature-card:hover {
   border-color: rgba(168, 85, 247, 0.45);
   transform: translateY(-5px);
   box-shadow: 0 8px 40px rgba(168, 85, 247, 0.15)
}

.adv-feature-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 2px;
   background: var(--grad);
   opacity: 0;
   transition: opacity .35s ease
}

.adv-feature-card:hover::before {
   opacity: 1
}

.adv-feature-glow {
   position: absolute;
   top: -60px;
   right: -60px;
   width: 160px;
   height: 160px;
   background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
   opacity: 0;
   transition: opacity .4s ease;
   pointer-events: none
}

.adv-feature-card:hover .adv-feature-glow {
   opacity: 1
}

.adv-feature-icon-wrap {
   flex-shrink: 0;
   width: 56px;
   height: 56px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 14px;
   background: rgba(168, 85, 247, 0.08);
   border: 1px solid rgba(168, 85, 247, 0.15);
   transition: all .35s ease
}

.adv-feature-card:hover .adv-feature-icon-wrap {
   background: rgba(168, 85, 247, 0.14);
   border-color: rgba(168, 85, 247, 0.3);
   box-shadow: 0 0 20px rgba(168, 85, 247, 0.12)
}

.adv-feature-body h3 {
   font-size: 18px;
   font-weight: 700;
   margin-bottom: 10px;
   letter-spacing: -0.3px
}

.adv-feature-body p {
   color: var(--text-muted);
   font-size: 14px;
   line-height: 1.8
}

@media(max-width:768px) {
   .adv-features-grid {
      grid-template-columns: 1fr
   }

   .adv-feature-card {
      padding: 28px 24px
   }
}

/* Pricing */
.pricing-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 24px;
   max-width: 1100px;
   margin: 0 auto
}

.pricing-card {
   background: var(--bg-card);
   border: 1px solid var(--border);
   border-radius: 16px;
   padding: 32px;
   position: relative;
   transition: all var(--tr);
   display: flex;
   flex-direction: column
}

.pricing-card:hover {
   transform: translateY(-4px);
   box-shadow: var(--shadow-glow)
}

.pricing-card.popular {
   border-color: var(--purple);
   box-shadow: var(--shadow-glow)
}

.pricing-card.popular::before {
   content: 'MOST POPULAR';
   position: absolute;
   top: -1px;
   left: 50%;
   transform: translateX(-50%);
   background: var(--grad);
   color: #fff;
   font-size: 11px;
   font-weight: 700;
   padding: 4px 16px;
   border-radius: 0 0 8px 8px;
   letter-spacing: .5px
}

.pricing-name {
   font-size: 18px;
   font-weight: 700;
   margin-bottom: 8px
}

.pricing-price {
   margin-bottom: 24px
}

.pricing-price .amount {
   font-size: 42px;
   font-weight: 800;
   letter-spacing: -1px
}

.pricing-price .currency {
   font-size: 18px;
   color: var(--text-muted);
   vertical-align: super
}

.pricing-price .period {
   font-size: 14px;
   color: var(--text-dim)
}

.pricing-features {
   list-style: none;
   margin-bottom: 28px;
   flex: 1
}

.pricing-features li {
   padding: 8px 0;
   font-size: 14px;
   color: var(--text-muted);
   display: flex;
   align-items: center;
   gap: 10px
}

.pricing-features li::before {
   content: '✓';
   color: var(--green);
   font-weight: 700
}

/* FAQ */
.faq-list {
   max-width: 720px;
   margin: 0 auto
}

.faq-item {
   border: 1px solid var(--border);
   border-radius: var(--radius);
   margin-bottom: 12px;
   overflow: hidden;
   transition: border-color var(--tr)
}

.faq-item.open {
   border-color: rgba(168, 85, 247, 0.3)
}

.faq-q {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 18px 24px;
   cursor: pointer;
   font-weight: 600;
   font-size: 15px;
   background: var(--bg-card);
   transition: background var(--tr)
}

.faq-q:hover {
   background: var(--bg-card-hover)
}

.faq-q .arrow {
   transition: transform var(--tr);
   color: var(--text-dim)
}

.faq-item.open .faq-q .arrow {
   transform: rotate(180deg);
   color: var(--purple)
}

.faq-a {
   padding: 0 24px;
   max-height: 0;
   overflow: hidden;
   transition: all .3s ease
}

.faq-item.open .faq-a {
   padding: 0 24px 18px;
   max-height: 300px
}

.faq-a p {
   color: var(--text-muted);
   font-size: 14px;
   line-height: 1.8
}

/* CTA */
.cta-section {
   padding: 80px 0;
   text-align: center;
   position: relative
}

.cta-section::before {
   content: '';
   position: absolute;
   inset: 0;
   background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
   pointer-events: none
}

.cta-section h2 {
   font-size: 36px;
   font-weight: 800;
   margin-bottom: 16px
}

.cta-section p {
   color: var(--text-muted);
   font-size: 16px;
   margin-bottom: 32px
}

/* Footer */
.footer {
   border-top: 1px solid var(--border);
   padding: 60px 0 30px;
   margin-top: 80px
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr;
   gap: 48px;
   margin-bottom: 40px
}

.footer-desc {
   color: var(--text-muted);
   font-size: 14px;
   margin-top: 12px;
   line-height: 1.7
}

.footer-col h4 {
   font-size: 14px;
   font-weight: 600;
   margin-bottom: 16px;
   color: var(--text)
}

.footer-col a {
   display: block;
   color: var(--text-muted);
   font-size: 14px;
   padding: 4px 0
}

.footer-col a:hover {
   color: var(--purple)
}

.footer-bottom {
   border-top: 1px solid var(--border);
   padding-top: 24px;
   text-align: center
}

.footer-bottom p {
   color: var(--text-dim);
   font-size: 13px
}

@media(max-width:768px) {
   .footer-grid {
      grid-template-columns: 1fr
   }
}

/* ── AUTH PAGES ── */
.auth-page {
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 24px;
   position: relative
}

.auth-container {
   position: relative;
   z-index: 2;
   width: 100%;
   max-width: 420px
}

.auth-card {
   padding: 40px;
   border-radius: 16px
}

.auth-brand {
   display: block;
   text-align: center;
   margin-bottom: 32px
}

.auth-title {
   font-size: 22px;
   font-weight: 700;
   text-align: center;
   margin-bottom: 8px
}

.auth-subtitle {
   text-align: center;
   color: var(--text-muted);
   font-size: 14px;
   margin-bottom: 28px
}

.auth-footer {
   text-align: center;
   margin-top: 24px;
   font-size: 14px;
   color: var(--text-muted)
}

.auth-footer a {
   color: var(--purple);
   font-weight: 500
}

.auth-bg {
   position: fixed;
   inset: 0;
   z-index: 0;
   overflow: hidden;
   pointer-events: none
}

.auth-orb {
   position: absolute;
   border-radius: 50%;
   filter: blur(80px);
   opacity: 0.4
}

.auth-orb-1 {
   width: 400px;
   height: 400px;
   background: rgba(168, 85, 247, 0.15);
   top: -100px;
   right: -100px;
   animation: orbFloat 8s ease-in-out infinite
}

.auth-orb-2 {
   width: 300px;
   height: 300px;
   background: rgba(99, 102, 241, 0.12);
   bottom: -50px;
   left: -50px;
   animation: orbFloat 10s ease-in-out infinite reverse
}

.auth-orb-3 {
   width: 200px;
   height: 200px;
   background: rgba(168, 85, 247, 0.08);
   top: 50%;
   left: 50%;
   animation: orbFloat 12s ease-in-out infinite 2s
}

@keyframes orbFloat {

   0%,
   100% {
      transform: translate(0, 0)
   }

   33% {
      transform: translate(30px, -20px)
   }

   66% {
      transform: translate(-20px, 30px)
   }
}

/* ── DASHBOARD ── */
.dashboard-page {
   background: var(--bg)
}

.dash-layout {
   display: flex;
   min-height: 100vh
}

.dash-sidebar {
   width: 260px;
   background: var(--bg-card);
   border-right: 1px solid var(--border);
   display: flex;
   flex-direction: column;
   position: fixed;
   top: 0;
   bottom: 0;
   left: 0;
   z-index: 100;
   transition: transform .3s ease
}

.sidebar-header {
   padding: 20px 24px;
   border-bottom: 1px solid var(--border);
   display: flex;
   align-items: center;
   justify-content: space-between
}

.sidebar-close {
   display: none;
   background: none;
   border: none;
   color: var(--text-muted);
   font-size: 24px;
   cursor: pointer
}

.sidebar-nav {
   flex: 1;
   padding: 16px 12px;
   overflow-y: auto
}

.nav-section {
   margin-bottom: 20px
}

.nav-section-title {
   display: block;
   font-size: 11px;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 1px;
   color: var(--text-dim);
   padding: 8px 12px
}

.sidebar-link {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 10px 12px;
   border-radius: var(--radius-sm);
   color: var(--text-muted);
   font-size: 14px;
   font-weight: 500;
   transition: all var(--tr);
   text-decoration: none
}

.sidebar-link:hover {
   background: var(--bg-card-hover);
   color: var(--text)
}

.sidebar-link.active {
   background: rgba(168, 85, 247, 0.1);
   color: var(--purple)
}

.sidebar-link .badge {
   margin-left: auto
}

.sidebar-footer {
   padding: 16px;
   border-top: 1px solid var(--border)
}

.user-info {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 8px;
   margin-bottom: 8px
}

.user-avatar {
   width: 36px;
   height: 36px;
   border-radius: 50%;
   background: var(--grad);
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 700;
   font-size: 14px;
   color: #fff;
   flex-shrink: 0
}

.user-details {
   display: flex;
   flex-direction: column
}

.user-name {
   font-size: 14px;
   font-weight: 600
}

.user-role {
   font-size: 12px;
   color: var(--text-dim)
}

.logout-link {
   color: var(--red) !important
}

.logout-link:hover {
   background: rgba(239, 68, 68, 0.1) !important
}

.dash-main {
   flex: 1;
   margin-left: 260px;
   min-height: 100vh
}

.dash-header {
   padding: 16px 32px;
   border-bottom: 1px solid var(--border);
   display: flex;
   align-items: center;
   justify-content: space-between;
   background: var(--bg);
   position: sticky;
   top: 0;
   z-index: 50
}

.sidebar-toggle {
   display: none;
   background: none;
   border: none;
   color: var(--text-muted);
   font-size: 24px;
   cursor: pointer;
   width: 32px;
   height: 32px;
   position: relative
}

.sidebar-toggle::before {
   content: '';
   display: block;
   width: 20px;
   height: 2px;
   background: var(--text);
   box-shadow: 0 6px 0 var(--text), 0 12px 0 var(--text);
   margin: 4px auto
}

.dash-header-right {
   margin-left: auto
}

.dash-content {
   padding: 32px
}

.dash-page-title {
   font-size: 24px;
   font-weight: 700;
   margin-bottom: 24px
}

/* Stats */
.stats-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 20px;
   margin-bottom: 32px
}

.stat-card {
   background: var(--bg-card);
   border: 1px solid var(--border);
   border-radius: var(--radius);
   padding: 24px;
   transition: all var(--tr)
}

.stat-card:hover {
   border-color: rgba(168, 85, 247, 0.3)
}

.stat-card-label {
   font-size: 13px;
   color: var(--text-muted);
   margin-bottom: 8px
}

.stat-card-value {
   font-size: 28px;
   font-weight: 800;
   letter-spacing: -0.5px
}

.stat-card-value.gradient {
   background: var(--grad);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent
}

/* Tables */
.table-container {
   background: var(--bg-card);
   border: 1px solid var(--border);
   border-radius: var(--radius);
   overflow: hidden
}

.table-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 16px 20px;
   border-bottom: 1px solid var(--border)
}

.table-title {
   font-size: 16px;
   font-weight: 600
}

table {
   width: 100%;
   border-collapse: collapse
}

th {
   text-align: left;
   padding: 12px 20px;
   font-size: 12px;
   font-weight: 600;
   color: var(--text-dim);
   text-transform: uppercase;
   letter-spacing: .5px;
   border-bottom: 1px solid var(--border)
}

td {
   padding: 14px 20px;
   font-size: 14px;
   border-bottom: 1px solid var(--border);
   color: var(--text-muted)
}

tr:last-child td {
   border-bottom: none
}

tr:hover td {
   background: rgba(168, 85, 247, 0.03)
}

/* Boost */
.boost-panel {
   background: var(--bg-card);
   border: 1px solid var(--border);
   border-radius: 16px;
   padding: 32px
}

.boost-panel h2 {
   font-size: 20px;
   font-weight: 700;
   margin-bottom: 24px
}

.boost-card {
   background: var(--bg-input);
   border: 1px solid var(--border);
   border-radius: var(--radius);
   padding: 20px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 12px
}

.boost-card-info h4 {
   font-size: 15px;
   font-weight: 600
}

.boost-card-stats {
   display: flex;
   gap: 24px;
   align-items: center
}

.boost-stat-item {
   text-align: center
}

.boost-stat-item .num {
   font-size: 18px;
   font-weight: 700;
   color: var(--purple)
}

.boost-stat-item .label {
   font-size: 11px;
   color: var(--text-dim)
}

/* Trial */
.trial-card {
   background: var(--bg-card);
   border: 1px solid var(--border);
   border-radius: 16px;
   padding: 40px;
   text-align: center;
   max-width: 500px;
   margin: 0 auto
}

.trial-card h2 {
   font-size: 24px;
   font-weight: 700;
   margin-bottom: 12px
}

/* Profile */
.profile-card {
   background: var(--bg-card);
   border: 1px solid var(--border);
   border-radius: var(--radius);
   padding: 28px
}

.profile-card h3 {
   font-size: 16px;
   font-weight: 600;
   margin-bottom: 20px;
   padding-bottom: 12px;
   border-bottom: 1px solid var(--border)
}

/* Empty */
.empty-state {
   text-align: center;
   padding: 60px 20px
}

.empty-state h3 {
   font-size: 18px;
   font-weight: 600;
   margin-bottom: 8px
}

.empty-state p {
   color: var(--text-muted);
   font-size: 14px;
   margin-bottom: 20px
}

/* Mobile Dashboard */
@media(max-width:768px) {
   .dash-sidebar {
      transform: translateX(-100%)
   }

   .dash-sidebar.open {
      transform: translateX(0)
   }

   .sidebar-close {
      display: block
   }

   .sidebar-toggle {
      display: block
   }

   .dash-sidebar.open ~ .dash-main::before {
      content: '';
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      z-index: 99
   }

   .dash-main {
      margin-left: 0
   }

   .dash-content {
      padding: 16px 12px
   }

   .dash-page-title {
      font-size: 20px;
      margin-bottom: 16px
   }

   .stats-grid {
      grid-template-columns: 1fr 1fr;
      gap: 12px
   }

   .stat-card {
      padding: 16px
   }

   .stat-card-value {
      font-size: 22px
   }

   .boost-card {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px
   }

   .hero-stats {
      gap: 24px
   }

   .hero-actions {
      flex-direction: column;
      align-items: center
   }

   /* Mobile Tables — stack vertically */
   .table-container {
      border-radius: var(--radius-sm);
      overflow-x: auto;
      -webkit-overflow-scrolling: touch
   }

   table {
      min-width: auto
   }

   table thead {
      display: none
   }

   table tbody tr {
      display: flex;
      flex-direction: column;
      padding: 16px;
      border-bottom: 1px solid var(--border);
      position: relative
   }

   table tbody tr:last-child {
      border-bottom: none
   }

   table tbody td {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
      border-bottom: none;
      font-size: 13px
   }

   table tbody td::before {
      content: attr(data-label);
      font-size: 12px;
      font-weight: 600;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      flex-shrink: 0;
      margin-right: 12px
   }

   table tbody td:first-child {
      font-weight: 600;
      color: var(--text);
      font-size: 14px
   }

   /* Mobile Profile */
   .profile-card {
      padding: 20px;
      margin-bottom: 16px
   }

   .profile-card h3 {
      font-size: 15px;
      margin-bottom: 16px
   }

   .form-group {
      margin-bottom: 14px
   }

   /* Mobile Boost */
   .boost-panel {
      padding: 20px
   }

   .boost-panel h2 {
      font-size: 18px
   }

   .boost-card-stats {
      flex-wrap: wrap;
      gap: 12px
   }

   /* Mobile Trial */
   .trial-card {
      padding: 24px
   }

   /* Mobile Checkout */
   .checkout-summary {
      padding: 20px
   }

   /* Mobile Empty State */
   .empty-state {
      padding: 40px 16px
   }

   /* Fix dash header */
   .dash-header {
      padding: 12px 16px
   }
}

@media(max-width:480px) {
   .stats-grid {
      grid-template-columns: 1fr
   }

   .hero h1 {
      font-size: 28px
   }

   .auth-card {
      padding: 24px
   }

   .pricing-grid {
      grid-template-columns: 1fr
   }
}