/* ==========================================================================
   AirLink AI — Design System & Stylesheet
   Modern AI SEO Internal Linking Studio & Content Suite
   ========================================================================== */

:root {
  /* Color Tokens - Modern Light Theme (Clean Slate & Emerald) */
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-card-alt: #f8fafc;
  --bg-input: #ffffff;
  --border-subtle: #e2e8f0;
  --border-focus: #3b82f6;
  --border-accent: #10b981;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-highlight: #0f172a;

  --accent-primary: #059669;
  --accent-primary-hover: #047857;
  --accent-secondary: #0284c7;
  --accent-glow: rgba(5, 150, 105, 0.18);

  --danger-bg: rgba(239, 68, 68, 0.08);
  --danger-border: #ef4444;
  --danger-text: #dc2626;

  --success-bg: rgba(16, 185, 129, 0.08);
  --success-border: #10b981;
  --success-text: #059669;

  --warning-bg: rgba(245, 158, 11, 0.08);
  --warning-border: #f59e0b;
  --warning-text: #d97706;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --header-height: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Base Shell */
.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.app-header {
  height: var(--header-height);
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.5px;
  color: var(--text-highlight);
}

.logo-icon {
  width: 22px;
  height: 22px;
  color: var(--accent-primary);
}

.logo-accent {
  color: var(--accent-primary);
}

.tag-badge {
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* Header Navigation */
.header-center {
  display: flex;
  align-items: center;
}

.nav-tabs {
  display: flex;
  background-color: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.nav-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.nav-tab:hover {
  color: var(--text-main);
  background-color: #e2e8f0;
}

.nav-tab.active {
  color: #0f172a;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pill-count {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 12px;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.domain-selector-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-input);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.domain-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dim);
}

.domain-dropdown {
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.domain-dropdown option {
  background-color: var(--bg-card);
  color: var(--text-main);
}

.status-indicator-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.status-indicator-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-indicator-badge.warning {
  background-color: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
}

.status-indicator-badge.warning .dot {
  background-color: var(--warning-border);
}

.status-indicator-badge.active {
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
}

.status-indicator-badge.active .dot {
  background-color: var(--success-border);
}

/* Main Viewport */
.main-viewport {
  flex: 1;
  padding: 24px;
  max-width: 1550px;
  width: 100%;
  margin: 0 auto;
}

.main-viewport:has(#landing-tab.active) {
  padding: 0;
  max-width: 100%;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Card Container */
.card-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-highlight);
  letter-spacing: -0.2px;
}

.panel-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   PUBLIC MARKETING NAVBAR (STICKY CLEAN LIGHT HEADER)
   ========================================================================== */

.marketing-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
}

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

.marketing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.marketing-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
}

.marketing-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.marketing-link {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.marketing-link:hover {
  color: #059669;
}

.marketing-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.marketing-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.marketing-wallet-pill:hover {
  background-color: #d1fae5;
  border-color: #6ee7b7;
  transform: translateY(-1px);
}

.marketing-wallet-pill .credits-txt {
  color: #065f46;
  font-weight: 600;
  font-size: 12px;
}

.marketing-wallet-pill .topup-badge {
  background-color: #059669;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  margin-left: 2px;
}

.btn-back-to-landing {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-back-to-landing:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

@media (max-width: 860px) {
  .marketing-links { display: none; }
}

/* ==========================================================================
   LANDING PAGE STYLES (HIGH-STANDARD MODERN WHITE THEME)
   ========================================================================== */

.landing-white-theme {
  background-color: #ffffff;
  color: #1e293b;
  width: 100%;
  min-height: 100vh;
  padding: 20px 24px 80px;
  background-image: 
    radial-gradient(ellipse at 50% -10%, rgba(16, 185, 129, 0.08), transparent 65%),
    radial-gradient(ellipse at 85% 15%, rgba(14, 165, 233, 0.06), transparent 50%),
    radial-gradient(ellipse at 15% 35%, rgba(99, 102, 241, 0.04), transparent 50%);
}

.landing-white-theme .landing-container {
  display: flex;
  flex-direction: column;
  gap: 88px;
  padding: 20px 0 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section (White Theme) */
.landing-white-theme .hero-section {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-white-theme .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.06);
}

.landing-white-theme .hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.landing-white-theme .hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.6px;
  color: #0f172a;
  margin-bottom: 24px;
}

.landing-white-theme .gradient-text {
  background: linear-gradient(135deg, #059669 0%, #0284c7 60%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-white-theme .hero-subtitle {
  font-size: 17.5px;
  line-height: 1.65;
  color: #475569;
  max-width: 760px;
  margin-bottom: 36px;
}

.landing-white-theme .hero-subtitle strong {
  color: #0f172a;
  font-weight: 700;
}

.landing-white-theme .hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-white-theme .hero-cta-btn {
  padding: 15px 36px;
  font-size: 15.5px;
  letter-spacing: -0.2px;
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.35);
}

.landing-white-theme .trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.landing-white-theme .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  font-weight: 500;
}

.landing-white-theme .trust-item svg {
  color: #059669;
}

/* Metrics Ribbon (White Theme) */
.landing-white-theme .metrics-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  flex-wrap: wrap;
  gap: 24px;
}

.landing-white-theme .metric-item {
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.landing-white-theme .metric-val {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: #0284c7;
  line-height: 1.1;
  margin-bottom: 4px;
}

.landing-white-theme .metric-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.landing-white-theme .metric-divider {
  width: 1px;
  height: 44px;
  background-color: #e2e8f0;
}

@media (max-width: 768px) {
  .landing-white-theme .metric-divider { display: none; }
  .landing-white-theme .hero-title { font-size: 36px; }
}

/* Product Showcase Mockup (White Theme) */
.landing-white-theme .showcase-card {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.landing-white-theme .showcase-header {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.win-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.win-dot.red { background-color: #ef4444; }
.win-dot.yellow { background-color: #f59e0b; }
.win-dot.green { background-color: #10b981; }

.landing-white-theme .window-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.landing-white-theme .showcase-mode-switcher {
  display: flex;
  background-color: #e2e8f0;
  padding: 2px;
  border-radius: var(--radius-sm);
  gap: 2px;
}

.landing-white-theme .showcase-toggle-btn {
  background: none;
  border: none;
  color: #475569;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.landing-white-theme .showcase-toggle-btn.active {
  background-color: #ffffff;
  color: #059669;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.landing-white-theme .showcase-body-wrap {
  padding: 32px 36px;
  background-color: #ffffff;
  color: #1e293b;
}

.landing-white-theme .showcase-banner {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.landing-white-theme .showcase-banner.warning-banner {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.landing-white-theme .showcase-banner.success-banner {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.landing-white-theme .showcase-h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.landing-white-theme .showcase-article-content p {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 18px;
}

.landing-white-theme .showcase-link-pill {
  color: #047857;
  background-color: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.landing-white-theme .showcase-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.landing-white-theme .showcase-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.landing-white-theme .showcase-table th {
  background-color: #f8fafc;
  padding: 12px 18px;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 1px solid #cbd5e1;
  border-right: 1px solid #e2e8f0;
}

.landing-white-theme .showcase-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  color: #334155;
}

.landing-white-theme .showcase-table tr:last-child td {
  border-bottom: none;
}

.landing-white-theme .showcase-table th:last-child,
.landing-white-theme .showcase-table td:last-child {
  border-right: none;
}

/* ==========================================================================
   SEO STRATEGIC BENEFITS (4 PILLARS)
   ========================================================================== */

.seo-benefits-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.landing-white-theme .section-title-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 8px;
}

.landing-white-theme .subheading-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #059669;
  letter-spacing: 0.8px;
}

.landing-white-theme .section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #0f172a;
  line-height: 1.2;
}

.landing-white-theme .section-sub {
  font-size: 15.5px;
  color: #64748b;
  line-height: 1.6;
}

.seo-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.seo-benefit-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seo-benefit-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.benefit-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.benefit-icon-box.blue { background-color: #e0f2fe; color: #0284c7; }
.benefit-icon-box.emerald { background-color: #d1fae5; color: #059669; }
.benefit-icon-box.violet { background-color: #ede9fe; color: #7c3aed; }
.benefit-icon-box.amber { background-color: #fef3c7; color: #d97706; }

.benefit-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.benefit-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  flex: 1;
}

.benefit-stat-tag {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 6px;
  width: fit-content;
}

/* ==========================================================================
   WORKFLOW SECTION (WHITE THEME)
   ========================================================================== */

.landing-white-theme .workflow-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.landing-white-theme .workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .landing-white-theme .workflow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .landing-white-theme .workflow-grid { grid-template-columns: 1fr; }
}

.landing-white-theme .workflow-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.landing-white-theme .workflow-card:hover {
  border-color: #a7f3d0;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(16, 185, 129, 0.08);
}

.landing-white-theme .step-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #e2e8f0;
}

.landing-white-theme .workflow-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.landing-white-theme .workflow-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.landing-white-theme .workflow-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}

/* ==========================================================================
   COMPARISON MATRIX (WHITE THEME)
   ========================================================================== */

.landing-white-theme .comparison-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.landing-white-theme .comparison-table-wrap {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.04);
}

.landing-white-theme .comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.landing-white-theme .comparison-table th {
  padding: 16px 22px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8fafc;
}

.landing-white-theme .comparison-table th.col-highlight {
  color: #047857;
  background-color: #ecfdf5;
  border-bottom: 2px solid #10b981;
}

.landing-white-theme .comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.landing-white-theme .comparison-table td.col-highlight {
  color: #0f172a;
  background-color: #f0fdf4;
  font-weight: 600;
}

.landing-white-theme .comparison-table .check-icon {
  color: #059669;
  font-weight: 800;
  margin-right: 6px;
}

.landing-white-theme .comparison-table .cross-icon {
  color: #ef4444;
  font-weight: 800;
  margin-right: 6px;
}

.landing-white-theme .comparison-table .warning-icon {
  color: #f59e0b;
  margin-right: 6px;
}

/* ==========================================================================
   PRICING PLANS (WHITE THEME)
   ========================================================================== */

.pricing-overview-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Currency Switcher Toggle */
.currency-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: -12px auto 6px;
}

.currency-switch-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
}

.currency-switch-pill {
  display: inline-flex;
  align-items: center;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
}

.currency-switch-pill.sm {
  padding: 2px;
}

.curr-toggle-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.currency-switch-pill.sm .curr-toggle-btn {
  font-size: 12px;
  padding: 4px 10px;
}

.curr-toggle-btn:hover {
  color: #0f172a;
}

.curr-toggle-btn.active {
  background-color: #ffffff;
  color: #059669;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.modal-currency-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 16px;
}

.modal-curr-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .pricing-plans-grid { grid-template-columns: 1fr; }
}

.plan-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: all 0.2s ease;
}

.plan-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.06);
}

.plan-card.featured {
  border-color: #10b981;
  box-shadow: 0 16px 40px -8px rgba(16, 185, 129, 0.12);
}

.plan-popular-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #10b981;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.plan-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin: 6px 0 4px;
}

.plan-currency {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.plan-credits-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: #059669;
  background-color: #ecfdf5;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.plan-feat {
  font-size: 13.5px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-feat .check-icon {
  color: #059669;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   FAQ SECTION (WHITE THEME)
   ========================================================================== */

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.faq-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.faq-q {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq-a {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}

/* ==========================================================================
   BOTTOM CTA CARD (WHITE THEME RADIANT)
   ========================================================================== */

.landing-white-theme .bottom-cta-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #f0f9ff 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-xl);
  padding: 64px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.08);
}

.landing-white-theme .bottom-cta-card h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #0f172a;
}

.landing-white-theme .bottom-cta-card p {
  font-size: 16px;
  color: #475569;
  max-width: 640px;
  line-height: 1.65;
}

/* Footer (White Theme) */
.landing-white-theme .landing-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #64748b;
}

/* ==========================================================================
   STUDIO LAYOUT (2-COLUMN SPLIT)
   ========================================================================== */

/* Studio 2-Column Split with strict containment */
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
}

@media (max-width: 1100px) {
  .studio-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.studio-input-col,
.studio-output-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  max-width: 100%;
}

.card-box {
  min-width: 0;
  max-width: 100%;
}

/* Article Topic / SEO Focus Row */
.topic-input-wrap {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.topic-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.topic-label svg {
  color: #38bdf8;
}

.topic-input {
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-highlight);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  width: 100%;
}

.topic-input:focus {
  border-color: #38bdf8;
}

/* Editor Mode Switcher & Visual Surface */
.editor-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.editor-tabs {
  display: flex;
  background-color: #f1f5f9;
  padding: 2px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  gap: 2px;
}

.editor-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.editor-tab-btn:hover {
  color: var(--text-main);
}

.editor-tab-btn.active {
  background-color: #ffffff;
  color: var(--accent-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.paste-badge {
  font-size: 11px;
  color: #0284c7;
  background-color: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.editor-wrap {
  margin-top: 4px;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

.article-visual-editor {
  width: 100%;
  min-height: 380px;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: auto;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.65;
  padding: 18px;
  outline: none;
  transition: border-color 0.15s ease;
  min-width: 0;
  max-width: 100%;
}

.article-visual-editor:focus {
  border-color: var(--border-focus);
}

.article-visual-editor:empty:before {
  content: attr(data-placeholder);
  color: var(--text-dim);
  font-style: normal;
  pointer-events: none;
  display: block;
}

/* Rich Elements inside Visual Editor */
.article-visual-editor h1,
.article-visual-editor h2,
.article-visual-editor h3,
.article-visual-editor h4 {
  font-family: var(--font-heading);
  color: #0f172a;
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.article-visual-editor h2 { font-size: 17px; }
.article-visual-editor h3 { font-size: 15px; }

.article-visual-editor p {
  margin-bottom: 12px;
}

/* Responsive Table inside Editor */
.article-visual-editor table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 12px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow-x: auto;
  display: table;
}

.article-visual-editor thead,
.article-visual-editor tr:first-child th,
.article-visual-editor tr:first-child td {
  background-color: #f1f5f9;
}

.article-visual-editor th {
  padding: 8px 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-size: 11.5px;
  white-space: nowrap;
}

.article-visual-editor td {
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12px;
}

.article-visual-editor tr:nth-child(even) td {
  background-color: #f8fafc;
}

.article-textarea {
  width: 100%;
  height: 380px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  padding: 16px;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s ease;
  min-width: 0;
  max-width: 100%;
}

.article-textarea:focus {
  border-color: var(--border-focus);
}

.editor-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
}

.format-hint {
  display: flex;
  gap: 8px;
}

.format-pill {
  background-color: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.format-pill.highlight-pill {
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 600;
}

/* Action Card */
.action-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.input-text,
.input-select {
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 12px;
  outline: none;
  transition: border-color 0.15s ease;
}

.input-text:focus,
.input-select:focus {
  border-color: var(--border-focus);
}

.cta-row {
  margin-top: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 8px 16px;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
}

.btn-primary.btn-glow {
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-secondary {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

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

.btn-ghost {
  background: none;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text-main);
  background-color: #f1f5f9;
}

.btn-ghost-emerald {
  background: none;
  color: var(--accent-primary);
  border: 1px solid rgba(5, 150, 105, 0.3);
}

.btn-ghost-emerald:hover {
  background-color: var(--success-bg);
}

.btn-ghost-rose {
  background: none;
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-ghost-rose:hover {
  background-color: var(--danger-bg);
}

.btn-sm {
  padding: 4px 10px;
  font-size: 11px;
}

.btn-md {
  padding: 9px 16px;
  font-size: 13px;
}

.btn-lg {
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
}

/* Empty & Loading States */
.empty-state-card {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-dim);
}

.empty-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background-color: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.empty-state-card h3 {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 15px;
  margin-bottom: 6px;
}

.empty-state-card p {
  font-size: 12px;
  max-width: 380px;
  margin: 0 auto;
}

.loading-state-card {
  text-align: center;
  padding: 48px 24px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state-card h4 {
  font-family: var(--font-heading);
  color: var(--text-highlight);
  font-size: 15px;
  margin-bottom: 6px;
}

.loading-state-card p {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
}

/* Suggestions List */
.suggestions-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Suggestion Card (Contextual Diff Block) */
.suggestion-card {
  background-color: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.15s ease;
}

.suggestion-card.approved {
  border-color: rgba(5, 150, 105, 0.4);
  background-color: #f0fdf4;
}

.suggestion-card.rejected {
  border-color: rgba(239, 68, 68, 0.2);
  opacity: 0.6;
}

.card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.target-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.target-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-highlight);
}

.target-url-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-secondary);
  text-decoration: none;
  word-break: break-all;
}

.target-url-link:hover {
  text-decoration: underline;
}

.confidence-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background-color: #d1fae5;
  color: #047857;
}

/* Diff Comparison */
.diff-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 12px;
}

.diff-section {
  font-size: 12.5px;
  line-height: 1.5;
}

.diff-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}

.diff-label.original {
  color: #dc2626;
}

.diff-label.rephrased {
  color: var(--accent-primary);
}

.diff-content {
  color: var(--text-muted);
}

.diff-content.original {
  text-decoration: line-through;
  color: #94a3b8;
  opacity: 0.85;
}

.diff-content.rephrased {
  color: var(--text-main);
}

.diff-content.rephrased a,
.export-visual-preview a,
.full-article-canvas a {
  color: #047857;
  background-color: #d1fae5;
  padding: 1px 4px;
  border-radius: 3px;
  text-decoration: underline;
  font-weight: 600;
}

.reason-box {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* Export Panel */
.export-card {
  margin-top: 16px;
  border-color: rgba(16, 185, 129, 0.3);
}

.export-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.export-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-highlight);
}

.seo-stats-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.stat-badge {
  font-size: 11px;
  background-color: #f1f5f9;
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.stat-badge.status-good {
  color: #059669;
  border-color: #a7f3d0;
  background-color: #ecfdf5;
}

.export-format-tabs {
  display: flex;
  background-color: #f1f5f9;
  padding: 2px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  gap: 2px;
}

.export-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.export-tab.active {
  background-color: #ffffff;
  color: var(--text-highlight);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.export-textarea {
  width: 100%;
  height: 240px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: #0f172a;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  padding: 12px;
  resize: vertical;
  outline: none;
}

.export-visual-preview {
  width: 100%;
  min-height: 240px;
  max-height: 380px;
  overflow-y: auto;
  background-color: #ffffff;
  color: #1e293b;
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.export-footer-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

/* ==========================================================================
   DEDICATED FULL VISUAL RENDER SECTION
   ========================================================================== */

.render-section-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.render-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.render-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.render-stats-group {
  display: flex;
  gap: 8px;
}

.render-stat-pill {
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.render-stat-pill.highlight {
  color: var(--accent-primary);
  border-color: rgba(16, 185, 129, 0.3);
  background-color: rgba(16, 185, 129, 0.06);
}

.render-canvas-wrap {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px;
  color: #1e293b;
  min-height: 500px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 768px) {
  .render-canvas-wrap {
    padding: 20px;
  }
}

.full-article-canvas {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

.full-article-canvas h1,
.full-article-canvas h2,
.full-article-canvas h3,
.full-article-canvas h4 {
  font-family: var(--font-heading);
  color: #0f172a;
  margin-top: 28px;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.full-article-canvas h1 { font-size: 28px; }
.full-article-canvas h2 { font-size: 22px; border-bottom: 1px solid #e2e8f0; padding-bottom: 8px; }
.full-article-canvas h3 { font-size: 18px; }
.full-article-canvas h4 { font-size: 15px; }

.full-article-canvas p {
  margin-bottom: 16px;
}

.full-article-canvas ul,
.full-article-canvas ol {
  margin: 16px 0 16px 24px;
}

.full-article-canvas li {
  margin-bottom: 6px;
}

/* Full Table Styling (100% Preserved & Responsive) */
.full-article-canvas table,
.export-visual-preview table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 13px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  display: table;
  overflow-x: auto;
  table-layout: auto;
}

.full-article-canvas thead,
.export-visual-preview thead {
  background-color: #f1f5f9;
  border-bottom: 2px solid #cbd5e1;
}

.full-article-canvas th,
.export-visual-preview th {
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-size: 12.5px;
  white-space: nowrap;
}

.full-article-canvas td,
.export-visual-preview td {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
}

.full-article-canvas tbody tr:nth-child(even),
.export-visual-preview tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.full-article-canvas tbody tr:hover,
.export-visual-preview tbody tr:hover {
  background-color: #f1f5f9;
}

.full-article-canvas figure.wp-block-table,
.export-visual-preview figure.wp-block-table {
  margin: 20px 0;
  overflow-x: auto;
}

.render-placeholder {
  text-align: center;
  padding: 80px 24px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.render-placeholder h3 {
  color: #0f172a;
  font-size: 18px;
}

/* ==========================================================================
   VAULT (SITEMAP TAB)
   ========================================================================== */

.vault-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sitemap-input-bar {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.input-with-icon {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon svg {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
}

.input-with-icon input {
  width: 100%;
  padding-left: 38px;
}

.sitemap-options-row {
  margin-top: 8px;
}

.hint-text {
  font-size: 11px;
  color: var(--text-dim);
}

.hint-text code {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Data Table */
.table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}

.data-table th {
  background-color: var(--bg-input);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  vertical-align: top;
}

.data-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.table-empty {
  text-align: center;
  padding: 36px 14px;
  color: var(--text-dim);
}

.badge-crawled {
  background-color: var(--success-bg);
  color: var(--accent-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.badge-pending {
  background-color: var(--warning-bg);
  color: var(--warning-text);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

/* Settings Form */
.settings-layout {
  max-width: 680px;
  margin: 0 auto;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.half {
  flex: 1;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.form-help {
  font-size: 11px;
  color: var(--text-dim);
}

.form-help a {
  color: var(--accent-secondary);
  text-decoration: none;
}

.form-help a:hover {
  text-decoration: underline;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.save-status {
  font-size: 12px;
  color: var(--accent-primary);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
}

.toast {
  background-color: #1e293b;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  animation: slideUp 0.2s ease;
}

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

/* ==========================================================================
   WALLET & FLUTTERWAVE TOP-UP SYSTEM STYLES
   ========================================================================== */

/* Top Header Wallet Pill */
.wallet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wallet-badge:hover {
  background-color: #d1fae5;
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}

.coin-icon {
  font-size: 13px;
}

.wallet-balance-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-highlight);
}

.wallet-label {
  font-size: 11px;
  color: var(--accent-primary);
  font-weight: 600;
}

.btn-topup-mini {
  background-color: var(--accent-primary);
  color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  margin-left: 2px;
  pointer-events: none;
}

/* Modal Overlay & Container */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
  animation: fadeIn 0.15s ease;
}

.modal-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.18);
  animation: scaleUp 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-highlight);
}

.modal-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-highlight);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Balance Banner */
.wallet-balance-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.balance-title {
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  font-weight: 700;
}

.balance-digits {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}

.balance-digits .unit {
  font-size: 14px;
  color: var(--accent-primary);
  font-weight: 600;
}

.balance-rate-tag {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
}

.balance-rate-tag strong {
  color: var(--text-highlight);
}

/* Pricing Grid */
.pricing-packs-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-pack-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-pack-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.08);
}

.pricing-pack-card.selected {
  border-color: var(--accent-primary);
  background-color: #f0fdf4;
  box-shadow: 0 0 0 1.5px var(--accent-primary);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-primary);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.bonus-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0284c7;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.pack-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-highlight);
  margin-top: 4px;
}

.pack-credits {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #0284c7;
}

.pack-articles {
  font-size: 11px;
  color: var(--text-muted);
}

.pack-price {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
  margin: 4px 0 8px;
}

.custom-credit-row {
  background-color: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 4px;
}

.custom-credit-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.custom-credit-input-group input {
  max-width: 130px;
  padding: 6px 10px;
}

.custom-calc {
  font-weight: 700;
  color: var(--accent-primary);
}

/* Checkout Form & Flutterwave Actions */
.checkout-form-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.paystack-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 4px;
}

.paystack-trust-badge svg {
  color: var(--accent-primary);
}

/* Transactions Table */
.transactions-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tx-table-wrap {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
}

.tx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.tx-table th {
  background-color: #f8fafc;
  padding: 8px 12px;
  text-align: left;
  font-weight: 700;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
}

.tx-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-muted);
}

.tx-credits-plus {
  color: var(--accent-primary);
  font-weight: 700;
}

.tx-credits-minus {
  color: #ef4444;
  font-weight: 700;
}

/* ==========================================================================
   USER AUTHENTICATION & PROFILE PILL STYLES
   ========================================================================== */

.auth-modal-card {
  max-width: 480px;
}

.auth-icon {
  background-color: #ecfdf5;
  color: var(--accent-primary);
  font-weight: 800;
}

.auth-tabs {
  display: flex;
  background-color: #f1f5f9;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.auth-tab-btn:hover {
  color: var(--text-main);
}

.auth-tab-btn.active {
  background-color: #ffffff;
  color: var(--accent-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-bonus-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #065f46;
}

.auth-bonus-banner .bonus-icon {
  font-size: 18px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-error-banner {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.auth-footer-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.auth-footer-note a {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}

.auth-footer-note a:hover {
  text-decoration: underline;
}

/* User Auth Navigation Pills (Logged In & Out) */
.auth-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-btn-group.sm .btn {
  padding: 4px 10px;
  font-size: 11.5px;
}

.auth-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 4px 8px 4px 4px;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.auth-user-pill.sm {
  padding: 3px 6px 3px 3px;
}

.user-avatar-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.user-email-mini {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-user-logout {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.btn-user-logout:hover {
  color: #dc2626;
}
