/* CanSayNo sitesi — renkler ve yazı tipi mobil uygulamayla aynı (Mobile/constants/theme.ts, Satoshi). */

@font-face { font-family: Satoshi; src: url('/assets/fonts/Satoshi-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Satoshi; src: url('/assets/fonts/Satoshi-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Satoshi; src: url('/assets/fonts/Satoshi-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Satoshi; src: url('/assets/fonts/Satoshi-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }

:root {
  --primary: #2D7FF9;
  --primary-dark: #1B63D6;
  --primary-soft: #E7F0FE;
  /* Marka geçişi: mor → mavi (design/brand/brand.mjs) */
  --indigo: #5B4BE0;
  --indigo-dark: #4636C4;
  --indigo-soft: #ECEAFC;
  --brand-gradient: linear-gradient(135deg, #5B4BE0, #2D7FF9);
  --coral: #FF7043;
  --amber: #F7B500;
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --chip: #F4F2EE;
  --ink: #16181D;
  --text: #16181D;
  --text-2: #5A6472;
  --muted: #98A1AE;
  --border: #ECEDF0;
  --success: #1FA971;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .04), 0 8px 24px rgba(22, 24, 29, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Satoshi, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(248, 247, 244, .85);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; flex: none; display: block; }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.header-nav { display: none; gap: 28px; }
.header-nav a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.header-nav a:hover { color: var(--text); }
@media (min-width: 720px) { .header-nav { display: flex; } }
.legal .header-nav { display: none; }

/* Hero */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 80px 0 96px; } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.eyebrow {
  display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px;
  background: var(--indigo-soft); color: var(--indigo-dark); font-weight: 700; font-size: 14px;
}
.hero h1 { font-size: clamp(40px, 8vw, 66px); font-weight: 900; letter-spacing: -0.035em; }
.hero h1 .accent {
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 19px; color: var(--text-2); margin: 20px 0 32px; max-width: 34em; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px;
  border-radius: 14px; background: var(--ink); color: #fff; cursor: default; opacity: .9;
}
.store-badge svg { width: 24px; height: 24px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 17px; }
.store-badge small { font-weight: 500; font-size: 11px; opacity: .75; }

/* Phone mockup */
.phone {
  width: 100%; max-width: 360px; margin: 0 auto; padding: 18px 16px 16px;
  background: var(--surface); border-radius: 36px; border: 8px solid var(--ink);
  box-shadow: 0 30px 60px rgba(91, 75, 224, .2), var(--shadow);
  position: relative;
}
.phone::before {
  content: ''; position: absolute; inset: -60px -80px auto auto; width: 240px; height: 240px;
  border-radius: 50%; background: var(--indigo-soft); z-index: -1;
}
.phone-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.phone-top span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.phone-top strong { font-size: 15px; }
.phone-top small { color: var(--muted); font-size: 12px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #FFEAE2; color: var(--coral); font-weight: 900;
}
.chat { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; }
.bubble { margin: 0; padding: 10px 14px; font-size: 14px; line-height: 1.45; max-width: 88%; border-radius: 18px; }
.bubble.ai { background: var(--chip); border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble.me { background: var(--brand-gradient); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.score-card { background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 16px; }
.score-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 14px; }
.score-head strong { font-size: 24px; font-weight: 900; color: #7FB3FF; }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .15); margin: 8px 0 10px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--brand-gradient); }
.score-card p { margin: 0; font-size: 13px; opacity: .85; }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(28px, 5vw, 40px); font-weight: 900; margin-bottom: 32px; }
.muted { color: var(--text-2); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-no {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-gradient); color: #fff; font-weight: 900; margin-bottom: 16px;
}
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--text-2); }

.contexts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .contexts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .contexts { grid-template-columns: repeat(4, 1fr); } }
.contexts li {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 20px; border-radius: var(--radius); background: var(--s);
}
.contexts .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-bottom: 8px; }
.contexts strong { font-size: 17px; }
.contexts small { color: var(--text-2); font-size: 14px; line-height: 1.4; }
.contexts em {
  position: absolute; top: 16px; right: 16px; font-style: normal; font-size: 12px; font-weight: 700;
  color: #fff; background: var(--c); padding: 2px 10px; border-radius: 99px;
}

.two-col { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.two-col .section-title { margin-bottom: 16px; }
.axes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.axes li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
}
.axes span { color: var(--text-2); font-size: 15px; }

.plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 24px; } }
.plan { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.plan h3 { font-size: 20px; }
.price { font-size: 34px; font-weight: 900; margin: 8px 0 16px; letter-spacing: -0.02em; }
.price small { font-size: 16px; font-weight: 500; color: var(--text-2); }
.price .or { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.plan-premium { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-premium h3 { color: var(--amber); }
.plan-premium .price small, .plan-premium .price .or { color: rgba(255, 255, 255, .6); }
.fineprint { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

.trust { display: grid; gap: 16px; }
@media (min-width: 760px) { .trust { grid-template-columns: 1fr 1fr; gap: 24px; } }
.trust > div { padding: 28px; border-radius: var(--radius); background: var(--indigo-soft); }
.trust > div:last-child { background: #FFEAE2; }
.trust h3 { font-size: 20px; margin-bottom: 8px; }
.trust p { margin: 0; color: var(--text-2); }

/* Legal pages (docs/store/*.md → HTML) */
.legal-body { max-width: 780px; padding-top: 48px; padding-bottom: 80px; }
.legal-body h1 { font-size: clamp(30px, 6vw, 42px); font-weight: 900; margin-bottom: 8px; }
.legal-body h2 { font-size: 24px; margin: 40px 0 12px; }
.legal-body h3 { font-size: 19px; margin: 28px 0 8px; }
.legal-body p, .legal-body li { color: #2C313A; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li + li { margin-top: 4px; }
.legal-body hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.legal-body blockquote {
  margin: 20px 0; padding: 14px 18px; border-radius: 14px; background: #FFF7ED; border-left: 4px solid var(--coral);
}
.legal-body blockquote p { margin: 0; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.legal-body th { background: var(--chip); font-weight: 700; white-space: nowrap; }
.legal-body code { background: var(--chip); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.legal-body em { color: var(--text-2); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 56px 0 28px; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { margin: 12px 0 0; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 4px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer-note p { margin: 0; }
