:root {
  --primary: #8142fe;
  --secondary: #22d6a0;
  --text: #1c1c1e;
  --muted: #6b6b72;
  --bg: #ffffff;
  --card: #f7f6fb;
  --border: #ece9f5;
  --maxw: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; border-radius: 8px; }
.brand span { font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 15px; }
.lang select {
  font: inherit;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

/* Hero */
.hero {
  text-align: center;
  padding: 64px 20px 48px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(129, 66, 254, 0.10), transparent 70%),
    radial-gradient(40% 40% at 80% 10%, rgba(34, 214, 160, 0.10), transparent 70%);
}
.hero img.mark { height: 96px; width: auto; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -1px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub { font-size: clamp(16px, 2.4vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.badge {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

/* Features */
section.features { padding: 56px 0; }
.features h2 { text-align: center; font-size: clamp(24px, 3.5vw, 32px); margin: 0 0 36px; letter-spacing: -0.5px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Screenshots */
section.shots { padding: 8px 0 56px; }
.shots h2 { text-align: center; font-size: clamp(24px, 3.5vw, 32px); margin: 0 0 36px; letter-spacing: -0.5px; }
.shots-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.shot { width: 240px; max-width: 70vw; margin: 0; text-align: center; }
.shot img {
  display: block;
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(28, 28, 30, 0.14);
}
.shot figcaption { margin-top: 14px; color: var(--muted); font-weight: 600; font-size: 14px; }

/* Reminder band */
section.reminder {
  padding: 44px 0 64px;
  background: radial-gradient(70% 80% at 50% 0%, rgba(129, 66, 254, 0.07), transparent 70%);
}
.reminder .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.reminder-media { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: 0 0 auto; }
.reminder-notif {
  width: 360px; max-width: 80vw;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(28, 28, 30, 0.14);
}
.reminder-badge { width: 132px; height: auto; border-radius: 26px; box-shadow: 0 10px 26px rgba(28, 28, 30, 0.16); }
.reminder-text { flex: 1 1 300px; max-width: 460px; }
.reminder-text h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 10px; letter-spacing: -0.5px; }
.reminder-text p { margin: 0; color: var(--muted); font-size: clamp(15px, 2vw, 17px); }

/* Privacy page */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 6px; letter-spacing: -0.5px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; }
.doc p { color: #2c2c33; }
.back { display: inline-block; margin-bottom: 24px; font-weight: 600; }

/* Contact form */
section.contact { padding: 16px 0 64px; }
.container.narrow { max-width: 620px; }
.contact h2 { text-align: center; font-size: clamp(24px, 3.5vw, 32px); margin: 0 0 8px; letter-spacing: -0.5px; }
.contact-sub { text-align: center; color: var(--muted); margin: 0 0 24px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form input,
.form textarea {
  font: inherit;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  resize: vertical;
}
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--primary); }
.form button {
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
}
.form button:hover { filter: brightness(1.05); }
.form button:disabled { opacity: 0.6; cursor: default; }
.captcha-box { display: flex; justify-content: center; min-height: 65px; }
.form-status { margin: 4px 0 0; text-align: center; font-weight: 600; min-height: 22px; }
.form-status.ok { color: #1c9e6e; }
.form-status.err { color: #d33; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
footer a { font-weight: 600; }

/* RTL tweaks */
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .brand { flex-direction: row-reverse; }
