/* Eroviya Touch — tanıtım sitesi. Renkler uygulamanın temasından (android ui/theme/Color.kt). */
@font-face { font-family: "Bricolage"; src: url("/fonts/BricolageGrotesque-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/fonts/BricolageGrotesque-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("/fonts/InstrumentSans.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #200a25; --bg-deep: #0d0416; --surface: #361641; --surface-alt: #2a1033;
  --border: #553052; --border-strong: #835aab;
  --text: #dccdf0; --text-dim: #bda2df; --muted: #9b84b3; --strong: #ffffff;
  --accent: #b972ff; --accent-pressed: #9830ff; --on-accent: #ffffff;
  --mint: #a6f5e0; --pink: #e5006f; --pink-light: #ff5c9e; --danger: #ff7a95; --success: #7ee0b0;
  --radius: 20px; --radius-sm: 12px; --max: 1120px; --gutter: 20px;
  --head: "Bricolage", "Instrument", system-ui, sans-serif;
  --body: "Instrument", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--strong); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { color: var(--mint); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--text-dim); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* Üst çubuk */
.top { position: sticky; top: 0; z-index: 20; background: rgba(32,10,37,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--strong); font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 34px; height: 32px; }
.brand:hover { text-decoration: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--text-dim); padding: 8px 12px; border-radius: 999px; font-weight: 500; }
.nav a:hover { color: var(--strong); background: var(--surface-alt); text-decoration: none; }
.nav a.lang { border: 1px solid var(--border); font-size: .85rem; margin-left: 6px; }
.nav a.cta { background: var(--accent); color: var(--on-accent); }
.nav a.cta:hover { background: var(--accent-pressed); }
@media (max-width: 720px) { .nav a:not(.lang):not(.cta) { display: none; } }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-family: var(--head); background: var(--accent); color: var(--on-accent); border: 0; cursor: pointer; font-size: 1.05rem; }
.btn:hover { background: var(--accent-pressed); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--strong); border: 1px solid var(--border-strong); }
.btn.ghost:hover { background: var(--surface-alt); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 22px; height: 22px; }

/* Bölümler */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 36px; }

/* Hero */
.hero { padding: 64px 0 48px; background: radial-gradient(1200px 600px at 80% -10%, rgba(185,114,255,.22), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(229,0,111,.14), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero .fine { color: var(--muted); font-size: .9rem; }
.phone { width: min(320px, 100%); margin: 0 auto; border-radius: 34px; border: 1px solid var(--border-strong); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 8px rgba(54,22,65,.6); overflow: hidden; background: var(--bg-deep); }
.phone img { width: 100%; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .phone { width: min(260px, 100%); } }

/* Özellik kartları */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); list-style: none; padding: 0; margin: 0; }
.card { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 10px; }
.card p { margin: 0; color: var(--text-dim); }
.card .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; color: var(--mint); }
.card .ico svg { width: 24px; height: 24px; }
.card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.card.wide h3 { margin-top: 0; }
@media (max-width: 600px) { .card.wide { grid-template-columns: 1fr; } }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { position: relative; padding-left: 52px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; font-family: var(--head); }

/* Galeri */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 0 20px; -webkit-overflow-scrolling: touch; scrollbar-color: var(--border-strong) transparent; }
.gallery figure { flex: 0 0 230px; margin: 0; scroll-snap-align: start; }
.gallery button { all: unset; cursor: zoom-in; display: block; border-radius: 26px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-deep); width: 100%; }
.gallery button:focus-visible { outline: 3px solid var(--mint); }
.gallery img { width: 100%; aspect-ratio: 720 / 1650; object-fit: cover; }
.gallery figcaption { margin-top: 10px; color: var(--text-dim); font-size: .95rem; }
.gallery figcaption strong { color: var(--strong); display: block; font-family: var(--head); }
.gallery .soon { display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); aspect-ratio: 720 / 1650; border: 1px dashed var(--border-strong); border-radius: 26px; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 420px); overflow: visible; }
dialog.lightbox::backdrop { background: rgba(13,4,22,.88); }
dialog.lightbox img { border-radius: 26px; border: 1px solid var(--border-strong); }
dialog.lightbox button { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); font-size: 1.2rem; cursor: pointer; }

/* İndirme kartları */
.dl { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.dl .card { display: flex; flex-direction: column; gap: 12px; }
.dl .card .btn { align-self: flex-start; margin-top: 6px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
code, .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; background: var(--bg-deep); padding: 2px 6px; border-radius: 6px; color: var(--mint); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--mint); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.badge.pink { color: var(--pink-light); }

/* Tablolar */
table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--strong); font-family: var(--head); font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* Düz metin sayfaları (yasal, destek) */
.prose { max-width: 780px; padding: 56px 0 72px; }
.prose h1 { margin-bottom: .25em; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; color: var(--mint); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose .meta { color: var(--muted); font-size: .9rem; margin-bottom: 2em; }
.draft { border: 1px dashed var(--pink-light); background: rgba(229,0,111,.08); color: var(--pink-light); padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem; margin: 0 0 28px; }
.callout { border-left: 4px solid var(--mint); background: var(--surface-alt); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.2em 0; }
.callout p:last-child { margin: 0; }
details { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 10px; background: var(--surface-alt); }
summary { cursor: pointer; color: var(--strong); font-weight: 600; font-family: var(--head); }
details p { margin: .8em 0 0; }

/* Alt bilgi */
footer { border-top: 1px solid var(--border); background: var(--bg-deep); padding: 48px 0 36px; color: var(--text-dim); font-size: .92rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .8em; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 6px; }
footer a { color: var(--text-dim); }
footer a:hover { color: var(--strong); }
.legal-block { border-top: 1px solid var(--border); padding-top: 22px; display: grid; gap: 4px; color: var(--muted); font-size: .85rem; }
.legal-block strong { color: var(--text-dim); }
.age { display: inline-flex; align-items: center; gap: 8px; color: var(--pink-light); font-weight: 600; margin-top: 8px; }
.age span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--pink-light); font-size: .75rem; font-weight: 800; }

/* Galeri ve lightbox: HTML/CSS ekranlar (assets/screens.css) */
.gallery button .phone-wrap { border-radius: 26px; }
dialog.lightbox .phone-wrap { width: min(92vw, 360px); border-radius: 26px; border: 1px solid var(--border-strong); }
.phone .phone-wrap { border-radius: 0; }
