/* ==========================================================================
   RUNEX — ORTAK STİL
   Renkler doğrudan uygulamanın ekranlarından alınmıştır.
   Değiştirmek istersen yalnızca :root bloğuna dokun.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. JETONLAR
   -------------------------------------------------------------------------- */

:root {
  /* Zemin */
  --cream:      #f2f1ec;   /* uygulamanın arka planı */
  --cream-deep: #eae8e0;
  --paper:      #ffffff;   /* kartlar */

  /* Mürekkep */
  --ink:     #1e2620;
  --ink-2:   #5c6a5e;
  --ink-3:   #8d998f;

  /* Marka */
  --green:    #3f6a41;
  --green-d:  #2f5132;
  --green-l:  #eaf1ea;
  --orange:   #d77c4b;
  --orange-l: #fbeee6;

  /* Çizgi ve gölge */
  --line:        #e3e1d8;
  --line-soft:   #ecebe3;
  --shadow-sm:   0 2px 8px rgba(30, 38, 32, 0.05);
  --shadow-md:   0 14px 34px -14px rgba(30, 38, 32, 0.18);
  --shadow-lg:   0 40px 80px -32px rgba(30, 38, 32, 0.38);

  /* Yuvarlaklık */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1140px;
  --gutter: 20px;
}

/* --------------------------------------------------------------------------
   2. TEMEL
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

:focus-visible {
  outline: 2.5px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(63, 106, 65, 0.16); }

.wrap {
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. ÜST ÇUBUK
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 241, 236, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(242, 241, 236, 0.95);
}

.nav__inner { display: flex; align-items: center; gap: 14px; height: 72px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.logo img { width: 34px; height: auto; }
.logo em { font-style: normal; color: var(--green); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 9px 16px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}
.nav__links a:hover { color: var(--ink); background: rgba(30, 38, 32, 0.05); }
.nav__links a[aria-current="page"] { color: var(--green-d); background: var(--green-l); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. BUTONLAR
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 99px;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(47, 81, 50, 0.7);
}
.btn--primary:hover { background: var(--green-d); }

.btn--ghost {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green-d); }

/* Mağaza düğmeleri */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.store:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store[aria-disabled="true"] { opacity: 0.62; cursor: default; }
.store[aria-disabled="true"]:hover { border-color: var(--line); transform: none; box-shadow: var(--shadow-sm); }

.store__icon { width: 26px; height: 26px; flex: none; color: var(--green); }
.store__text { display: flex; flex-direction: column; line-height: 1.22; }
.store__small { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.store__big { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }

/* --------------------------------------------------------------------------
   5. BÖLÜM BAŞLIKLARI
   -------------------------------------------------------------------------- */

.section { padding: clamp(60px, 8vw, 110px) 0; }
.section--tight { padding: clamp(44px, 6vw, 78px) 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: var(--green-l);
  color: var(--green-d);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.eyebrow--orange { background: var(--orange-l); color: #a5522a; }
.eyebrow--orange::before { background: var(--orange); }

.h2 { font-size: clamp(29px, 4.2vw, 45px); }
.h3 { font-size: clamp(20px, 2.4vw, 25px); }

.lead {
  margin-top: 18px;
  max-width: 60ch;
  font-size: clamp(16.5px, 1.5vw, 18.5px);
  color: var(--ink-2);
}

.section__head { max-width: 740px; margin-bottom: clamp(34px, 5vw, 56px); }

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 6vw, 88px) 0 clamp(56px, 8vw, 104px);
}

/* Pist kulvarı dokusu */
.hero::before {
  content: "";
  position: absolute;
  inset: -25% -12%;
  background: repeating-linear-gradient(
    104deg,
    transparent 0 64px,
    rgba(63, 106, 65, 0.055) 64px 65px
  );
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 66% 36%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 72% 62% at 66% 36%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -12%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 106, 65, 0.13) 0%, transparent 62%);
  animation: drift 24s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-64px, 54px, 0) scale(1.13); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.hero h1 { font-size: clamp(38px, 6.2vw, 70px); letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: var(--green); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   7. TELEFON
   -------------------------------------------------------------------------- */

.phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  perspective: 1400px;
}

.phone {
  position: relative;
  width: clamp(196px, 24vw, 262px);
  flex: none;
  padding: 8px;
  background: linear-gradient(158deg, #3b433c 0%, #171d18 42%, #2c332d 100%);
  border-radius: 38px;
  box-shadow: var(--shadow-lg);
}
.phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 31px;
  background: var(--cream);
  aspect-ratio: 560 / 1194;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone--lift { transform: translateY(-24px) rotate(-2.6deg); z-index: 2; }
.phone--back { transform: translateY(16px) rotate(3.6deg) scale(0.93); margin-left: -48px; opacity: 0.97; }

/* --------------------------------------------------------------------------
   8. KARTLAR
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  padding: 30px 28px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 10px; font-size: 20px; }
.card p { color: var(--ink-2); font-size: 15.5px; }

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--green-l);
  color: var(--green);
}
.icon--orange { background: var(--orange-l); color: var(--orange); }
.icon svg { width: 23px; height: 23px; }

/* Özellik satırı */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 66px);
  align-items: center;
  padding: clamp(38px, 5.5vw, 68px) 0;
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: 0; }
.feature--flip .feature__media { order: -1; }
.feature__body h2 { font-size: clamp(25px, 3.1vw, 34px); margin-bottom: 14px; }
.feature__body > p { color: var(--ink-2); }

.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 32px; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--green-l);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 6.5px;
  height: 3.5px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* Adımlar */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  padding: 30px 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--green);
  opacity: 0.35;
}
.step h3 { font-size: 18.5px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* Çağrı bandı */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 72px) clamp(24px, 5vw, 60px);
  border-radius: var(--r-xl);
  background: linear-gradient(152deg, #3f6a41 0%, #2f5132 100%);
  color: #fff;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(104deg, transparent 0 58px, rgba(255, 255, 255, 0.045) 58px 59px);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta .eyebrow { background: rgba(255, 255, 255, 0.16); color: #fff; }
.cta .eyebrow::before { background: #fff; }
.cta .lead { color: rgba(255, 255, 255, 0.82); margin-inline: auto; }
.cta .stores { justify-content: center; margin-top: 28px; }
.cta .store { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #fff; box-shadow: none; }
.cta .store__icon { color: #fff; }
.cta .store__small { color: rgba(255, 255, 255, 0.7); }

/* Sıkça sorulanlar */
.faq { display: grid; gap: 12px; }
details.qa {
  padding: 2px 24px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
details.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2.2px solid var(--ink-3);
  border-bottom: 2.2px solid var(--ink-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
details.qa[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details.qa p { padding: 0 0 20px; color: var(--ink-2); font-size: 15.5px; }

/* İletişim */
.contact { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact__card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
a.contact__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact__label { font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.contact__value { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--green-d); word-break: break-word; }
.contact__desc { font-size: 15px; color: var(--ink-2); }

.callout {
  padding: 24px 26px;
  border-radius: var(--r-md);
  background: var(--orange-l);
  border: 1px solid #f0d9c9;
  font-size: 15.5px;
  color: #7b4326;
}
.callout strong { color: #5f3219; }

.steplist { counter-reset: s; list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.steplist li {
  position: relative;
  padding-left: 46px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.steplist li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   9. ALT BİLGİ
   -------------------------------------------------------------------------- */

.footer { border-top: 1px solid var(--line); padding: 54px 0 38px; background: var(--cream-deep); }
.footer__grid { display: flex; flex-wrap: wrap; gap: 34px; justify-content: space-between; margin-bottom: 34px; }
.footer__about { max-width: 320px; }
.footer__about p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.footer__col h4 { font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.footer__col a:hover { color: var(--green-d); }
.footer__bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   10. HAREKET
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   11. DUYARLI DÜZEN
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .phones { margin-top: 10px; }
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --gutter: 16px; }

  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 72px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
  }
  .nav__links[hidden] { display: none; }
  .nav__links a { padding: 12px 14px; }

  .grid--3, .grid--2, .contact { grid-template-columns: 1fr; }
  .phone--back { display: none; }
  .phone--lift { transform: none; }
  .phone { width: min(256px, 70vw); }
  .hero__actions .store { flex: 1 1 100%; }
}
