/* Renkler uygulamadan alındı: lib/main.dart ThemeData + ekranlarda kullanılanlar */
:root {
  --primary: #D84315;
  --primary-dark: #A62F0D;
  --primary-soft: #FDEDE6;
  --accent: #F5A623;
  --text: #2B211C;
  --muted: #8A7568;
  --bg: #FFF8F3;
  --surface: #FFFBF8;
  --border: #E8DDD5;
  --success: #2E7D32;
  --danger: #C62828;
  --shadow-sm: 0 2px 10px rgba(43, 33, 28, 0.05);
  --shadow-md: 0 12px 32px rgba(43, 33, 28, 0.10);
  --shadow-lg: 0 30px 70px rgba(43, 33, 28, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary); }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 7px 14px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.15; }

.section-head { text-align: center; max-width: 560px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 14px 0 10px; }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Ust cubuk ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 243, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.topbar.scrolled { border-bottom-color: var(--border); }

.topbar .inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand span { font-weight: 800; font-size: 17px; letter-spacing: -0.4px; }

.topbar nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.topbar nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 9px;
}

.topbar nav a:hover { color: var(--primary); background: var(--primary-soft); }

.topbar nav a.cta {
  color: #fff;
  background: var(--primary);
  padding: 9px 18px;
}

.topbar nav a.cta:hover { background: var(--primary-dark); color: #fff; }

@media (max-width: 720px) {
  .topbar nav a:not(.cta) { display: none; }
}

/* ---------- Kahraman bolum ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 90px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 130%;
  background:
    radial-gradient(60% 55% at 20% 15%, rgba(216, 67, 21, 0.16), transparent 70%),
    radial-gradient(45% 45% at 85% 5%, rgba(245, 166, 35, 0.20), transparent 70%);
  pointer-events: none;
}

.hero .grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5.6vw, 58px);
  font-weight: 800;
  margin: 22px 0 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: var(--accent);
  opacity: 0.32;
  border-radius: 3px;
  z-index: -1;
}

.hero .lede {
  font-size: clamp(16px, 1.9vw, 19px);
  color: #5c4c43;
  margin: 0 0 30px;
  max-width: 470px;
}

.hero-note {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-note svg { width: 15px; height: 15px; flex: none; fill: var(--success); }

@media (max-width: 900px) {
  .hero { padding: 44px 0 64px; text-align: center; }
  .hero .grid { grid-template-columns: 1fr; gap: 44px; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-note { justify-content: center; }
}

/* ---------- Magaza dugmeleri ---------- */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) { .stores { justify-content: center; } }

.store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 22px 12px 18px;
  border-radius: 15px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}

.store:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.store small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.6;
  letter-spacing: 0.2px;
}

.store svg { width: 24px; height: 24px; flex: none; fill: currentColor; }

.store[aria-disabled="true"] { pointer-events: none; opacity: 0.85; }

/* ---------- Telefon maketi ---------- */
.phone {
  position: relative;
  width: 290px;
  margin: 0 auto;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, #3b2d26, #1c1512);
  box-shadow: var(--shadow-lg);
}

.phone::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  border-radius: 999px;
  background: #1c1512;
  z-index: 3;
}

.screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg);
  height: 540px;
  display: flex;
  flex-direction: column;
  font-size: 10px;
}

.screen-head {
  display: flex;
  align-items: center;
  padding: 34px 14px 6px;
}

.screen-head .loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.screen-head .loc .pin { width: 13px; height: 13px; fill: var(--primary); }
.screen-head .loc .chev { width: 12px; height: 12px; fill: var(--text); opacity: 0.75; }
.screen-head .acts { margin-left: auto; display: flex; gap: 13px; }
.screen-head .acts svg { width: 16px; height: 16px; fill: var(--text); }

.screen-body { padding: 8px 0 0 14px; overflow: hidden; flex: 1; }

.greet { margin: 6px 0 2px; font-size: 19px; font-weight: 800; letter-spacing: -0.5px; }
.greet-sub { margin: 0 0 12px; font-size: 12px; color: #7d6a5f; }

.cat-strip { display: flex; gap: 8px; margin-bottom: 15px; }

.cat-item { text-align: center; flex: none; }

.cat-item .tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #F3E7DF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.cat-item .tile img { width: 26px; height: 26px; object-fit: contain; }
.cat-item span { font-size: 9.5px; font-weight: 600; }

.row-head { display: flex; align-items: baseline; padding-right: 14px; margin-bottom: 8px; }
.row-head h4 { margin: 0; font-size: 13.5px; font-weight: 800; letter-spacing: -0.3px; }
.row-head span { margin-left: auto; font-size: 10.5px; color: #7d6a5f; }

.resto-row { display: flex; gap: 9px; margin-bottom: 15px; }

.resto-card {
  flex: none;
  width: 148px;
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(43, 33, 28, 0.07);
}

.resto-card .cover {
  position: relative;
  height: 72px;
  background: linear-gradient(150deg, #F7D6C9, #FBE7DE);
  display: flex;
  align-items: center;
  justify-content: center;
}

.resto-card .cover .cutlery {
  width: 25px;
  height: 25px;
  fill: var(--primary);
  opacity: 0.45;
  transform: rotate(-45deg);
}

.pill {
  position: absolute;
  top: 7px;
  left: 7px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: var(--success);
  padding: 3px 7px;
  border-radius: 999px;
}

.pill svg { width: 9px; height: 9px; fill: currentColor; }
.pill.new { background: var(--primary); }

.resto-card .info { padding: 8px 9px 10px; }
.resto-card .info h5 { margin: 0 0 3px; font-size: 11.5px; font-weight: 800; letter-spacing: -0.2px; }
.resto-card .info p { margin: 0 0 2px; font-size: 9.5px; color: #7d6a5f; }

.list-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 14px;
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(43, 33, 28, 0.07);
}

.list-card .thumb {
  width: 62px;
  height: 62px;
  flex: none;
  background: linear-gradient(150deg, #F7D6C9, #FBE7DE);
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-card .thumb svg { width: 22px; height: 22px; fill: var(--primary); opacity: 0.45; transform: rotate(-45deg); }
.list-card .info { flex: 1; min-width: 0; }
.list-card .info h5 { margin: 0 0 2px; font-size: 11.5px; font-weight: 800; letter-spacing: -0.2px; }
.list-card .info p { margin: 0; font-size: 9.5px; color: #7d6a5f; }
.list-card .pill { position: static; margin-right: 9px; }

.screen-nav {
  background: #FBE7DE;
  display: flex;
  align-items: center;
  padding: 7px 4px 13px;
}

.screen-nav div {
  flex: 1;
  text-align: center;
  font-size: 8.5px;
  color: #8d7a6e;
  font-weight: 600;
  padding: 4px 0;
  border-radius: 11px;
}

.screen-nav div.on { color: var(--primary); background: #F7D3C4; }
.screen-nav svg { display: block; margin: 0 auto 2px; width: 15px; height: 15px; fill: currentColor; }

.float-badge {
  position: absolute;
  z-index: 4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.float-badge small { display: block; font-size: 10px; font-weight: 600; color: var(--muted); }

.float-badge .ic {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.float-badge .ic svg { width: 15px; height: 15px; fill: currentColor; }
.float-badge.b1 { top: 92px; left: -46px; animation: float 5s ease-in-out infinite; }
.float-badge.b2 { bottom: 106px; right: -40px; animation: float 5s ease-in-out infinite 1.6s; }
.float-badge.b2 .ic { background: rgba(46, 125, 50, 0.10); color: var(--success); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 480px) {
  .float-badge.b1 { left: -14px; }
  .float-badge.b2 { right: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .float-badge.b1, .float-badge.b2, .eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Nasil calisir ---------- */
.how {
  padding: 76px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 7px, transparent 7px 14px);
}

.step { text-align: center; position: relative; }

.step .num {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 7px var(--surface), 0 0 0 9px var(--primary-soft);
}

.step h3 { font-size: 17px; margin: 0 0 7px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
}

/* ---------- Ozellik kartlari ---------- */
.features { padding: 76px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dccbc0; }

.card .ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card .ic svg { width: 23px; height: 23px; fill: currentColor; }
.card h3 { margin: 0 0 8px; font-size: 17.5px; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Esnaf bandi ---------- */
.merchant {
  background: var(--text);
  color: #fff;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.merchant::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(216, 67, 21, 0.34), transparent 70%);
}

.merchant .grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}

.big-zero {
  font-size: clamp(76px, 12vw, 128px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #FFB08F, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.big-zero + p { margin: 10px 0 0; font-size: 17px; font-weight: 700; }

.merchant h2 { font-size: clamp(25px, 3.4vw, 34px); margin: 0 0 16px; }
.merchant .lede { color: rgba(255, 255, 255, 0.72); font-size: 16px; margin: 0 0 24px; }

.merchant ul { list-style: none; padding: 0; margin: 0 0 28px; }

.merchant li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.merchant li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; fill: var(--accent); }

.btn-light {
  display: inline-block;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 13px;
}

.btn-light:hover { background: var(--primary-soft); color: var(--primary-dark); }

@media (max-width: 860px) {
  .merchant .grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .merchant li { text-align: left; }
  .merchant ul { max-width: 380px; margin-left: auto; margin-right: auto; margin-bottom: 28px; }
}

/* ---------- E-posta formu ---------- */
.notify-wrap { padding: 76px 0 90px; }

.notify {
  background: linear-gradient(140deg, var(--primary-soft), #FFF4EC 60%, var(--surface));
  border: 1px solid #F3D9CC;
  border-radius: 28px;
  padding: 52px 40px;
  text-align: center;
}

.notify h2 { margin: 16px 0 10px; font-size: clamp(24px, 3.2vw, 32px); }
.notify > p { margin: 0 auto 28px; max-width: 470px; color: #6b5b52; font-size: 15.5px; }

form.notify-form {
  display: flex;
  gap: 10px;
  max-width: 470px;
  margin: 0 auto;
  flex-wrap: wrap;
}

form.notify-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 15px 17px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
}

form.notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(216, 67, 21, 0.13);
}

form.notify-form button {
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

form.notify-form button:hover { background: var(--primary-dark); transform: translateY(-1px); }
form.notify-form button:disabled { opacity: 0.55; cursor: default; transform: none; }

.form-msg { margin: 16px 0 0; font-size: 14px; min-height: 21px; font-weight: 600; }
.form-msg.ok { color: var(--success); }
.form-msg.err { color: var(--danger); }

.fineprint { margin: 14px auto 0; max-width: 470px; font-size: 12.5px; color: var(--muted); }

/* ---------- Icerik sayfalari ---------- */
.page {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px;
  margin: 40px 0 72px;
  box-shadow: var(--shadow-sm);
}

.page h1 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 34px); }
.page h2 { font-size: 18.5px; margin: 34px 0 10px; }
.page .updated { color: var(--muted); font-size: 13px; margin: 0 0 28px; }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 7px; }

.notice {
  background: var(--primary-soft);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--primary-dark);
}

@media (max-width: 600px) { .page { padding: 28px 20px; } }

/* ---------- Alt bilgi ---------- */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
}

footer .cols {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 34px;
}

footer .about { max-width: 300px; }
footer .about p { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

footer .links { display: flex; gap: 52px; flex-wrap: wrap; }

footer .links h4 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}

footer .links a { display: block; color: var(--text); text-decoration: none; font-size: 14px; margin-bottom: 9px; }
footer .links a:hover { color: var(--primary); }

footer .base {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Gorunurluk animasyonu ----------
   Sadece betik calistiginda gizlenir; JS kapaliysa icerik oldugu gibi durur. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
