/* ============================================================
   FREMA MARKETING DESIGN SYSTEM v3
   Tüm marketing sayfaları için ortak — landing.html'den extract.
   Bricolage Grotesque (display) + Inter (body) + DM Mono (caption).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300..800&family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #FAFAF8;
  --bg-2: #F2F0EB;
  --ink: #111111;
  --ink-2: #555555;
  --ink-3: #999999;
  --line: #E8E6E0;
  --accent: #E60023;
  --accent-2: #FF6B6B;
  --gold: #C9A961;
  --success: #2DA968;
}

html, body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ───── Reveal animations (fade-up + reveal) ───── */
.fade-up {
  opacity: 1; transform: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
body.fading .fade-up { opacity: 0; transform: translateY(28px); }
body.loaded .fade-up { opacity: 1; transform: translateY(0); }

.reveal {
  opacity: 1; transform: none;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
body.fading .reveal { opacity: 0; transform: translateY(40px); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ───── Topbar ───── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 14px clamp(20px, 3vw, 32px);
  display: flex; align-items: center; gap: 24px;
}
.brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -1px;
  font-variation-settings: "opsz" 12;
  display: flex; align-items: center; gap: 8px;
}
.brand .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 4px;
  transform: translateY(-8px);
}
.topbar nav {
  display: flex; gap: 22px;
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-2);
  margin-left: 12px;
}
.topbar nav a:hover { color: var(--ink); }
.topbar nav a.active { color: var(--ink); }
.topbar .spacer { flex: 1; }
.topbar .login { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.topbar .login:hover { color: var(--ink); }
.topbar .cta {
  background: var(--ink); color: white;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  transition: background 0.15s;
}
.topbar .cta:hover { background: var(--accent); }
@media (max-width: 720px) {
  .topbar nav { display: none; }
}

/* ───── Pulse dot ───── */
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
  margin-right: 4px;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* ───── Sections (genel) ───── */
.section {
  padding: 90px clamp(20px, 4vw, 32px);
  max-width: 1280px;
  margin: 0 auto;
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap;
}
.section-head h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  letter-spacing: -2px;
  line-height: 1;
}
.section-head h2 em { font-style: normal; font-weight: 700; color: var(--accent); }
.section-head .label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ───── Buttons ───── */
.btn-primary {
  background: var(--accent); color: white;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s;
  border: 0;
}
.btn-primary:hover { background: #b8001c; transform: translateY(-2px); }
.btn-ghost {
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  transition: all 0.18s;
}
.btn-ghost:hover { border-color: var(--ink); }

/* ───── Hero (generic page hero — landing'in tam hero'su DEĞİL) ───── */
.page-hero {
  position: relative;
  padding: 80px clamp(20px, 4vw, 32px) 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(230,0,35,0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 20% 80%, rgba(201,169,97,0.05) 0%, transparent 40%);
}
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.page-hero .eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
}
.page-hero .eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.page-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -3px;
  color: var(--ink);
  margin-bottom: 24px;
}
.page-hero h1 em { font-style: normal; font-weight: 700; color: var(--accent); }
.page-hero .sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.page-hero .cta-row {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

/* ───── Footer ───── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 60px clamp(20px, 4vw, 32px) 0;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -1px;
}
.footer-brand .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-8px);
}
.footer-desc {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 280px;
}
.footer-col h4 {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 28px 0 24px;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
  line-height: 1.7;
}
.footer-bottom strong { color: var(--ink-2); }
.footer-bottom a { color: var(--ink-2); font-weight: 600; }
.payment-row {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-3);
}
.payment-row strong { color: var(--ink-2); font-weight: 600; }

/* ───── Legal pages (kvkk, privacy, iade-iptal, mesafeli) ───── */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px clamp(20px, 4vw, 32px);
}
.legal-page .meta-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.legal-page h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 12px;
}
.legal-page h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin: 40px 0 12px;
  letter-spacing: -0.5px;
}
.legal-page h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 24px 0 10px;
}
.legal-page p, .legal-page li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.legal-page ul, .legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--accent); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }
.legal-page hr {
  border: 0; border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* ───── Card grid (for segments, features, etc.) ───── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); border-color: var(--ink-3); }
.card .card-icon {
  width: 48px; height: 48px;
  background: var(--bg-2);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  color: var(--ink);
}
.card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ───── Final CTA section (page-bottom) ───── */
.final-cta {
  background: var(--ink);
  color: white;
  border-radius: 28px;
  padding: 64px clamp(28px, 5vw, 56px);
  margin: 60px clamp(20px, 4vw, 32px);
  max-width: 1280px;
  margin: 60px auto 80px;
  text-align: center;
}
.final-cta h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 18px;
}
.final-cta h2 em { font-style: normal; font-weight: 700; color: var(--accent-2); }
.final-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.final-cta .btn-primary { background: var(--accent); }
.final-cta .btn-primary:hover { background: #ff1f3e; }
.final-cta .btn-ghost {
  border-color: rgba(255,255,255,0.25);
  color: white;
}
.final-cta .btn-ghost:hover { border-color: white; }
