/* Glowdo — tanıtım sitesi. Renkler uygulamadaki temadan (src/theme.ts). */
/* Yazı tipleri siteden sunulur (Google'a ziyaretçi IP'si gitmez). SIL Open Font License — fonts/OFL-*.txt */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/playfair-500.woff') format('woff'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/playfair-600.woff') format('woff'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/playfair-500-italic.woff') format('woff'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 600; font-display: swap; src: url('/fonts/playfair-600-italic.woff') format('woff'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/jakarta-400.woff') format('woff'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/jakarta-500.woff') format('woff'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/jakarta-600.woff') format('woff'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/jakarta-700.woff') format('woff'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/jakarta-800.woff') format('woff'); }

:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --muted-bg: #F7F3EC;
  --mist: #F5EEF7;
  --border: #EFE7F2;
  --ink: #2A1B30;
  --ink-soft: #4C3A52;
  --muted: #6E5E72;
  --primary: #5B326B;
  --primary-deep: #431B53;
  --primary-soft: #F1E8F5;
  --primary-line: #B89EC4;
  --honey: #F7DC98;
  --honey-soft: #FBEFC9;
  --honey-ink: #6B5213;
  --rose: #F3D9DE;
  --sage: #E4ECDD;
  --radius: 22px;
  --shadow: 0 18px 50px -24px rgba(67, 27, 83, .35);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--primary); }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--primary-line); }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 34em; }
section { padding: 96px 0; position: relative; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { display: grid; gap: 14px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 5vw, 48px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 24px; font-weight: 600; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.lang { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: none; font: 700 12px var(--sans); letter-spacing: .04em; color: var(--muted);
  padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--primary); color: #fff; }
@media (max-width: 820px) { .nav-links a { display: none; } }

/* ---------- Buttons & form ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none; font: 700 16px var(--sans);
  padding: 15px 24px; border-radius: 16px; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -12px var(--primary); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--primary); border: 1px solid var(--border); }
.appstore {
  display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff;
  padding: 10px 20px 10px 16px; border-radius: 14px; text-decoration: none;
}
.appstore svg { width: 26px; height: 26px; }
.appstore small { display: block; font-size: 11px; opacity: .75; line-height: 1.1; }
.appstore strong { display: block; font-size: 18px; line-height: 1.15; font-weight: 600; }
.soon-pill {
  display: inline-block; margin-left: 4px; background: var(--honey); color: var(--honey-ink);
  font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; letter-spacing: .03em; vertical-align: middle;
}

.waitlist { display: flex; gap: 8px; max-width: 460px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 6px; box-shadow: var(--shadow); }
.waitlist input {
  flex: 1; min-width: 0; border: 0; background: none; font: 500 16px var(--sans); color: var(--ink); padding: 0 12px; outline: none;
}
.waitlist input::placeholder { color: var(--muted); }
.waitlist .btn { padding: 12px 18px; border-radius: 13px; font-size: 15px; white-space: nowrap; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 10px; min-height: 1.5em; }
.form-note.ok { color: #3F5A37; font-weight: 600; }
.form-note.err { color: #9B2C3A; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 460px) {
  .waitlist { flex-direction: column; padding: 8px; }
  .waitlist input { padding: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); margin: 18px 0 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: grid; gap: 18px; }
.hero-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.hero-badges .note { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }

/* Oda sahnesi */
.scene { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: 540px; justify-self: center; }
.scene .glow {
  position: absolute; inset: 8% 6% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247, 220, 152, .55), rgba(247, 220, 152, 0));
  animation: breathe 6s ease-in-out infinite;
}
.scene svg.room { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.item {
  position: absolute; transform-origin: 50% 90%;
  opacity: 0; transform: translateY(-60px) scale(.6);
  filter: drop-shadow(0 10px 8px rgba(67, 27, 83, .16));
}
.item.in { animation: drop .7s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.scene.done .item { transition: opacity .6s; }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-60px) scale(.6); }
  60% { opacity: 1; transform: translateY(4px) scale(1.04); }
  100% { opacity: 1; transform: none; }
}
@keyframes breathe { 50% { transform: scale(1.06); opacity: .8; } }

.chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px 14px;
  box-shadow: var(--shadow); font-weight: 700; font-size: 14px; white-space: nowrap;
}
.chip .coin {
  width: 26px; height: 26px; border-radius: 50%; background: var(--honey); border: 2px solid #C1A96A;
  display: grid; place-items: center; font-size: 13px; color: var(--honey-ink); font-weight: 800;
}
.chip-coins { left: -2%; top: 16%; animation: float 5s ease-in-out infinite; }
.chip-timer { right: -2%; bottom: 14%; animation: float 5s ease-in-out -2.5s infinite; }
.chip-timer .ring { width: 30px; height: 30px; }
.chip small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; line-height: 1.2; }
.chip b { display: block; line-height: 1.2; }
.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.15); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .chip { transform: scale(.88); } .chip-coins { left: 0; top: 4%; } .chip-timer { right: 0; bottom: 4%; } }

/* Parıltılar */
.sparkle { position: absolute; width: 14px; height: 14px; pointer-events: none; animation: twinkle 3s ease-in-out infinite; }
.sparkle::before, .sparkle::after { content: ''; position: absolute; inset: 0; margin: auto; background: var(--honey); border-radius: 2px; }
.sparkle::before { width: 100%; height: 3px; }
.sparkle::after { width: 3px; height: 100%; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* ---------- Adımlar ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.step .num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font: 600 22px var(--serif); margin-bottom: 18px;
}
.step:nth-child(1) .num { background: var(--primary-soft); color: var(--primary); }
.step:nth-child(2) .num { background: var(--rose); color: #8A3B4F; }
.step:nth-child(3) .num { background: var(--honey-soft); color: var(--honey-ink); }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Dene (mini focus) ---------- */
.try { background: var(--primary-deep); color: #fff; border-radius: 36px; margin-inline: 16px; overflow: hidden; }
.try .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.try h2 { font-size: clamp(32px, 5vw, 48px); }
.try h2 em { color: var(--honey); }
.try .eyebrow { color: var(--honey); }
.try .eyebrow::before { background: var(--honey); }
.try .lead { color: #E3D3EA; margin: 16px 0 28px; }
.demo {
  position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px; padding: 32px; display: grid; justify-items: center; gap: 20px; min-height: 420px; align-content: center;
}
.demo .task { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .1); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.demo .task i { width: 10px; height: 10px; border-radius: 50%; background: var(--honey); }
.timer { position: relative; width: 210px; height: 210px; }
.timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer .track { stroke: rgba(255, 255, 255, .12); }
.timer .bar { stroke: var(--honey); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.timer .time { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; }
.timer .time b { font: 600 46px var(--serif); letter-spacing: .01em; }
.timer .time small { color: #E3D3EA; font-size: 13px; }
.demo .btn-honey { background: var(--honey); color: var(--honey-ink); }
.demo .btn-honey:hover { transform: translateY(-2px); background: #FBE6B0; }
.reward { display: none; text-align: center; gap: 14px; justify-items: center; }
.demo.won .reward { display: grid; }
.demo.won .timer, .demo.won .task, .demo.won #demoStart { display: none; }
.reward .big-coin {
  width: 86px; height: 86px; border-radius: 50%; background: var(--honey); border: 4px solid #C1A96A; color: var(--honey-ink);
  display: grid; place-items: center; font: 800 26px var(--sans); animation: pop .6s cubic-bezier(.34, 1.56, .64, 1);
}
.reward img { width: 150px; animation: pop .7s .15s cubic-bezier(.34, 1.56, .64, 1) both; filter: drop-shadow(0 0 30px rgba(247, 220, 152, .6)); }
.reward h3 { font-size: 26px; }
.reward p { color: #E3D3EA; max-width: 22em; }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
.confetti { position: absolute; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; animation: fall 1.4s ease-out forwards; }
@keyframes fall { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
@media (max-width: 900px) { .try .wrap { grid-template-columns: 1fr; } }

/* ---------- Stiller ---------- */
.styles-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.style-stage {
  position: relative; aspect-ratio: 1; border-radius: 32px; background: var(--mist); display: grid; place-items: center;
  overflow: hidden; transition: background .5s;
}
.style-stage img { width: 62%; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .25s; filter: drop-shadow(0 18px 14px rgba(67, 27, 83, .18)); }
.style-stage img.swap { transform: scale(.7) rotate(-6deg); opacity: 0; }
.style-stage .tag {
  position: absolute; top: 18px; left: 18px; background: var(--surface); border-radius: 999px; padding: 6px 14px;
  font-weight: 700; font-size: 14px; box-shadow: var(--shadow);
}
.style-stage .plus-tag { left: auto; right: 18px; background: var(--primary); color: #fff; display: none; }
.style-stage.is-plus .plus-tag { display: block; }
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 18px; }
.cats button, .variants button { cursor: pointer; font: 700 14px var(--sans); }
.cats button { border: 1px solid var(--border); background: var(--surface); color: var(--ink-soft); padding: 9px 16px; border-radius: 999px; }
.cats button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.variants { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.variants button {
  background: var(--surface); border: 2px solid var(--border); border-radius: 18px; padding: 10px 6px 12px;
  display: grid; justify-items: center; gap: 6px; color: var(--ink-soft); transition: transform .2s, border-color .2s;
}
.variants button:hover { transform: translateY(-3px); }
.variants button[aria-pressed="true"] { border-color: var(--primary); color: var(--primary); }
.variants img { width: 72px; height: 72px; object-fit: contain; }
@media (max-width: 820px) { .styles-box { grid-template-columns: 1fr; } }

/* ---------- Odalar ---------- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.room-card {
  position: relative; border-radius: 28px; padding: 26px; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; border: 1px solid var(--border); transition: transform .3s;
}
.room-card:hover { transform: translateY(-6px); }
.room-card .collage { position: absolute; inset: 18px 18px auto; height: 180px; }
.room-card .collage img { position: absolute; width: 110px; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.room-card:hover .collage img:nth-child(odd) { transform: translateY(-8px) rotate(-3deg); }
.room-card:hover .collage img:nth-child(even) { transform: translateY(-4px) rotate(3deg); }
.room-card h3 { font-size: 26px; margin-bottom: 6px; position: relative; }
.room-card p { color: var(--ink-soft); position: relative; font-size: 15px; }
.room-card .pill {
  position: relative; align-self: flex-start; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px; background: var(--surface);
}
.rc-home { background: linear-gradient(180deg, #FBEFF3, #F7E6EC); }
.rc-paris { background: linear-gradient(180deg, #EFE8F7, #E5DAF0); }
.rc-soon { background: linear-gradient(180deg, #EAF1F4, #DDE9EE); }
.rc-soon .waves { position: absolute; inset: 30px 24px auto; height: 150px; display: grid; place-items: center; font-size: 72px; }
@media (max-width: 900px) { .rooms { grid-template-columns: 1fr; } }

/* ---------- Değerler ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.value .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); display: grid; place-items: center; margin-bottom: 14px; }
.value .ic svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font: 700 17px var(--sans); margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Plus ---------- */
.plus {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, #FBEFC9, #F7E3F0 60%, #EDE3F6); border-radius: 36px; padding: 48px;
}
.plus h2 { font-size: clamp(30px, 4.4vw, 42px); margin: 12px 0 14px; }
.plus ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plus li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .7); border-radius: 16px; padding: 14px 16px; font-weight: 600; }
.plus li::before { content: '✦'; color: var(--primary); }
@media (max-width: 820px) { .plus { grid-template-columns: 1fr; padding: 32px 22px; } }

/* ---------- SSS ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px var(--sans); color: var(--primary); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* ---------- Final + footer ---------- */
.final { text-align: center; }
.final .lamp { width: 120px; margin: 0 auto 24px; animation: sway 4s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes sway { 50% { transform: rotate(3deg); } }
.final .lead { margin-inline: auto; }
.final h2 { font-size: clamp(34px, 5.4vw, 54px); margin-bottom: 16px; }
.final .waitlist { margin: 28px auto 0; }
footer { border-top: 1px solid var(--border); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--primary); }

/* Kaydırınca beliren */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Yasal sayfalar ---------- */
.legal { padding: 48px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); margin: 14px 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal article { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 36px; display: grid; gap: 26px; }
.legal h2 { font: 700 19px var(--sans); margin-bottom: 8px; }
.legal p { color: var(--ink-soft); }
.legal .back { font-weight: 700; text-decoration: none; }
.legal .draft { background: var(--honey-soft); color: var(--honey-ink); border-radius: 14px; padding: 12px 16px; font-size: 14px; font-weight: 600; }
.legal [data-lang-block] { display: none; }
.legal [data-lang-block].on { display: block; }
@media (max-width: 520px) { .legal article { padding: 24px 20px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .item, .reveal { opacity: 1; transform: none; }
}
.legal section { padding: 0; }
