/* ============ Rotalar — rotalar.app ============ */
:root {
  --orange: #FF3B00;
  --orange-deep: #CC2F00;
  --orange-soft: #FFE8E0;
  --cream: #F1EFEA;
  --cream-card: #FBF9F4;
  --navy: #14120E;
  --navy-soft: #171717;
  --blue: #CCFF00;
  --blue-soft: #EBFF99;
  --red-soft: #F7E3E1;
  --red: #B3261E;
  --ink: #14120E;
  --muted: #57524A;
  --hint: #8A8277;
  --line: #DAD5CB;
  --border: #1A1713;
  --on-primary: #FBF9F4;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 239, 234, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.brand svg { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .95rem; color: var(--muted); }
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange); color: var(--on-primary); font-weight: 700;
  padding: 9px 18px; border-radius: 999px; font-size: .9rem;
  box-shadow: 0 6px 18px rgba(255, 59, 0, .30);
}
.nav-cta:hover { background: var(--orange-deep); color: var(--on-primary); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-soft); color: var(--orange-deep);
  font-weight: 700; font-size: .85rem;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .5; transform: scale(.8);} }
h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.12; font-weight: 800; color: var(--navy);
  letter-spacing: -.02em; margin-bottom: 18px;
}
h1 .accent { color: var(--orange); }
.hero p.lead { font-size: 1.13rem; color: var(--muted); max-width: 34rem; margin-bottom: 30px; }

.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--navy); color: var(--on-primary);
  border-radius: 14px; padding: 11px 20px;
  position: relative; min-width: 190px;
}
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .small { display: block; font-size: .68rem; opacity: .75; letter-spacing: .02em; }
.store-btn .big { display: block; font-size: 1.02rem; font-weight: 700; line-height: 1.2; }
.soon-tag {
  position: absolute; top: -10px; right: -6px;
  background: var(--orange); color: var(--on-primary);
  font-size: .66rem; font-weight: 800; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 59, 0, .35);
}

/* Phone mockups */
.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-blob {
  position: absolute; inset: -8% -14%;
  background: radial-gradient(closest-side, rgba(255,59,0,.16), transparent 70%),
              radial-gradient(closest-side at 70% 30%, rgba(204,255,0,.25), transparent 65%);
  z-index: 0; border-radius: 50%;
}
.phone {
  position: relative; z-index: 1;
  width: 268px; aspect-ratio: 9 / 19.2;
  background: var(--navy);
  border-radius: 36px; padding: 10px;
  box-shadow: var(--shadow), 0 2px 0 rgba(255,255,255,.35) inset;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 27px; overflow: hidden;
  background: linear-gradient(160deg, #FF8059, var(--orange) 45%, #CC2F00);
  position: relative;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-screen .ph-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; color: var(--on-primary);
  text-align: center; padding: 24px; font-weight: 700;
}
.phone-screen .ph-fallback svg { width: 72px; height: 72px; }
.hero .phone { transform: rotate(2.5deg); }

/* ---------- Stats ---------- */
.stats { padding: 26px 0 8px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,.05);
}
.stat { text-align: center; }
.stat .num { font-size: 1.9rem; font-weight: 800; color: var(--orange); letter-spacing: -.02em; }
.stat .lbl { font-size: .92rem; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 12px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }

/* Nasıl çalışır */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; position: relative;
}
.step .no {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; color: var(--on-primary);
  background: var(--orange); margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(255,59,0,.30);
}
.step:nth-child(2) .no { background: var(--navy); box-shadow: 0 8px 20px rgba(0,0,0,.28); }
.step:nth-child(3) .no { background: var(--blue); color: #171717; box-shadow: 0 8px 20px rgba(204,255,0,.30); }
.step h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* Özellikler */
.features { background: var(--cream-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat .ico svg { width: 24px; height: 24px; }
.ico.o { background: var(--orange-soft); color: var(--orange-deep); }
.ico.b { background: var(--blue-soft); color: #171717; }
.ico.r { background: var(--red-soft); color: var(--red); }
.feat h3 { font-size: 1.06rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: .94rem; }

/* Ekran görüntüleri */
.shots-row {
  display: flex; gap: 34px; justify-content: center; align-items: flex-end;
  flex-wrap: wrap;
}
.shots-row .phone { width: 240px; }
.shots-row .phone:nth-child(1) { transform: rotate(-3deg) translateY(10px); }
.shots-row .phone:nth-child(3) { transform: rotate(3deg) translateY(10px); }

/* CTA band */
.cta-band { background: var(--navy); border-radius: 28px; padding: 56px 40px; text-align: center; color: var(--on-primary); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.cta-band p { color: #DAD5CB; margin-bottom: 28px; }
.cta-band .store-row { justify-content: center; }
.cta-band .store-btn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 30px; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { max-width: 300px; }
.foot-brand .brand { margin-bottom: 10px; }
.foot-brand p { color: var(--muted); font-size: .9rem; }
.foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-links h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: 12px; }
.foot-links ul { list-style: none; }
.foot-links li { margin-bottom: 8px; }
.foot-links a { color: var(--muted); font-size: .92rem; }
.foot-links a:hover { color: var(--orange); }
.copyright { text-align: center; color: var(--hint); font-size: .85rem; margin-top: 34px; }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 72px; }
.legal article {
  background: var(--cream-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(26px, 5vw, 56px);
  max-width: 820px; margin: 0 auto;
}
.legal h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 8px; }
.legal .updated { color: var(--hint); font-size: .88rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: .98rem; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 10px; }
.legal a { color: var(--orange); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero p.lead { margin: 0 auto 30px; }
  .store-row { justify-content: center; }
  .steps, .feat-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); padding: 20px 10px; }
  .stat .num { font-size: 1.4rem; }
  .nav-links { gap: 16px; font-size: .88rem; }
  .nav-links .hide-m { display: none; }
  .shots-row { gap: 20px; }
  .shots-row .phone { width: 200px; }
}
