:root {
  --bg: #f7f3ec;
  --bg-soft: #fcfaf7;
  --card: rgba(255,255,255,0.82);
  --text: #2f2923;
  --muted: #6b625a;
  --line: rgba(88, 73, 58, 0.12);
  --accent: #c9a35d;
  --accent-strong: #b88e43;
  --shadow: 0 20px 60px rgba(67, 49, 28, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1160px, calc(100% - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.9), transparent 26%),
    radial-gradient(circle at bottom right, rgba(222, 205, 171, 0.26), transparent 24%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin: 0 auto; }
.site-shell { overflow: hidden; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}
.nav-links, .topbar-actions, .footer-links, .hero-actions, .contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-links a, .footer-links a {
  color: var(--muted);
  font-weight: 500;
}
#languageSelect {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  font: inherit;
}
.ghost-button, .secondary-button, .primary-button {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.primary-button {
  background: linear-gradient(180deg, #d6b06b, #b88e43);
  color: white;
  box-shadow: 0 16px 28px rgba(184, 142, 67, 0.3);
}
.secondary-button, .ghost-button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
}
.primary-button:hover, .secondary-button:hover, .ghost-button:hover { transform: translateY(-1px); }
.hero, .comparison-demo, .features, .how-it-works, .screenshots, .privacy-preview, .contact, .policy-hero, .policy-sections {
  padding: 54px 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 100px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201, 163, 93, 0.14);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1, .section-heading h2, .contact h2, .policy-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 18px;
}
.section-heading h2, .contact h2, .policy-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.hero-text, .section-heading p, .contact p, .policy-hero p, .feature-card p, .step-card p, .privacy-card p, .policy-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.hero-stats article, .feature-card, .step-card, .privacy-card, .policy-card, .contact-card, .comparison-card, .screenshot-card {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
}
.hero-stats article {
  padding: 18px;
  border-radius: var(--radius-md);
}
.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.hero-stats span { color: var(--muted); font-size: 0.95rem; }
.hero-visual { position: relative; min-height: 680px; }
.phone-stack { position: relative; height: 100%; }
.phone-card {
  border-radius: 36px;
  border: 8px solid #221d18;
  box-shadow: 0 36px 80px rgba(39, 28, 14, 0.28);
}
.phone-main {
  width: min(360px, 72vw);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.phone-floating {
  position: absolute;
  width: min(210px, 34vw);
  top: 90px;
}
.phone-floating.left { left: 0; transform: rotate(-10deg); }
.phone-floating.right { right: 0; top: 230px; transform: rotate(10deg); }
.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}
.section-heading.narrow { max-width: 680px; }
.comparison-demo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.comparison-card, .contact-card {
  border-radius: var(--radius-xl);
  padding: 26px;
}
.comparison-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
}
.comparison-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comparison-overlay {
  position: absolute;
  inset: 0;
  width: 52%;
  overflow: hidden;
}
.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 2px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.comparison-frame input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}
.comparison-badge {
  position: absolute;
  top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(34,29,24,0.65);
  color: white;
  font-weight: 700;
}
.comparison-badge.left { left: 18px; }
.comparison-badge.right { right: 18px; }
.feature-grid, .steps, .screenshot-grid, .privacy-cards, .policy-sections {
  display: grid;
  gap: 18px;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.screenshot-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.privacy-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.policy-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card, .step-card, .privacy-card, .policy-card, .screenshot-card {
  padding: 24px;
  border-radius: 24px;
}
.feature-card h3, .step-card h3, .privacy-card h3, .policy-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.feature-icon, .step-number {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(201, 163, 93, 0.16);
  color: var(--accent-strong);
  font-size: 1.1rem;
  font-weight: 800;
}
.screenshot-card { padding: 14px; }
.screenshot-card img {
  border-radius: 22px;
  border: 4px solid #221d18;
  margin-bottom: 12px;
}
.screenshot-card strong { display: block; margin-bottom: 6px; }
.screenshot-card span { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.privacy-cta { display: flex; justify-content: center; margin-top: 24px; }
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.policy-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
}
.policy-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 36px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
}
.footer p { color: var(--muted); margin: 8px 0 0; }
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .hero, html[dir="rtl"] .comparison-demo { direction: rtl; }
html[dir="rtl"] .feature-icon, html[dir="rtl"] .step-number { margin-right: 0; }
html[dir="rtl"] .policy-card ul { padding-right: 18px; padding-left: 0; }
@media (max-width: 1080px) {
  .hero, .comparison-demo, .feature-grid, .steps, .privacy-cards, .policy-sections {
    grid-template-columns: 1fr 1fr;
  }
  .screenshot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { min-height: auto; }
  .hero-visual { min-height: 540px; }
}
@media (max-width: 820px) {
  .topbar { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .hero, .comparison-demo, .feature-grid, .steps, .privacy-cards, .policy-sections, .screenshot-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 20px; }
  .hero-visual { min-height: 500px; }
  .phone-main { width: min(290px, 82vw); }
  .phone-floating { width: min(160px, 32vw); top: 80px; }
  .phone-floating.right { top: 220px; }
  .contact-card, .footer { flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 20px, 100%); }
  .topbar, .hero, .comparison-demo, .features, .how-it-works, .screenshots, .privacy-preview, .contact, .policy-hero, .policy-sections { padding-top: 24px; padding-bottom: 24px; }
  .hero h1 { font-size: 2.4rem; }
  .section-heading h2, .contact h2, .policy-hero h1 { font-size: 1.9rem; }
  .phone-floating.left { left: -4px; }
  .phone-floating.right { right: -4px; }
  .comparison-card, .contact-card, .feature-card, .step-card, .privacy-card, .policy-card, .screenshot-card { padding: 18px; }
  .hero-actions, .topbar-actions, .contact-actions { flex-wrap: wrap; }
}
