:root {
    --ink: #0f2238;
    --ink-2: #1e3a5f;
    --accent: #f0a500;
    --accent-2: #ff7a59;
    --bg: #f5f7fb;
    --card: #ffffff;
    --text: #1f2933;
    --muted: #64748b;
    --line: #e5e9f0;
    --ok: #10b981;
    --radius: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--ink-2); }

.site-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--ink); }
.site-header nav a { color: #fff; text-decoration: none; font-weight: 600; opacity: .85; }
.logo { color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -.02em; }
.logo b { font-weight: 800; }
.logo span { color: var(--accent); font-weight: 600; font-size: .95rem; }
.preview-bar { background: var(--accent); color: var(--ink); text-align: center; padding: 8px 16px; font-weight: 600; font-size: .9rem; }

.hero { text-align: center; color: #fff; padding: 56px 20px 112px; background: radial-gradient(1200px 400px at 50% -10%, #2c5687 0%, var(--ink) 60%); }
.hero-compact { padding-bottom: 56px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.03em; }
.hero .lead { margin: 0 auto; max-width: 640px; font-size: 1.15rem; opacity: .9; }
.trial-chip { display: inline-block; margin-top: 18px; padding: 6px 16px; border-radius: 999px; background: rgba(240, 165, 0, .15); color: var(--accent); border: 1px solid rgba(240, 165, 0, .4); font-weight: 600; font-size: .9rem; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.hero + .wrap { margin-top: -80px; }

.period-picker { display: flex; gap: 4px; width: max-content; max-width: 100%; overflow-x: auto; margin: 0 auto 40px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); }
.period-picker button { border: 0; background: transparent; color: rgba(255, 255, 255, .8); font: inherit; font-weight: 600; padding: 9px 20px; border-radius: 999px; cursor: pointer; white-space: nowrap; min-height: 42px; }
.period-picker button.active { background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }

.tier-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.tier-grid.single { grid-template-columns: minmax(0, 520px); justify-content: center; }
.tier-card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); padding: 32px 26px 26px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(15, 34, 56, .08); transition: transform .3s, box-shadow .3s; }
.tier-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(15, 34, 56, .14); }
.tier-card.popular { border: 2px solid var(--accent); box-shadow: 0 18px 50px color-mix(in srgb, var(--accent) 22%, transparent); }
.tier-card.unavailable { opacity: .55; }
.tier-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 18px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tier-name { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.tier-tagline { margin: 8px 0 0; font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.price-box { margin: 22px 0 6px; min-height: 76px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.price[hidden] { display: none; }
.price .amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.price .cur { font-size: 1.3rem; font-weight: 700; color: var(--muted); }
.price .vat { font-size: .85rem; font-weight: 700; color: var(--muted); margin-left: .2rem; }
.price .suffix { color: var(--muted); font-weight: 600; }
.price .saving { margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #e7f8f1; color: #047857; font-size: .8rem; font-weight: 700; }
.price .gift { flex-basis: 100%; margin-top: 6px; color: #047857; font-size: .9rem; font-weight: 700; }
.opt-gift { flex-basis: 100%; padding-left: 26px; color: #047857; font-size: .8rem; font-weight: 700; }
ul.gifts { list-style: none; margin: 10px 0 0; padding: 0; }
ul.gifts li { color: #047857; font-weight: 700; }
ul.gifts li::before { content: "🎁 "; }
.price-none { display: none; color: var(--muted); font-weight: 600; padding-top: 18px; }
.tier-card.unavailable .price-none { display: block; }
.btn-buy { width: 100%; margin: 14px 0 18px; min-height: 52px; border: 0; border-radius: 14px; font: inherit; font-weight: 700; color: #fff; background: linear-gradient(90deg, var(--ink-2), #2c5687); cursor: pointer; }
.tier-card.popular .btn-buy, .tier-grid.single .btn-buy { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.btn-buy:disabled { cursor: not-allowed; opacity: .75; }
.btn-buy.sale-closed { display: flex; align-items: center; justify-content: center; cursor: default; color: var(--muted); background: var(--line); }
.tier-card.popular .btn-buy.sale-closed, .tier-grid.single .btn-buy.sale-closed { background: var(--line); }
.tier-card.closed .price-box, .addon-card.closed .addon-prices { opacity: .6; }
.includes { margin: 0 0 8px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .9rem; }
.features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.features li { position: relative; padding-left: 28px; }
.features li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e7f8f1; color: var(--ok); font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.features.small { font-size: .92rem; }
.limits { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.limits span { padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.buy-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 22px 0 0; }

.section-title { text-align: center; font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -.02em; margin: 72px 0 6px; color: var(--ink); }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 28px; }
.addon-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.addon-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.addon-card h3 { margin: 0; font-size: 1.15rem; color: var(--ink); }
.addon-card .tier-tagline { margin: 0; font-size: .95rem; font-weight: 500; color: var(--muted); }
.addon-prices { display: flex; flex-direction: column; gap: 6px; }
/* Fiyatlar, "gerektirir" notu ve düğme tek grup: kartın altına yaslanır, kartlar arası hizalı */
.addon-buy { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.addon-option { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; min-height: 48px; }
.opt-saving { text-align: center; line-height: 1.25; font-size: .72rem; font-weight: 700; color: #047857; background: #e7f8f1; padding: 1px 8px; border-radius: 999px; }
.addon-option:has(input:checked) { border-color: var(--ink-2); background: #f0f5fb; }
.addon-option input { accent-color: var(--ink-2); }
.opt-name { flex: 1 0 auto; font-weight: 600; white-space: nowrap; }
.opt-price { white-space: nowrap; }
.opt-price b { font-size: 1.1rem; color: var(--ink); }
.requires { margin: 0; font-size: .82rem; color: var(--muted); }

.table-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 480px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { color: var(--ink-2); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.compare tbody th { text-align: left; font-weight: 600; }
.compare td { color: var(--ok); font-weight: 700; }
.compare td.no { color: #cbd5e1; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

.trust { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 64px; margin-bottom: 64px; }
.trust div { display: flex; flex-direction: column; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.trust span { color: var(--muted); font-size: .9rem; }

.app-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hero-compact + .wrap { margin-top: -32px; }
.app-tile { display: flex; flex-direction: column; gap: 6px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: 0 10px 30px rgba(15, 34, 56, .06); transition: transform .3s; }
.app-tile:hover { transform: translateY(-4px); }
.app-tile strong { font-size: 1.3rem; color: var(--ink); }
.app-tile span { color: var(--muted); }
.app-tile em { margin-top: 8px; font-style: normal; font-weight: 700; color: var(--ink-2); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 24px 20px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }

@media (max-width: 560px) {
    .hero { padding: 40px 16px 100px; }
    .tier-card { padding: 30px 20px 22px; }
    .price .amount { font-size: 2.4rem; }
}

.hero .desc { max-width: 640px; margin: 16px auto 0; opacity: .8; }
.hero .desc p { margin: 0 0 8px; }
.hero .desc ul { width: fit-content; max-width: 100%; margin: 8px auto 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.hero .desc li { position: relative; padding-left: 26px; }
.hero .desc li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.soon-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: 0 10px 30px rgba(15, 34, 56, .08); }
.soon-card h2 { margin: 0 0 8px; color: var(--ink); }
.soon-card p { margin: 0; color: var(--muted); }
.soon-card .preview-hint { margin-top: 14px; padding: 10px; border-radius: 10px; background: #fff7e0; color: #8a5a00; font-size: .9rem; }

/* Marka rengi: --accent sayfaya/karta özel ezilebilir; ikincil ton ondan türetilir. */
.themed { --accent-2: color-mix(in srgb, var(--accent) 65%, #ff3d71); }
.hero { position: relative; overflow: hidden; }
.hero > * { position: relative; }
.hero.has-cover { background: linear-gradient(180deg, rgba(15, 34, 56, .55), rgba(15, 34, 56, .92)), var(--cover) center / cover no-repeat, var(--ink); }
.hero-logo { width: 88px; height: 88px; margin: 0 auto 16px; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; }
.hero-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.trial-chip { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 15%, transparent); }
.hero .desc li::before { color: var(--accent); }

/* Ürünler vitrini */
.hero-showcase { padding: 72px 20px 120px; background: radial-gradient(900px 420px at 20% 0%, #2c5687 0%, transparent 60%), radial-gradient(900px 420px at 85% 10%, #3b2a6b 0%, transparent 55%), var(--ink); }
.hero-showcase h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); max-width: 820px; margin: 10px auto 12px; line-height: 1.08; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.blob { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.blob.b1 { background: var(--accent); top: -160px; left: -80px; }
.blob.b2 { background: #4f8cff; bottom: -200px; right: -60px; }
.showcase { margin-top: -72px; }
.product-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); justify-content: center; }
.product-tile { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--text); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(15, 34, 56, .10); transition: transform .35s, box-shadow .35s; }
.product-tile:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(15, 34, 56, .18); }
.tile-cover { position: relative; height: 160px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.tile-cover.fit { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, #fff), color-mix(in srgb, var(--accent) 22%, #fff)); }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tile-cover.fill .cover-img { object-fit: cover; }
.tile-cover.fit .cover-img { object-fit: contain; padding: 22px 26px 26px; }
.tile-cover.fit.with-logo .cover-img { padding: 16px 26px 44px 110px; }
.tile-body.no-logo { padding-top: 22px; }
.tile-logo { position: absolute; left: 22px; bottom: -32px; width: 72px; height: 72px; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 10px 26px rgba(15, 34, 56, .18); display: flex; align-items: center; justify-content: center; }
.tile-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tile-logo span { font-size: 2rem; font-weight: 800; color: var(--accent); text-transform: uppercase; }
.tile-body { display: flex; flex-direction: column; gap: 8px; padding: 44px 22px 22px; flex: 1; }
.tile-body h2 { margin: 0; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.tile-body p { margin: 0; color: var(--muted); }
.tile-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--muted); }
.chip-accent { background: color-mix(in srgb, var(--accent) 14%, #fff); border-color: color-mix(in srgb, var(--accent) 35%, #fff); color: color-mix(in srgb, var(--accent) 70%, #000); }
.tile-cta { margin-top: auto; padding-top: 12px; font-weight: 800; color: var(--accent); }
.tile-cta span { display: inline-block; transition: transform .3s; }
.product-tile:hover .tile-cta span { transform: translateX(4px); }
/* Kartın tamamı ürün sayfasına gider (ad bağlantısı kartı kaplar); site bağlantısı onun üstünde ayrı tıklanır */
.tile-link { color: inherit; text-decoration: none; }
.tile-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tile-link:focus-visible { outline: none; }
.product-tile:has(.tile-link:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tile-foot .tile-cta { margin-top: 0; padding-top: 0; }
.tile-site { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); font-size: .85rem; font-weight: 700; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.tile-site:hover, .tile-site:focus-visible { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 14px 0 0; }
.hero-actions .download-link { margin-top: 0; }
.site-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.site-link:hover, .site-link:focus-visible { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.hero-banner { max-width: 420px; margin: 0 auto 18px; padding: 14px 20px; border-radius: 18px; background: rgba(255, 255, 255, .92); box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.hero-banner img { display: block; width: 100%; max-height: 120px; object-fit: contain; }

.addon-card .btn-buy-addon { margin: 0; }
/* Sepet (ADR-0013) */
.btn-cart.in-cart { background: #e7f8f1; color: #047857; border: 1px solid #a7e3cc; }
.addon-card.in-cart { border-color: #a7e3cc; box-shadow: 0 0 0 2px #e7f8f1; }
.addon-card a.btn-alone { min-height: 0; padding: 4px 0; background: none; color: var(--ink-2); font-size: .85rem; font-weight: 600; text-decoration: underline; }
.cart-note { margin: -4px 0 0; font-size: .82rem; color: #047857; }
.cart-bar { position: fixed; z-index: 20; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(640px, calc(100% - 32px)); box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 14px 40px rgba(15, 34, 56, .35); }
.cart-bar[hidden] { display: none; }
.cart-bar-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.cart-names { font-size: .85rem; opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-warn { font-size: .8rem; color: var(--accent); }
.cart-go { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; text-decoration: none; }
body.embed .cart-bar { position: static; transform: none; margin: 20px auto 0; width: 100%; }
.addons:has(.cart-bar:not([hidden])) { padding-bottom: 72px; }
body.embed .addons { padding-bottom: 0; }
.tier-grid.pick .tier-card:not(.closed) { outline: 3px solid var(--accent); outline-offset: 2px; transition: outline-color .3s; }

/* Gömülü gösterim (?embed=1): başka sitenin #urunler bölümünde iframe içinde */
body.embed { background: transparent; }
body.embed .hero-showcase { padding-top: 32px; }
.embed-back { display: inline-block; margin: 14px 20px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.env-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 3px 12px; font-size: .78rem; font-weight: 600; text-align: center; color: #fff; background: #c2410c; }

/* Satın alma ve ödeme */
/* Kart başlık alanının üstüne biner; başlık (position: relative) onu örtmesin diye üstte çizilir. */
.checkout-wrap { position: relative; z-index: 1; max-width: 640px; margin: -72px auto 48px; display: flex; flex-direction: column; gap: 16px; }
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.co-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.co-card h2 { margin: 0 0 12px; font-size: 1.1rem; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 10px 12px; border: 1px solid #cbd2d9; border-radius: 10px; background: #fff; }
.inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.inline .grow { flex: 1; min-width: 140px; }
.btn-secondary { min-height: 44px; padding: 0 18px; border: 1px solid var(--ink-2); border-radius: 12px; background: #fff; color: var(--ink-2); font: inherit; font-weight: 700; cursor: pointer; margin-bottom: 12px; }
.btn-secondary.wide { width: 100%; }
a.btn-buy { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.cart-lines { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-lines li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.cart-lines small { color: var(--muted); font-weight: 600; }
.cart-lines b { white-space: nowrap; }
.addons-pick .addon-option { margin-top: 8px; }
.addons-pick h2 { margin-bottom: 0; }
.opt-desc { flex-basis: 100%; font-size: .85rem; color: var(--muted); }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 8px 0; }
.totals dd { margin: 0; text-align: right; }
.totals .total { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.seg { display: flex; gap: 16px; margin-bottom: 12px; }
.checkout-form .only-corporate { display: none; }
.checkout-form[data-corp="true"] .only-corporate { display: block; }
.checkout-form[data-corp="true"] .only-individual { display: none; }
.doc { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; }
.doc summary { cursor: pointer; font-weight: 600; }
.doc pre { white-space: pre-wrap; font: .85rem/1.5 system-ui, sans-serif; max-height: 320px; overflow: auto; }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; }
.check input { margin-top: 4px; width: 18px; height: 18px; }
.form-error { background: #fdecea; color: #b42318; border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.field-error { color: #b42318; font-size: .9rem; margin: 0; }
.hint { color: var(--muted); font-size: .88rem; margin: 0 0 8px; }
.center { text-align: center; }
.ok-card { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; border-radius: 12px; padding: 12px; margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 12px; }
.kv dd { margin: 0; word-break: break-all; }
.wa-link { font-weight: 700; color: #128c7e; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Müşteri portalı */
.portal-nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.portal-nav a, .link-btn { padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; }
.portal-nav a:hover, .link-btn:hover { background: var(--bg); }
.inline-form { margin: 0 0 0 auto; }
.module-row { padding: 8px 0; border-top: 1px solid var(--line); }
.module-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.module-row.soon .module-head span { color: #b45309; font-weight: 700; }
.module-row.expired .module-head span { color: #b42318; font-weight: 700; }
.bar { height: 6px; border-radius: 3px; background: var(--line); margin-top: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ok); }
.module-row.soon .bar span { background: #f59e0b; }
.downloads { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
/* "Satın al" düğmesiyle aynı görünüm (tam genişlik yerine içeriği kadar). */
.download-link { display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; min-height: 52px; min-width: 220px; padding: 0 36px; border-radius: 14px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; text-decoration: none; }

/* Paket kartları: ad, tanıtım, fiyat, düğme ve içerik satırları kartlar arasında aynı hizada (en uzun tanıtıma göre). */
@supports (grid-template-rows: subgrid) {
    .tier-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .tier-card > .tier-tagline { align-self: start; }
    .tier-card > .btn-buy { align-self: start; }
}
.tier-tagline:empty { margin: 0; }

/* Panelde HTML ile yazılmış açıklama: yazarın stilleri geçerli, satış sayfası düzeni bozulmasın. */
.hero .desc .rich { max-width: 100%; overflow-wrap: anywhere; }
.hero .desc .rich img { max-width: 100%; height: auto; }
.hero .desc .rich a { color: inherit; text-decoration: underline; }
.hero .desc .rich ul, .hero .desc .rich ol { display: block; width: auto; margin: 8px 0; padding-left: 1.4em; list-style: revert; text-align: left; }
.hero .desc .rich li { padding-left: 0; }
.hero .desc .rich li::before { content: none; }
.hero .desc .rich table { max-width: 100%; border-collapse: collapse; }

/* Satın alma adımları (ADR-0005) */
.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .2); }
.steps li::before { content: counter(step) ". "; }
.steps li.on { color: var(--ink); background: #fff; border-color: #fff; }
.steps li.done { color: #fff; border-color: rgba(255, 255, 255, .5); }
.checkout-wrap.wide { max-width: 980px; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.pay-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pay-aside { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.pay-aside .btn-buy { margin: 4px 0 0; }
.method-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; margin-bottom: 10px; }
.method-option:has(input:checked) { border-color: var(--ink-2); background: #f0f5fb; }
.method-option input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink-2); }
.method-option strong { display: block; color: var(--ink); }
.method-option span { color: var(--muted); font-size: .9rem; }
.mail-note { display: flex; gap: 10px; align-items: flex-start; background: #f0f5fb; border: 1px solid #d6e2f0; border-radius: 12px; padding: 12px; font-size: .9rem; color: var(--ink-2); }
.back-link { font-size: .9rem; }
@media (max-width: 820px) {
    .pay-grid { grid-template-columns: 1fr; }
    .pay-aside { position: static; }
}

/* Uygulama içinden satın alma: kayıtlı fatura seçiliyken alanlar gizlenir. */
.owner-card p { margin: 0 0 .5rem; }

/* Satış ortaklığı (portal) */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.stat strong { color: var(--ink); font-size: 1.15rem; overflow-wrap: anywhere; }
.stat.due { border-color: var(--ok); }
.co-card .stats { margin-bottom: 8px; }
.sale-row, .code-row { padding: 10px 0; border-top: 1px solid var(--line); }
.sale-row:first-of-type, .code-row:first-of-type { border-top: 0; }
.code-row.muted { opacity: .6; }
.sale-head, .sale-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sale-foot .hint { margin: 0; }
.sale-commission { font-weight: 800; color: var(--ink); white-space: nowrap; }
.status-chip { padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.status-chip.due { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.status-chip.paid { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.status-chip.reversed { background: #fdecea; color: #b42318; border-color: #f5c2bd; }
.copy-row { display: flex; gap: 8px; margin-top: 8px; }
.copy-row input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid #cbd2d9; border-radius: 10px; background: #fff; }
.copy-row .btn-secondary { margin-bottom: 0; min-height: 40px; }
/* Çerçevede satın alma (tek ürün): "Tüm ürünler" bağlantısı gösterilmez */
body.embed-inline .embed-back { display: none; }
