/* ═══════════════════════════════════════
   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: #b8b8c2;
   --text-dim: #a1a1aa;
   --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: 1480px;
   margin: 0 auto;
   padding: 0 24px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: clamp(18px, 2vw, 34px)
}

.nav-brand {
   display: flex;
   align-items: center;
   gap: 10px;
   text-decoration: none;
   flex: 0 0 auto;
   min-width: 180px
}

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

.nav-links {
   display: flex;
   align-items: center;
   justify-content: center;
   flex: 1 1 auto;
   gap: clamp(16px, 1.45vw, 28px);
   min-width: 0
}

.nav-mobile-auth {
   display: none
}

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

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

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

.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:1180px) {
   .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 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,
.footer-heading {
   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-close:hover {
   color: var(--text);
   background: var(--bg-card-hover)
}

.sidebar-backdrop {
   display: none;
   position: fixed;
   inset: 0;
   z-index: 90;
   border: 0;
   padding: 0;
   background: rgba(0, 0, 0, .62);
   backdrop-filter: blur(2px);
   cursor: default
}

@media(max-width:768px) {
   body.sidebar-open {
      overflow: hidden
   }
}

.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;
   min-width: 0
}

.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 + .sidebar-backdrop {
      display: block
   }

   .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
   }
}

/* 2026 public experience */
body {
   --ui-accent: #a855f7;
   --ui-accent-rgb: 168, 85, 247
}

.hero.hero-command {
   padding: 142px 0 72px;
   text-align: left;
   background: radial-gradient(circle at 82% 18%, rgba(var(--ui-accent-rgb), .13), transparent 30rem), linear-gradient(180deg, rgba(255,255,255,.012), transparent 70%)
}

.hero.hero-command::before {
   top: -200px;
   left: 12%;
   width: 760px;
   height: 760px;
   transform: none;
   background: radial-gradient(circle, rgba(var(--ui-accent-rgb), .09), transparent 68%)
}

.hero-command-grid {
   position: relative;
   z-index: 1;
   display: grid;
   grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
   gap: clamp(44px, 7vw, 92px);
   align-items: center
}

.hero-command h1 {
   max-width: 680px;
   margin-bottom: 22px;
   font-size: clamp(42px, 5.2vw, 72px);
   line-height: 1.03;
   letter-spacing: -.055em
}

.hero-command .hero-sub {
   max-width: 620px;
   margin: 0 0 30px;
   font-size: clamp(16px, 1.7vw, 19px)
}

.hero-command .hero-actions { justify-content: flex-start }

.hero-proof {
   display: flex;
   flex-wrap: wrap;
   gap: 10px 18px;
   margin-top: 24px;
   color: var(--text-muted);
   font-size: 12px;
   font-weight: 650
}

.hero-proof span {
   display: inline-flex;
   align-items: center;
   gap: 7px
}

.hero-proof span::before {
   width: 16px;
   height: 16px;
   display: grid;
   place-items: center;
   border: 1px solid rgba(var(--ui-accent-rgb), .35);
   border-radius: 50%;
   content: "\2713";
   color: var(--ui-accent);
   background: rgba(var(--ui-accent-rgb), .08);
   font-size: 9px
}

.hero-console {
   position: relative;
   overflow: hidden;
   border: 1px solid rgba(var(--ui-accent-rgb), .24);
   border-radius: 24px;
   background: rgba(13, 13, 20, .92);
   box-shadow: 0 36px 100px rgba(0,0,0,.48), 0 0 70px rgba(var(--ui-accent-rgb), .1);
   animation: fadeUp .7s ease .18s both
}

.hero-console::after {
   position: absolute;
   inset: 0;
   border-radius: inherit;
   box-shadow: inset 0 1px rgba(255,255,255,.055);
   content: "";
   pointer-events: none
}

.console-topbar {
   min-height: 48px;
   display: grid;
   grid-template-columns: 1fr auto 1fr;
   align-items: center;
   gap: 18px;
   padding: 0 18px;
   border-bottom: 1px solid var(--border);
   color: var(--text-muted);
   background: rgba(255,255,255,.018);
   font-size: 10px;
   font-weight: 700;
   letter-spacing: .04em
}

.console-dots { display: flex; gap: 5px }
.console-dots i { width: 7px; height: 7px; border-radius: 50%; background: #3f3f49 }
.console-dots i:first-child { background: #ff5f57 }
.console-dots i:nth-child(2) { background: #febc2e }
.console-dots i:nth-child(3) { background: #28c840 }

.console-online {
   display: inline-flex;
   align-items: center;
   justify-self: end;
   gap: 6px;
   color: #c084fc
}

.console-online i,
.console-footer > span i {
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: #22c55e;
   box-shadow: 0 0 10px rgba(34,197,94,.8)
}

.console-body { padding: 22px }

.console-channel {
   display: grid;
   grid-template-columns: 42px minmax(0, 1fr) auto;
   align-items: center;
   gap: 12px;
   margin-bottom: 18px;
   padding: 13px;
   border: 1px solid var(--border);
   border-radius: 13px;
   background: rgba(255,255,255,.018)
}

.console-avatar {
   width: 42px;
   height: 42px;
   display: grid;
   place-items: center;
   border-radius: 11px;
   color: #fff;
   background: var(--grad);
   font-size: 16px;
   font-weight: 900
}

.console-channel small,
.console-channel strong { display: block }
.console-channel small { margin-bottom: 2px; color: var(--text-dim); font-size: 9px; text-transform: uppercase; letter-spacing: .08em }
.console-channel strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap }
.console-live { padding: 4px 7px; border: 1px solid rgba(239,68,68,.3); border-radius: 5px; color: #fca5a5; background: rgba(239,68,68,.09); font-size: 8px; font-weight: 850; letter-spacing: .08em }

.console-metrics {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 9px;
   margin-bottom: 18px
}

.console-metrics > div { min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.014) }
.console-metrics small, .console-metrics strong, .console-metrics em { display: block }
.console-metrics small { color: var(--text-dim); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em }
.console-metrics strong { margin: 8px 0 5px; font-size: clamp(16px, 2vw, 21px); line-height: 1 }
.console-metrics em { overflow: hidden; color: #c084fc; font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap }

.console-chart {
   padding: 16px 16px 0;
   border: 1px solid var(--border);
   border-radius: 13px;
   background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0/100% 25%, rgba(255,255,255,.012)
}

.console-chart-head { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; font-weight: 700 }
.console-chart-head small { color: var(--text-dim); font-size: 8px; font-weight: 600 }
.console-bars { height: 118px; display: flex; align-items: end; gap: 6px; padding-top: 16px }
.console-bars i { flex: 1; min-width: 4px; height: 42%; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #a855f7, rgba(99,102,241,.14)); box-shadow: 0 -8px 18px rgba(var(--ui-accent-rgb), .1) }
.console-bars i:nth-child(2) { height: 54% }
.console-bars i:nth-child(3) { height: 46% }
.console-bars i:nth-child(4) { height: 68% }
.console-bars i:nth-child(5) { height: 61% }
.console-bars i:nth-child(6) { height: 78% }
.console-bars i:nth-child(7) { height: 72% }
.console-bars i:nth-child(8) { height: 88% }
.console-bars i:nth-child(9) { height: 81% }
.console-bars i:nth-child(10) { height: 95% }
.console-bars i:nth-child(11) { height: 89% }
.console-bars i:nth-child(12) { height: 98% }

.console-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; color: var(--text-muted); font-size: 9px; font-weight: 700 }
.console-footer > span { display: inline-flex; align-items: center; gap: 7px }
.console-footer a { color: var(--text); font-size: 9px }
.console-footer a b { margin-left: 4px; color: #c084fc }

.hero-command .hero-stats {
   position: relative;
   z-index: 1;
   justify-content: flex-start;
   gap: 0;
   margin-top: 64px;
   padding-top: 25px;
   border-top: 1px solid var(--border)
}

.hero-command .hero-stat { min-width: 150px; padding-right: 38px }
.hero-command .hero-stat + .hero-stat { padding-left: 38px; border-left: 1px solid var(--border) }

.seo-guide { background: linear-gradient(180deg, rgba(var(--ui-accent-rgb), .04), transparent) }
.seo-guide .container { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 8vw, 110px); align-items: center }
.seo-guide-intro h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em }
.seo-guide-intro > p { color: var(--text-muted); font-size: 15px; line-height: 1.85 }
.seo-guide-links { display: grid; gap: 10px; margin-top: 25px }
.seo-guide-links a { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: 12px; font-weight: 700 }
.seo-guide-links a b { color: #c084fc }
.seo-steps { display: grid; gap: 12px }
.seo-steps article { position: relative; padding: 22px 22px 22px 72px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.018); transition: transform var(--tr), border-color var(--tr), background var(--tr) }
.seo-steps article:hover { border-color: rgba(var(--ui-accent-rgb), .3); background: rgba(var(--ui-accent-rgb), .04); transform: translateX(5px) }
.seo-steps article > span { position: absolute; top: 22px; left: 22px; color: #c084fc; font-size: 11px; font-weight: 850; letter-spacing: .08em }
.seo-steps h3 { margin-bottom: 6px; font-size: 15px }
.seo-steps p { color: var(--text-muted); font-size: 12px; line-height: 1.65 }

.section-toned { background: rgba(255,255,255,.012); border-top: 1px solid rgba(255,255,255,.02); border-bottom: 1px solid rgba(255,255,255,.02) }
.section-action { margin-top: 32px; text-align: center }
.pricing-action { width: 100%; margin-top: auto }
.faq-q { width: 100%; border: 0; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer }
.faq-q:focus-visible { outline: 2px solid #a855f7; outline-offset: 4px; border-radius: 8px }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px }

@media (max-width: 1020px) {
   .hero-command-grid { grid-template-columns: 1fr }
   .hero-copy { max-width: 760px }
   .hero-console { width: min(100%, 720px) }
   .seo-guide .container { grid-template-columns: 1fr; gap: 42px }
}

@media (max-width: 720px) {
   .hero.hero-command { padding: 118px 0 54px }
   .hero.hero-command h1 { font-size: clamp(38px, 12vw, 56px) }
   .hero-command .hero-actions { align-items: stretch }
   .hero-command .hero-actions .btn { width: 100% }
   .hero-command .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 42px }
   .hero-command .hero-stat, .hero-command .hero-stat + .hero-stat { min-width: 0; padding: 0; border: 0 }
   .console-body { padding: 14px }
   .console-topbar { grid-template-columns: auto 1fr; font-size: 9px }
   .console-topbar > span:nth-child(2) { display: none }
   .console-metrics { grid-template-columns: 1fr 1fr }
   .console-metrics > div:last-child { display: none }
   .console-bars { gap: 4px }
   .seo-steps article { padding: 20px 18px 20px 60px }
   .seo-steps article > span { top: 21px; left: 18px }
}

@media (prefers-reduced-motion: reduce) {
   .hero-console, .hero-command h1, .hero-command .hero-badge, .hero-command .hero-actions, .hero-command .hero-stats { animation: none }
}

/* Keyword research hub */
.hero.keyword-hero {
   padding: 136px 0 62px;
   text-align: left;
   background:
      radial-gradient(circle at 80% 18%, rgba(var(--ui-accent-rgb), .1), transparent 28rem),
      linear-gradient(180deg, rgba(255,255,255,.014), transparent 72%)
}

.keyword-hero .container {
   max-width: 1120px
}

.keyword-hero h1 {
   max-width: 860px;
   margin: 18px 0 18px;
   font-size: clamp(38px, 5vw, 64px);
   line-height: 1.04;
   letter-spacing: 0
}

.keyword-hero .hero-sub {
   max-width: 850px;
   margin-bottom: 28px;
   color: var(--text-muted);
   font-size: 16px;
   line-height: 1.8
}

.keyword-hero .hero-actions {
   justify-content: flex-start
}

.keyword-summary-section {
   padding: 34px 0 42px;
   background: rgba(255,255,255,.012);
   border-top: 1px solid rgba(255,255,255,.025);
   border-bottom: 1px solid rgba(255,255,255,.025)
}

.keyword-summary-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
   gap: 12px
}

.keyword-summary-card {
   min-height: 118px;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   gap: 14px;
   padding: 18px;
   border: 1px solid var(--border);
   border-radius: 8px;
   color: var(--text);
   background: rgba(255,255,255,.018);
   transition: border-color var(--tr), background var(--tr), transform var(--tr)
}

.keyword-summary-card:hover {
   color: var(--text);
   border-color: rgba(var(--ui-accent-rgb), .34);
   background: rgba(var(--ui-accent-rgb), .045);
   transform: translateY(-2px)
}

.keyword-summary-card span,
.keyword-summary-card em {
   color: var(--text-muted);
   font-size: 11px;
   font-style: normal;
   font-weight: 750;
   text-transform: uppercase;
   letter-spacing: .04em
}

.keyword-summary-card strong {
   color: var(--ui-accent);
   font-size: 34px;
   line-height: 1
}

.keyword-context {
   padding: 70px 0
}

.keyword-context .seo-guide-intro p + p {
   margin-top: 14px
}

.keyword-collection {
   width: min(1200px, calc(100% - 48px));
   margin: 0 auto;
   padding: 58px 0 8px;
   border-top: 1px solid var(--border)
}

.keyword-collection-head {
   display: flex;
   align-items: end;
   justify-content: space-between;
   gap: 24px;
   margin-bottom: 22px
}

.keyword-collection-head h2 {
   margin: 8px 0 10px;
   font-size: clamp(26px, 3vw, 40px);
   line-height: 1.1;
   letter-spacing: 0
}

.keyword-collection-head p {
   max-width: 790px;
   color: var(--text-muted);
   font-size: 14px;
   line-height: 1.7
}

.keyword-collection-head strong {
   flex: 0 0 auto;
   color: var(--ui-accent);
   font-size: clamp(34px, 6vw, 68px);
   line-height: .9
}

.keyword-groups {
   display: grid;
   gap: 12px
}

.keyword-group {
   overflow: hidden;
   border: 1px solid var(--border);
   border-radius: 8px;
   background: rgba(255,255,255,.016)
}

.keyword-group summary {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
   padding: 16px 18px;
   cursor: pointer;
   list-style: none
}

.keyword-group summary::-webkit-details-marker {
   display: none
}

.keyword-group summary span {
   color: var(--text);
   font-size: 14px;
   font-weight: 800
}

.keyword-group summary em {
   flex: 0 0 auto;
   color: var(--text-dim);
   font-size: 11px;
   font-style: normal;
   font-weight: 750;
   text-transform: uppercase;
   letter-spacing: .04em
}

.keyword-cloud {
   max-height: 620px;
   overflow: auto;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
   gap: 8px;
   padding: 0 18px 18px;
   list-style: none
}

.keyword-cloud li {
   min-width: 0;
   display: grid;
   grid-template-columns: 1fr auto;
   gap: 6px 10px;
   padding: 12px;
   border: 1px solid rgba(255,255,255,.04);
   border-radius: 8px;
   background: rgba(0,0,0,.14)
}

.keyword-cloud li span {
   min-width: 0;
   overflow-wrap: anywhere;
   color: var(--text);
   font-size: 12px;
   font-weight: 720;
   line-height: 1.45
}

.keyword-cloud li small {
   align-self: start;
   padding: 3px 6px;
   border-radius: 6px;
   color: var(--ui-accent);
   background: rgba(var(--ui-accent-rgb), .08);
   font-size: 10px;
   font-weight: 850
}

.keyword-cloud li em {
   grid-column: 1 / -1;
   min-width: 0;
   overflow-wrap: anywhere;
   color: var(--text-dim);
   font-size: 10px;
   font-style: normal
}

.keyword-cloud li.keyword-note {
   grid-template-columns: 1fr;
   border-color: rgba(var(--ui-accent-rgb), .12);
   background: rgba(var(--ui-accent-rgb), .04)
}

.keyword-map-note {
   margin: 4px 0 0;
   color: var(--text-muted);
   font-size: 13px;
   line-height: 1.7
}

.seo-focus {
   background: linear-gradient(180deg, rgba(var(--ui-accent-rgb), .035), transparent)
}

.seo-card-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 14px
}

.seo-card-grid article {
   min-width: 0;
   padding: 22px;
   border: 1px solid var(--border);
   border-radius: 8px;
   background: rgba(255,255,255,.018)
}

.seo-card-grid h3 {
   margin-bottom: 9px;
   color: var(--text);
   font-size: 16px;
   line-height: 1.3
}

.seo-card-grid h3 a {
   color: inherit
}

.seo-card-grid p {
   color: var(--text-muted);
   font-size: 13px;
   line-height: 1.75
}

.comparison-hero {
   padding: 132px 0 58px;
   text-align: left;
   background: radial-gradient(circle at 82% 18%, rgba(var(--ui-accent-rgb), .1), transparent 28rem), linear-gradient(180deg, rgba(255,255,255,.012), transparent 72%)
}

.comparison-hero .container {
   max-width: 1060px
}

.comparison-hero h1 {
   max-width: 850px;
   margin: 16px 0 18px;
   font-size: clamp(38px, 5vw, 64px);
   line-height: 1.04;
   letter-spacing: 0
}

.comparison-hero .hero-sub {
   max-width: 820px;
   color: var(--text-muted);
   font-size: 16px;
   line-height: 1.8
}

.comparison-hero .hero-actions {
   justify-content: flex-start;
   margin-top: 28px
}

.comparison-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
   gap: 14px
}

.comparison-grid article {
   padding: 24px;
   border: 1px solid var(--border);
   border-radius: 8px;
   background: rgba(255,255,255,.018)
}

.comparison-grid h3 {
   margin-bottom: 10px;
   font-size: 17px
}

.comparison-grid p {
   color: var(--text-muted);
   font-size: 13px;
   line-height: 1.75
}

.comparison-table-wrap {
   overflow-x: auto;
   border: 1px solid var(--border);
   border-radius: 8px;
   background: rgba(255,255,255,.016)
}

.comparison-table {
   width: 100%;
   min-width: 760px;
   border-collapse: collapse
}

.comparison-table th,
.comparison-table td {
   padding: 16px 18px;
   border-bottom: 1px solid var(--border);
   text-align: left;
   vertical-align: top
}

.comparison-table th {
   color: var(--text);
   background: rgba(var(--ui-accent-rgb), .055);
   font-size: 12px;
   font-weight: 850;
   text-transform: uppercase;
   letter-spacing: .04em
}

.comparison-table td {
   color: var(--text-muted);
   font-size: 13px;
   line-height: 1.65
}

.comparison-table td:first-child {
   color: var(--text);
   font-weight: 800
}

.comparison-table tr:last-child td {
   border-bottom: 0
}

@media (max-width: 720px) {
   .hero.keyword-hero {
      padding: 116px 0 48px
   }

   .keyword-hero .hero-actions .btn {
      width: 100%
   }

   .keyword-collection {
      width: min(100% - 32px, 1200px);
      padding-top: 42px
   }

   .keyword-collection-head {
      display: block
   }

   .keyword-collection-head strong {
      display: block;
      margin-top: 12px
   }

   .keyword-group summary {
      align-items: flex-start;
      flex-direction: column
   }

   .keyword-cloud {
      grid-template-columns: 1fr;
      max-height: 520px;
      padding: 0 12px 12px
   }
}

/* ═══════════════════════════════════════
   Service Dashboards (Subscribers / Bits / Ad-Revenue / Followers)
   ═══════════════════════════════════════ */
.followers-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.followers-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.followers-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.followers-stat { background: var(--bg-input); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.followers-stat span { display: block; color: var(--text-muted); font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.followers-stat strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.followers-note { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 12px 0 0; }
.followers-total { display: flex; align-items: center; justify-content: space-between; background: rgba(168, 85, 247, 0.08); border: 1px solid rgba(168, 85, 247, 0.22); border-radius: 12px; padding: 18px; margin: 18px 0; gap: 12px; }
.followers-total strong { font-size: 28px; color: var(--purple); white-space: nowrap; }
.followers-table { width: 100%; border-collapse: collapse; }
.followers-table th, .followers-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); font-size: 13px; text-align: left; white-space: nowrap; }
.followers-table th { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--purple), var(--indigo));
    outline: none;
    cursor: pointer;
    margin: 24px 0 12px;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: 3px solid var(--purple);
    transition: transform 0.15s ease;
}
.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.range-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: 3px solid var(--purple);
}

.tier-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    margin-top: -4px;
    margin-bottom: 20px;
    gap: 4px;
    width: 100%;
}
.tier-labels span {
    flex: 1;
    text-align: center;
}
.tier-labels span:first-child { text-align: left; }
.tier-labels span:last-child { text-align: right; }



@media (max-width: 992px) {
    .followers-shell {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .followers-panel {
        padding: 18px;
        border-radius: 12px;
    }
    .followers-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 16px;
    }
    .followers-stat {
        padding: 10px 8px;
    }
    .followers-stat span {
        font-size: 10px;
    }
    .followers-stat strong {
        font-size: 13px;
        margin-top: 4px;
    }
    .followers-total {
        padding: 14px;
    }
    .followers-total strong {
        font-size: 22px;
    }
}
@media (max-width: 480px) {
    .followers-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .followers-stat {
        padding: 12px 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .followers-stat span {
        font-size: 11px;
    }
    .followers-stat strong {
        margin-top: 0;
        font-size: 15px;
    }
    .followers-total {
        flex-direction: row;
        align-items: center;
    }
}


