/* SSM Buddy tanıtım sitesi: uygulamanın açık/koyu paletleri ve Nunito yazı tipi (yerel dosyadan, dış istek yok). */
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('/fonts/Nunito_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('/fonts/Nunito_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('/fonts/Nunito_800ExtraBold.ttf') format('truetype'); }

:root {
  --bg: #F7F4EF; --surface: #FFFFFF; --surface2: #F0ECE6; --line: #E6E0D8;
  --text: #1E2A30; --muted: #5E6970; --accent: #0F7A72; --on-accent: #FFFFFF;
  --safe: #0E7A4E; --warn: #8A6300; --risk: #C03535; --none: #5C6B78;
  --accent-soft: #DCF1EE; --safe-soft: #DDF3E6; --warn-soft: #FBEFCF; --risk-soft: #FBE3E1; --none-soft: #ECEEF0;
  --lilac: #E9E4F8; --peach: #FCE6D8; --sky: #DDEBFA; --mark: #FFE38A;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C2226; --surface: #262E33; --surface2: #2F383E; --line: #3A444B;
    --text: #EEF1F2; --muted: #A3ADB4; --accent: #5CCBC0; --on-accent: #0E2A27;
    --safe: #5ADBA0; --warn: #F2C65E; --risk: #F38585; --none: #9AA4AC;
    --accent-soft: #21403D; --safe-soft: #1F3D31; --warn-soft: #41391F; --risk-soft: #432A2C; --none-soft: #30383E;
    --lilac: #363252; --peach: #45332A; --sky: #233A4E; --mark: #6B5A1E;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 'Nunito', system-ui, sans-serif; }
a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
mark { background: var(--mark); color: inherit; border-radius: 4px; padding: 0 4px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 12px; z-index: 10; }

/* Üst şerit */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-size: 21px; font-weight: 800; }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--accent); font-weight: 800; }
.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a.link { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; }
.top nav a.link:hover { background: var(--surface2); }
.langs { display: flex; background: var(--surface2); border-radius: 999px; padding: 3px; }
.langs a { text-decoration: none; color: var(--muted); font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.langs a[aria-current] { background: var(--surface); color: var(--text); }
@media (max-width: 640px) { .top nav a.link { display: none; } }

.preview { background: var(--warn-soft); color: var(--text); font-size: 14px; text-align: center; padding: 8px 16px; }

/* Ana sayfa */
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 54px); font-weight: 800; margin: 0 0 16px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.soon { background: var(--surface2); color: var(--muted); cursor: default; }
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

section.block { padding: 48px 0; }
section.block > .wrap > h2, .center h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.center { text-align: center; }
.center .muted { margin: 12px auto 0; max-width: 36em; }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 32px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: 22px; padding: 22px; }
.step { display: grid; gap: 8px; }
.step::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.step h3, .feat h3 { font-size: 19px; font-weight: 800; }
.step p, .feat p { color: var(--muted); font-size: 16px; }

.colors { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
@media (max-width: 760px) { .colors { grid-template-columns: 1fr 1fr; } }
.colors div { border-radius: 18px; padding: 16px; font-size: 15px; }
.colors b { display: block; font-size: 17px; font-weight: 800; margin-bottom: 2px; }

.warning { background: var(--warn-soft); border-radius: 22px; padding: 22px; display: grid; gap: 8px; margin-top: 32px; }
.warning h3 { font-size: 19px; font-weight: 800; }

.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 18px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 17px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* Hukuki ve destek sayfaları */
.doc { padding-top: 40px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; }
.doc .meta { color: var(--muted); font-size: 14px; margin-top: 8px; }
.doc .summary { background: var(--accent-soft); border-radius: 22px; padding: 20px 22px; margin-top: 24px; display: grid; gap: 6px; }
.doc .summary h2 { font-size: 17px; font-weight: 800; color: var(--accent); }
.doc .summary ul { margin: 0; padding-left: 20px; }
.doc .sec { background: var(--surface); border-radius: 22px; padding: 22px; margin-top: 14px; display: grid; gap: 10px; }
.doc .sec h2 { font-size: 20px; font-weight: 800; }
.doc .sec ul, .doc .sec ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.doc .draft { background: var(--warn-soft); border-radius: 16px; padding: 12px 16px; margin-top: 16px; font-size: 14px; }
.doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
.doc dt { color: var(--muted); font-weight: 700; }
.doc dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .doc dl { grid-template-columns: 1fr; gap: 2px; } .doc dd { margin-bottom: 8px; } }

/* Alt bilgi */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; margin-top: 24px; font-size: 15px; }
footer .cols { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 700px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > div:first-child { grid-column: 1 / -1; } }
footer h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer ul a { color: var(--muted); font-weight: 400; text-decoration: none; }
footer ul a:hover { color: var(--text); text-decoration: underline; }
footer .legal { color: var(--muted); font-size: 13px; margin-top: 28px; display: grid; gap: 4px; }

/* Ana sayfa: yumuşak zeminli paneller */
.panel { background: var(--surface2); border-radius: 32px; padding: 48px 40px; }
@media (max-width: 700px) { .panel { padding: 32px 20px; border-radius: 26px; } }
.hero { margin-top: 20px; display: grid; gap: 32px; grid-template-columns: 1fr 1.1fr; align-items: center; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 20px; border-radius: 16px; background: var(--text); color: var(--bg); text-decoration: none; line-height: 1.2; }
.store small { font-size: 11px; font-weight: 700; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.06em; }
.store b { font-size: 17px; font-weight: 800; }
.store[aria-disabled] { cursor: default; }
.btn.web { gap: 8px; }

/* Cihaz çerçeveleri (gerçek uygulama ekran görüntüleri) */
.device { background: #1E2A30; border-radius: 34px; padding: 7px; box-shadow: 0 30px 60px -30px rgba(30, 42, 48, 0.45); }
.device img { display: block; width: 100%; height: auto; border-radius: 28px; }
.laptop { position: relative; }
.laptop .lid { background: #1E2A30; border-radius: 16px 16px 4px 4px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(30, 42, 48, 0.45); }
.laptop .lid img { display: block; width: 100%; border-radius: 6px; }
.laptop .base { height: 14px; margin: 0 -5%; background: linear-gradient(#C9CDD0, #9EA4A8); border-radius: 0 0 14px 14px; }
.laptop .device { position: absolute; width: 27%; left: -6%; bottom: -8%; border-radius: 22px; padding: 4px; }
.laptop .device img { border-radius: 18px; }
@media (max-width: 900px) { .laptop { margin: 0 6% 8% 10%; } }

.showcase { position: relative; padding: 56px 0 0; overflow: hidden; isolation: isolate; margin-bottom: 32px; }
.showcase::before { content: ''; position: absolute; left: 50%; bottom: -260px; width: 760px; height: 760px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, var(--accent-soft) 0 52%, transparent 53%), repeating-radial-gradient(circle, transparent 0 14px, var(--line) 14px 15px); z-index: -1; }
.trio { display: flex; justify-content: center; align-items: flex-end; gap: 24px; max-height: 520px; }
.trio .device { width: 220px; }
.trio .device.main { width: 270px; }
@media (max-width: 700px) { .trio { gap: 10px; } .trio .device { width: 28%; border-radius: 18px; padding: 4px; } .trio .device img { border-radius: 15px; } .trio .device.main { width: 38%; } }

.featgrid { display: grid; gap: 16px 28px; grid-template-columns: 1fr 1fr; margin-top: 36px; }
@media (max-width: 760px) { .featgrid { grid-template-columns: 1fr; } }
.fitem { display: flex; align-items: center; gap: 16px; }
.fitem .card { flex: 1; padding: 18px 20px; display: grid; gap: 4px; }
.fitem h3 { font-size: 17px; font-weight: 800; }
.fitem p { color: var(--muted); font-size: 15px; }
.fitem .ic { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--surface); color: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 24px -14px rgba(15, 122, 114, 0.6); }
@media (min-width: 761px) { .fitem:nth-child(even) { flex-direction: row-reverse; } }
.panel .actions { justify-content: center; }

.special { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; align-items: start; }
@media (max-width: 860px) { .special { grid-template-columns: 1fr 1fr; } }
.sitem { display: grid; justify-items: center; text-align: center; }
.sitem:nth-child(even) { margin-top: 48px; }
.sitem .orb { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 22px 40px -22px rgba(30, 42, 48, 0.6); position: relative; z-index: 1; }
.sitem .orb svg { width: 48px; height: 48px; }
.sitem .card { margin-top: -28px; padding: 44px 18px 22px; width: 100%; display: grid; gap: 6px; border-top: 6px solid var(--tone); }
.sitem h3 { font-size: 18px; font-weight: 800; }
.sitem p { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .sitem .orb { width: 96px; height: 96px; } .sitem .orb svg { width: 36px; height: 36px; } }
.orb.teal { background: linear-gradient(145deg, #5CCBC0, #0F7A72); --tone: #5CCBC0; }
.orb.lilac { background: linear-gradient(145deg, #B9A8F0, #6E55CF); }
.orb.peach { background: linear-gradient(145deg, #FFC59E, #E5793A); }
.orb.sky { background: linear-gradient(145deg, #9CCBF5, #2F80CC); }
.sitem.teal { --tone: #5CCBC0; } .sitem.lilac { --tone: #B9A8F0; } .sitem.peach { --tone: #FFC59E; } .sitem.sky { --tone: #9CCBF5; }

.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.gallery-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 800 20px 'Nunito', sans-serif; cursor: pointer; }
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 4px 12px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: none; width: 240px; scroll-snap-align: start; display: grid; gap: 12px; justify-items: center; }
.gallery figcaption { font-weight: 800; }
@media (max-width: 560px) { .gallery figure { width: 70%; } }
