/* mesajdan.com landing — açık renkli, görsel ağırlıklı, bol animasyonlu */
:root {
  --bg: #fbfaf5;
  --ink: #0e1f17;
  --muted: #5c6a63;
  --green: #0f8a5f;
  --green-2: #12a874;
  --mint: #d9f5e6;
  --lime: #d4f26a;
  --peach: #ffe1d1;
  --sky: #dcebff;
  --lilac: #ece6ff;
  --white: #ffffff;
  --line: #e7e5dc;
  --radius: 28px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; margin: 0; line-height: 0.95; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.logo img { border-radius: 9px; }
.logo b { color: var(--green); font-weight: 700; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav-link { text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav-link:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 16px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 0 14px 30px -12px rgba(14,31,23,.55); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(120,150,0,.8); }
.btn-ghost { background: var(--white); border: 1.5px solid var(--line); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-xl { padding: 22px 38px; font-size: 20px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px) clamp(48px, 7vw, 96px);
  min-height: calc(100vh - 70px);
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; z-index: -1; animation: drift 16s ease-in-out infinite alternate; }
.b1 { width: 460px; height: 460px; background: var(--mint); top: -60px; right: 6%; }
.b2 { width: 360px; height: 360px; background: var(--peach); bottom: 0; left: -80px; animation-delay: -6s; }
.b3 { width: 300px; height: 300px; background: var(--lilac); top: 40%; right: 38%; animation-delay: -11s; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.12); } }

.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 0 rgba(18,168,116,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(18,168,116,0); } 100% { box-shadow: 0 0 0 0 rgba(18,168,116,0); } }

.hero h1 { font-size: clamp(52px, 8.2vw, 112px); font-weight: 800; }
.marker { position: relative; white-space: nowrap; color: var(--ink); z-index: 0; }
.marker::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 6%; height: 38%;
  background: var(--lime); border-radius: 12px; z-index: -1;
  transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.7,0,.2,1) .5s;
}
.in .marker::after, .marker.in::after, .in.marker::after { transform: scaleX(1); }
h1.in .marker::after, h2.in .marker::after { transform: scaleX(1); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 30ch; margin: 26px 0 32px; }
.lead b { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; font-size: 15px; color: var(--muted); }
.proof b { color: var(--ink); }
.faces { display: flex; }
.faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); margin-left: -10px; }
.faces img:first-child { margin-left: 0; }

/* hero sahnesi */
.hero-stage { position: relative; height: 640px; display: grid; place-items: center; }
.float { position: absolute; z-index: 2; }
.photo { width: 230px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -25px rgba(14,31,23,.45); transition: transform .3s; }
.photo img { aspect-ratio: 3 / 4; object-fit: cover; }
.p1 { z-index: 0; left: -2%; top: 9%; width: 200px; rotate: -8deg; animation: bob 7s ease-in-out infinite; }
.chip {
  padding: 12px 18px; border-radius: 999px; background: var(--white);
  font-weight: 600; font-size: 15px; box-shadow: 0 18px 40px -18px rgba(14,31,23,.4);
  animation: bob 6s ease-in-out infinite;
}
.c1 { right: -2%; top: 10%; animation-delay: -1s; }
.c2 { left: -8%; bottom: 22%; background: var(--sky); animation-delay: -3s; }
.c3 { left: 0; bottom: 8%; background: var(--lime); animation-delay: -4.5s; }
@keyframes bob { 50% { translate: 0 -14px; } }

.phone {
  position: relative; z-index: 1;
  width: 330px; height: 620px; border-radius: 46px; padding: 12px;
  background: var(--ink); box-shadow: 0 50px 90px -40px rgba(14,31,23,.7), inset 0 0 0 2px #24372d;
  rotate: 3deg; margin-left: 90px;
}
.phone-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #f0efe8; border-radius: 34px 34px 0 0; }
.phone-top img { border-radius: 50%; }
.phone-top b { display: block; font-size: 14px; }
.phone-top small { font-size: 12px; color: var(--green); }
.chat {
  height: calc(100% - 62px); padding: 14px 12px; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px; justify-content: flex-end;
  background: #efe8dc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='4' cy='4' r='1.2' fill='%23d9cfbd'/%3E%3C/svg%3E");
  border-radius: 0 0 34px 34px;
}
.msg {
  max-width: 82%; padding: 9px 12px; border-radius: 16px; font-size: 14px; line-height: 1.35;
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
  opacity: 0; transform: translateY(14px) scale(.96); transform-origin: bottom;
  transition: opacity .4s, transform .5s cubic-bezier(.2,1.4,.4,1), max-height .4s;
  max-height: 0; overflow: hidden; margin-top: -8px;
}
.msg.show { opacity: 1; transform: none; max-height: 220px; margin-top: 0; }
.msg.gone { max-height: 0; opacity: 0; padding: 0 12px; margin-top: -8px; }
.msg.in { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: #d9fdd3; border-bottom-right-radius: 4px; }
.msg.ok { background: var(--lime); font-weight: 600; }
.photo-msg { padding: 5px; }
.list-paper {
  position: relative; display: grid; gap: 4px; padding: 14px 16px; width: 190px;
  background: repeating-linear-gradient(#fff, #fff 23px, #cfe3f7 24px); border-radius: 12px;
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 14px; color: #1d3a8a; rotate: -2deg;
  overflow: hidden;
}
.scan {
  position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(180deg, transparent, rgba(18,168,116,.35), transparent);
  animation: scan 2.2s ease-in-out infinite;
}
@keyframes scan { to { top: 100%; } }
.typing { display: flex; gap: 4px; padding: 13px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #6f8f7f; animation: hop 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hop { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.pdf { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px; background: var(--white); border-radius: 12px; }
.pdf-icon { display: grid; place-items: center; width: 38px; height: 46px; border-radius: 6px; background: #e8453c; color: #fff; font-size: 11px; font-weight: 800; }
.pdf small { display: block; color: var(--muted); font-size: 12px; }
.pdf div b { white-space: nowrap; font-size: 13px; }
.msg.out:has(.pdf) { max-width: 92%; }
.pdf .amt { margin-left: auto; font-size: 14px; white-space: nowrap; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; background: var(--lime); padding: 22px 0; rotate: -2deg; margin: 10px -20px 40px;
  box-shadow: 0 20px 40px -30px rgba(14,31,23,.4);
}
.track { display: flex; gap: 34px; width: max-content; animation: slide 38s linear infinite; font-family: var(--display); font-size: clamp(24px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1280px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 80px; }
.stat { padding: 34px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat:nth-child(1) { background: var(--mint); border: 0; }
.stat:nth-child(2) { background: var(--peach); border: 0; }
.stat:nth-child(3) { background: var(--sky); border: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(60px, 7vw, 96px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-weight: 500; }

/* ---------- section titles ---------- */
.big { font-size: clamp(48px, 7.5vw, 104px); font-weight: 800; margin-bottom: 44px; }
.u { color: var(--green); }

/* ---------- bento ---------- */
.bento-wrap { max-width: 1280px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 100px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px;
  background: var(--white); border: 1px solid var(--line); min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -35px rgba(14,31,23,.45); }
.tile h3 { font-size: 30px; font-weight: 750; }
.tile p { margin: 6px 0 0; color: var(--muted); }
.tile .art { flex: 1; display: grid; place-items: center; margin-bottom: 18px; }
.t-photo { grid-column: span 4; background: var(--mint); border: 0; }
.t-voice { grid-column: span 2; background: var(--lilac); border: 0; }
.t-pdf { grid-column: span 2; background: var(--peach); border: 0; }
.t-camp { grid-column: span 2; }
.t-pay { grid-column: span 2; background: var(--sky); border: 0; }
.t-int { grid-column: span 6; background: var(--ink); color: var(--white); min-height: 260px; }
.t-int p { color: #a8bcb2; }

.t-photo .art { display: flex; align-items: center; justify-content: center; gap: 26px; }
.mini-paper { position: relative; overflow: hidden; display: grid; gap: 6px; padding: 18px 22px; background: repeating-linear-gradient(#fff, #fff 25px, #cfe3f7 26px); border-radius: 14px; font-family: "Segoe Print", "Bradley Hand", cursive; color: #1d3a8a; rotate: -4deg; box-shadow: 0 20px 40px -24px rgba(14,31,23,.4); }
.arrow { font-size: 40px; font-weight: 800; color: var(--green); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.mini-quote { padding: 18px 22px; border-radius: 18px; background: var(--white); box-shadow: 0 20px 40px -24px rgba(14,31,23,.4); rotate: 3deg; }
.mini-quote b { display: block; font-family: var(--display); font-size: 30px; }
.mini-quote small { color: var(--green); font-weight: 600; }

.wave { display: flex; align-items: center; gap: 5px; height: 80px; }
.wave i { width: 7px; border-radius: 9px; background: var(--ink); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.8s; }
@keyframes wave { 0%, 100% { height: 14px; } 50% { height: 72px; } }
.said { margin: 14px 0 0; font-family: var(--display); font-size: 20px; font-weight: 600; text-align: center; }

.sheets { position: relative; width: 140px; height: 170px; }
.sheets i { position: absolute; inset: 0; border-radius: 14px; background: var(--white); box-shadow: 0 16px 30px -18px rgba(14,31,23,.45); background-image: linear-gradient(#e8453c 0 0), linear-gradient(#e6e3dc 0 0), linear-gradient(#e6e3dc 0 0), linear-gradient(#e6e3dc 0 0), linear-gradient(var(--lime) 0 0); background-size: 34px 10px, 90px 6px, 70px 6px, 80px 6px, 60px 14px; background-position: 18px 20px, 18px 54px, 18px 70px, 18px 86px, 18px 130px; background-repeat: no-repeat; transition: transform .6s cubic-bezier(.2,1.3,.4,1); }
.sheets i:nth-child(1) { transform: rotate(-12deg) translateX(-20px); }
.sheets i:nth-child(2) { transform: rotate(-4deg); }
.sheets i:nth-child(3) { transform: rotate(8deg) translateX(20px); animation: lift 3s ease-in-out infinite; }
@keyframes lift { 50% { transform: rotate(10deg) translate(26px, -14px); } }
.t-pdf:hover .sheets i:nth-child(1) { transform: rotate(-20deg) translateX(-40px); }

.burst { position: relative; width: 220px; height: 170px; }
.burst span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-size: 52px; animation: pulse 2s infinite; }
.burst img { position: absolute; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); animation: pop 3s ease-in-out infinite; }
.burst img:nth-of-type(1) { left: 0; top: 4px; } .burst img:nth-of-type(2) { right: 0; top: 0; animation-delay: .4s; }
.burst img:nth-of-type(3) { left: 14px; bottom: 0; animation-delay: .8s; } .burst img:nth-of-type(4) { right: 10px; bottom: 6px; animation-delay: 1.2s; }
@keyframes pulse { 50% { transform: scale(1.15) rotate(-6deg); } }
@keyframes pop { 0%, 100% { transform: scale(.9); } 40% { transform: scale(1.08); } }

.due { width: 100%; max-width: 230px; padding: 20px; border-radius: 20px; background: var(--white); box-shadow: 0 20px 40px -24px rgba(14,31,23,.4); }
.due .tag { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--peach); font-size: 13px; font-weight: 600; }
.due b { display: block; margin: 10px 0; font-family: var(--display); font-size: 36px; }
.due .bar { height: 8px; border-radius: 9px; background: #edf1f6; overflow: hidden; }
.due .bar i { display: block; height: 100%; width: 0; background: var(--green-2); border-radius: 9px; animation: fill 3s ease-in-out infinite; }
.due small { display: block; margin-top: 10px; color: var(--green); font-weight: 600; }
@keyframes fill { 0% { width: 0; } 70%, 100% { width: 100%; } }

.orbit { position: relative; width: min(560px, 100%); height: 150px; }
.orbit b { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: var(--lime); color: var(--ink); font-family: var(--display); font-size: 38px; box-shadow: 0 0 0 12px rgba(212,242,106,.15), 0 0 0 26px rgba(212,242,106,.07); }
.orbit span { position: absolute; padding: 10px 18px; border-radius: 99px; background: #1c3329; font-weight: 600; animation: bob 5s ease-in-out infinite; }
.orbit span:nth-of-type(1) { left: 0; top: 10px; } .orbit span:nth-of-type(2) { right: 0; top: 0; animation-delay: -1.2s; }
.orbit span:nth-of-type(3) { left: 8%; bottom: 0; animation-delay: -2.4s; } .orbit span:nth-of-type(4) { right: 8%; bottom: 6px; animation-delay: -3.6s; }

/* ---------- people ---------- */
.people { padding: 40px 0 100px; }
.people .big { padding: 0 clamp(16px, 4vw, 48px); max-width: 1280px; margin-left: auto; margin-right: auto; }
.cards {
  display: flex; gap: 18px; padding: 10px clamp(16px, 4vw, 48px) 30px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card {
  position: relative; flex: 0 0 300px; margin: 0; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start;
  box-shadow: 0 30px 60px -38px rgba(14,31,23,.6); transition: transform .3s;
}
.card.wide { flex-basis: 480px; }
.card img { width: 100%; height: 420px; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.card:hover img { transform: scale(1.06); }
.card figcaption { position: absolute; inset: auto 14px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.card figcaption b { padding: 6px 14px; border-radius: 99px; background: var(--ink); color: var(--white); font-size: 14px; }
.card .b { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--white); font-weight: 600; font-size: 15px; box-shadow: 0 10px 20px -12px rgba(0,0,0,.35); animation: bob 5s ease-in-out infinite; }
.card:nth-child(2n) .b { animation-delay: -2s; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 100px; }
.step { position: relative; padding: 30px; border-radius: var(--radius); border: 1.5px dashed #cfd8d2; }
.step .n { display: block; font-family: var(--display); font-size: 120px; font-weight: 800; line-height: .8; color: var(--mint); -webkit-text-stroke: 2px var(--green); margin-bottom: 20px; }
.step h3 { font-size: 34px; }
.step p { margin: 8px 0 0; color: var(--muted); }

/* ---------- team ---------- */
.team { position: relative; max-width: 1280px; margin: 0 auto 100px; border-radius: 40px; overflow: hidden; }
.team img { width: 100%; height: clamp(420px, 52vw, 620px); object-fit: cover; }
.team-copy { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 4vw, 56px); background: linear-gradient(transparent, rgba(14,31,23,.75)); }
.team h2 { color: var(--white); font-size: clamp(36px, 5.2vw, 76px); font-weight: 800; }
.team h2 span { color: var(--lime); }

/* ---------- final ---------- */
.final { text-align: center; padding: 60px clamp(16px, 4vw, 48px) 120px; }
.final h2 { font-size: clamp(54px, 9vw, 140px); font-weight: 800; margin-bottom: 44px; }
.final .fine { margin-top: 26px; color: var(--muted); font-size: 14px; }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .hero-stage { height: 600px; }
  .p1 { left: 2%; width: 170px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-photo, .t-int { grid-column: span 2; }
  .t-voice, .t-pdf, .t-camp, .t-pay { grid-column: span 1; }
  .stats, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-link { display: none; }
  .hero-stage { height: 560px; }
  .phone { width: 300px; height: 540px; rotate: 0deg; margin-left: 0; }
  .msg { font-size: 13px; }
  .pdf { gap: 8px; padding: 8px; } .pdf-icon { width: 30px; height: 38px; } .pdf .amt { font-size: 12px; }
  .p1 { width: 104px; top: 8%; left: -4%; z-index: 2; }
  .t-photo .mini-paper span { white-space: nowrap; }
  .chip { font-size: 13px; padding: 9px 13px; }
  .c1 { right: -1%; top: 3%; } .c2, .c3 { display: none; }
  .bento { grid-template-columns: 1fr; }
  .t-photo, .t-int, .t-voice, .t-pdf, .t-camp, .t-pay { grid-column: span 1; }
  .t-photo .art { gap: 12px; } .mini-paper { font-size: 13px; padding: 12px 14px; } .mini-quote b { font-size: 22px; }
  .card { flex-basis: 250px; } .card.wide { flex-basis: 320px; } .card img { height: 340px; }
  .team { border-radius: 0; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .msg { opacity: 1; transform: none; max-height: none; margin-top: 0; }
  .msg.typing { display: none; }
  .marker::after { transform: scaleX(1); }
}
