/* ─── Variables ─────────────────────────────────────────────────────── */
:root {
  --bg: #f0f2f8;
  --card: #ffffff;
  --card-border: #dde3f0;
  --header-bg: #1a1e30;
  --text: #1a1d2e;
  --muted: #4b5563;
  --accent: #4b68f4;
  --accent-hover: #3854e0;
  --ghost: #edf0fa;
  --ghost-hover: #e1e6f5;
  --ghost-border: #c8d1e8;
  --warn-bg: #fffbeb;
  --warn-border: #f59e0b;
  --warn-text: #92400e;
  --footer: #9da5bf;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(26, 30, 48, 0.07);
  --shadow-lg: 0 12px 48px rgba(26, 30, 48, 0.12);
  --max-w: 960px;
}

/* ─── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; }

/* ─── Skip link ──────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  z-index: 999;
}
.skip-link:focus { left: 1rem; }

/* ─── Header ─────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.75rem;
  background: var(--header-bg);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; opacity: 0.9; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: #b8c0dc;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
}
.nav a:hover { color: #fff; text-decoration: none; }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

.lang-btn {
  border: 1px solid #4b5563;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.3rem 0.6rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s;
}
.lang-btn:hover { background: rgba(255,255,255,0.08); }

/* ─── Page wrapper ───────────────────────────────────────────────────── */
main { display: flex; flex-direction: column; gap: 0; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a1e30 0%, #252c48 60%, #1d2440 100%);
  color: #fff;
  padding: 4.5rem 1.25rem 5rem;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #93a8fb;
  background: rgba(75, 104, 244, 0.18);
  border: 1px solid rgba(75, 104, 244, 0.3);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
}

.hero-lead {
  margin: 0 0 2rem;
  color: #b8c0dc;
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.hero-tags span {
  font-size: 0.8rem;
  color: #9da5bf;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
}

/* ─── Pixel demo ─────────────────────────────────────────────────────── */
.pixel-demo {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.pixel-panel { text-align: center; }

.demo-img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.pixel-label {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: #9da5bf;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pixel-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  opacity: 0.8;
}

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(75, 104, 244, 0.4);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 8px 28px rgba(75, 104, 244, 0.5); }

.btn-ghost-dark {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.13); color: #fff; }

.btn-ghost {
  background: var(--ghost);
  color: var(--text);
  border: 1px solid var(--ghost-border);
}
.btn-ghost:hover { background: var(--ghost-hover); color: var(--text); }

.btn-white {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover { background: #f0f4ff; color: var(--accent-hover); }

/* ─── Content sections ───────────────────────────────────────────────── */
.seo-intro,
.features,
.how,
.faq,
.about {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding: 0 1.25rem;
  width: 100%;
}

.cta-section {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding: 0 1.25rem;
  width: 100%;
}

/* inner card styling */
.seo-intro-inner,
.how-inner,
.faq-inner,
.about-inner {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

/* SEO Intro */
.seo-intro-inner h2 {
  margin: 0 0 1.25rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.intro-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.intro-cols p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Section title ──────────────────────────────────────────────────── */
.section-title {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

/* ─── Features ───────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  background: #ebf0ff;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ─── How it works ───────────────────────────────────────────────────── */
.how-inner h2 {
  margin: 0 0 1.75rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.how-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.how-steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(75, 104, 244, 0.35);
}

.step-body strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.warn {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 10px;
  color: var(--warn-text);
}

.warn strong { display: block; margin-bottom: 0.2rem; font-size: 0.95rem; }
.warn p { margin: 0; font-size: 0.93rem; line-height: 1.55; }

/* ─── FAQ ────────────────────────────────────────────────────────────── */
.faq-inner h2 {
  margin: 0 0 1.25rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: var(--bg);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  list-style: none;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ─── CTA section ────────────────────────────────────────────────────── */
.cta-inner {
  background: linear-gradient(135deg, var(--accent) 0%, #3350d4 100%);
  border-radius: var(--radius);
  padding: 2.75rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(75, 104, 244, 0.35);
}

.cta-inner h2 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.cta-inner p {
  margin: 0 0 1.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

/* ─── About ──────────────────────────────────────────────────────────── */
.about-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.about-text { flex: 1; }

.about-inner h2 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}
.about-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.about-photo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--card-border);
  box-shadow: var(--shadow);
}

/* ─── Trust bar ──────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--card);
  border-bottom: 1px solid var(--card-border);
  padding: 0.85rem 1.25rem;
}

.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.trust-ms {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.3rem 0.75rem;
  background: var(--bg);
  transition: background 0.15s;
}
.trust-ms:hover { background: var(--ghost); text-decoration: none; }

/* ─── Compare slider ─────────────────────────────────────────────────── */
.compare-section {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding: 0 1.25rem;
}

.compare-inner {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.compare-inner h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.compare-sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.compare-slider {
  position: relative;
  max-width: 420px;
  margin: 0 auto 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
  aspect-ratio: 1 / 1;
  box-shadow: 0 8px 32px rgba(26, 30, 48, 0.18);
}

.compare-base,
.compare-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.compare-overlay {
  clip-path: inset(0 50% 0 0);
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.compare-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  color: var(--accent);
}

.compare-labels {
  display: flex;
  justify-content: space-between;
  max-width: 420px;
  margin: 0.5rem auto 0;
  font-size: 0.82rem;
  color: var(--footer);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 2.5rem;
  background: var(--header-bg);
  color: #b8c0dc;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand img {
  border-radius: 8px;
  margin-bottom: 0.25rem;
}

.footer-brand strong {
  color: #fff;
  font-size: 1.05rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.88rem;
  color: #9da5bf;
  max-width: 18rem;
}

.footer-cols {
  display: flex;
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col h4 {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col a {
  font-size: 0.9rem;
  color: #9da5bf;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-privacy {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem 1.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.85rem;
  color: #6b7280;
}
.footer-privacy p { margin: 0; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.85rem;
  color: #6b7280;
}
.footer-bottom a { color: #9da5bf; }
.footer-bottom a:hover { color: #fff; }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual { display: flex; justify-content: center; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .intro-cols {
    grid-template-columns: 1fr;
  }

  .seo-intro-inner,
  .how-inner,
  .faq-inner,
  .about-inner {
    padding: 1.5rem 1.25rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-cols {
    gap: 2rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .nav a:not(.nav-cta) { display: none; }

  .hero { padding: 2.75rem 1rem 3.5rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { justify-content: center; }

  .trust-inner { gap: 1rem; }
  .trust-item { font-size: 0.82rem; }

  .compare-slider { max-width: 300px; }

  .footer-cols { flex-direction: column; gap: 1.5rem; }
}
