/* iology.io – tek stil dosyası. Renkler logo paketindekiyle aynı. */
:root {
  --purple: #a72cff;
  --purple-dark: #8a1fe0;
  --purple-soft: #f6eaff;
  --ink: #14121a;
  --ink-2: #1e1b27;
  --text: #2a2733;
  --muted: #6b6678;
  --line: #e8e5ee;
  --bg: #ffffff;
  --bg-alt: #f7f6fa;
  --radius: 20px;
  --wrap: 1160px;
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }

/* ---------- düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--purple); color: var(--purple-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row.tight { gap: 10px; }
.btn-row.tight .btn { padding-inline: 18px; font-size: 0.92rem; gap: 8px; }

/* ---------- üst menü ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a, .nav button.sub-toggle {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav a:hover, .nav button.sub-toggle:hover { background: var(--bg-alt); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--purple-dark); }
.has-sub { position: relative; }
.sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(20, 18, 26, 0.12);
  display: none;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { display: block; }
.sub small { display: block; color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; }
.lang {
  margin-left: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}
.nav a.partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 8px 16px;
  border: 1.5px solid var(--purple);
  border-radius: 999px;
  color: var(--purple-dark);
  font-weight: 600;
  white-space: nowrap;
}
.nav a.partner svg { width: 18px; height: 18px; }
.nav a.partner:hover { background: var(--purple); color: #fff; }
.nav .btn { padding: 10px 20px; margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--purple-dark); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- bölümler ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.alt { background: var(--bg-alt); }
.dark { background: var(--ink); color: #c9c5d6; position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #b3aec2; }
.dark::before, .dark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.dark::before { width: 620px; height: 620px; background: rgba(167, 44, 255, 0.42); top: -260px; right: -140px; }
.dark::after { width: 420px; height: 420px; background: rgba(167, 44, 255, 0.2); bottom: -240px; left: -120px; }
.dark > .wrap { position: relative; z-index: 1; }

/* ---------- giriş (hero) ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 span { color: var(--purple); }
.hero-copy { padding-bottom: clamp(56px, 8vw, 104px); }
.phones { position: relative; height: 560px; align-self: end; }
.phones img { position: absolute; bottom: -60px; width: 290px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)); }
.phones img:nth-child(1) { left: 6%; transform: rotate(-6deg); opacity: 0.9; }
.phones img:nth-child(2) { right: 6%; bottom: -20px; width: 310px; transform: rotate(4deg); }

/* ana sayfa sahnesi: .lit yokken karanlık, gelince aydınlanır */
.scene { position: relative; align-self: end; width: 100%; max-width: 600px; justify-self: center; }
.scene > svg { display: block; width: 100%; height: auto; overflow: visible; }
.win { fill: #1e1c28; transition: fill 0.25s ease calc(var(--d, 0ms) * 0.2); }
.lit .win { transition: fill 0.55s ease var(--d, 0ms); }
.lit .win.w1 { fill: #ffd898; }
.lit .win.w2 { fill: #ffe9c2; }
.lit .win.w3 { fill: #f0b266; }
.lit .win.c { fill: #b7d2ff; }
.lit .win.p { fill: #cf9bff; }
.lit .win.g1 { fill: #dfe8ff; }
.lit .win.g2 { fill: #ffe2b0; }
.glow { transition: filter 1s ease 0.4s; }
.lit .glow { filter: drop-shadow(0 0 3px rgba(255, 206, 140, 0.45)); }
.halo, .lamp-glow, .pool, .pool-glow, .refl, .stars { transition: opacity 0.5s ease, fill 0.5s ease; }
.halo { opacity: 0; }
.lit .halo { opacity: 1; transition: opacity 1.8s ease 0.3s; }
.lamp-glow { fill: #ffdc9c; opacity: 0; }
.lit .lamp-glow { opacity: 0.16; transition: opacity 0.6s ease var(--d, 0ms); }
.refl { opacity: 0; }
.lit .refl { opacity: 0.3; transition: opacity 1.4s ease 0.7s; }
.pool { fill: #191722; }
.lit .pool { fill: #3fc4d8; transition: fill 0.9s ease 0.9s; }
.pool-glow { fill: #3fc4d8; opacity: 0; filter: blur(10px); }
.lit .pool-glow { opacity: 0.22; transition: opacity 0.9s ease 0.9s; }
.tree { fill: #1d1b26; transition: fill 0.9s ease 0.4s; }
.lit .tree { fill: #223229; }
.stars { opacity: 0.55; }
.lit .stars { opacity: 0.2; }
.beacon { fill: #ff4d5e; animation: beacon 2.4s ease-in-out infinite; }
@keyframes beacon { 0%, 60%, 100% { opacity: 0.25; } 75% { opacity: 1; } }
.home-hero::before { transition: opacity 1.4s ease; }
.home-hero:not(.lit)::before { opacity: 0.25; }
.home-hero h1 span { transition: color 0.8s ease 0.2s; }
.home-hero:not(.lit) h1 span { color: #8d889b; }
.switch {
  position: absolute;
  left: 7%;
  top: 12%;
  width: 6.25%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 999px;
  transition: filter 0.6s ease, transform 0.2s ease;
}
.switch::after { content: ""; position: absolute; inset: -12px; }
.switch:hover { transform: scale(1.06); }
.switch:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.switch svg { display: block; width: 100%; height: auto; overflow: visible; }
.lit .switch { filter: drop-shadow(0 0 14px rgba(167, 44, 255, 0.7)); }
.sw-body { fill: #3d3948; transition: fill 0.45s ease; }
.lit .sw-body { fill: var(--purple); }
.sw-move { transform: translateY(23px); transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1), opacity 0.3s ease 0.15s; }
.lit .sw-move { transform: none; }
.sw-knob { fill: #d9d5e3; }
.lit .sw-knob { opacity: 0; }
.page-hero { padding: clamp(56px, 8vw, 96px) 0; }
.page-hero .lead { font-size: 1.2rem; }
.h1-sub { font-family: var(--font-head); font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 600; color: #d9a8ff; margin: -0.3em 0 0.9em; }
.products h2 { font-size: 1.6rem; }
.products a.card { display: flex; flex-direction: column; }
.products .card > p { flex: 1; }

/* ---------- kartlar ---------- */
.grid { display: grid; gap: 22px; margin-top: 44px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--purple); box-shadow: 0 20px 44px rgba(167, 44, 255, 0.12); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--purple-soft);
  color: var(--purple);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.icon svg { width: 26px; height: 26px; }
.dark .card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.dark .card p { color: #b3aec2; }
.dark .icon { background: rgba(167, 44, 255, 0.2); color: #d9a8ff; }
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple-dark);
  margin-bottom: 16px;
}
.more { font-family: var(--font-head); font-weight: 600; color: var(--purple-dark); margin-top: 18px; display: inline-block; }

/* ---------- ürün vitrini ---------- */
.device {
  justify-self: center;
  background: #fff;
  border-radius: 28px;
  padding: 26px;
  margin-bottom: clamp(56px, 8vw, 104px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.device img { width: 270px; max-width: 100%; border-radius: 10px; }
.figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.figure img { margin-inline: auto; }
.figure figcaption { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }
.split .lead + .lead { margin-top: 1em; }
.specs { margin: 28px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.specs dd { margin: 0; }
.checks li { max-width: 78ch; }
.pins-img { position: relative; width: min(380px, 100%); margin-inline: auto; }
.pin {
  position: absolute;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 18, 26, 0.3);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
}
.pin-list { list-style: none; counter-reset: pin; padding: 0; margin: 24px 0 0; }
.pin-list li { counter-increment: pin; position: relative; padding: 4px 0 4px 44px; margin-bottom: 8px; color: var(--ink); }
.pin-list li::before {
  content: counter(pin);
  position: absolute;
  left: 0;
  top: 5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(20, 18, 26, 0.3);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}
.docs { margin-top: 32px; }
a.card.doc { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.doc .icon { margin: 0; flex-shrink: 0; }
.doc h3 { margin: 0 0 2px; font-size: 1.05rem; }
.doc p { font-size: 0.9rem; }
.doc-get { margin-left: auto; color: var(--purple-dark); display: grid; }
.doc-get svg { width: 22px; height: 22px; }
.docs-group { font-size: 1.5rem; margin: 0; }
.docs-group a { color: inherit; }
.docs + .docs-group { margin-top: 56px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.shot { display: flex; justify-content: center; }
.shot img { width: min(300px, 78%); filter: drop-shadow(0 26px 44px rgba(20, 18, 26, 0.22)); }
.dark .shot img { filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.55)); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.300l3 3 6-6.600' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.gallery figure { margin: 0; text-align: center; }
.gallery img { margin-inline: auto; filter: drop-shadow(0 20px 36px rgba(20, 18, 26, 0.2)); }
.gallery figcaption { margin-top: 16px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store {
  display: inline-flex;
  flex-direction: column;
  padding: 10px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
}
.store small { font-weight: 400; font-size: 0.72rem; color: #b3aec2; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- adımlar ---------- */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 26px;
  left: 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple);
}

/* ---------- çağrı bandı ---------- */
.cta { background: var(--purple); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 52ch; }
.cta .btn { background: #fff; color: var(--ink); }
.cta .btn:hover { background: var(--ink); color: #fff; }

/* ---------- iletişim ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--ink); margin: 18px 0 8px; }
input, textarea {
  width: 100%;
  font: inherit;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: var(--purple); }
textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.info dt { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 24px; }
.info dd { margin: 6px 0 0; }
.info dt:first-child { margin-top: 0; }

/* ---------- metin sayfası ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.notice { background: var(--purple-soft); border-radius: 14px; padding: 16px 20px; color: var(--ink); font-size: 0.95rem; }

/* ---------- alt bilgi ---------- */
.site-footer { background: var(--ink); color: #a7a2b6; padding: 64px 0 28px; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer img { height: 30px; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #d6d2e0; }
.site-footer a:hover { color: #fff; }
.legal { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.85rem; }

/* ---------- küçük ekranlar ---------- */
@media (max-width: 960px) {
  .hero .wrap, .split, .contact { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-copy { padding-bottom: 0; }
  .phones { height: 430px; }
  .phones img { width: 220px; }
  .phones img:nth-child(2) { width: 236px; }
  .cols-3 { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 2px;
  }
  .nav.open { display: flex; }
  .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .nav button.sub-toggle { text-align: left; }
  .lang { margin: 8px 0 0; align-self: flex-start; }
  .nav a.partner { margin: 10px 0 0; align-self: flex-start; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cols-2 { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .beacon { animation: none; }
  * { transition: none !important; scroll-behavior: auto !important; }
}
