:root {
  --ink: #0c2a31;
  --ink-2: #3d5a61;
  --teal: #0e9c8e;
  --teal-d: #077a6f;
  --mint: #dff6f4;
  --sun: #f4b942;
  --card: rgba(255, 255, 255, .86);
  --line: rgba(12, 42, 49, .12);
  --r: 24px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--mint);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
main, footer { position: relative; z-index: 1; }
#foam { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 100; cursor: pointer; transition: opacity .35s ease; }
h1, h2, h3 { font-family: 'Bricolage Grotesque', sans-serif; line-height: 1.04; letter-spacing: -.02em; }
a { color: inherit; }

/* header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 44px);
}
.top::before {
  content: ''; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(223, 246, 244, .95), rgba(223, 246, 244, 0));
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 1.15rem; }
.brand small { display: block; font-family: 'Manrope'; font-weight: 600; font-size: .7rem; color: var(--ink-2); letter-spacing: .02em; }
nav { display: flex; align-items: center; gap: 22px; }
nav a:not(.btn) { text-decoration: none; font-weight: 700; font-size: .95rem; opacity: .8; }
nav a:not(.btn):hover { opacity: 1; color: var(--teal-d); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--teal); color: #fff; font: inherit; font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 26px -10px rgba(14, 156, 142, .75);
  transition: transform .2s, background .2s;
}
.btn:hover { background: var(--teal-d); transform: translateY(-2px); }
.btn:focus-visible, .phone:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 8px 22px -12px rgba(12, 42, 49, .35); }
.btn.small { padding: 10px 18px; font-size: .9rem; }

/* sections */
.sec { min-height: 135vh; display: flex; align-items: center; padding: 110px clamp(16px, 5vw, 72px); }
.sec.right { justify-content: flex-end; }
.sec.center { justify-content: center; }

.panel {
  width: 100%; max-width: 480px;
  background: var(--card);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: 0 30px 70px -34px rgba(12, 42, 49, .45);
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}
.panel.in, .hero-inner.in { opacity: 1; transform: none; }
.panel.wide { max-width: 1040px; }
.num { font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: .82rem; letter-spacing: .14em; color: var(--teal); }
.panel h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin: 8px 0 10px; }
.lead { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 20px; }

.checks { list-style: none; padding: 0; display: grid; gap: 11px; margin-bottom: 20px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tags span { font-size: .8rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: rgba(14, 156, 142, .11); color: var(--teal-d); }

/* hero */
.hero { min-height: 100vh; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 18% 50%, rgba(240, 252, 250, .85), rgba(240, 252, 250, 0) 70%); }
.hero-inner { position: relative; }
.hero-inner { max-width: 760px; opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.eyebrow { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); background: rgba(255, 255, 255, .75); padding: 7px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(3rem, 8.4vw, 6.6rem); margin: 18px 0; text-shadow: 0 2px 30px rgba(255, 255, 255, .9); }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; color: var(--ink-2); font-weight: 500; text-shadow: 0 1px 14px rgba(255, 255, 255, .95); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { font-size: .88rem; font-weight: 700; background: rgba(255, 255, 255, .8); padding: 8px 14px; border-radius: 12px; }
.badges li::before { content: '✦ '; color: var(--sun); }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.scroll-hint span { width: 26px; height: 42px; border: 2px solid var(--ink-2); border-radius: 14px; position: relative; }
.scroll-hint span::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* steps + why */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--sun); font-family: 'Bricolage Grotesque'; font-size: 1.1rem; margin-bottom: 14px; }
.steps h3, .why h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p, .why p { color: var(--ink-2); font-size: .95rem; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.why div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }

/* iletişim */
.phone { display: block; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); color: var(--ink); text-decoration: none; margin: 6px 0 20px; letter-spacing: -.01em; }
.phone:hover { color: var(--teal-d); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact .btn { padding: 16px 18px; white-space: nowrap; }
.btn.wa { background: #25d366; box-shadow: 0 10px 26px -10px rgba(37, 211, 102, .8); }
.btn.wa:hover { background: #1ebe5b; }

/* footer, meter, whatsapp */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 26px clamp(16px, 5vw, 72px) 96px; background: var(--ink); color: #cfe9e5; font-size: .92rem; }
.foot a { color: #fff; }
.meter {
  position: fixed; left: clamp(16px, 3vw, 32px); bottom: 22px; z-index: 9;
  display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); box-shadow: 0 10px 30px -14px rgba(12, 42, 49, .45);
  font-size: .78rem; font-weight: 800;
}
.meter i { width: 90px; height: 7px; border-radius: 9px; background: rgba(12, 42, 49, .1); overflow: hidden; }
.meter b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sun), var(--teal)); border-radius: 9px; }
.meter em { font-style: normal; min-width: 36px; color: var(--teal-d); }
.wa-float { position: fixed; right: clamp(16px, 3vw, 32px); bottom: 20px; z-index: 9; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .8); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  nav a:not(.btn) { display: none; }
}
@media (max-width: 760px) {
  .sec { min-height: 125vh; align-items: flex-end; padding: 90px 16px 90px; }
  .sec.right, .sec.center { justify-content: center; }
  .hero { align-items: center; }
  .hero-inner { padding-top: 40px; }
  .panel { max-width: none; }
  .steps, .why, .contact { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel, .hero-inner { transition: none; opacity: 1; transform: none; }
  .scroll-hint span::after { animation: none; }
}
