/* ========================================================
   JW Notes & WOL Highlightor — Stylesheet
   Design curat, utilitar, consecvent și fără artificii de marketing
   ======================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Culori principale (Light Mode) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-faint: #64748b;

  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-subtle: #eff6ff;
  --primary-border: #bfdbfe;

  --accent-green: #15803d;
  --accent-green-bg: #dcfce7;
  
  --jw-blue: #0284c7;

  --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
  --modal-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

[data-theme="dark"] {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --border-color: #374151;
  --border-subtle: #1f2937;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-subtle: rgba(59, 130, 246, 0.12);
  --primary-border: #2563eb;

  --accent-green: #34d399;
  --accent-green-bg: rgba(16, 185, 129, 0.15);
  
  --jw-blue: #38bdf8;

  --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 4px 14px 0 rgba(0, 0, 0, 0.45);
}

/* Reset & Setări de bază */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-main);
  transition: background-color 0.2s ease, color 0.2s ease;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Header & Navigație */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand-text sup {
  font-size: 0.65rem;
  top: -0.4em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-item a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-item a:hover {
  color: var(--primary);
}

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

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.theme-toggle-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-main);
}

.mobile-nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
}

/* Butoane Standard */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 0.98rem;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid transparent;
}

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

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

.btn-secondary:hover {
  background: var(--bg-tertiary);
}

/* Structură Secțiuni */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================================
   Hero Section
   ======================================================== */
.hero-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-main);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-green-bg);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-checklist strong {
  display: block;
  font-size: 0.96rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.hero-checklist span {
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========================================================
   Demonstrație Mockup Telefon
   ======================================================== */
.mockup-container {
  display: flex;
  justify-content: center;
}

.hero-anim-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.hero-scenario-selector {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 14px;
  width: 100%;
}

.hero-scenario-selector .scenario-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.hero-scenario-selector .scenario-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.anim-phone-mockup {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
}

.phone-device-frame {
  position: relative;
  background: #181d26;
  border-radius: 36px;
  padding: 8px;
  border: 2px solid #2d3748;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.25);
}

.phone-hw-btn {
  position: absolute;
  width: 2px;
  background: #3b4455;
}

.phone-btn-vol-up { left: -2px; top: 90px; height: 32px; }
.phone-btn-vol-down { left: -2px; top: 130px; height: 32px; }
.phone-btn-power { right: -2px; top: 110px; height: 42px; }

.anim-phone-screen {
  background: var(--bg-secondary);
  border-radius: 28px;
  height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 0;
  height: 36px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
  z-index: 50;
  position: relative;
}

.phone-camera-hole {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000000;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
}

.phone-status-icons {
  display: flex;
  gap: 6px;
  font-size: 0.7rem;
}

.phone-home-bar {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 45;
}

.phone-home-pill {
  width: 80px;
  height: 3px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
}

/* Anim Layers */
.anim-app-layer {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  transition: opacity 0.4s ease, transform 0.4s ease;
  overflow: hidden;
}

#animNotesApp {
  background: var(--bg-secondary);
  opacity: 1;
  z-index: 10;
}

#animNotesApp.app-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

.notes-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-tertiary);
}

.notes-back-link {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.notes-title {
  font-size: 0.88rem;
  font-weight: 700;
}

.notes-body-content {
  padding: 16px 14px;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.6;
}

.note-heading {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 10px;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--primary);
  vertical-align: text-bottom;
}

.verse-highlight-token {
  color: var(--jw-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  background: rgba(2, 132, 199, 0.12);
  padding: 1px 4px;
  border-radius: 4px;
}

.floating-launch-pill {
  position: absolute;
  background: var(--primary);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 40;
}

.note-context-card {
  margin-top: 18px;
  padding: 10px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  border: 1px solid var(--border-color);
}

/* System Launch Banner */
.sys-launch-banner {
  position: absolute;
  top: 42px;
  left: 12px;
  right: 12px;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 80;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.sys-launch-banner.show {
  opacity: 1;
  transform: translateY(0);
}

/* Touch Cursor */
.touch-cursor-sim {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.45);
  border: 2px solid #ffffff;
  pointer-events: none;
  z-index: 70;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.touch-cursor-sim.active { opacity: 1; }
.touch-cursor-sim.tapping { width: 18px; height: 18px; background: rgba(29, 78, 216, 0.7); }

/* JW Library Mockup */
#animJwLibraryApp {
  background: #2b1f47;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  z-index: 20;
}

#animJwLibraryApp.app-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.jw-mock-header {
  background: #3e2d63;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jw-mock-brand {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.jw-bible-view {
  padding: 16px 14px;
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.6;
  background: #251b3d;
}

.jw-verse-para {
  margin-bottom: 10px;
  color: #e2e8f0;
}

.verse-blurred {
  filter: blur(2px);
  opacity: 0.55;
  user-select: none;
}

.jw-verse-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: #c4b5fd;
  margin-right: 4px;
}

.jw-verse-selected {
  background: rgba(139, 92, 246, 0.35);
  border-left: 3px solid #a78bfa;
  padding: 8px 10px;
  border-radius: 4px;
  margin: 12px 0;
  color: #ffffff;
  font-size: 0.9rem;
}

.jw-mock-bottom-nav {
  display: flex;
  background: #1e1533;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  height: 48px;
}

.jw-nav-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
}

.jw-nav-tab.active {
  color: #ffffff;
  border-top: 2px solid #a78bfa;
}

/* WOL Mockup Layer */
#animWolApp {
  background: #f8fafc;
  color: #0f172a;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  z-index: 15;
}

#animWolApp.app-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.wol-browser-bar {
  background: #0f172a;
  padding: 6px 10px;
}

.wol-url-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wol-article-view {
  padding: 14px 12px;
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.5;
  background: #ffffff;
}

.wol-source-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wol-article-title-sm {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.wol-p-sm {
  margin-bottom: 12px;
  position: relative;
}

.wol-p-num {
  font-weight: 700;
  color: #0284c7;
  margin-right: 4px;
}

.wol-target-phrase {
  padding: 1px 2px;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.wol-floating-palette {
  position: absolute;
  top: -28px;
  left: 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 3px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 45;
}

.wol-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.wol-highlight-marked {
  background: #fef08a;
  border-bottom: 2px solid #eab308;
  padding: 1px 3px;
  border-radius: 2px;
}

.wol-study-question-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #0284c7;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-top: 10px;
}

.wol-question-label {
  font-weight: 700;
  font-size: 0.72rem;
  color: #0369a1;
  margin-bottom: 2px;
}

.wol-q-text {
  font-size: 0.75rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.wol-answer-input-sim {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 0.74rem;
  color: #1e293b;
  min-height: 40px;
  line-height: 1.4;
}

.wol-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #15803d;
  margin-top: 4px;
}

/* Card sincronizare de sub telefon */
.sync-devices-card {
  width: 100%;
  max-width: 320px;
  margin-top: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s ease;
}

.sync-devices-card.synced-active {
  border-color: #15803d;
  background: var(--bg-secondary);
}

.sync-devices-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sync-devices-card.synced-active .sync-devices-icon {
  background: var(--accent-green-bg);
  color: var(--accent-green);
}

.sync-devices-info {
  flex: 1;
  min-width: 0;
}

.sync-devices-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.sync-devices-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.sync-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #15803d;
  background: var(--accent-green-bg);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.sync-orb-mini {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #15803d;
}

.sync-devices-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ========================================================
   Secțiunea Funcționalități (Clean Cards)
   ======================================================== */
.features-grid-refined {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-border);
}

.feature-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.feature-points-list li {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.feature-points-list strong {
  color: var(--text-main);
}

/* ========================================================
   Secțiunea Sincronizare (2 opțiuni: Local fără cloud vs Sincronizare)
   ======================================================== */
.security-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.security-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.security-card.highlight-card {
  border-color: var(--primary-border);
  background: var(--bg-secondary);
}

.sec-card-header {
  margin-bottom: 14px;
}

.sec-mode-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.sec-mode-badge.primary-badge {
  color: var(--primary);
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
}

.sec-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.sec-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.sec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.sec-list li {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
  position: relative;
  padding-left: 14px;
}

.sec-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ========================================================
   Secțiunea Costuri & Donații
   ======================================================== */
.cost-grid-clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.cost-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.cost-header-row {
  margin-bottom: 12px;
}

.cost-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.cost-box-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.cost-box-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.cost-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cost-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.cost-checklist li span:first-child {
  color: #15803d;
  font-weight: 800;
}

.cost-expenses-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.cost-expenses-list li {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.cost-expenses-list strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 2px;
}

.cost-note {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-main);
  margin-top: auto;
}

/* ========================================================
   Secțiunea Descărcare & Platforme
   ======================================================== */
.platform-group-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.platforms-grid {
  display: grid;
  gap: 20px;
}

.platforms-grid.grid-two {
  grid-template-columns: 1fr 1fr;
}

.platforms-grid.grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.platform-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

.platform-card:hover {
  border-color: var(--primary);
}

.platform-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.platform-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-tertiary);
}

.android-wrap { color: #16a34a; }
.apple-wrap, .mac-wrap { color: var(--text-main); }
.win-wrap { color: #0284c7; }
.linux-wrap { color: #4a90e2; }

.platform-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.platform-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.platform-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.platform-req {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
  display: inline-block;
}

.store-badge-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.15s ease;
  width: fit-content;
}

.store-badge-btn:hover {
  background: #1e293b;
  color: #ffffff;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
}

.badge-sub {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.8;
  line-height: 1.1;
}

.badge-main {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ========================================================
   Secțiunea FAQ
   ======================================================== */
.faq-grid-refined {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-arrow {
  transition: transform 0.2s ease;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 18px;
}

/* ========================================================
   Footer
   ======================================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer-logo {
  width: 22px;
  height: 22px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-right {
  text-align: right;
}

.footer-platforms {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.toast {
  background: #0f172a;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-pill-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-checklist {
    text-align: left;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .features-grid-refined {
    grid-template-columns: 1fr;
  }
  .security-grid-two {
    grid-template-columns: 1fr;
  }
  .platforms-grid.grid-three {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-right {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .cost-grid-clean {
    grid-template-columns: 1fr;
  }
  .platforms-grid.grid-two {
    grid-template-columns: 1fr;
  }
}

/* Legal pages */
.legal-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 16px 0; font-size: .9rem; }
.legal-links a, .legal-article a, .legal-toc a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover, .legal-article a:hover, .legal-toc a:hover { color: var(--primary-hover); }
.legal-nav { gap: 16px; }
.legal-nav .btn { flex-shrink: 0; }
.legal-main { padding-top: 56px; padding-bottom: 72px; }
.legal-intro { max-width: 820px; margin-bottom: 40px; }
.legal-eyebrow { color: var(--primary); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.legal-intro h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; letter-spacing: -.035em; margin: 12px 0 20px; overflow-wrap: anywhere; }
.legal-intro > p:not(.legal-eyebrow) { color: var(--text-muted); }
.legal-date { margin-top: 16px; font-size: .9rem; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { padding: 24px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); }
.legal-toc h2 { font-size: 1rem; margin-bottom: 16px; }
.legal-toc ol { padding-left: 20px; }
.legal-toc li { margin: 10px 0; font-size: .9rem; }
.legal-article { min-width: 0; max-width: 760px; overflow-wrap: anywhere; }
.legal-article section { scroll-margin-top: 110px; margin-bottom: 36px; }
.legal-article h2 { font-size: 1.35rem; line-height: 1.4; margin-bottom: 16px; letter-spacing: -.02em; }
.legal-article p, .legal-article ul { margin-bottom: 16px; color: var(--text-muted); line-height: 1.8; }
.legal-article ul { padding-left: 24px; }
.legal-article code { font-size: .9em; }
.legal-skip { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 12px; background: var(--bg-secondary); color: var(--primary); }
.legal-skip:focus { position: fixed; top: 8px; }
@media (max-width: 800px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal-main { padding-top: 32px; }
  .legal-nav .brand-text { font-size: .9rem; }
  .legal-nav .btn { font-size: .75rem; padding: 8px 10px; }
  .legal-links { gap: 12px 18px; }
}
