@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Sora:wght@400;500;600;700&display=swap");

:root {
  --ink: #0b1220;
  --muted: #5b6b7c;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --teal-light: #d5f5f0;
  --cream: #f3f7f8;
  --border: #d9e2e8;
  --white: #fff;
  --amber: #d97706;
  --green: #15803d;
  --indigo: #4338ca;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.12);
  --shadow-soft: 0 8px 24px rgba(11, 18, 32, 0.08);
}

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

body {
  font-family: "Sora", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background:
    radial-gradient(1200px 500px at 10% -10%, #c7ebe6 0%, transparent 55%),
    radial-gradient(900px 420px at 90% 0%, #e8eef5 0%, transparent 50%),
    linear-gradient(180deg, #f7fbfb 0%, var(--cream) 40%, #eef3f5 100%);
  min-height: 100vh;
}

.demo-banner {
  background: linear-gradient(90deg, #0f766e, #115e59);
  color: #ecfeff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  gap: 1rem;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  line-height: 1.2;
}

.lang-btn:hover { color: var(--ink); }

.lang-btn.is-active {
  background: var(--teal);
  color: #fff;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-img {
  display: block;
  height: 52px;
  width: auto;
}

@media (min-width: 768px) {
  .logo-img { height: 60px; }
}

.nav a.back {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-demo {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  align-items: center;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.hero-demo h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-demo .lead {
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.1rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.pill {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-actions .btn,
.btn-row .btn {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.hero-actions .btn-primary,
.btn-row .btn-primary {
  background: var(--teal);
  color: #fff;
}

.hero-actions .btn-secondary,
.btn-row .btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border: 1px solid var(--border);
}

.workflow-strip {
  max-width: 1120px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
}

.workflow-strip ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .workflow-strip ol { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .workflow-strip ol { grid-template-columns: repeat(2, 1fr); }
}

.workflow-strip li {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  box-shadow: var(--shadow-soft);
}

.workflow-strip strong {
  display: block;
  font-size: 0.82rem;
  color: var(--teal-dark);
  margin-bottom: 0.2rem;
}

.workflow-strip span {
  font-size: 0.75rem;
  color: var(--muted);
}

.flow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.flow-list li {
  padding-left: 0.9rem;
  border-left: 3px solid var(--teal);
}

.flow-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.flow-list p {
  color: var(--muted);
  font-size: 0.9rem;
}

.flow-list code {
  font-size: 0.8rem;
  background: var(--cream);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}

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

.role-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.role-card h3 {
  font-size: 0.95rem;
  color: var(--teal-dark);
  margin-bottom: 0.35rem;
}

.role-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background: #0b1220;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 18, 32, 0.45));
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 1;
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
}

.persona-tabs {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto 1.25rem;
  padding: 0 1rem;
}

.tab-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.tab-btn:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.demo-shell {
  max-width: 920px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.panel { display: none; animation: fade 0.22s ease; }
.panel.active { display: block; }

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

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 226, 232, 0.9);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.card h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.subtitle { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

.media-frame {
  border-radius: 14px;
  overflow: hidden;
  margin: 0.85rem 0 1rem;
  box-shadow: var(--shadow-soft);
  background: #0b1220;
}

.media-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-frame.square img { aspect-ratio: 4 / 3; }

.linkedin-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}

.li-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1rem 0.5rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f766e, #99f6e4);
  flex-shrink: 0;
}

.li-meta strong { display: block; font-size: 0.92rem; }
.li-meta span { color: var(--muted); font-size: 0.78rem; }

.li-copy {
  padding: 0.35rem 1rem 1rem;
  white-space: pre-wrap;
  font-size: 0.95rem;
}

.li-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.draft-body {
  white-space: pre-wrap;
  background: var(--cream);
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

textarea {
  width: 100%;
  min-height: 72px;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  margin-top: 0.5rem;
  background: #fff;
}

.btn-row { margin-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

button, .btn {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
}

.btn-approve { background: var(--green); color: var(--white); }
.btn-revise { background: #fbbf24; color: #422006; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary {
  background: var(--indigo);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.45rem 0.8rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-pending { background: #dbeafe; color: #1d4ed8; }
.badge-polish { background: #fef3c7; color: #92400e; }
.badge-done { background: #dcfce7; color: #166534; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0.85rem 0 0.25rem;
}

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

.compare-pane {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.compare-pane img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.compare-label {
  padding: 0.45rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-label.before { color: #b45309; background: #fffbeb; }
.compare-label.after { color: var(--teal-dark); background: var(--teal-light); }

.ad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

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

.ad-tile {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease;
}

.ad-tile:hover { transform: translateY(-3px); }

.ad-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ad-tile .cap {
  padding: 0.75rem 0.85rem 0.9rem;
}

.ad-tile .cap strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.ad-tile .cap span {
  color: var(--muted);
  font-size: 0.78rem;
}

.post-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.9rem;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  align-items: start;
}

.post-item:last-child { border-bottom: none; }

.post-thumb {
  border-radius: 10px;
  overflow: hidden;
  background: #0b1220;
}

.post-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .post-item { grid-template-columns: 1fr; }
}

.queue-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.queue-item:last-child { border-bottom: none; }

.feed {
  list-style: none;
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid var(--teal-light);
}

.feed li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1rem;
}

.feed li::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 1.1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.feed time { color: var(--muted); font-size: 0.8rem; display: block; }

.note {
  background: var(--teal-light);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: #115e59;
  margin-top: 1rem;
}

.cta-strip {
  max-width: 920px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.cta-strip .card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(120deg, #0f766e, #134e4a);
  color: #ecfeff;
  border: none;
}

.cta-strip h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.cta-strip p { color: #ccfbf1; font-size: 0.9rem; }

.cta-strip .btn {
  background: #ecfeff;
  color: #115e59;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 2rem 1rem 2.5rem;
}
