/* SecdeM — secdem.app */
:root {
  --green-900: #0A2818; --green-800: #0D3D21; --green-700: #134D2B; --green: #1B6B3A; --green-500: #2E7D52;
  --green-100: #E8F5E9; --gold: #D4A017; --gold-soft: #E8CC7A;
  --bg: #F8F4EE; --surface: #FFFFFF; --fg: #16201A; --muted: #5B6B60; --line: #E6E0D5;
  --radius: 20px; --shadow: 0 1px 2px rgba(10,40,24,.06), 0 8px 28px rgba(10,40,24,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --green: #4CAF50; --green-100: #1A2B1E; --gold: #FFD54F; --bg: #0C150F; --surface: #15231A;
          --fg: #E8EDE8; --muted: #9FB3A5; --line: #22352A; --shadow: 0 8px 28px rgba(0,0,0,.35); color-scheme: dark; }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg);
       font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
       -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Üst bar ───────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(10,40,24,.86);
          -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
          border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700;
         font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-name span { color: var(--gold-soft); }
.topbar nav { margin-inline-start: auto; display: flex; align-items: center; gap: 22px; }
.topbar nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 15px; font-weight: 500; }
.topbar nav a:hover { color: #fff; }
@media (max-width: 640px) { .topbar nav .hide-sm { display: none; } .topbar nav { gap: 16px; } }

/* ── Hero ──────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; color: #fff;
        background: radial-gradient(1200px 600px at 75% 10%, #1F6B40 0%, transparent 60%),
                    linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 55%, #0E3320 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 4l9 27h28l-23 17 9 27-23-17-23 17 9-27L3 31h28z' fill='none' stroke='%23E8CC7A' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
              padding-top: 72px; padding-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em;
           text-transform: uppercase; color: var(--gold-soft); background: rgba(232,204,122,.1);
           border: 1px solid rgba(232,204,122,.25); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.78); max-width: 520px; margin: 0 0 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px;
         background: #fff; color: #111; text-decoration: none; min-width: 180px; }
.store.alt { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .7; line-height: 1.1; }
.store b { display: block; font-size: 16px; line-height: 1.2; }
.hero-note { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.6); }
.hero-phones { position: relative; height: 600px; }
.hero-phones .phone { position: absolute; bottom: -60px; }
.hero-phones .phone.front { left: 50%; transform: translateX(-30%); z-index: 2; width: 280px; }
.hero-phones .phone.back { left: 50%; transform: translateX(-95%) rotate(-6deg); bottom: -100px; width: 250px; opacity: .92; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .stores { justify-content: center; }
  .hero-phones { height: 470px; }
  .hero-phones .phone.front { width: 230px; transform: translateX(-35%); }
  .hero-phones .phone.back { width: 205px; transform: translateX(-90%) rotate(-6deg); }
}

/* ── Telefon çerçevesi ─────────────────────────────────── */
.phone { position: relative; border-radius: 46px; padding: 10px; background: #0b0f0d;
         box-shadow: 0 0 0 2px #2a2f2c, 0 30px 60px -20px rgba(0,0,0,.55), 0 18px 36px -18px rgba(0,0,0,.4); }
.phone img { border-radius: 37px; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; }

/* ── Bölümler ──────────────────────────────────────────── */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 12px 0 0; }
.kicker { color: var(--green); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
          display: block; margin-bottom: 10px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature .media { display: flex; justify-content: center; }
.feature .media .phone { width: 280px; }
.feature.reverse .media { order: -1; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231B6B3A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .feature { grid-template-columns: 1fr; gap: 32px; text-align: start; }
  .feature.reverse .media { order: 0; }
  .feature .media .phone { width: 240px; }
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
        box-shadow: var(--shadow); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; }
.card .icon svg { width: 22px; height: 22px; }
.card h4 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.band { background: var(--green-800); color: #fff; }
.band .grid .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); box-shadow: none; }
.band .card p, .band .section-head p { color: rgba(255,255,255,.72); }
.band .kicker { color: var(--gold-soft); }

.premium { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
           background: linear-gradient(135deg, var(--green-800), var(--green-700)); color: #fff;
           border-radius: 28px; padding: 48px; overflow: hidden; position: relative; }
.premium h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 0 0 12px; }
.premium p { color: rgba(255,255,255,.78); font-size: 17px; }
.premium .badge { display: inline-block; background: var(--gold); color: #1a1300; font-weight: 800; font-size: 13px;
                  padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; margin-bottom: 14px; }
.premium .checks li::before { background-color: rgba(232,204,122,.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23E8CC7A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.premium .media { display: flex; justify-content: center; gap: 16px; }
.premium .media .phone { width: 220px; }
@media (max-width: 860px) { .premium { grid-template-columns: 1fr; padding: 32px 24px; } .premium .media .phone { width: 200px; } }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 650; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

.cta { text-align: center; }
.cta img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 20px; box-shadow: var(--shadow); }

/* ── Alt bilgi ─────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-inline-start: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

/* ── Yasal sayfalar ────────────────────────────────────── */
.doc { padding: 48px 0 80px; }
.doc article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
               padding: 40px 36px; box-shadow: var(--shadow); }
.doc h1 { color: var(--green); font-size: clamp(28px, 4vw, 36px); margin-bottom: 6px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.doc ul, .doc ol { padding-inline-start: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.doc th, .doc td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 650; }
@media (max-width: 640px) { .doc article { padding: 28px 20px; } .doc table { font-size: 14px; } }

/* ── Ayet paylaşım galerisi ────────────────────────────── */
.theme-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.theme-gallery figure { margin: 0; }
.theme-gallery img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px;
                     box-shadow: var(--shadow); background: var(--surface); }
.theme-gallery figcaption { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px;
                            font-weight: 650; font-size: 15px; white-space: nowrap; }
.tag { flex: none; white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; }
.tag-free { background: var(--green-100); color: var(--green); }
.tag-premium { background: var(--gold); color: #1a1300; }
.share-points { max-width: 640px; margin: 40px auto 0; }
@media (max-width: 760px) {
  .theme-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
                   margin: 0 -20px; padding: 4px 20px 16px; -webkit-overflow-scrolling: touch; }
  .theme-gallery figure { flex: 0 0 46%; scroll-snap-align: center; }
}

/* Menüden bölüme atlayınca başlık yapışkan üst barın altında kalmasın */
section[id] { scroll-margin-top: 64px; }

/* Dil seçici (JavaScript'siz açılır menü) */
.lang-menu { position: relative; background: none; border: 0; border-radius: 0; padding: 0; }
.lang-menu summary { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82); gap: 6px; align-items: center;
  padding: 6px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; }
.lang-menu summary::after, .lang-menu[open] summary::after { content: none; }
.lang-menu summary:hover { color: #fff; border-color: rgba(255,255,255,.45); }
.lang-menu summary svg { width: 16px; height: 16px; }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 180px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: grid; z-index: 20; }
.topbar nav .lang-list a { color: var(--fg); padding: 9px 12px; border-radius: 10px; font-size: 15px; }
.topbar nav .lang-list a:hover { background: var(--green-100); color: var(--fg); }
.topbar nav .lang-list a[aria-current] { color: var(--green); font-weight: 700; }

/* Sağdan sola (Arapça) */
[dir="rtl"] .hero-phones { direction: ltr; }
