/* Premium SaaS theme + auth pages layer */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Mirror variables.css — Cyan (var(--color-accent)) × Void Black */
  --color-bg:             #070608;
  --color-surface:        #161214;
  --color-surface-2:      #1E1A1C;
  --color-surface2:       var(--color-surface-2);

  --color-brand:          var(--color-accent);
  --color-brand-hover:    var(--color-accent-hover);
  --color-brand-2:        var(--color-accent-hover);
  --color-brand-subtle:   color-mix(in srgb, var(--color-accent) 12%, transparent);
  --color-brand-border:   color-mix(in srgb, var(--color-accent) 25%, transparent);

  --color-success:        #20C4AF;
  --color-success-subtle: rgba(32, 196, 175, 0.10);
  --color-success-border: rgba(32, 196, 175, 0.22);

  --color-text-primary:   #F5F3F0;
  --color-text-secondary: rgba(245, 243, 240, 0.55);
  --color-text-muted:     rgba(245, 243, 240, 0.30);
  --color-text:           var(--color-text-primary);
  --color-text-faint:     var(--color-text-muted);

  --color-border:         #352E33;
  --color-border-subtle:  rgba(255, 255, 255, 0.06);
  --color-border-hover:   rgba(255, 255, 255, 0.3);

  --color-input-bg:        var(--color-surface-2);
  --color-input-border:    var(--color-border);
  --color-input-focus:     var(--color-accent);
  --color-input-text:      var(--color-text-primary);
  --color-input-placeholder: var(--color-text-muted);

  --color-danger:         #DC2626;
  --color-danger-subtle:  rgba(220, 38, 38, 0.10);

  --bg-primary:           var(--color-bg);
  --bg-secondary:         var(--color-surface);
  --bg-tertiary:          var(--color-surface-2);
  --accent:               var(--color-accent);
  --accent-hover:         var(--color-accent-hover);
  --accent-muted:         var(--color-accent-light);
  --accent-glow:          var(--color-accent-light);
  --text-primary:         var(--color-text-primary);
  --text-secondary:       var(--color-text-secondary);
  --text-muted:           var(--color-text-muted);
  --text-inverse:         #070608;
  --border:               var(--color-border);
  --border-subtle:        var(--color-border-subtle);
  --border-accent:        color-mix(in srgb, var(--color-accent) 30%, transparent);
  --success:              var(--color-success);
  --success-bg:           var(--color-success-subtle);
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Inter', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif !important;
}

/* Don’t force Inter onto Lucide SVG (universal * rule above); keeps stroke icons predictable */
svg.lucide,
svg.lucide * {
  font-family: initial !important;
}

img {
  max-width: 100%;
  height: auto;
}

html,
body {
  background: var(--color-bg) !important;
  color: var(--color-text-primary);
  transition: background 0.3s ease, color 0.3s ease;
}

body {
  padding-top: 64px;
  overflow-x: hidden;
}

/* Light/dark tokens: defined in variables.css ([data-theme="light"] + prefers-color-scheme) */

.nav {
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface) !important;
  z-index: 1000;
}

.nav.scrolled {
  background: var(--color-surface) !important;
  border-bottom: 1px solid var(--color-border);
}

[data-theme="light"] .nav,
[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="light"] .hero {
  background: #FFFFFF !important;
}


[data-theme="light"] main > section:nth-of-type(even) {
  background: var(--color-surface);
}

[data-theme="light"] main > section:nth-of-type(odd) {
  background: var(--color-bg);
}

[data-theme="light"] .card,
[data-theme="light"] .platform-item,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .comparison-wrap,
[data-theme="light"] .blog-featured-card,
[data-theme="light"] .article-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="light"] .counter-bar {
  background: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="light"] .auth-card {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .auth-input {
  background: #fff;
  border-color: var(--color-border);
  color: var(--color-text-primary);
}

[data-theme="light"] .auth-input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .oauth-btn {
  background: #ffffff;
  color: #0a0f1e;
  border-color: rgba(0, 0, 0, 0.14);
}

[data-theme="light"] .oauth-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #0a0f1e;
}

[data-theme="light"] .auth-divider {
  color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .terms-text {
  color: rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .password-hint {
  color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .strength-segment {
  background: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .dashboard-card,
[data-theme="light"] .checkout-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="light"] #cookie-banner {
  background: #fff;
  border-color: var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] #cookie-banner .cb-title { color: #0A0F1E; }
[data-theme="light"] #cookie-banner .cb-body { color: rgba(0, 0, 0, 0.55); }

[data-theme="light"] .auth-dropdown a,
[data-theme="light"] .auth-dropdown button {
  color: rgba(0, 0, 0, 0.65);
}

[data-theme="light"] .auth-dropdown a:hover,
[data-theme="light"] .auth-dropdown button:hover {
  color: #0a0f1e;
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .section-title,
[data-theme="light"] .page-hero-title {
  color: #0a0f1e !important;
}

[data-theme="light"] .section-subtitle,
[data-theme="light"] .page-hero-subtitle {
  color: rgba(0, 0, 0, 0.58) !important;
}

[data-theme="light"] .card-title {
  color: #0a0f1e !important;
}

[data-theme="light"] .card-body,
[data-theme="light"] .card-body p {
  color: rgba(0, 0, 0, 0.62) !important;
}

[data-theme="light"] .theme-toggle .icon-moon,
.theme-toggle.is-light .icon-moon {
  display: none;
}
[data-theme="light"] .theme-toggle .icon-sun,
.theme-toggle.is-light .icon-sun {
  display: block;
}
[data-theme="dark"] .theme-toggle:not(.is-light) .icon-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle:not(.is-light) .icon-moon {
  display: block;
}

.nav-logo {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.nav-links {
  gap: 32px;
}

.nav-link {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  background: transparent !important;
}

.nav-link::after {
  display: none !important;
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link.active {
  color: var(--color-text-primary);
  font-weight: 600;
}

.github-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.github-badge__star {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.github-badge__label {
  font-size: 12px;
  line-height: 1;
}

.github-badge:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-hover);
}

.theme-toggle {
  color: var(--color-text-primary);
  background: transparent;
  border-color: var(--color-border);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
}

.auth-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-login-btn,
.auth-signup-btn {
  height: 36px;
  border-radius: 8px;
  padding: 8px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  transition: all 0.2s ease;
}

.auth-login-btn {
  background: transparent;
  border: 1px solid var(--color-border-hover);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.auth-login-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--color-text-primary);
}

[data-theme="light"] .auth-login-btn {
  color: #0a0f1e !important;
  border-color: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .auth-login-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #0a0f1e !important;
}

.auth-signup-btn {
  background: var(--color-accent);
  color: var(--color-text-primary);
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.auth-signup-btn:hover {
  filter: brightness(1.08);
}

.auth-user-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
  background: color-mix(in srgb, var(--color-accent) 20%, transparent);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
}

.auth-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 8px;
  display: none;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.auth-dropdown.open {
  display: block;
}

.auth-dropdown a,
.auth-dropdown button {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  display: block;
}

.auth-dropdown a:hover,
.auth-dropdown button:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.auth-dropdown hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 6px 0;
}

.hero {
  background: var(--color-bg) !important;
}

.hero-inner,
.hero-content,
.hero-demo {
  position: relative;
  z-index: 1;
}

.hero-inner {
  overflow: visible;
}

/* Hero eyebrow / headline / trust — layout.css (avoid duplicate overrides) */
.hero-pill-dot {
  animation: none;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-secondary {
  height: auto;
  border-radius: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}

.hero-ctas .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-text) !important;
  box-shadow: none;
}

.hero-ctas .btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-accent-text) !important;
}

.hero-ctas .btn-primary svg,
.hero-ctas .btn-primary .lucide {
  color: var(--color-accent-text);
  stroke: var(--color-accent-text);
}

.hero-ctas .btn-secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.hero-ctas .btn-secondary:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-text-primary);
}

[data-theme="light"] .hero-ctas .btn-secondary {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: #0a0f1e !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-ctas .btn-secondary:hover {
  background: var(--color-surface2);
  border-color: var(--color-border-hover);
  color: #0a0f1e !important;
}

/* Primary CTAs — dark label on brand (flat) */
.btn-primary {
  color: var(--color-accent-text) !important;
}

.btn-primary svg,
.btn-primary .lucide {
  color: var(--color-accent-text);
  stroke: var(--color-accent-text);
}

[data-theme="light"] .btn-primary {
  color: var(--color-accent-text) !important;
}

a.btn-primary[href*="chromewebstore"] {
  background: var(--color-accent) !important;
  color: var(--color-accent-text) !important;
  border: 1px solid transparent !important;
  font-weight: 600 !important;
}

a.btn-primary[href*="chromewebstore"] svg,
a.btn-primary[href*="chromewebstore"] svg.lucide {
  color: var(--color-accent-text) !important;
  stroke: var(--color-accent-text) !important;
}

a.btn-secondary[href*="addons.mozilla.org"] {
  background: transparent !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-text-secondary) !important;
  font-weight: 600;
}

a.btn-secondary[href*="addons.mozilla.org"]:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: var(--color-text-primary) !important;
}

[data-theme="light"] a.btn-secondary[href*="addons.mozilla.org"] {
  background: transparent !important;
  color: rgba(0, 0, 0, 0.55) !important;
}

/* Footer store badges: Chrome primary, Firefox outline */
.footer-brand-badges .badge[href*="chromewebstore.google.com"] {
  background: var(--color-accent) !important;
  color: var(--color-accent-text) !important;
  border-color: transparent !important;
}

.footer-brand-badges .badge[href*="addons.mozilla.org"] {
  background: transparent !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-text-muted) !important;
}

/* hero-note / hero-trust — layout.css */

.hero-demo {
  min-width: 0;
  transform-origin: center center;
  will-change: transform, opacity;
}

/* Full animation here (beats .animate-fade-up from animations.css) */
.hero-demo.animate-fade-up {
  animation: heroDemoReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@keyframes heroDemoReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1.08);
  }
}

.hero-panel {
  background: #0D1627;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  isolation: isolate;
}

[data-theme="light"] .hero-panel {
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.12),
    0 0 0 1px var(--color-border);
}

.hero-panel-before,
.hero-panel-after {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
}

main > section {
  border-top: 1px solid var(--color-border);
}

main > section:nth-of-type(even) {
  background: var(--color-surface);
}

main > section:nth-of-type(odd) {
  background: var(--color-bg);
}

main > section.dot-pattern {
  background-image: none;
}

.card,
.platform-item,
.testimonial-card,
.pricing-card,
.comparison-wrap,
.blog-featured-card,
.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.card:hover,
.platform-item:hover,
.testimonial-card:hover,
.pricing-card:hover,
.article-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  transform: translateY(-3px);
  box-shadow: none;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  color: var(--color-accent);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.card-icon svg.lucide,
.card-icon svg {
  display: block;
  stroke-width: 2.5;
  shape-rendering: geometricPrecision;
}

.counter-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
}

.counter-number {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-accent);
}

.counter-label {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text-muted);
}

[data-animate],
[data-animate].is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.logo-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.logo-bar-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 14px;
}

/* Platform pills + homepage grid: see components.css (.platform-pills-row, .platforms-grid) */

.auth-page {
  min-height: calc(100dvh - 64px);
  background: var(--color-bg);
  position: relative;
  padding: 100px 16px 48px;
}

.auth-page::before {
  display: none;
}

.auth-wrap {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 auto;
}

.auth-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.auth-logo {
  margin-bottom: 28px;
  text-align: center;
}

.auth-logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}

.auth-title {
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: center;
}

.auth-subtitle {
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
}

.oauth-btn {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--color-border-hover);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.oauth-btn:hover {
  background: rgba(255, 255, 255, 0.10);
}

.auth-divider {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-faint);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--color-border);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
  font-size: 14px;
  padding: 11px 14px;
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.auth-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 15%, transparent);
}

.auth-forgot {
  display: block;
  margin-top: 2px;
  margin-bottom: 6px;
  text-align: right;
  font-size: 13px;
  color: var(--color-accent);
  text-decoration: none;
}

.auth-submit {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 13px;
  background: var(--color-accent);
  color: var(--color-text-primary);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-accent) 30%, transparent);
  transition: all 0.2s ease;
}

.auth-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.auth-submit[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
}

.auth-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

.auth-error {
  font-size: 13px;
  color: #F87171;
  margin-top: 10px;
  min-height: 18px;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.auth-footer a,
.terms-text a {
  color: var(--color-accent);
  text-decoration: none;
}

.password-hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-text-faint);
}

.strength-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.strength-segment {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.terms-text {
  margin-top: 10px;
  font-size: 12px;
  color: var(--color-text-faint);
  line-height: 1.5;
}

.dashboard-page {
  background: var(--color-bg);
  min-height: calc(100dvh - 64px);
  padding: 100px 0 50px;
}

.dashboard-page .container {
  max-width: 1100px;
}

.dashboard-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 22px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dashboard-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px;
}

.dashboard-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.dashboard-value {
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 12px;
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.upgrade-btn {
  background: var(--color-accent);
  border: none;
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}

/* ── Cookie Consent Banner ─────────────────────────────── */

#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  width: 380px;
  max-width: calc(100vw - 40px);
  background: #0D1627;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#cookie-banner.cb-visible {
  opacity: 1;
  transform: translateY(0);
}

.cb-icon { font-size: 28px; margin-bottom: 10px; }
.cb-title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.cb-body { font-size: 13px; color: rgba(255,255,255,0.60); line-height: 1.55; margin: 0 0 12px; }
.cb-links { display: flex; gap: 14px; margin-bottom: 16px; }
.cb-links a { font-size: 12px; color: var(--color-accent); text-decoration: none; }
.cb-links a:hover { text-decoration: underline; }

.cb-accept {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  background: var(--color-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.cb-accept:hover { filter: brightness(1.1); }

.cb-necessary {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 20px;
  background: transparent;
  color: rgba(255,255,255,0.70);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cb-necessary:hover { background: rgba(255,255,255,0.06); }

@media (max-width: 480px) {
  #cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 14px 14px 0 0;
  }
}

/* ── Rate Limit Warning ──────────────────────────────── */

.rate-limit-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(248,113,113,0.10);
  border: 1px solid rgba(248,113,113,0.25);
  color: #F87171;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.rate-limit-pill .rl-icon { flex-shrink: 0; }

/* ── Email Confirm Page ──────────────────────────────── */

.confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.confirm-email-highlight {
  color: var(--color-accent);
  font-weight: 600;
}

.auth-ghost-btn {
  width: 100%;
  border: 1px solid var(--color-border-hover);
  border-radius: 10px;
  padding: 11px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.auth-ghost-btn:hover { background: rgba(255,255,255,0.06); }
.auth-ghost-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.auth-success-msg {
  color: var(--color-accent);
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  min-height: 18px;
}

/* ── Dashboard email warning ─────────────────────────── */

.dash-email-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.25);
  color: #F59E0B;
  font-size: 13px;
  margin-bottom: 20px;
}

.dash-email-warning a {
  color: #F59E0B;
  text-decoration: underline;
  font-weight: 600;
}

/* ── Upgrade Success Banner ──────────────────────────── */

.dash-upgrade-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: dashUpgradePulse 2s ease 2;
}

@keyframes dashUpgradePulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 0%, transparent); }
  50% { box-shadow: 0 0 20px 4px color-mix(in srgb, var(--color-accent) 15%, transparent); }
}

/* ── Pricing Pro glow ────────────────────────────────── */

.pricing-card--pro {
  border-color: color-mix(in srgb, var(--color-accent) 35%, transparent) !important;
  box-shadow: 0 0 40px color-mix(in srgb, var(--color-accent) 8%, transparent);
}

.pricing-popular-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Feature Gate Modal ──────────────────────────────── */

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.gate-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.gate-modal {
  width: 400px;
  max-width: calc(100vw - 32px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.gate-modal h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.gate-modal p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.gate-modal .gate-cta {
  display: block;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 13px;
  background: var(--color-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
}

.gate-modal .gate-dismiss {
  background: none;
  border: none;
  color: var(--color-text-faint);
  font-size: 13px;
  cursor: pointer;
}

/* ── Checkout Page ────────────────────────────────── */

.checkout-page { background: var(--color-bg); min-height: calc(100dvh - 64px); padding: 80px 0 60px; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.checkout-left { display: flex; flex-direction: column; gap: 24px; }

.checkout-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
}

.checkout-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.checkout-plan-name { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.checkout-plan-price { font-size: 28px; font-weight: 800; color: var(--color-accent); }
.checkout-plan-price span { font-size: 14px; font-weight: 400; color: var(--color-text-muted); }
.checkout-plan-note { font-size: 13px; color: var(--color-text-faint); margin-top: 6px; }

.checkout-features {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: grid; gap: 8px;
}

.checkout-features li {
  font-size: 13px; color: var(--color-text-muted); display: flex; align-items: center; gap: 8px;
}

.checkout-features li::before { content: '✓'; color: var(--color-accent); font-weight: 700; }

/* ── Payment Method Selector ─────────────────────── */

.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pm-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.pm-card:hover:not(.pm-card--soon) {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}

.pm-card--selected {
  background: color-mix(in srgb, var(--color-accent) 8%, transparent) !important;
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 12%, transparent);
}

.pm-card--soon {
  opacity: 0.45;
  cursor: not-allowed;
}

.pm-logo { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pm-logo svg { width: 28px; height: 28px; }

.pm-info { flex: 1; min-width: 0; }
.pm-name { font-size: 14px; font-weight: 600; color: #fff; }
.pm-sub { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }

.pm-radio {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2); transition: all 0.15s ease;
}

.pm-card--selected .pm-radio {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: inset 0 0 0 3px var(--color-surface);
}

.pm-soon-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── PayPal Button Area ──────────────────────────── */

.paypal-btn-area { margin-top: 4px; min-height: 55px; }

.pm-coming-msg {
  padding: 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ── Sticky Order Summary ────────────────────────── */

.checkout-sticky {
  position: sticky;
  top: 84px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.checkout-summary-row strong { color: #fff; }

.checkout-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 14px 0;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.checkout-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.checkout-guarantee {
  margin-top: 18px;
  padding: 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 15%, transparent);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.70);
}

.checkout-guarantee svg { flex-shrink: 0; color: var(--color-accent); }

/* ── Coming Soon Toast ───────────────────────────── */

.cs-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9998;
  background: #0D1627;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 13px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.cs-toast.cs-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cs-toast-notify {
  display: inline-block;
  margin-top: 8px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  cursor: pointer;
}

.cs-toast-notify:hover { background: rgba(255,255,255,0.06); }

/* ── Waitlist Email Modal ────────────────────────── */

.wl-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.wl-overlay.wl-open {
  opacity: 1;
  pointer-events: auto;
}

.wl-modal {
  width: 360px;
  max-width: calc(100vw - 32px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}

.wl-modal h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.wl-modal p { font-size: 13px; color: var(--color-text-muted); margin-bottom: 16px; line-height: 1.5; }

.wl-input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 14px;
  padding: 10px 14px;
  margin-bottom: 10px;
}

.wl-input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 15%, transparent); }

.wl-submit {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 10px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.wl-submit:hover { filter: brightness(1.1); }
.wl-submit[disabled] { opacity: 0.6; cursor: not-allowed; }

.wl-close {
  display: block;
  margin-top: 10px;
  background: none;
  border: none;
  color: var(--color-text-faint);
  font-size: 12px;
  cursor: pointer;
}

.wl-msg { font-size: 13px; min-height: 18px; margin-top: 8px; }

/* ── PayPal sub ID in dashboard ──────────────────── */

.paypal-sub-id {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

/* ── Back to Top Button ──────────────────────────── */

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  width: 44px;
  height: 44px;
  font-size: 20px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease, color 0.15s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.back-to-top.btt-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

[data-theme="light"] .back-to-top {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ── Legal pages: add premium.css for consistency ── */

.legal-page {
  color: var(--color-text-primary);
}

.legal-page .legal-header h1 {
  color: var(--color-text-primary);
}

.legal-page .legal-body h2 {
  color: var(--color-text-primary);
}

.legal-page .legal-body p,
.legal-page .legal-body li {
  color: var(--color-text-muted);
}

.legal-page .legal-body strong {
  color: var(--color-text-primary);
}

.legal-page .legal-body a {
  color: var(--color-accent);
}

/* ── Contact Page ────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 14px;
  color: var(--color-text-primary);
  line-height: 1.5;
}

.contact-info-value a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.contact-info-value a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

/* Inputs + textarea (not select — see .select-wrapper) */
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--color-input-bg);
  color: var(--color-input-text);
  border: 1px solid var(--color-input-border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-input-placeholder);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-input-focus);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--color-input-bg) inset;
  -webkit-text-fill-color: var(--color-input-text);
  caret-color: var(--color-input-text);
  border-color: var(--color-input-border);
  transition: background-color 9999s ease-in-out 0s;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

/* Native <select> — wrapper + appearance reset */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--color-input-bg);
  color: var(--color-input-text);
  border: 1px solid var(--color-input-border);
  border-radius: 8px;
  padding: 11px 40px 11px 14px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.select-wrapper select:focus {
  border-color: var(--color-input-focus);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.select-wrapper select option {
  background: var(--color-surface);
  color: var(--color-input-text);
}

.select-wrapper select option[value=""] {
  color: var(--color-input-placeholder);
}

.select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
}

.select-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

[data-theme="light"] .select-wrapper select option {
  background: #ffffff;
  color: #1a1210;
}

.contact-form button[type="submit"],
.contact-submit {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  background: var(--color-accent);
  color: var(--color-accent-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.contact-form button[type="submit"]:hover,
.contact-submit:hover {
  background: var(--color-accent-hover);
}

.contact-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-success {
  padding: 16px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: none;
}

.contact-form-error {
  color: var(--color-danger);
}

@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; }

  /* Auth: room on small screens + 16px inputs (avoids iOS zoom + improves readability) */
  .auth-page {
    padding: 80px 16px 40px;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .auth-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .auth-subtitle {
    font-size: 15px;
    line-height: 1.45;
  }

  .auth-input,
  .oauth-btn,
  .auth-submit {
    font-size: 16px;
  }

  .auth-label {
    font-size: 11px;
  }

  .terms-text,
  .auth-footer {
    font-size: 14px;
    line-height: 1.45;
  }

  /* Contact form: match input min size on phones */
  .contact-form input,
  .contact-form textarea,
  .select-wrapper select {
    font-size: 16px;
  }
}

@media (max-width: 1023px) {
  .nav { padding: 0 16px; }
}

@media (max-width: 767px) {
  .hero-headline { font-size: 40px; }
  .hero-subheadline { font-size: 16px; }
  .hero-inner { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-sticky { position: static; }
  .pm-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   /pricing/ — hero, cards, toggle, competitor strip
   (scoped to .pricing-page so homepage .pricing-grid is unchanged)
   ═══════════════════════════════════════════════════════════ */

.pricing-page .pricing-hero {
  padding: 80px 0 64px;
  text-align: center;
}

.pricing-page .pricing-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.pricing-page .pricing-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.pricing-page .pricing-h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.pricing-page .pricing-h1-accent { color: var(--color-accent); }

.pricing-page .pricing-hero-sub {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.pricing-page .pricing-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pricing-page .trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.pricing-page .trust-item svg { color: var(--color-accent); flex-shrink: 0; }

.pricing-page .trust-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-border);
  flex-shrink: 0;
}

.pricing-page .pricing-cards-section { padding: 0 0 96px; }

.pricing-page .billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.pricing-page .billing-label {
  font-size: 14px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 480px) {
  .pricing-page .billing-toggle-wrap {
    gap: 8px;
    margin-bottom: 28px;
  }
}

.pricing-page .save-badge {
  font-size: 11px;
  font-weight: 600;
  background: var(--color-accent-light);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-accent);
  border-radius: 20px;
  padding: 2px 8px;
}

.pricing-page .toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.pricing-page .toggle-switch input { opacity: 0; width: 0; height: 0; }

.pricing-page .toggle-track {
  position: absolute;
  inset: 0;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: background 0.2s;
}

.pricing-page .toggle-switch input:checked + .toggle-track {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.pricing-page .toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.pricing-page .toggle-switch input:checked + .toggle-track .toggle-thumb {
  transform: translateX(20px);
}

.pricing-page .pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .pricing-page .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-page .pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color 0.15s, transform 0.2s;
}

.pricing-page .pricing-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  transform: translateY(-2px);
}

.pricing-page .pricing-card-featured {
  border: 2px solid var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 3%, transparent);
  transform: translateY(-8px);
}

.pricing-page .pricing-card-featured:hover {
  transform: translateY(-10px);
}

@media (max-width: 900px) {
  .pricing-page .pricing-card-featured { transform: none; }
  .pricing-page .pricing-card-featured:hover { transform: translateY(-2px); }
}

.pricing-page .most-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  background: var(--color-accent);
  color: var(--color-accent-text);
  border-radius: 20px;
  padding: 4px 16px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.pricing-page .plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.pricing-page .plan-name-pro { color: var(--color-accent); }

.pricing-page .plan-tagline {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.pricing-page .price-display {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.pricing-page .price-currency {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-secondary);
  align-self: flex-start;
  margin-top: 6px;
}

.pricing-page .price-number {
  font-size: 56px;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pricing-page .price-period {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .pricing-page .price-number { font-size: 48px; letter-spacing: -0.02em; }
  .pricing-page .price-currency { font-size: 20px; margin-top: 4px; }
}

.pricing-page .price-competitor-note {
  font-size: 11px;
  color: var(--color-success);
  margin-top: 8px;
  line-height: 1.5;
  padding: 6px 10px;
  background: var(--color-success-subtle);
  border: 1px solid var(--color-success-border);
  border-radius: 6px;
}

.pricing-page .pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  border: none;
  box-sizing: border-box;
}

.pricing-page .pricing-btn:hover { transform: translateY(-1px); }

.pricing-page .pricing-btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

.pricing-page .pricing-btn-primary:hover { background: var(--color-accent-hover); }

.pricing-page .pricing-btn-ghost {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.pricing-page .pricing-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-text-primary);
}

.pricing-page .pricing-btn-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: -12px;
}

.pricing-page .pricing-card .pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-page .pricing-card .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.pricing-page .feat-check {
  color: var(--color-text-muted);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 13px;
}

.pricing-page .feat-check-pro { color: var(--color-accent); }

.pricing-page .feat-soon {
  font-size: 10px;
  background: var(--color-border-subtle);
  color: var(--color-text-muted);
  border-radius: 10px;
  padding: 1px 7px;
  margin-left: 4px;
  vertical-align: middle;
}

.pricing-page .upgrade-hint {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: -8px;
}

.pricing-page .upgrade-hint a { color: var(--color-accent); text-decoration: none; }

.pricing-page .team-enterprise-note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: -8px;
}

.pricing-page .team-enterprise-note a { color: var(--color-accent); text-decoration: none; }

.pricing-page .pricing-value-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  flex-wrap: wrap;
  row-gap: 16px;
  column-gap: 16px;
}

.pricing-page .value-bar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.pricing-page .value-bar-icon { font-size: 14px; }

.pricing-page .value-bar-sep {
  width: 1px;
  height: 16px;
  background: var(--color-border);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pricing-page .value-bar-sep { display: none; }
  .pricing-page .pricing-value-bar { justify-content: flex-start; }
}

.pricing-page .competitor-strip {
  padding: 0 0 80px;
}

.pricing-page .competitor-strip-inner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
}

.pricing-page .competitor-strip-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 16px 24px 12px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-page .competitor-table-wrap { overflow-x: auto; }

.pricing-page .competitor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 480px;
}

.pricing-page .competitor-table thead th {
  padding: 12px 20px;
  background: var(--color-surface-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.pricing-page .competitor-table tbody td {
  padding: 13px 20px;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: middle;
}

.pricing-page .competitor-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-page .competitor-row-winner td {
  background: color-mix(in srgb, var(--color-accent) 4%, transparent);
  color: var(--color-text-primary);
}

.pricing-page .comp-badge {
  font-size: 10px;
  font-weight: 600;
  background: var(--color-accent-light);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-accent);
  border-radius: 20px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.pricing-page .comp-check { color: var(--color-accent); font-weight: 500; }

.pricing-page .comp-cross { color: var(--color-text-muted); }

.pricing-page .comp-partial { color: #fbb040; }
