:root {
  --brand-start: #5c4afa;
  --brand-end: #fa6194;
  --bg: #f4f4f8;
  --bg-alt: #ffffff;
  --ink: #14131f;
  --ink-soft: #55536b;
  --ink-faint: #8b899e;
  --card: #ffffff;
  --border: #e7e6f0;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(30, 20, 80, 0.25);
  --gradient: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- language toggling ---------- */
html.lang-tr [data-en] { display: none !important; }
html.lang-en [data-tr] { display: none !important; }

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 248, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: var(--bg-alt);
  gap: 2px;
}
.lang-toggle button {
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-faint);
}
.lang-toggle button.active {
  background: var(--gradient);
  color: #fff;
}

@media (max-width: 720px) {
  .nav-links a.hide-mobile { display: none; }
}

/* ---------- hero ---------- */
.hero {
  padding: 88px 0 72px;
  text-align: center;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.hero .badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gradient);
}

.hero-icon {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 40px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(92, 74, 250, 0.55);
}

.btn-ghost {
  background: var(--bg-alt);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn[disabled] {
  opacity: .55;
  cursor: default;
  box-shadow: none;
}

/* ---------- phone mock / preview strip ---------- */
.preview-strip {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.preview-card {
  width: min(320px, 82vw);
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(160deg, #1a1730, #241a35);
  box-shadow: var(--shadow);
}

.preview-inner {
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  padding: 22px 18px 26px;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.preview-header img { width: 26px; height: 26px; border-radius: 7px; }
.preview-header span { font-weight: 800; font-size: 13px; color: var(--ink-faint); }

.preview-greeting {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 2px;
}
.preview-date { font-size: 12px; color: var(--ink-faint); margin-bottom: 18px; }

.preview-habit {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 6px 16px -10px rgba(20,15,50,.25);
}
.preview-habit .bar { width: 3px; height: 30px; border-radius: 2px; }
.preview-habit .meta { flex: 1; }
.preview-habit .name { font-weight: 700; font-size: 13.5px; }
.preview-habit .sub { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }
.preview-habit .count { font-size: 12px; font-weight: 800; color: var(--ink-faint); }
.preview-habit .plus {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 15px;
}

/* ---------- sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.section-head p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; margin: 0; }

/* feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}
.feature-card .icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient);
  color: #fff;
  font-size: 21px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 16.5px; font-weight: 800; margin: 0 0 8px; }
.feature-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; }
.step .num {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -10px rgba(92,74,250,.5);
}
.step h3 { font-size: 17px; font-weight: 800; margin: 0 0 10px; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.price-card.pro {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--gradient) border-box;
  position: relative;
}
.price-card .tag {
  position: absolute;
  top: -13px; right: 24px;
  background: var(--gradient);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); margin: 0 0 14px; }
.price-card .amount { font-size: 40px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 4px; }
.price-card .amount span { font-size: 15px; font-weight: 700; color: var(--ink-faint); }
.price-card .note { font-size: 13px; color: var(--ink-faint); margin-bottom: 24px; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-card li { font-size: 14.5px; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.price-card li::before {
  content: "✓";
  color: var(--brand-start);
  font-weight: 900;
  flex-shrink: 0;
}

/* privacy toggle note (used on privacy/terms pages) */
.privacy-note {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--ink-soft);
}

.doc h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 40px 0 12px;
}
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); }
.doc ul { padding-left: 22px; }
.doc strong { color: var(--ink); }
.doc .updated { color: var(--ink-faint); font-size: 13.5px; margin-bottom: 36px; }

/* contact */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.contact-card .icon-lg {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin: 0 auto 22px;
}
.contact-card .email {
  display: inline-block;
  margin-top: 18px;
  font-weight: 800;
  font-size: 17px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
}

/* footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg-alt);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-soft);
}
.footer-brand img { width: 26px; height: 26px; border-radius: 7px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 12.5px; color: var(--ink-faint); margin-top: 24px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
