/* PuraTag — Tanıtım Sitesi
   Renk paleti mobil uygulamayla birebir aynı (lib/theme/app_theme.dart) */

:root {
  --salvia: #4A7C59;
  --salvia-dark: #3D5A47;
  --mint: #DCE7DD;
  --mist-blue: #E5EEF2;
  --beige: #F5F5F0;
  --honey: #E48900;
  --dark-green: #2D3A2F;
  --navy: #2D3C59;

  --risk-high: #BE0000;
  --risk-medium: #E48900;
  --risk-low: #FBC02D;
  --risk-bonus: #8DB355;
  --risk-unknown: #B8B5AC;

  --text-primary: #2D3A2F;
  --text-secondary: #6B6F6A;
  --text-tertiary: #A0A39D;

  --card-bg: #ffffff;
  --divider: #E8E5DD;
  --shadow: 0 20px 50px -12px rgba(45, 58, 47, 0.12);

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--beige);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--salvia);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(74, 124, 89, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(74, 124, 89, 0.6); }
.btn-outline {
  background: transparent;
  color: var(--salvia);
  border: 1.5px solid var(--salvia);
}
.btn-outline:hover { background: rgba(74, 124, 89, 0.08); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}
.navbar .container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img {
  width: 36px; height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(45, 58, 47, 0.2);
}
.brand span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--salvia); }
.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: all 0.25s ease;
}
.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle::after { transform: translateY(4px); }

/* ===== Hero ===== */
.hero {
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
  opacity: 0.7;
}
.blob-1 { width: 320px; height: 320px; background: var(--mint); top: -80px; right: -60px; }
.blob-2 { width: 260px; height: 260px; background: var(--mist-blue); bottom: -40px; left: -100px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--mint);
  color: var(--salvia);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero-copy h1 .accent { color: var(--salvia); }
.hero-copy p.lead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 32px;
}

.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--dark-green);
  color: #fff;
  border-radius: var(--radius-m);
  transition: transform 0.2s ease, background 0.2s ease;
}
.store-btn:hover { transform: translateY(-2px); background: #24302a; }
.store-btn.disabled { opacity: 0.55; cursor: default; }
.store-btn.disabled:hover { transform: none; background: var(--dark-green); }
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn .store-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn .store-text small { font-size: 10.5px; opacity: 0.8; }
.store-btn .store-text strong { font-size: 15px; font-weight: 600; }

.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
}
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row svg { width: 16px; height: 16px; color: var(--risk-bonus); }

/* ===== Hero phone mockup ===== */
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.phone {
  width: 280px;
  background: #fff;
  border-radius: 40px;
  border: 8px solid var(--dark-green);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}
.phone-notch {
  height: 22px;
  background: var(--dark-green);
  border-radius: 0 0 16px 16px;
  width: 110px;
  margin: 0 auto;
}
.phone-screen { background: var(--beige); padding: 18px 16px 24px; min-height: 480px; }
.phone-topbar { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.phone-topbar img { width: 24px; height: 24px; border-radius: 6px; }
.phone-topbar strong { font-size: 13px; }

.score-card {
  background: #fff;
  border-radius: var(--radius-l);
  padding: 20px;
  box-shadow: 0 12px 30px -10px rgba(74,124,89,0.18);
  text-align: center;
  margin-bottom: 16px;
}
.score-ring {
  width: 96px; height: 96px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: conic-gradient(var(--salvia) 0 78%, var(--mint) 78% 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.score-ring::before {
  content: "";
  position: absolute;
  width: 74px; height: 74px;
  background: #fff;
  border-radius: 50%;
}
.score-ring .score-value { position: relative; z-index: 1; font-weight: 800; font-size: 22px; color: var(--text-primary); }
.score-ring .score-value small { display: block; font-size: 9px; font-weight: 500; color: var(--text-tertiary); }
.score-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.score-card p { font-size: 11.5px; color: var(--text-tertiary); }

.mini-ing {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: #fff;
  border-radius: var(--radius-m);
  margin-bottom: 8px;
  box-shadow: 0 4px 12px -6px rgba(45,58,47,0.08);
}
.mini-ing .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mini-ing .label { flex: 1; font-size: 12px; font-weight: 500; }
.mini-ing .risk { font-size: 10px; color: var(--text-tertiary); }

.floating-tag {
  position: absolute;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 6px 16px -6px rgba(45,58,47,0.2);
  background: #fff;
}
.tag-1 { top: 40px; left: -30px; color: var(--salvia); background: #fff; }
.tag-2 { top: 90px; right: -34px; color: var(--risk-bonus); }
.tag-3 { bottom: 60px; left: -24px; color: var(--honey); }

@media (max-width: 480px) {
  .tag-1 { left: 0; }
  .tag-2 { right: 0; }
  .tag-3 { left: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===== Section heading ===== */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head .chip { margin-bottom: 16px; }
.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; }

/* ===== How it works ===== */
.steps { padding: 100px 0 80px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 26px 24px;
  box-shadow: 0 4px 24px -12px rgba(45,58,47,0.1);
  border: 1px solid var(--divider);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -16px rgba(45,58,47,0.18); }
.step-icon {
  position: relative;
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 26px; height: 26px; }
.step-icon.c1 { background: var(--salvia); }
.step-icon.c1 svg { color: #fff; }
.step-icon.c2 { background: var(--mist-blue); }
.step-icon.c2 svg { color: var(--navy); }
.step-icon.c3 { background: var(--mint); }
.step-icon.c3 svg { color: var(--salvia); }
.step-num {
  position: absolute;
  bottom: -6px; right: -6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--dark-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.step-content { min-width: 0; }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.55; }

/* ===== Score / Risk section ===== */
.score-section { padding: 80px 0; background: #fff; }
.score-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.risk-scale { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.risk-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-m);
  background: var(--beige);
}
.risk-row .swatch { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.risk-row strong { font-size: 14.5px; display: block; }
.risk-row span { font-size: 12.5px; color: var(--text-secondary); }

.nova-grid { display: flex; flex-direction: column; gap: 12px; }
.nova-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px;
  border-radius: var(--radius-m);
  border-left: 4px solid var(--salvia);
}
.nova-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nova-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.nova-card p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }

/* ===== Filters section ===== */
.filters-section { padding: 90px 0; }
.filters-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.shield-illustration {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.shield-bg {
  position: absolute;
  width: 78%; height: 78%;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.7;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.shield-shape {
  position: relative;
  z-index: 1;
  width: 44%; height: 52%;
  background: var(--salvia);
  border-radius: 50% 50% 40% 40% / 45% 45% 55% 55%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 30px -8px rgba(74,124,89,0.4);
}
.shield-shape svg { width: 46%; height: 46%; color: #fff; }

.filter-tag {
  position: absolute;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid;
}
.ft-1 { top: 8%; left: 0; color: var(--salvia); background: rgba(74,124,89,0.1); border-color: rgba(74,124,89,0.25); }
.ft-2 { top: 24%; right: 2%; color: #4E7A57; background: rgba(78,122,87,0.1); border-color: rgba(78,122,87,0.25); }
.ft-3 { bottom: 14%; left: 4%; color: var(--honey); background: rgba(228,137,0,0.1); border-color: rgba(228,137,0,0.25); }
.ft-4 { bottom: 26%; right: 0; color: var(--risk-medium); background: rgba(228,137,0,0.1); border-color: rgba(228,137,0,0.25); }

.filter-list { display: flex; flex-direction: column; gap: 16px; }
.filter-group h4 { font-size: 14px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 10px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--divider);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ===== Feature grid ===== */
.features { padding: 90px 0; background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 26px;
  border-radius: var(--radius-l);
  background: var(--beige);
  transition: transform 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .fi {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card .fi svg { width: 22px; height: 22px; color: var(--salvia); }
.feature-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }

/* ===== CTA banner ===== */
.cta-banner {
  margin: 0 auto 90px;
  max-width: 1140px;
  padding: 64px 48px;
  background: linear-gradient(135deg, var(--salvia) 0%, var(--salvia-dark) 100%);
  border-radius: var(--radius-xl);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  top: -120px; right: -80px;
}
.cta-banner h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-banner p { font-size: 16px; opacity: 0.9; max-width: 480px; margin: 0 auto 32px; position: relative; }
.cta-banner .store-buttons { justify-content: center; position: relative; }
.cta-banner .store-btn { background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); }
.cta-banner .store-btn:hover { background: rgba(255,255,255,0.25); }

/* ===== Footer ===== */
footer { background: var(--dark-green); color: rgba(255,255,255,0.85); padding: 56px 0 28px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { max-width: 300px; }
.footer-brand .brand span { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 12px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===== Reveal-on-scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p.lead { margin-left: auto; margin-right: auto; }
  .store-buttons, .trust-row { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .score-explain { grid-template-columns: 1fr; }
  .filters-wrap { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-copy h1 { font-size: 32px; }
  .section-head h2 { font-size: 26px; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 24px; }
}

/* ===== İçerik sayfaları (Hesap Silme, Gizlilik vb.) ===== */
.legal-hero { padding: 64px 0 8px; }
.legal-hero .container { max-width: 760px; }
.legal-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; }
.legal-hero .lead { color: var(--text-secondary); font-size: 16.5px; line-height: 1.65; max-width: 58ch; }

.legal-section { padding: 40px 0; }
.legal-section .container { max-width: 760px; }
.legal-section h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 6px; }
.legal-section .section-note { color: var(--text-tertiary); font-size: 14px; margin-bottom: 20px; max-width: 58ch; }

.delete-steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 10px; }
.delete-steps li {
  counter-increment: step;
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-l);
  padding: 18px 20px;
}
.delete-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--salvia);
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.delete-steps strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.delete-steps span { font-size: 13.5px; color: var(--text-secondary); }

.legal-card {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-l);
  padding: 22px 24px;
}
.legal-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card .btn { margin-top: 6px; }

.delete-table-wrap { overflow-x: auto; border: 1px solid var(--divider); border-radius: var(--radius-l); background: var(--card-bg); }
.delete-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.delete-table th {
  text-align: left; text-transform: uppercase; letter-spacing: 0.4px;
  font-size: 11.5px; font-weight: 700; color: var(--text-tertiary);
  background: var(--beige); padding: 12px 18px; border-bottom: 1px solid var(--divider);
}
.delete-table td { padding: 14px 18px; border-bottom: 1px solid var(--divider); vertical-align: top; color: var(--text-primary); }
.delete-table tr:last-child td { border-bottom: none; }
.delete-table td small { display: block; color: var(--text-tertiary); margin-top: 2px; }
.status-pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.status-pill.now { background: var(--mint); color: var(--salvia); }
.status-pill.later { background: rgba(228,137,0,0.12); color: var(--honey); }

.legal-meta { color: var(--text-tertiary); font-size: 13px; margin-bottom: 18px; }

.legal-section p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 14px; max-width: 62ch; }
.legal-section ul { display: flex; flex-direction: column; gap: 10px; margin: 0 0 4px; }
.legal-section ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}
.legal-section ul li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--salvia);
}
.legal-section ul li strong { color: var(--text-primary); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.legal-toc a {
  font-size: 13px; font-weight: 600; color: var(--salvia);
  background: var(--mint); padding: 7px 14px; border-radius: var(--radius-pill);
}

@media (max-width: 600px) {
  .legal-hero h1 { font-size: 28px; }
  .delete-steps li { padding: 14px 16px; }
}
