/* Bizim Muhit — bizimmuhit.com marketing site
   Design system = the app's "natural" palette (tailwind.config.js in VSCode/muhit). */

:root {
  --bg: #f8f7f2;
  --bg-alt: #f3f1e8;
  --card: #ffffff;
  --border: #f0ede4;
  --border-strong: #e3dfd2;
  --accent: #4a5d23;
  --accent-dark: #3a491b;
  --accent-soft: rgba(74, 93, 35, 0.08);
  --gold: #c99a2e;
  --terra: #b4592f;
  --heading: #2d2d2a;
  --body: #5c5c55;
  --muted: #8a8a80;
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-pop: 0 14px 44px rgba(74, 93, 35, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.serif, h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--heading); }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 247, 242, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo b {
  font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: 23px; color: var(--heading); letter-spacing: -0.3px; white-space: nowrap;
}
.logo b span { color: var(--accent); }
nav.main { display: flex; align-items: center; gap: 26px; }
nav.main a { color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; }
nav.main a:hover, nav.main a.active { color: var(--accent); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  border-radius: 999px; transition: all 0.15s ease; text-align: center;
}
.btn.primary {
  background: var(--accent); color: #fff; padding: 11px 24px;
  box-shadow: 0 2px 10px rgba(74, 93, 35, 0.25);
}
.btn.primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.ghost { background: var(--card); color: var(--heading); border: 1px solid var(--border-strong); padding: 10px 23px; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.big { padding: 16px 34px; font-size: 16.5px; }
.btn.inverse { background: #fff; color: var(--accent); padding: 14px 30px; font-weight: 700; }
.btn.inverse:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }

/* Mobile burger (pure CSS) */
#nav-toggle { display: none; }
.burger { display: none; cursor: pointer; padding: 8px; border-radius: 10px; }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--heading); border-radius: 2px; margin: 4.5px 0; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 30px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: 13.5px; font-weight: 600; padding: 7px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; line-height: 1.12; letter-spacing: -1px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.sub { max-width: 540px; margin-top: 20px; font-size: 18.5px; }
.cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.store-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ---------- Phone mockup ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.phone {
  width: 270px; border-radius: 40px; background: #23241f; padding: 11px;
  box-shadow: var(--shadow-pop); position: relative; z-index: 2;
  transform: rotate(1.5deg);
}
.phone .screen {
  background: var(--bg); border-radius: 30px; overflow: hidden;
  height: 545px; display: flex; flex-direction: column; position: relative;
}
.phone .notch {
  width: 86px; height: 22px; background: #23241f; border-radius: 0 0 14px 14px;
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 5;
}
.app-head {
  padding: 30px 14px 10px; display: flex; align-items: center; justify-content: space-between;
  background: var(--card); border-bottom: 1px solid var(--border);
}
.app-head b { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--heading); }
.app-head b span { color: var(--accent); }
.app-head .coin { font-size: 11px; font-weight: 700; background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; padding: 3px 9px; }
.app-map { flex: 1; position: relative; background:
  radial-gradient(circle at 30% 25%, rgba(74, 93, 35, 0.12), transparent 42%),
  radial-gradient(circle at 75% 60%, rgba(201, 154, 46, 0.12), transparent 40%),
  linear-gradient(rgba(74, 93, 35, 0.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(74, 93, 35, 0.05) 1px, transparent 1px),
  linear-gradient(#efeee6, #f5f4ec);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}
.pin { position: absolute; font-size: 20px; filter: drop-shadow(0 3px 4px rgba(0,0,0,0.18)); }
.me-dot { position: absolute; width: 14px; height: 14px; background: var(--accent); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 6px rgba(74,93,35,0.18); }
.map-bubble {
  position: absolute; background: var(--card); border: 1px solid var(--border);
  border-radius: 13px; padding: 7px 10px; font-size: 10.5px; line-height: 1.45;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); max-width: 170px;
}
.map-bubble b { color: var(--accent); }
.app-tabs {
  display: flex; justify-content: space-around; padding: 10px 6px 16px;
  background: var(--card); border-top: 1px solid var(--border); font-size: 17px;
}
.app-tabs i { font-style: normal; opacity: 0.45; }
.app-tabs i.on { opacity: 1; }

/* Floating chips around phone */
.chip {
  position: absolute; z-index: 3; background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; padding: 9px 15px; font-size: 12.5px; font-weight: 600;
  color: var(--heading); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10); white-space: nowrap;
}
.float-1 { animation: floaty 4.2s ease-in-out infinite; }
.float-2 { animation: floaty 5.2s ease-in-out infinite 0.6s; }
.float-3 { animation: floaty 4.8s ease-in-out infinite 1.2s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.alt { background: var(--bg-alt); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.sec-head .kicker {
  color: var(--accent); font-weight: 700; font-size: 13.5px; text-transform: uppercase;
  letter-spacing: 1.5px; font-family: 'Inter', sans-serif; margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.2; }
.sec-head p { margin-top: 14px; font-size: 16.5px; }

.grid { display: grid; gap: 20px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 24px;
  padding: 26px 24px; box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(74, 93, 35, 0.08); }
.card .emoji {
  width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.card h3 { font-size: 18px; margin: 15px 0 7px; }
.card p { font-size: 14.5px; }
.card .tag {
  display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700;
  color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 3px 11px;
}

/* Dark olive band */
.band { background: linear-gradient(135deg, #3f501e, #4a5d23 55%, #55692a); border-radius: 32px; padding: 56px 48px; color: #eef0e6; position: relative; overflow: hidden; }
.band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.10), transparent 45%);
}
.band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.band p { opacity: 0.92; }
.band .card {
  background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none; backdrop-filter: blur(4px);
}
.band .card:hover { transform: translateY(-3px); box-shadow: none; background: rgba(255, 255, 255, 0.13); }
.band .card h3 { color: #fff; }
.band .card p { color: rgba(255, 255, 255, 0.85); }
.band .card .emoji { background: rgba(255, 255, 255, 0.12); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 30px 26px 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 24px;
  width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #fff;
  font-weight: 800; font-family: 'Playfair Display', serif; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(74, 93, 35, 0.3);
}
.step h3 { font-size: 17.5px; margin-bottom: 6px; }
.step p { font-size: 14.5px; }

/* Feature split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; line-height: 1.22; margin-bottom: 14px; }
.split ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.split li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.split li .ico { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.split li b { color: var(--heading); }

/* Stat pills */
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: -8px; padding-bottom: 8px; }
.pill {
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--heading);
  box-shadow: var(--shadow-card);
}

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 52px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-family: 'Inter', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--heading); margin-bottom: 14px; }
.foot-grid a { display: block; color: var(--body); text-decoration: none; margin-bottom: 9px; }
.foot-grid a:hover { color: var(--accent); }
.foot-brand p { max-width: 260px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.foot-bottom { border-top: 1px solid var(--border-strong); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .float-1, .float-2, .float-3 { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding-top: 44px; text-align: center; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  nav.main {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 16px;
    display: none;
  }
  nav.main a { padding: 11px 0; font-size: 16px; width: 100%; }
  nav.main .btn.primary { margin-top: 8px; width: auto; }
  #nav-toggle:checked ~ nav.main { display: flex; }
  .burger { display: block; }
  #nav-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  section { padding: 52px 0; }
  .band { padding: 40px 26px; border-radius: 26px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .chip { display: none; }
  .phone { transform: none; }
}
