:root {
  --bg: #080d1c;
  --bg-2: #0d1428;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-solid: #121a33;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6fb;
  --muted: #9aa5bd;
  --muted-2: #6b7690;
  --accent: #ff4d6d;
  --accent-2: #ff7a8f;
  --accent-deep: #e63b58;
  --violet: #7c6cff;
  --green: #2dd4a0;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-accent: 0 12px 40px rgba(255, 77, 109, 0.35);
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient glows */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(255, 77, 109, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(124, 108, 255, 0.14), transparent 55%),
    radial-gradient(700px 500px at 60% 110%, rgba(45, 212, 160, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 13, 28, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-logo { width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 6px 20px rgba(255, 77, 109, 0.4); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 800; font-size: 18px; letter-spacing: -0.3px;
  background: linear-gradient(90deg, #fff, #ffb3c0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-tagline { font-size: 11px; color: var(--muted-2); }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; margin-left: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 11px;
  cursor: pointer; flex-shrink: 0;
}
.nav-toggle-bar {
  display: block; width: 100%; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform .22s ease, opacity .22s ease;
}
.site-header.menu-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.menu-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-collapse { display: flex; align-items: center; flex: 1 1 auto; gap: 20px; margin-left: 12px; min-width: 0; }

.main-nav { display: flex; gap: 4px; margin-left: 0; }
.nav-link {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font: inherit; font-weight: 600; font-size: 15px;
  padding: 8px 15px; border-radius: 10px; transition: all .18s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-link.is-active { color: #fff; background: linear-gradient(90deg, rgba(255,77,109,0.22), rgba(124,108,255,0.22)); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Language dropdown */
.lang-select { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  font: inherit; font-weight: 600; font-size: 14px;
  padding: 9px 14px; border-radius: 11px; cursor: pointer; transition: border-color .15s ease;
}
.lang-btn:hover { border-color: var(--line-strong); }
.lang-caret { font-size: 10px; color: var(--muted); transition: transform .15s ease; }
.lang-select.open .lang-caret { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px; max-height: 380px;
  overflow-y: auto; background: #10172e; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 6px; z-index: 60; list-style: none;
}
.lang-option {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  color: var(--text); font: inherit; font-size: 14px; padding: 9px 12px;
  border-radius: 9px; display: flex; align-items: center; gap: 8px; transition: background .12s ease;
}
.lang-option:hover { background: rgba(255, 255, 255, 0.07); }
.lang-option.is-selected { background: rgba(255, 77, 109, 0.2); color: #fff; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 46px rgba(255, 77, 109, 0.45); filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 104px 0 48px; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px;
  background: rgba(255, 77, 109, 0.12); border: 1px solid rgba(255, 77, 109, 0.3);
  color: var(--accent-2); font-weight: 600; font-size: 13px; letter-spacing: 0.3px; margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(38px, 6.5vw, 74px); font-weight: 800; letter-spacing: -2.5px; line-height: 1.04;
  background: linear-gradient(120deg, #ffffff 20%, #ffb3c0 55%, #b9a9ff 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { max-width: 760px; margin: 24px auto 0; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-hint { margin-top: 18px; font-size: 13px; color: var(--muted-2); }

/* Stats band */
.stats-band { padding: 10px 0 50px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; transition: transform .2s ease, border-color .2s ease;
}
.stat:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.stat-value {
  font-size: 34px; font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(120deg, var(--accent-2), var(--violet));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; position: relative; }
.section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.section-subtitle { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 680px; }

/* Cards */
.value-props { padding: 28px 0 60px; }
.cards { display: grid; gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  backdrop-filter: blur(6px);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px; opacity: 0;
  background: linear-gradient(135deg, rgba(255,77,109,0.5), rgba(124,108,255,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .22s ease;
}
.card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 26px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255,77,109,0.16), rgba(124,108,255,0.16));
  border: 1px solid rgba(255,255,255,0.08);
}
.card-icon-img { padding: 0; background: none; border: none; }
.card-icon-img img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; display: block; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* AI section */
.ai { background: linear-gradient(180deg, rgba(255,77,109,0.05), transparent 60%); }
.ai-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: start; }
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); font-size: 15px; }
.checklist li::before {
  content: "✓"; color: var(--accent-2); font-weight: 700; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 6px; background: rgba(255,77,109,0.12);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 2px;
}
.ai-example {
  position: sticky; top: 92px;
  background: linear-gradient(160deg, #1a1233, #0f1628); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.ai-example-label {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent-2); background: rgba(255,77,109,0.12); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.ai-example-text { color: var(--muted); font-size: 15px; line-height: 1.7; }
.secretary-caps { margin-top: 40px; }

/* How it works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.step {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; transition: transform .22s ease, border-color .22s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step-icon { font-size: 36px; margin-bottom: 14px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* Getting started (numbered) */
.getting-started .step-icon {
  width: 50px; height: 50px; border-radius: 50%; font-size: 21px;
  background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(255, 77, 109, 0.35);
}

/* Comparison */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.compare-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .22s ease;
}
.compare-card:hover { transform: translateY(-4px); }
.compare-versus {
  font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px;
}
.compare-theirs { color: var(--muted-2); font-size: 14px; }
.compare-theirs::before { content: "✗ "; color: #ff6b81; font-weight: 700; }
.compare-ours {
  color: var(--text); font-size: 14px; line-height: 1.55;
  background: linear-gradient(135deg, rgba(255,77,109,0.1), rgba(124,108,255,0.08));
  border: 1px solid rgba(255, 77, 109, 0.25); border-radius: 12px; padding: 12px 14px;
}
.compare-ours::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Commands */
.commands-grid { display: grid; gap: 12px; margin-top: 30px; }
.command-row {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
  transition: border-color .2s ease;
}
.command-row:hover { border-color: var(--line-strong); }
.command-say {
  font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.command-arrow { color: var(--accent); font-size: 22px; font-weight: 700; }
.command-do { color: var(--muted); font-size: 14px; }

/* Benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.benefit {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 17px 20px;
  color: var(--text); font-size: 15px; display: flex; gap: 12px; align-items: flex-start;
  transition: transform .2s ease, border-color .2s ease;
}
.benefit:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.benefit::before {
  content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 7px; background: rgba(45, 212, 160, 0.12);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
}

/* Examples */
.examples-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.example-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.example-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.example-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--accent-2); }
.example-card p { color: var(--muted); font-size: 14px; }

/* Final CTA */
.final-cta { text-align: center; padding: 90px 0; }

/* ---------- Download view ---------- */
.download-hero { padding: 90px 0 20px; text-align: center; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.download-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; display: flex; flex-direction: column;
  transition: transform .22s ease, border-color .22s ease;
}
.download-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.download-icon { font-size: 46px; margin-bottom: 16px; }
.download-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.download-card p { color: var(--muted); font-size: 14px; margin-bottom: 22px; flex-grow: 1; }
.download-links { display: grid; gap: 10px; }
.download-version { margin-top: 26px; text-align: center; font-size: 13px; color: var(--muted-2); }
.download-note { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted-2); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; padding: 52px 0;
  background: linear-gradient(135deg, #ff4d6d, #7c6cff);
  border-radius: 0; margin: 20px 0;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 50% 0%, rgba(255,255,255,0.25), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-text { font-size: 21px; font-weight: 700; color: #fff; max-width: 520px; line-height: 1.4; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner .btn-primary { background: #fff; color: #e63b58; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.cta-banner .btn-primary:hover { background: #fff; filter: none; }
.cta-banner .btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.cta-banner .btn-ghost:hover { background: rgba(255, 255, 255, 0.15); border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; margin-top: 40px; background: rgba(0,0,0,0.2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo { width: 32px; height: 32px; border-radius: 9px; }
.footer-name { font-weight: 700; }
.footer-tagline { color: var(--muted-2); font-size: 13px; }
.footer-right { display: flex; align-items: center; gap: 18px; }
.footer-link { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-link:hover { color: var(--text); }
.footer-rights { color: var(--muted-2); font-size: 13px; }

/* ---------- Hero mockup ---------- */
.hero-mockup { max-width: 980px; margin: 46px auto 0; padding: 0 24px; }
.mockup-window {
  background: linear-gradient(160deg, #10162e, #0b1226);
  border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.03);
  overflow: hidden;
}
.mockup-topbar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.d1 { background: #ff5f57; } .d2 { background: #febc2e; } .d3 { background: #28c840; }
.mockup-title { margin-left: 10px; font-size: 12px; color: var(--muted-2); font-weight: 600; }
.mockup-body {
  display: grid; grid-template-columns: 0.85fr 1.1fr 1.05fr; gap: 14px; padding: 16px;
}
.mockup-col {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  border-radius: 13px; padding: 12px; font-size: 12px; min-height: 200px;
}
.mockup-col-head { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.mockup-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.mockup-cal span { color: var(--muted-2); font-size: 10px; padding: 2px 0; }
.mockup-cal i { font-style: normal; color: var(--muted); padding: 4px 0; border-radius: 6px; font-size: 11px; }
.mockup-cal i.today {
  background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff; font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 77, 109, 0.45);
}
.mockup-note {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 9px;
  color: var(--text);
}
.mockup-note span { width: 14px; color: var(--muted-2); }
.mockup-note.is-important { border-color: rgba(255, 77, 109, 0.4); }
.mockup-note.is-important span { color: #ffd166; }
.mockup-note.is-done { opacity: 0.55; text-decoration: line-through; }
.mockup-note.is-done span { color: var(--green); }
.mockup-add { margin-top: 8px; padding: 8px 10px; border: 1px dashed var(--line-strong); border-radius: 9px; color: var(--muted-2); }
.mockup-chat { display: flex; flex-direction: column; gap: 7px; }
.chat-user, .chat-ai { padding: 8px 11px; border-radius: 11px; font-size: 11px; line-height: 1.5; }
.chat-user {
  align-self: flex-end; background: rgba(255, 77, 109, 0.16); border: 1px solid rgba(255, 77, 109, 0.3);
  color: var(--text); max-width: 85%;
}
.chat-ai {
  align-self: flex-start; background: rgba(124, 108, 255, 0.12); border: 1px solid rgba(124, 108, 255, 0.3);
  color: var(--text); max-width: 85%;
}

@media (max-width: 760px) {
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-col:nth-child(1) { display: none; }
}

/* ---------- Screenshots ---------- */
.hero-shot { max-width: 1000px; margin: 46px auto 0; padding: 0 24px; }.shot-frame {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.shot-frame img { display: block; width: 100%; height: auto; }

/* Interactive demo */
.demo-frame { display: flex; flex-direction: column; }
.demo-topbar {
  display: flex; align-items: center; gap: 7px; padding: 11px 16px;
  background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--line);
}
.demo-url { margin-left: 8px; font-size: 12px; color: var(--muted-2); font-weight: 600; }
.demo-badge {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
  color: var(--accent-2); background: rgba(255, 77, 109, 0.12); border: 1px solid rgba(255, 77, 109, 0.3);
  padding: 3px 10px; border-radius: 999px;
}
.demo-frame iframe { width: 100%; height: 640px; border: none; display: block; background: #0d1428; }
@media (max-width: 680px) { .demo-frame iframe { height: 500px; } }

/* Desktop-рендер в демо: iframe шириной 1280px, масштабируется вниз (приложение видит десктоп) */
.demo-stage { position: relative; width: 100%; overflow: hidden; }
.demo-stage iframe {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 800px; border: none;
  transform-origin: top left; transform: scale(0.743);
  background: #0d1428;
}
.shot-frame .demo-fallback { display: none; width: 100%; height: auto; }
.screenshot { max-width: 960px; margin: 34px auto 0; }
.screenshot img {
  width: 100%; border-radius: 16px; border: 1px solid var(--line-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45); display: block;
}
.screenshot figcaption { text-align: center; margin-top: 12px; color: var(--muted); font-size: 13px; }
.screenshots-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 960px; margin: 34px auto 0; }
.screenshots-row .screenshot { margin: 0; }
@media (max-width: 760px) {
  .screenshots-row { grid-template-columns: 1fr; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(4, 7, 16, 0.94);
  display: none; align-items: center; justify-content: center; padding: 32px; cursor: zoom-out;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 20px; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; transition: background .15s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------- RTL ---------- */
[dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .header-collapse { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .checklist li { flex-direction: row-reverse; }
[dir="rtl"] .lang-option { text-align: right; }
[dir="rtl"] .compare-ours { border-left: 1px solid rgba(255,77,109,0.25); border-right: 3px solid var(--accent); }
[dir="rtl"] .command-arrow { transform: rotate(180deg); }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero, .section, .cta-banner { animation: fadeUp .6s ease both; }
.hero { animation-delay: .05s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .compare-grid { grid-template-columns: 1fr; }
  .ai-inner { grid-template-columns: 1fr; }
  .ai-example { position: static; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
}

/* Header collapses into a hamburger menu */
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 12px; }
  .nav-toggle { display: flex; }
  .header-collapse {
    display: none; flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: 10px;
    margin-left: 0; padding: 6px 0 12px;
  }
  .site-header.menu-open .header-collapse { display: flex; }
  .main-nav { flex-direction: column; gap: 4px; margin: 0; }
  .nav-link { width: 100%; text-align: left; padding: 12px 14px; font-size: 16px; }
  .header-actions { margin: 0; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .lang-select { width: 100%; }
  .lang-btn { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 15px; }
  .lang-dropdown { position: static; width: 100%; min-width: 0; max-height: 300px; margin-top: 6px; }
  .btn-open-app { display: flex; width: 100%; justify-content: center; }
  [dir="rtl"] .nav-link { text-align: right; }
  [dir="rtl"] .nav-toggle { margin-left: 0; margin-right: auto; }
  [dir="rtl"] .header-collapse { margin-right: 0; }
}

@media (max-width: 680px) {
  .cards-2, .examples-grid { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .brand-tagline { display: none; }
  .container { padding: 0 16px; }
  .hero { padding: 56px 0 26px; }
  .hero-title { letter-spacing: -1.5px; }
  .hero-subtitle { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-shot { margin-top: 30px; padding: 0 16px; }
  .section { padding: 46px 0; }
  .stats-grid { gap: 10px; }
  .stat { padding: 18px 12px; }
  .stat-value { font-size: 26px; }
  .btn-lg { padding: 14px 22px; font-size: 15px; }
  .command-row { grid-template-columns: 1fr; gap: 8px; }
  .command-arrow { transform: rotate(90deg); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; width: 100%; }
  .cta-buttons .btn { flex: 1 1 100%; }
  .cta-banner { padding: 40px 0; }
  .demo-stage { display: none; }
  .shot-frame .demo-fallback { display: block; }
}
