/* WikiDoc landing page — extracted from mockup
 * Design system: Fraunces (serif headings) + Geist (body) + Geist Mono (labels)
 * Palette: deep navy #0B2A4A, gold #E8B340, paper #FFFFFF
 */

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

/* === MOBILE SAFETY NET ===
   Prevent any rogue absolutely-positioned element, watermark or wide
   mockup from creating a horizontal scrollbar on phones. We use
   `overflow-x: clip` (not `hidden`) because `hidden` creates a new
   scrolling context that breaks `position: sticky` on descendants —
   which is why the header would not stay pinned while scrolling. */
html, body {
  overflow-x: clip;
  max-width: 100%;
}
img, svg, video {
  max-width: 100%;
  height: auto;
}

/* CSS Grid quirk: grid items default to min-width:auto which lets their
   intrinsic content (a long word, a wide mockup, a button, etc.) push
   the column past its fr-unit width. Force min-width:0 on every direct
   child of every grid we use, so columns stay inside the viewport. */
.hero-grid > *,
.multiuser-grid > *,
.about-grid > *,
.problem-grid > *,
.how-grid > *,
.feature-grid > *,
.domains-grid > *,
.resources-grid > *,
.persona-grid > *,
.security-grid > *,
.pricing-grid > *,
.footer-grid > *,
.about-stats > *,
.dash-stats > *,
.iso-list > * {
  min-width: 0;
}

/* Long Romanian words wrap correctly on narrow viewports.
   Without this, "conformitate" / "responsabilitate" can push past
   the column when the line measure is shorter than the word. */
h1, h2, h3, h4, p, li, a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

:root {
  /* === BLUE PALETTE (primary) === */
  --ink: #0B2A4A;
  --ink-2: #143C66;
  --ink-3: #4A6280;
  --blue-50: #F0F6FC;
  --blue-100: #DCE9F5;
  --blue-200: #B8D2E8;

  /* === PAPER / WHITE === */
  --paper: #FFFFFF;
  --paper-2: #F7FAFD;
  --line: #E4ECF4;
  --line-2: #CFDCEA;

  /* === YELLOW (accent) === */
  --accent: #E8B340;
  --accent-2: #C9941F;
  --accent-soft: #FDF4DC;
  --accent-bright: #F5C842;

  /* === SUPPORTING === */
  --green: #2F7D5C;
  --green-soft: #E2EFE9;
  --red-soft: #F9E5E5;
  --red: #B83D3D;

  --shadow-sm: 0 1px 2px rgba(11, 42, 74, 0.04), 0 1px 3px rgba(11, 42, 74, 0.06);
  --shadow-md: 0 4px 6px rgba(11, 42, 74, 0.05), 0 10px 25px rgba(11, 42, 74, 0.08);
  --shadow-lg: 0 10px 15px rgba(11, 42, 74, 0.06), 0 25px 50px rgba(11, 42, 74, 0.14);
  --shadow-yellow: 0 10px 25px rgba(232, 179, 64, 0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.serif { font-family: 'Fraunces', Georgia, serif; font-style: normal; }
.mono { font-family: 'Geist Mono', monospace; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === HEADER === */
/* Scoped to direct children of <body> only — otherwise nested <header>
   elements (e.g. .legal-article-header inside an <article>) would also
   stick to the top of the viewport. */
body > header {
  position: sticky;
  top: 0;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.shareal-swan {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
  /* Recolor yellow swan PNG to brand navy --ink (#0B2A4A) */
  filter: brightness(0) saturate(100%) invert(13%) sepia(36%) saturate(2376%) hue-rotate(196deg) brightness(95%) contrast(102%);
  transition: filter 0.2s, transform 0.2s;
}
.logo:hover .shareal-swan {
  /* On hover, shift to original gold for brand wink */
  filter: brightness(0) saturate(100%) invert(72%) sepia(83%) saturate(381%) hue-rotate(354deg) brightness(94%) contrast(86%);
  transform: scale(1.05) rotate(-3deg);
}
.shareal-swan-footer {
  height: 36px;
  /* Footer has navy background — show swan in gold (original) instead of navy */
  filter: none;
}
.logo:hover .shareal-swan-footer {
  filter: none;
  transform: scale(1.05) rotate(-3deg);
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--ink);
  display: inline-block;
  transition: color 0.2s;
}
.logo:hover .logo-text {
  color: var(--accent);
}
.logo-text-footer {
  color: var(--paper);
  font-size: 24px;
  margin-bottom: 4px;
}
.logo:hover .logo-text-footer {
  color: var(--paper);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); }
.btn-outline {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  background: var(--paper-2);
  border-color: var(--ink-3);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.btn-accent:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: var(--shadow-yellow);
}
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* === HERO === */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 28px;
  letter-spacing: 0.015em;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
h1.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
h1.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 14px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.check {
  width: 16px; height: 16px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}

/* === Hero visual: app screenshot mockup === */
.hero-visual { position: relative; }
.app-window {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(0.5deg);
}
.app-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #E76F51; }
.dot-y { background: #E9C46A; }
.dot-g { background: #88B687; }
.app-url {
  flex: 1;
  text-align: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
}

/* === APP REAL HEADER (galben, fidel aplicației) === */
.app-real-header {
  background: var(--accent);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-real-logo { display: flex; align-items: center; gap: 8px; }
.app-real-logo img { height: 24px; width: auto; }
.app-real-logo span {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.app-real-nav { display: flex; gap: 14px; }
.app-real-nav span {
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
  opacity: 0.85;
}

/* === SELECTOR DOMENII === */
.app-domains-selector {
  background: var(--paper-2);
  padding: 14px 20px 16px;
  border-bottom: 1px solid var(--line);
}
.app-domains-label {
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 10px;
}
.app-domains-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  background: white;
  letter-spacing: 0.02em;
}
.domain-pill em {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--ink);
  color: white;
  border-radius: 100px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.domain-pill.active { background: var(--ink); color: white; }
.domain-pill.active em { background: white; color: var(--ink); }

/* === BARA DE PROGRES (momentul cheie) === */
.app-progress-card {
  margin: 16px 20px 20px;
  padding: 14px;
  background: linear-gradient(135deg, #EAF2FB 0%, #DCE9F5 100%);
  border: 1px solid var(--blue-200);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.app-progress-icon {
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid var(--blue-200);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--ink-2);
  flex-shrink: 0;
  animation: spin 4s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.app-progress-body { flex: 1; min-width: 0; }
.app-progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.app-progress-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.app-progress-meta {
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-progress-percent {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  flex-shrink: 0;
}
.app-progress-percent span { font-size: 18px; opacity: 0.6; }
.app-progress-bar {
  height: 6px;
  background: rgba(11, 42, 74, 0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}
.app-progress-fill {
  width: 12%;
  height: 100%;
  background: linear-gradient(90deg, var(--ink-2) 0%, var(--ink) 100%);
  border-radius: 100px;
  position: relative;
  animation: progress-pulse 2s ease-in-out infinite;
}
.app-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: progress-shimmer 2s linear infinite;
}
@keyframes progress-pulse {
  0%, 100% { width: 12%; }
  50% { width: 14%; }
}
@keyframes progress-shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.app-progress-status {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(11, 42, 74, 0.1);
  color: var(--ink);
  border-radius: 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.timer-badge {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.timer-badge-num {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.timer-badge-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

/* === TRUST BAR === */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding: 24px 0;
}
.trust-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.trust-label {
  font-size: 12px;
  color: var(--ink-3);
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  gap: 40px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.trust-logo {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-2);
  opacity: 0.55;
  transition: opacity 0.2s;
}
.trust-logo:hover { opacity: 1; }

/* === SECTION === */
section {
  padding: 100px 0;
  /* Offset anchor jumps so the target isn't hidden under the sticky header. */
  scroll-margin-top: 80px;
}
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin: 0 auto 64px; text-align: center; }
.section-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}
h2.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
h2.section-title em { font-style: italic; color: var(--accent); }
.section-sub {
  font-size: 18px;
  color: var(--ink-3);
  line-height: 1.55;
  /* Balanced line wrapping — prevents orphans like a lone "WikiDoc."
     on the last line. Modern browsers; older ones fall back to default. */
  text-wrap: pretty;
}
h1.hero-title,
h2.section-title,
.legal-article-title,
.blog-content h2 {
  text-wrap: balance;
}

/* === PROBLEM SECTION === */
.problem {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.problem h2.section-title { color: var(--paper); }
.problem .section-sub { color: rgba(250, 248, 244, 0.7); }
.problem .section-eyebrow { color: var(--accent-soft); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.problem-card {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.problem-card.before { border-left: 3px solid #E89090; }
.problem-card.after { border-left: 3px solid var(--accent); background: rgba(232, 179, 64, 0.06); }
.problem-card-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.problem-card.before .problem-card-label { color: #F5B5B5; }
.problem-card.after .problem-card-label { color: var(--accent); }
.problem-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.2;
}
.problem-card ul { list-style: none; }
.problem-card li {
  padding: 10px 0;
  font-size: 15px;
  color: rgba(250, 248, 244, 0.75);
  display: flex;
  gap: 10px;
}
.problem-card.before li::before {
  content: "✕";
  color: #E89090;
  flex-shrink: 0;
  font-weight: 700;
}
.problem-card.after li::before {
  content: "✓";
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}

/* === HOW IT WORKS === */
.how-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 40px;
}
.how-step {
  padding: 32px 24px;
  text-align: left;
  position: relative;
  border-right: 1px dashed var(--line-2);
}
.how-step:last-child { border-right: none; }
.how-num {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  font-style: italic;
}
.how-step h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}
.how-step p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* === FEATURES === */
.features { background: var(--paper-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.feature-card.highlight .feature-icon { background: var(--accent); }
.feature-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
}
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  margin-top: 16px;
}

/* === DOMAINS === */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.domain-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.domain-code {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.domain-name {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.domain-name-long {
  font-size: 14px;
  line-height: 1.3;
}

.iso-bar {
  margin-top: 24px;
  padding: 20px 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.iso-label {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.iso-list { display: flex; gap: 24px; flex-wrap: wrap; }
.iso-item {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 500;
}

/* === RESURSE — free reference cards (4 columns) === */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.resource-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.4s, transform 0.3s;
  box-shadow: 0 1px 2px rgba(11, 42, 74, 0.04);
}

.resource-card:hover {
  border-color: rgba(232, 179, 64, 0.45);
  box-shadow: 0 20px 40px -16px rgba(11, 42, 74, 0.18), 0 4px 8px -2px rgba(11, 42, 74, 0.04);
  transform: translateY(-6px);
}

/* Soft gold glow in top-right corner on hover */
.resource-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(232, 179, 64, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.resource-card:hover::before { opacity: 1; }

.resource-title {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-align: left;
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  min-height: 80px;
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.resource-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}

.resource-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.2s;
}
.resource-list li:not(:last-child) {
  border-bottom-color: var(--line);
}

.resource-list li::before {
  content: "→";
  color: var(--accent-2);
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 1.4;
  transition: transform 0.2s ease, color 0.2s;
}
.resource-list li:hover::before {
  transform: translateX(3px);
  color: var(--accent);
}

.resource-list a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.015em;
  transition: color 0.15s;
  flex: 1;
}
.resource-list a:hover { color: var(--ink); }

.domain-tag {
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  vertical-align: super;
  letter-spacing: 0.04em;
  margin-left: 3px;
  text-decoration: none !important;
}

/* Refined CTA — gold "ghost" button that fills on hover */
.resource-button {
  margin-top: auto;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--accent);
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.resource-button::after {
  content: "→";
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s;
}
.resource-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 20px -4px rgba(232, 179, 64, 0.45);
  transform: translateY(-1px);
}
.resource-button:hover::after { transform: translateX(4px); }
.resource-button .domain-tag {
  font-size: 10px;
  vertical-align: super;
  margin-left: 2px;
}

/* === MULTIUSER HIGHLIGHT === */
.multiuser {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.multiuser::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(232, 179, 64, 0.18) 0%, transparent 60%);
}
.multiuser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.multiuser h2 { color: var(--paper); }
.multiuser .section-eyebrow { color: var(--accent-soft); }
.multiuser .section-sub { color: rgba(250, 248, 244, 0.75); }
.multiuser-list { list-style: none; margin: 28px 0; }
.multiuser-list li {
  padding: 12px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  color: rgba(250, 248, 244, 0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.multiuser-list li:last-child { border-bottom: none; }
.multiuser-list strong {
  color: var(--paper);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.multiuser-list .num {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--accent);
  font-style: italic;
  flex-shrink: 0;
}

/* === MULTIUSER SCREEN (mockup fidel) === */
.multi-screen {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--ink);
}
.multi-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.multi-url {
  flex: 1;
  text-align: center;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
}
.multi-header {
  background: var(--accent);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.multi-logo { display: flex; align-items: center; gap: 7px; }
.multi-logo img { height: 22px; }
.multi-logo span {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.multi-admin {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(11, 42, 74, 0.1);
  border: 1px solid rgba(11, 42, 74, 0.2);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
}
.multi-admin .shield-ico { font-size: 11px; }
.multi-admin .caret { font-size: 8px; opacity: 0.7; }
.multi-nav { margin-left: auto; display: flex; gap: 12px; }
.multi-nav span {
  font-size: 10px;
  color: var(--ink);
  font-weight: 500;
  opacity: 0.85;
}

/* Body */
.multi-body {
  padding: 20px;
  text-align: center;
  background: white;
}
.multi-greeting {
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 4px;
}
.multi-greeting strong { font-weight: 600; }
.multi-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: white;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.multi-role { font-size: 11px; color: var(--ink-3); margin-bottom: 10px; }
.multi-view-label { font-size: 10px; color: var(--ink-3); margin-bottom: 6px; }

/* Selector + buton */
.multi-select-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  position: relative;
}
.multi-select {
  flex: 1;
  position: relative;
  background: white;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--ink-3);
  cursor: pointer;
  text-align: left;
}
.multi-select-caret {
  font-size: 9px;
  color: var(--ink);
  transform: rotate(180deg);
}
.multi-action-btn {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.multi-action-btn .check-circle {
  width: 14px; height: 14px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
}

/* Dropdown — DESCHIS PERMANENT */
.multi-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 10;
  opacity: 1;
  transform: translateY(0) scaleY(1);
  pointer-events: auto;
}
.multi-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-align: left;
  background: white;
  opacity: 1;
  transform: none;
}
.multi-dropdown-item:last-child { border-bottom: none; }
.multi-dropdown-item.header {
  background: var(--blue-50);
  color: var(--ink-3);
  font-weight: 500;
}
.multi-dropdown-item:hover:not(.header) { background: var(--paper-2); }
.multi-dropdown-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.multi-dropdown-info strong {
  font-weight: 600;
  color: var(--ink);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.multi-dropdown-info span {
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Plan badges */
.plan-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.plan-badge.platinum {
  background: linear-gradient(135deg, #E5E7EB, #9CA3AF);
  color: #1F2937;
}
.plan-badge.gold {
  background: linear-gradient(135deg, #FCD34D, #F59E0B);
  color: #78350F;
}
.plan-badge.silver {
  background: linear-gradient(135deg, #E5E7EB, #D1D5DB);
  color: #374151;
}

/* Spacer ca să facă loc pentru dropdown-ul deschis permanent */
.multi-dropdown-spacer { height: 280px; }

.multi-section-divider {
  height: 1px;
  background: var(--line);
  margin: 0 -20px 16px;
}

.multi-domains-label {
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 10px;
}
.multi-domains-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 18px;
}
.m-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  background: white;
  letter-spacing: 0.02em;
}
.m-pill em {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--ink);
  color: white;
  border-radius: 100px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.m-pill.active { background: var(--ink); color: white; }
.m-pill.active em { background: white; color: var(--ink); }
.m-pill.locked { border-style: dashed; position: relative; }
.m-pill.locked .lock {
  position: absolute;
  top: -4px;
  right: -2px;
  background: var(--accent);
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  font-size: 7px;
}

/* Bara de acțiune */
.multi-action-bar {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.multi-action-left { display: flex; align-items: center; gap: 6px; }
.m-checkbox {
  width: 22px;
  height: 22px;
  background: var(--green);
  color: white;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.m-genereaza-btn {
  background: #1E5DA8;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-family: inherit;
}
.multi-action-right {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}
.m-archive-card {
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: 5px;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.m-archive-icon { font-size: 11px; }
.m-archive-info { display: flex; flex-direction: column; font-size: 9px; }
.m-archive-info strong { color: var(--ink); font-weight: 600; font-size: 9px; }
.m-archive-info span {
  font-family: 'Geist Mono', monospace;
  color: var(--ink-3);
  font-size: 8px;
}
.m-download-btn {
  background: #2E8B57;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-family: inherit;
}
.m-generate-selectii {
  background: #1E5DA8;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-family: inherit;
}
.m-generate-selectii em {
  background: rgba(255,255,255,0.25);
  padding: 1px 5px;
  border-radius: 100px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

/* Lista documente */
.multi-docs-list {
  background: #F0F9F4;
  border: 1px solid #C8E6C9;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}
.multi-docs-header {
  background: #E8F5E9;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #C8E6C9;
}
.m-docs-check {
  width: 14px;
  height: 14px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
}
.m-docs-title {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1B5E20;
}
.m-docs-title em {
  background: var(--green);
  color: white;
  padding: 1px 6px;
  border-radius: 100px;
  font-size: 9px;
  font-style: normal;
  margin-left: 4px;
}
.multi-doc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid #DCEDC8;
  font-size: 10px;
}
.multi-doc-row:last-child { border-bottom: none; }
.m-doc-bullet { color: var(--green); font-size: 12px; flex-shrink: 0; }
.m-doc-name {
  flex: 1;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-doc-tag {
  background: #ECEFF1;
  color: var(--ink-2);
  padding: 2px 7px;
  border-radius: 100px;
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.m-doc-date {
  font-family: 'Geist Mono', monospace;
  font-size: 9px;
  color: var(--ink-3);
  white-space: nowrap;
}
.m-doc-pdf {
  background: #2E8B57;
  color: white;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
}

/* === FOR WHOM === */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.persona {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.persona-icon {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}
.persona h4 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}
.persona p {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.55;
}

/* === PRICING === */
.pricing { background: var(--paper-2); }
.pricing-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
  margin: 0 auto 40px;
}
.pricing-toggle button {
  padding: 8px 20px;
  border: none;
  background: transparent;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-3);
}
.pricing-toggle button.active { background: var(--ink); color: var(--paper); }
.pricing-toggle .save {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.pricing-commitment {
  max-width: 760px;
  margin: 28px auto 32px;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: 10px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 2px rgba(11, 42, 74, 0.04);
}
.pricing-commitment-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.pricing-commitment-text {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  text-wrap: pretty;
}
.pricing-commitment-text strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  background: var(--ink);
  color: var(--paper);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink);
}
.price-card.special {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--paper);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}
.featured-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  padding: 4px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  border-radius: 100px;
  font-family: 'Geist Mono', monospace;
}
.price-name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}
.price-tagline {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 20px;
  min-height: 32px;
}
.price-card.featured .price-tagline,
.price-card.special .price-tagline { color: rgba(250, 248, 244, 0.7); }
.price-amount {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount em { font-style: italic; color: var(--accent); }
.price-card.featured .price-amount em { color: var(--accent-soft); }
.price-period {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.price-card.featured .price-period,
.price-card.special .price-period { color: rgba(250, 248, 244, 0.6); }
.price-features { list-style: none; margin-bottom: 24px; flex: 1; }
.price-features li {
  padding: 8px 0;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.4;
}
.price-card.featured .price-features li,
.price-card.special .price-features li { color: rgba(250, 248, 244, 0.85); }
.price-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card.featured .price-features li::before { color: #88C49A; }
.price-cta { width: 100%; text-align: center; justify-content: center; }

/* === SECURITY === */
.security {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
}
.security h2.section-title { color: var(--paper); }
.security .section-sub { color: rgba(250, 248, 244, 0.7); }
.security .section-eyebrow { color: var(--accent-soft); }
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.sec-item {
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.sec-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
  margin-bottom: 14px;
}
.sec-item h5 {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
}
.sec-item p {
  font-size: 13px;
  color: rgba(250, 248, 244, 0.65);
  line-height: 1.5;
}

/* === FAQ === */
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-q {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px; height: 24px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.2s;
  color: var(--ink-3);
}
.faq-item[open] .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: rotate(45deg);
}
.faq-a {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.6;
  padding-right: 44px;
}

/* === ABOUT SHAREAL === */
.about { background: var(--paper-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
}
.about-stat { padding: 32px; background: var(--paper); text-align: center; }
.about-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  font-style: italic;
}
.about-stat-num.text { font-size: 42px; }
.about-stat-label {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === FINAL CTA === */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at top, var(--accent-soft) 0%, transparent 60%),
    var(--paper);
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta h2 em { font-style: italic; color: var(--accent); }
.final-cta p {
  font-size: 18px;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.final-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta-swan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  max-width: 90vw;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.final-cta-swan img { width: 100%; display: block; }
.final-cta .container { position: relative; z-index: 1; }

/* === FOOTER === */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: var(--paper); margin-bottom: 16px; }
.footer-tagline {
  font-size: 14px;
  color: rgba(250, 248, 244, 0.6);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 20px;
}
.footer-contact {
  font-size: 13px;
  color: rgba(250, 248, 244, 0.7);
  line-height: 1.7;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--paper); }

.footer-social {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(250, 248, 244, 0.06);
  border: 1px solid rgba(250, 248, 244, 0.12);
  color: rgba(250, 248, 244, 0.7);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}
.social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-col h6 {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  color: rgba(250, 248, 244, 0.5);
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; }
.footer-col a {
  color: rgba(250, 248, 244, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(250, 248, 244, 0.5);
}
.footer-trust-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.tcon {
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === SECTION DIVIDERS WITH NUMBERS === */
.section-marker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-top: 8px;
}
.section-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--line-2);
}

/* === Watermarks (decorative swan backgrounds, low opacity) === */
.section-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
}
.section-watermark img { width: 100%; display: block; }

.hero-watermark {
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  width: 700px;
}
.problem-watermark {
  bottom: -50px;
  right: -100px;
  width: 500px;
}
.multiuser-watermark {
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
  width: 600px;
  opacity: 0.06;
}

.hero-grid { z-index: 1; }
.problem .container { position: relative; z-index: 1; }
.multiuser .container { position: relative; }
.multiuser-grid { position: relative; z-index: 1; }

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 8px;
}

/* ============================================================
   RESPONSIVE — TABLET (≤968px)
   ============================================================ */
@media (max-width: 968px) {
  /* Two-column grids collapse to one */
  .hero-grid, .multiuser-grid, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .problem-grid { grid-template-columns: 1fr; }

  /* Headlines */
  h1.hero-title { font-size: 44px; }
  h2.section-title { font-size: 32px; }
  .final-cta h2 { font-size: 36px; }

  /* Section grids */
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid, .security-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Nav: hamburger replaces full link list */
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }

  /* Trust bar stacks */
  .trust-content { flex-direction: column; align-items: flex-start; gap: 20px; }
  .trust-logos { justify-content: flex-start; }

  /* Hero: kill the gold radial glow that pushes layout */
  .hero::before { display: none; }
  .hero { padding: 60px 0 80px; }

  /* Hero CTAs wrap if needed */
  .hero-cta { flex-wrap: wrap; }

  /* App window gets a sensible cap */
  .app-window { max-width: 520px; margin: 0 auto; }
  .multi-screen { max-width: 520px; margin: 0 auto; }

  /* ISO bar stacks */
  .iso-bar { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Legal article uses tablet padding */
  .legal-article { padding: 48px 40px; }
}

/* ============================================================
   RESPONSIVE — LARGE PHONE (≤720px)
   ============================================================ */
@media (max-width: 720px) {
  /* All multi-column section grids collapse to single column */
  .domains-grid,
  .resources-grid,
  .feature-grid,
  .persona-grid,
  .security-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  /* "How it works" steps: vertical separator becomes bottom border */
  .how-step {
    border-right: none;
    border-bottom: 1px dashed var(--line-2);
    padding: 24px 0;
  }
  .how-step:last-child { border-bottom: none; }

  /* About stats: 2x2 grid */
  .about-stats { grid-template-columns: 1fr 1fr; }

  /* Footer: 2 cols */
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Pricing toggle smaller */
  .pricing-toggle button { padding: 7px 14px; font-size: 12.5px; }

  /* Section internal spacing tighter */
  section { padding: 72px 0; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤540px)
   most flagship phones in portrait
   ============================================================ */
@media (max-width: 540px) {
  /* Tighter container padding */
  .container { padding: 0 18px; }

  /* Section spacing */
  section { padding: 56px 0; }

  /* Hide hamburger on phone — non-functional and visually awkward at this size */
  .menu-toggle { display: none; }

  /* Shrink logo + tighten nav buttons so "Cont gratuit" doesn't overflow viewport */
  .logo-text { font-size: 22px; }
  .logo-text-footer { font-size: 21px; }
  .shareal-swan { height: 36px; }
  .shareal-swan-footer { height: 30px; }
  .nav { padding: 14px 0; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 8px 12px; font-size: 13px; }

  /* Headlines */
  h1.hero-title { font-size: 32px; line-height: 1.1; }
  .hero-sub { font-size: 16.5px; }
  h2.section-title { font-size: 24px; }
  .section-sub { font-size: 16px; }
  .final-cta h2 { font-size: 26px; }
  .final-cta p { font-size: 16px; }

  /* Hero CTAs stack and full-width */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; width: 100%; }
  .btn-lg { padding: 12px 20px; font-size: 14.5px; }

  /* Final CTA buttons stack */
  .final-cta-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
  .final-cta-buttons .btn { justify-content: center; width: 100%; }

  /* Hero trust badges wrap better */
  .hero-trust { gap: 12px 18px; flex-direction: column; align-items: flex-start; }

  /* App window mockup — keep visible but smaller text/padding */
  .app-window { max-width: 100%; transform: rotate(0); }
  .app-content { padding: 18px; }
  .app-progress-card { margin: 12px 12px 14px; padding: 12px; }
  .app-progress-percent { font-size: 26px; }
  .app-progress-percent span { font-size: 14px; }
  .app-progress-title { font-size: 12px; }
  .app-progress-meta { font-size: 10px; }
  .app-domains-pills { gap: 5px; }
  .domain-pill { font-size: 9px; padding: 4px 9px; }

  /* Timer badge: stop using negative left, sit centered below */
  .timer-badge {
    position: static;
    transform: rotate(-2deg);
    margin: 18px auto 0;
    width: max-content;
    box-shadow: var(--shadow-md);
  }
  .timer-badge-num { font-size: 24px; }

  /* Problem cards */
  .problem-card { padding: 24px 20px; }
  .problem-card h3 { font-size: 22px; }

  /* Feature / persona / resource cards: tighter */
  .feature-card, .persona, .resource-card { padding: 22px 18px; }
  .resource-title { font-size: 16px; min-height: 0; padding-bottom: 14px; margin-bottom: 16px; }
  .resource-list a { font-size: 12px; }
  .resource-list li { padding: 7px 0; }

  /* Trust logos */
  .trust-logos { gap: 18px 22px; }
  .trust-logo { font-size: 16px; }

  /* Multiuser dashboard mockup — readable but smaller */
  .multi-screen { max-width: 100%; }
  .multi-body { padding: 14px; }
  .multi-greeting { font-size: 11.5px; }
  .multi-role { font-size: 10px; }
  .multi-action-btn { font-size: 9px; padding: 5px 8px; }
  .multi-domains-pills { gap: 5px; }
  .m-pill { font-size: 9px; padding: 4px 8px; }

  /* Multiuser action bar: stack */
  .multi-action-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .multi-action-right { margin-left: 0; flex-direction: column; align-items: stretch; gap: 6px; }
  .m-archive-card { width: 100%; justify-content: flex-start; }

  /* Multiuser doc rows wrap */
  .multi-doc-row { flex-wrap: wrap; gap: 4px 6px; }
  .m-doc-name { font-size: 10px; flex-basis: 100%; }
  .m-doc-tag, .m-doc-date, .m-doc-pdf { font-size: 9px; }

  /* Pricing cards */
  .price-card { padding: 24px 20px; }
  .price-amount { font-size: 32px; }
  .price-features li { font-size: 12.5px; }
  .price-card.featured { transform: none; }

  /* Security tiles */
  .sec-item { padding: 20px; }
  .sec-item h5 { font-size: 16px; }

  /* About stats */
  .about-stat { padding: 22px 14px; }
  .about-stat-num { font-size: 38px; }
  .about-stat-num.text { font-size: 28px; }
  .about-stat-label { font-size: 11px; }

  /* Multiuser list */
  .multiuser-list li { padding: 10px 0; font-size: 14px; }
  .multiuser-list .num { font-size: 18px; }

  /* FAQ */
  .faq-q { font-size: 16px; gap: 14px; }
  .faq-a { font-size: 14.5px; padding-right: 0; line-height: 1.55; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
  .footer-tagline { font-size: 13.5px; }

  /* Section markers */
  .section-marker { gap: 10px; margin-bottom: 24px; }

  /* Article (resource pages) */
  .article { padding: 30px 20px; border-radius: 12px; }
  .article-title { font-size: 26px; padding-bottom: 18px; margin-bottom: 24px; }
  .article-related { padding: 20px; }
  .article-related ul { grid-template-columns: 1fr; }

  /* Legal pages */
  .legal-article { padding: 36px 22px; border-radius: 12px; }
  .legal-article-title { font-size: 28px; max-width: none; }
  .legal-article-meta { font-size: 11px; }
}

/* ============================================================
   RESPONSIVE — SMALL PHONE (≤390px)
   iPhone SE / older phones / very tight viewports
   ============================================================ */
@media (max-width: 390px) {
  .container { padding: 0 14px; }
  h1.hero-title { font-size: 28px; }
  h2.section-title { font-size: 21px; }
  .hero-sub { font-size: 15px; }
  .feature-card, .persona, .resource-card, .price-card { padding: 20px 16px; }
  .article { padding: 24px 16px; }
  .legal-article { padding: 28px 16px; }
  .legal-article-title { font-size: 24px; }
  .pricing-toggle button { padding: 6px 12px; font-size: 12px; }
}

/* Cookie consent overrides — keep buttons readable */
.cc-window.cc-banner { font-family: inherit !important; font-size: 14px !important; }
.cc-link { color: var(--accent) !important; }

/* === RESOURCE PAGE (article layout for individual reference pages) === */
.resource-page-main {
  background: var(--paper-2);
  padding: 56px 0 96px;
  min-height: 70vh;
}
.resource-page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: none;
  margin-bottom: 32px;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
}
.resource-page-back:hover {
  color: var(--accent);
  transform: translateX(-2px);
}

.article {
  max-width: 820px;
  margin: 0 auto;
  background: var(--paper);
  padding: 56px 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.article-domain {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.article-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--accent);
}
.article-title-badge {
  color: var(--red);
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-left: 8px;
}

.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.article-body p { margin: 0 0 1.1em; }
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body ul,
.article-body ol {
  padding-left: 28px;
  margin: 0 0 1.4em;
}
.article-body li {
  padding: 3px 0;
  margin-bottom: 3px;
}
.article-body sup {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
}
.article-body a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover { color: var(--ink); }
.article-body br + br { display: block; content: ""; margin-top: 0.5em; }

/* Sibling navigation card — links to other pages in the same domain */
.article-related {
  max-width: 820px;
  margin: 32px auto 0;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.article-related h3 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--ink);
}
.article-related ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
  padding: 0;
  margin: 0;
}
.article-related a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}
.article-related a:hover { color: var(--accent-2); }
.article-related a::before { content: "▸"; color: var(--ink-3); font-weight: 700; }
.article-related .domain-tag { color: var(--red); font-size: 9px; vertical-align: super; margin-left: 2px; }

@media (max-width: 720px) {
  .article {
    padding: 36px 24px;
    border-radius: 12px;
  }
  .article-title { font-size: 28px; }
  .article-related { padding: 22px 24px; border-radius: 12px; }
  .article-related ul { grid-template-columns: 1fr; }
}

/* === BLOG === */
.blog-page-main {
  background: var(--paper-2);
  padding: 56px 0 96px;
  min-height: 70vh;
}
.blog-header {
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: center;
}
.blog-header .article-domain {
  display: block;
  margin-bottom: 14px;
}
.blog-header h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
}
.blog-header p {
  color: var(--ink-3);
  font-size: 17px;
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}

.blog-post {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 1px 2px rgba(11, 42, 74, 0.04);
}
.blog-post:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 40px -12px rgba(11, 42, 74, 0.14);
  transform: translateY(-2px);
}

.blog-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--paper-2);
}
.blog-images img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 36px 48px 40px;
}
.blog-content .blog-date {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.blog-content h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 20px;
}
.blog-content > p:not(.blog-date) {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 1.1em;
  white-space: pre-line; /* preserve original paragraph breaks */
}
.blog-content > p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .blog-content { padding: 28px 28px 32px; }
  .blog-images img { height: 220px; }
}
@media (max-width: 540px) {
  .blog-header h1 { font-size: 32px; }
  .blog-content { padding: 24px 22px 28px; }
  .blog-content h2 { font-size: 22px; }
  .blog-images { grid-template-columns: 1fr; }
  .blog-images img { height: 200px; }
}

/* === LEGAL PAGES (Termeni, Politici) === */
.legal-page-main {
  background: var(--paper-2);
  padding: 56px 0 96px;
  min-height: 70vh;
}
.legal-page-container {
  display: block;
  max-width: 1200px;
}
.legal-article {
  /* Span the full container width — same horizontal extent as the header
     (logo on the left, login button on the right). */
  width: 100%;
  margin: 0;
  background: var(--paper);
  padding: 56px 72px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.legal-article-header {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--accent);
  text-align: center;
}
.legal-article-header .article-domain {
  display: block;
}
.legal-article-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 auto 14px;
  max-width: 24ch;
}
.legal-article-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  margin: 0;
}
/* Body content stays at a comfortable reading measure inside the wider card. */
.legal-article-body {
  max-width: 820px;
  margin: 0 auto;
}

/* Table of contents (only when multiple chapters) */
.legal-toc {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 0 0 36px;
}
.legal-toc h3 {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 14px;
}
.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
}
.legal-toc li {
  padding: 4px 0;
}
.legal-toc a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.legal-toc a:hover { color: var(--accent-2); text-decoration: underline; }

/* Long-form legal body — typography for dense legal text */
.legal-article-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-2);
}
.legal-article-body h1 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 56px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.legal-article-body h1:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.legal-article-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin: 36px 0 12px;
  scroll-margin-top: 100px;
}
.legal-article-body p {
  margin: 0 0 1.1em;
}
.legal-article-body p:last-child { margin-bottom: 0; }
.legal-article-body strong { color: var(--ink); font-weight: 600; }
.legal-article-body em { font-style: italic; }
.legal-article-body ul,
.legal-article-body ol {
  padding-left: 28px;
  margin: 0 0 1.4em;
}
.legal-article-body li {
  padding: 3px 0;
  margin-bottom: 4px;
}
.legal-article-body a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.legal-article-body a:hover { color: var(--ink); }

/* Intro chapter list — clickable links to chapters within the page */
.legal-article-body > ul:first-of-type {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 22px 28px 22px 50px;
  margin: 0 0 36px;
  list-style-type: decimal;
}
.legal-article-body > ul:first-of-type li {
  padding: 4px 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.legal-article-body > ul:first-of-type a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
}
.legal-article-body > ul:first-of-type a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}
.legal-article-body > ul:first-of-type strong {
  font-weight: 600;
}
.legal-article-body sup { font-size: 0.7em; vertical-align: super; line-height: 0; }

@media (max-width: 720px) {
  .legal-article {
    padding: 36px 24px;
    border-radius: 12px;
  }
  .legal-article-title { font-size: 30px; }
  .legal-article-body { font-size: 14.5px; line-height: 1.7; }
  .legal-article-body h1 { font-size: 22px; margin-top: 40px; padding-top: 20px; }
  .legal-article-body h2 { font-size: 17px; margin-top: 28px; }
  .legal-toc { padding: 18px 22px; }
}

/* === CONTACT PAGE === */
.contact-main {
  padding: 80px 0 100px;
  background: var(--bg);
  min-height: 70vh;
}
.contact-header {
  max-width: 720px;
  margin: 24px 0 40px;
}
.contact-header h1 {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.1;
  color: var(--ink);
  margin: 12px 0 16px;
  text-wrap: balance;
}
.contact-header p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  text-wrap: pretty;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 40px;
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.contact-channels-single {
  grid-template-columns: 1fr;
  max-width: 540px;
}

.contact-info {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
}
.contact-info h4 {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 16px;
  font-weight: 600;
}
.contact-info-item {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.contact-info-item:first-of-type {
  padding-top: 0;
  border-top: none;
}
.contact-info-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-info-item a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.15s;
}
.contact-info-item a:hover {
  border-bottom-color: var(--accent);
}
.contact-channel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.contact-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 42, 74, 0.06);
  border-color: var(--accent);
}
.contact-channel-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.contact-channel h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 6px;
  font-weight: 600;
}
.contact-channel-target {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 10px;
  word-break: break-all;
  text-decoration: none;
  display: inline-block;
}
a.contact-channel-target {
  border-bottom: 1px dashed transparent;
  transition: border-color 0.15s, color 0.15s;
}
a.contact-channel-target:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.contact-channel p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0 0 22px;
  flex: 1;
}
.contact-channel .btn {
  align-self: flex-start;
}

.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 36px 32px;
  position: relative;
}
.contact-form-wrap h2 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 8px;
  font-weight: 600;
}
.contact-form-wrap > p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0 0 28px;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-field {
  display: flex;
  flex-direction: column;
}
.contact-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.contact-field label .required { color: #d6473a; margin-left: 2px; }
.contact-field input,
.contact-field textarea {
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.contact-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 42, 74, 0.08);
}
.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.contact-form-note {
  font-size: 12.5px;
  color: var(--ink-3);
  flex: 1;
  min-width: 220px;
  line-height: 1.5;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-status {
  margin-top: 16px;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 8px;
  transition: padding 0.15s, margin-top 0.15s;
}
.contact-form-status:empty {
  display: none;
}
.contact-form-status.is-loading {
  padding: 12px 16px;
  background: var(--bg);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.contact-form-status.is-success {
  padding: 14px 18px;
  background: rgba(46, 160, 67, 0.08);
  color: #1f7a32;
  border: 1px solid rgba(46, 160, 67, 0.25);
  font-weight: 500;
}
.contact-form-status.is-error {
  padding: 14px 18px;
  background: rgba(214, 71, 58, 0.08);
  color: #b53727;
  border: 1px solid rgba(214, 71, 58, 0.25);
}

.contact-localhost-banner {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: rgba(255, 199, 44, 0.12);
  border: 1px solid rgba(255, 199, 44, 0.4);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.contact-localhost-banner strong { color: var(--ink); }
.contact-localhost-banner code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(11, 42, 74, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
}

@media (max-width: 720px) {
  .contact-main { padding: 60px 0 80px; }
  .contact-header h1 { font-size: 32px; }
  .contact-header p { font-size: 15.5px; }
  .contact-channels { grid-template-columns: 1fr; gap: 14px; }
  .contact-channel { padding: 22px 20px; }
  .contact-channel h3 { font-size: 19px; }
  .contact-form-wrap { padding: 26px 22px 24px; }
  .contact-form-wrap h2 { font-size: 22px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-layout { grid-template-columns: 1fr; gap: 20px; }
  .contact-info { padding: 20px 22px; }
}

/* === SHAREAL — Apps stack preview in hero === */
.shareal-apps-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.shareal-app-preview {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 4px 20px rgba(11, 42, 74, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.shareal-app-preview:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(11, 42, 74, 0.1);
}
.shareal-app-preview-1 { margin-right: 32px; }
.shareal-app-preview-2 { margin-left: 32px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.shareal-app-preview-2 .logo-text { color: var(--paper); }
.shareal-app-preview-2 .domain-pill { background: rgba(250, 248, 244, 0.08); color: rgba(250, 248, 244, 0.85); border-color: rgba(250, 248, 244, 0.18); }
.shareal-app-brand { margin-bottom: 4px; }
.shareal-app-tag {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 16px;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.shareal-app-preview-2 .shareal-app-tag { color: rgba(250, 248, 244, 0.55); }
.shareal-app-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* === SHAREAL — Apps grid (main section) === */
.shareal-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 16px;
}
.shareal-app-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(11, 42, 74, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
/* Brand accent bar at top of each card */
.shareal-app-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--ink);
  transition: height 0.25s;
}
.shareal-app-card:nth-child(2)::before {
  background: var(--accent);
}
.shareal-app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 42, 74, 0.14);
  border-color: var(--ink);
}
.shareal-app-card:nth-child(2):hover {
  border-color: var(--accent);
}
.shareal-app-card:hover::before {
  height: 7px;
}
.shareal-app-card-brand {
  margin-bottom: 8px;
  margin-top: 4px;
}
.shareal-app-card-tagline {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: 600;
}
.shareal-app-card-desc {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.shareal-app-card-features {
  list-style: none;
  padding: 18px 0 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
}
.shareal-app-card-features li {
  font-size: 14.5px;
  color: var(--ink);
  padding: 7px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  font-weight: 500;
}
.shareal-app-card-features .check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.shareal-app-card .btn {
  align-self: flex-start;
}

@media (max-width: 860px) {
  .shareal-apps-grid { grid-template-columns: 1fr; gap: 20px; }
  .shareal-app-card { padding: 28px 24px 24px; }
  .shareal-app-preview-1 { margin-right: 0; }
  .shareal-app-preview-2 { margin-left: 0; }
}
