/* Water Reminder — marketing site. Mirrors the app's "deep ocean" palette. */
:root {
  --bg: #050e1a;
  --bg-top: #0a1f38;
  --surface: #0c1a2c;
  --surface-high: #13263d;
  --border: #1c3350;
  --text: #eaf4ff;
  --text-2: #9bb3cc;
  --text-3: #5d7894;
  --accent: #38bdf8;
  --accent-deep: #2563eb;
  --water-top: #5ad1ff;
  --water-bottom: #1d5fe0;
  --success: #34d399;
  --warning: #fbbf24;
  --streak: #ff8a3d;
  --radius: 22px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 700px at 80% -10%, #12417a55, transparent 60%),
    radial-gradient(900px 600px at -10% 30%, #0b3a6b44, transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: #38bdf855; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.grad { background: linear-gradient(90deg, var(--water-top), var(--accent-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
  color: #7dd3fc; background: #38bdf81a; border: 1px solid #38bdf855;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: #050e1acc; border-bottom: 1px solid #1c335066;
}
.nav .container { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-2); font-weight: 700; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-high); border: 1px solid var(--border);
}
.lang button {
  border: 0; background: transparent; color: var(--text-3); font: 800 13px/1 inherit; font-family: inherit;
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--accent); color: #03121f; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  padding: 14px 24px; border-radius: 16px; font-weight: 900; font-size: 16px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-play { background: var(--text); color: #06121f; box-shadow: 0 10px 30px #38bdf833; }
.btn-play:hover { box-shadow: 0 16px 40px #38bdf855; }
.btn-play svg { width: 26px; height: 26px; }
.btn-play small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .5px; opacity: .7; line-height: 1.1; }
.btn-play b { display: block; font-size: 18px; line-height: 1.1; }
.btn-ghost { color: var(--text); border: 1px solid var(--border); background: #0c1a2c99; }
.nav .btn { padding: 10px 16px; font-size: 14px; border-radius: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-top: 20px; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; font-weight: 900; letter-spacing: -1.5px; }
.hero p.lead { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 540px; }
.hero .ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.facts { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 28px; }
.facts div b { display: block; font-size: 28px; font-weight: 900; line-height: 1; }
.facts div span { font-size: 14px; color: var(--text-3); font-weight: 700; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.orb {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, #38bdf833 0%, transparent 62%);
}
.orb::after {
  content: ""; position: absolute; inset: 70px; border-radius: 50%;
  border: 2px solid #38bdf826; animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.06); opacity: .4; } }

.phone {
  position: relative; width: 300px; padding: 10px; border-radius: 48px;
  background: #08121f; box-shadow: 0 0 0 1.5px #ffffff22, 0 50px 100px #000c, 0 0 80px #38bdf822;
}
.phone img { border-radius: 39px; width: 100%; height: auto; aspect-ratio: 720 / 1603; object-fit: cover; }
.hero .phone { transform: rotate(-4deg); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-4deg) translateY(-12px); } }

.notif {
  position: absolute; width: 330px; display: flex; gap: 14px; padding: 16px 18px; border-radius: 22px;
  background: #eef2fb; color: #14213a; box-shadow: 0 24px 50px #000b, 0 0 40px #38bdf844;
}
.notif .ic { width: 42px; height: 42px; flex: none; border-radius: 50%; background: #1d74c7; display: grid; place-items: center; font-size: 22px; }
.notif .t { font-size: 15px; } .notif .t b { font-weight: 900; } .notif .t span { color: #5b6b85; margin-left: 4px; }
.notif .m { font-size: 14px; font-weight: 600; line-height: 1.35; margin-top: 2px; }
.notif .a { display: flex; gap: 22px; margin-top: 8px; font-size: 14px; font-weight: 900; color: #2c5aa0; }
.hero .notif { right: -24px; bottom: 120px; transform: rotate(3deg); }

.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px;
  background: #13263dee; border: 1px solid #ffffff22; box-shadow: 0 20px 40px #000a; font-weight: 800; font-size: 15px;
}
.chip i { font-style: normal; font-size: 22px; }
.chip small { display: block; color: var(--text-3); font-size: 12px; font-weight: 700; }
.hero .chip.streak { left: 0; top: 70px; transform: rotate(-3deg); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-top: 16px; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; font-weight: 900; letter-spacing: -1px; }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 18px; }

.strip { padding: 28px 0; border-block: 1px solid #1c335066; background: #0c1a2c66; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.strip li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-weight: 800; }
.strip li span { font-size: 22px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.feature + .feature { border-top: 1px solid #1c335044; }
.feature.flip .feature-media { order: 2; }
.feature-media { position: relative; display: grid; place-items: center; min-height: 520px; }
.feature-media .glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, #38bdf82e, transparent 65%); }
.feature-media .phone { width: 270px; }
.feature.flip .feature-media .phone { transform: rotate(3deg); }
.feature:not(.flip) .feature-media .phone { transform: rotate(-3deg); }
.feature-media .notif { left: 50%; top: 40px; transform: translateX(-30%) rotate(-3deg); }
.feature h3 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 900; letter-spacing: -.8px; }
.feature p { margin-top: 14px; color: var(--text-2); font-size: 17px; }
.checks { margin-top: 22px; list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px;
  background: #38bdf826 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.card {
  background: linear-gradient(180deg, #0c1a2c, #0a1626); border: 1px solid #1c3350aa; border-radius: var(--radius); padding: 28px;
}
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; font-weight: 900; font-size: 20px;
}
.step h3 { margin-top: 18px; font-size: 21px; font-weight: 900; }
.step p { margin-top: 8px; color: var(--text-2); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento .card { position: relative; overflow: hidden; }
.bento .card.wide { grid-column: span 2; }
.bento .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: #38bdf81f; }
.bento h3 { margin-top: 16px; font-size: 19px; font-weight: 900; }
.bento p { margin-top: 6px; color: var(--text-2); font-size: 15px; }

/* Gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 24px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.gallery img { flex: none; width: 250px; height: auto; aspect-ratio: 9 / 16; border-radius: 22px; scroll-snap-align: center; box-shadow: 0 20px 50px #000a; border: 1px solid #1c3350; }
@media (min-width: 1200px) { .gallery { justify-content: center; } }

/* Privacy promise */
.promise { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 40px;
  background: radial-gradient(600px 300px at 0% 0%, #34d39922, transparent 60%), linear-gradient(180deg, #0c1a2c, #0a1626); }
.promise .shield { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; font-size: 42px; background: #34d3991f; border: 1px solid #34d39955; }
.promise h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; line-height: 1.15; }
.promise p { margin-top: 8px; color: var(--text-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid #1c3350aa; border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 26px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); }

/* CTA */
.cta { text-align: center; padding: 72px 32px; border-radius: 32px; position: relative; overflow: hidden;
  background: radial-gradient(700px 360px at 50% 0%, #38bdf844, transparent 65%), linear-gradient(180deg, #0f2747, #0a1626); border: 1px solid #1c3350; }
.cta h2 { font-size: clamp(32px, 4.5vw, 50px); font-weight: 900; line-height: 1.1; letter-spacing: -1px; }
.cta p { margin: 14px auto 30px; color: var(--text-2); font-size: 18px; max-width: 560px; }

/* Footer */
footer { padding: 48px 0 40px; border-top: 1px solid #1c335066; margin-top: 96px; }
footer .container { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--text-2); text-decoration: none; font-weight: 700; font-size: 14px; }
footer a:hover { color: var(--text); }
footer small { color: var(--text-3); font-weight: 600; }

/* Legal pages */
.legal { padding: 56px 0 24px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 900; letter-spacing: -1px; line-height: 1.1; }
.legal .meta { margin-top: 8px; color: var(--text-3); font-weight: 700; }
.legal h2 { margin-top: 40px; font-size: 22px; font-weight: 900; }
.legal p, .legal li { margin-top: 12px; color: var(--text-2); font-size: 16.5px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .phone, .orb::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero .container, .feature { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 40px; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero .ctas, .facts { justify-content: center; }
  .hero-visual { min-height: 560px; }
  .feature, .feature.flip { text-align: left; }
  .feature.flip .feature-media { order: 0; }
  .feature-media { min-height: 480px; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .promise { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .nav .btn-play { display: none; }
  .nav .container { gap: 12px; }
  .brand { font-size: 16px; white-space: nowrap; }
  .lang { margin-left: auto; }
  .hero .notif { right: 50%; transform: translateX(50%) rotate(2deg); bottom: 30px; width: 290px; }
  .hero .chip.streak { left: 6px; top: 40px; }
  .phone { width: 250px; }
  .feature-media .phone { width: 240px; }
  .feature-media .notif { width: 280px; transform: translateX(-50%) rotate(-2deg); }
  .orb { width: 380px; height: 380px; }
  .bento { grid-template-columns: 1fr; }
  .bento .card.wide { grid-column: auto; }
  .promise { padding: 28px; }
  .cta { padding: 52px 20px; }
}

/* Bilingual legal pages: show only the active language block. */
html[lang="tr"] [data-only="en"], html[lang="en"] [data-only="tr"] { display: none; }
