/* ==========================================================================
   Öğretmenler Odası - Yeni Nesil Tasarım Sistemi & Premium Öğretmen Portalı
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Obsidian & Academic Luxury Palette */
  --bg-app: #080c16;
  --bg-surface: #0e1424;
  --bg-card: #131b31;
  --bg-card-hover: #1a2544;
  --bg-card-active: #212f56;
  
  --border-color: #1e2a47;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: #3b82f6;

  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Brand Accents */
  --color-primary: #2563eb;
  --color-primary-light: #38bdf8;
  --color-primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 60%, #4f46e5 100%);
  
  --color-gold: #f59e0b;
  --color-gold-light: #fbbf24;
  --color-gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  
  --color-success: #10b981;
  --color-success-bg: rgba(16, 185, 129, 0.12);
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  /* Paper Output Sheet (MEB Official Table) */
  --table-paper-bg: #ffffff;
  --table-paper-text: #0f172a;
  --table-paper-border: #cbd5e1;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(245, 158, 11, 0.3);
  --shadow-blue: 0 4px 24px rgba(37, 99, 235, 0.35);

  --header-height: 64px;
  --sidebar-width: 250px;
}

/* Light Mode Support */
body.light-mode {
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-card-active: #e2e8f0;
  --border-color: #e2e8f0;
  --border-light: rgba(0, 0, 0, 0.05);
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 14px 30px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-app);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 45%);
}

/* ==========================================================================
   TOP HEADER BAR
   ========================================================================== */
.top-header {
  height: var(--header-height);
  background-color: rgba(14, 20, 36, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
body.light-mode .top-header {
  background-color: rgba(255, 255, 255, 0.92);
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 40%, #fbbf24 85%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}
body.light-mode .brand-title {
  background: linear-gradient(120deg, #0f172a 40%, #d97706 85%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold-light);
  text-transform: uppercase;
}

/* Header Middle Stats & Navigation Pills */
.header-meta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-live-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.pulse-green-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* Wallet & Action Area */
.header-wallet-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-badge-btn {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--color-gold-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wallet-badge-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(37, 99, 235, 0.2) 100%);
  border-color: var(--color-gold);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.25);
}

.vip-pill-badge {
  background: var(--color-gold-gradient);
  color: #000000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: none;
  box-shadow: var(--shadow-gold);
}

.icon-action-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.icon-action-btn:hover {
  color: var(--text-main);
  border-color: var(--color-primary-light);
  background-color: var(--bg-card-hover);
}

.btn-teacher-login {
  background: var(--color-primary-gradient);
  color: #ffffff;
  border: none;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-blue);
  transition: all 0.2s ease;
}
.btn-teacher-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   APP CONTAINER & EXPANDED SIDEBAR
   ========================================================================== */
.app-layout {
  display: flex;
  flex: 1;
  min-height: calc(100vh - var(--header-height));
}

.app-sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-category-header {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 14px 10px 4px 10px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}
.sidebar-item:hover {
  background-color: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-light);
}
.sidebar-item.active {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.04) 100%);
  color: #60a5fa;
  font-weight: 700;
  border-color: rgba(96, 165, 250, 0.3);
}

.badge-tag-free {
  margin-left: auto;
  font-size: 0.63rem;
  font-weight: 700;
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 6px;
  border-radius: 4px;
}
.badge-tag-premium {
  margin-left: auto;
  font-size: 0.63rem;
  font-weight: 700;
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 2px 6px;
  border-radius: 4px;
}

.sidebar-bottom-promo {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.promo-title {
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text-main);
}
.promo-text {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.btn-promo-vip {
  background: var(--color-gold-gradient);
  color: #000000;
  border: none;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   MAIN CONTENT VIEWPORT
   ========================================================================== */
.main-viewport {
  flex: 1;
  padding: 24px 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Hero & Otonom Arama / Sekme Çubuğu */
.portal-hero-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-top-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
}

.hero-text-block h1 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
}
.hero-text-block p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

.portal-nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.portal-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.portal-tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--border-focus);
}
.portal-tab-btn.active {
  background: var(--color-primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}

/* Otonom Yapılandırıcı Kartı */
.generator-config-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.config-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.config-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.model-indicator-badge {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.config-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  align-items: flex-end;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  display: block;
}

.form-control-input, .form-control-select {
  width: 100%;
  background-color: var(--bg-app);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-main);
  outline: none;
  transition: all 0.2s ease;
}
.form-control-input:focus, .form-control-select:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.btn-generate-main {
  background: var(--color-gold-gradient);
  color: #000000;
  border: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-gold);
  transition: all 0.2s ease;
  height: 40px;
}
.btn-generate-main:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* ==========================================================================
   TABLE & WORKSPACE AREA
   ========================================================================== */
.workspace-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.workspace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.doc-info-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.doc-info-subtitle strong {
  color: var(--text-main);
}

.doc-export-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-action-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-action-download:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-focus);
}
.btn-action-download.excel {
  color: #10b981;
}
.btn-action-download.excel:hover {
  border-color: #10b981;
  background-color: rgba(16, 185, 129, 0.1);
}
.btn-action-download.word {
  color: #3b82f6;
}
.btn-action-download.word:hover {
  border-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.1);
}
.btn-action-download.print {
  color: #ef4444;
}

/* Paper Table (Exact High-Quality Official MEB Layout) */
.paper-table-container {
  background-color: var(--table-paper-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid #94a3b8;
  overflow-x: auto;
  position: relative;
}

.official-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
  color: #000000;
  background-color: #ffffff;
}

.official-table thead th {
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #334155;
  padding: 8px 6px;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

.official-table td {
  border: 1px solid #cbd5e1;
  padding: 6px 8px;
  vertical-align: top;
  color: #0f172a;
}

.official-table tr.break-row td {
  background-color: #fef3c7;
  color: #92400e;
  font-weight: 700;
  text-align: center;
}

.official-table td.col-month-text {
  text-align: center;
  font-weight: 700;
  width: 50px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  vertical-align: middle;
}

.editable-cell-active:focus {
  background-color: #eff6ff;
  outline: 2px solid #2563eb;
}

/* ==========================================================================
   PRICING & MEMBERSHIP CARDS (COMPETITOR ADVANTAGE)
   ========================================================================== */
.pricing-section-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}
.pricing-card.featured {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-gold);
}

.card-badge-top {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--color-gold-gradient);
  color: #000000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.card-plan-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}
.card-price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary-light);
}
.pricing-card.featured .card-price-amount {
  color: var(--color-gold-light);
}

.card-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.card-features-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-features-list li svg {
  width: 14px;
  height: 14px;
  color: #10b981;
  flex-shrink: 0;
}

.btn-card-checkout {
  margin-top: auto;
  background-color: var(--bg-app);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-card-checkout:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}
.pricing-card.featured .btn-card-checkout {
  background: var(--color-gold-gradient);
  color: #000000;
  border: none;
}
.pricing-card.featured .btn-card-checkout:hover {
  filter: brightness(1.1);
}

/* ==========================================================================
   MODALS & CHECKOUT
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: modalScale 0.2s ease-out;
}
@keyframes modalScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}
.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Card Security & Payment Badge */
.card-security-badge {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background-color: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Paywall Teaser & Anti-Theft Protection */
.blurred-row {
  filter: blur(4px);
  opacity: 0.5;
  user-select: none !important;
  -webkit-user-select: none !important;
  pointer-events: none !important;
}

.table-paywall-floating-card {
  position: absolute;
  top: 360px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.2);
  padding: 24px 32px;
  text-align: center;
  max-width: 520px;
  width: 90%;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.paywall-lock-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold-gradient);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}

.paywall-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.paywall-card-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Print Rules with Watermark */
@media print {
  body { background: #ffffff !important; color: #000000 !important; }
  .top-header, .app-sidebar, .portal-hero-section, .workspace-toolbar, .pricing-section-container, .toast-container, .table-paywall-floating-card {
    display: none !important;
  }
  .main-viewport { padding: 0 !important; }
  .paper-table-container { box-shadow: none !important; border: none !important; }
  .blurred-row { display: none !important; }
  .print-watermark-notice {
    display: block !important;
    text-align: center;
    font-size: 14pt;
    font-weight: bold;
    color: red;
    margin: 20px 0;
  }
  @page { size: landscape; margin: 1cm; }
}

@media (max-width: 900px) {
  .app-sidebar { display: none; }
}

/* ==========================================================================
   SEO & FAQ CONTENT STYLES
   ========================================================================== */
.seo-section {
  margin-top: 36px;
  padding: 32px 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.seo-section h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.seo-section p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.seo-grid-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.seo-highlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
}

.seo-highlight-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-highlight-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.seo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.seo-faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  overflow: hidden;
}

.seo-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}

.seo-faq-answer {
  padding: 0 18px 14px 18px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.site-footer {
  margin-top: 40px;
  padding: 24px 0 16px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.site-footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-links a:hover {
  color: var(--color-primary-light);
}


