/* Caliptic — Fresh Energy design tokens (single source for the whole site) */
:root {
  --bg: #F8FAF7;
  --surface: #FFFFFF;
  --primary: #1F4D3A;
  --primary-hover: #163B2B;
  --accent: #B7E36A;
  --secondary: #DDE8D7;
  --text: #24312A;
  --muted: #718075;
  --border: #E3E9E2;
  --success: #32805A;
  --warning: #E9A23B;
  --error: #D9534F;
  --radius: 20px;
  --shadow: 0 6px 24px rgba(36, 49, 42, 0.07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(248, 250, 247, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--primary); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--primary); display: grid; place-items: center; color: var(--accent); font-weight: 800; }
nav.main a { margin-left: 20px; color: var(--text); text-decoration: none; font-size: 15px; }
nav.main a:hover { color: var(--primary); }

.hero { padding: 72px 0 40px; text-align: center; }
.eyebrow { color: var(--success); font-weight: 700; letter-spacing: 0.08em; font-size: 13px; text-transform: uppercase; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin: 14px 0 16px; color: var(--primary); letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 14px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: var(--surface); color: var(--primary); border-color: var(--border); }
.stats { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 18px; min-width: 120px; }
.stat b { display: block; color: var(--primary); font-size: 20px; }
.stat span { color: var(--muted); font-size: 13px; }

section { padding: 56px 0; }
section h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--primary); margin: 0 0 10px; letter-spacing: -0.01em; }
section .sub { color: var(--muted); margin: 0 0 28px; max-width: 680px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.shot { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.shot img { width: 100%; border-radius: 14px; aspect-ratio: 9 / 16; object-fit: contain; background: var(--secondary); }
.shot figcaption { font-size: 14px; color: var(--muted); padding: 10px 4px 2px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--secondary); display: grid; place-items: center; color: var(--primary); font-weight: 800; margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--text); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.band { background: var(--primary); color: #fff; border-radius: 28px; padding: 40px 32px; }
.band h2 { color: #fff; }
.band .sub { color: rgba(255, 255, 255, 0.78); }
.band .card { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.band .card h3 { color: #fff; }
.band .card p { color: rgba(255, 255, 255, 0.75); }
.band .card .ico { background: var(--accent); color: var(--primary); }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--primary); font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 700; color: var(--text); }
details p { color: var(--muted); margin: 10px 0 0; }

.download { text-align: center; }
.store { display: inline-flex; flex-direction: column; align-items: center; min-width: 220px; padding: 16px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; margin: 6px; }
.store small { color: var(--muted); }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

footer { border-top: 1px solid var(--border); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); margin-right: 16px; }

@media (max-width: 640px) {
  nav.main a { display: none; }
  .hero { padding-top: 48px; }
  .band { padding: 28px 20px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Tablet: 600px – 1023px (iPad, Android tablet) */
@media (min-width: 600px) and (max-width: 1023px) {
  .hero { padding: 88px 0 48px; }
  h1 { font-size: 48px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band { padding: 36px 30px; }
  nav.main a { margin-left: 16px; }
  .stats { gap: 16px; }
}

/* Masaüstü ve macOS: 1024px ve üzeri */
@media (min-width: 1024px) {
  .wrap { max-width: 1180px; }
  .top .wrap { height: 72px; }
  h1 { font-size: 60px; }
  .lead { font-size: 20px; }
  .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band { padding: 48px 44px; }
  .card, .shot, .step { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .card:hover, .shot:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(36, 49, 42, 0.1); }
  .btn:hover { filter: brightness(1.04); }
  nav.main a { margin-left: 28px; }
}

/* Dokunmatik cihazlar: büyük dokunma alanı */
@media (hover: none) and (pointer: coarse) {
  .btn, nav.main a, details summary { min-height: 44px; display: inline-flex; align-items: center; }
  details summary { display: block; padding: 6px 0; }
}

/* Klavye ile gezinme (macOS Safari, Chrome ve diğerleri) */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) { .card, .shot, .step, .btn { transition: none; } }
