/* Yodsira Store — dark brand theme */
:root {
  --bg: #0b0f14;
  --bg2: #0d1117;
  --panel: #11161d;
  --panel2: #161d26;
  --border: #232b36;
  --text: #e6e9ee;
  --muted: #8b96a5;
  --accent: #10b981;
  --accent-bright: #34d399;
  --accent-soft: rgba(16, 185, 129, .12);
  --accent-ink: #052e21;
  --green: #3fb950;
  --yellow: #d29922;
  --blue: #4f8ff7;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 34px; } h2 { font-size: 24px; } h3 { font-size: 18px; }
code { background: var(--panel2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: .92em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: none; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.section { padding: 44px 20px; }
.section-title { font-size: 26px; margin-bottom: 22px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 15, 20, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-in { display: flex; align-items: center; gap: 26px; height: 60px; }
.logo { font-weight: 700; font-size: 20px; color: var(--text); display: flex; align-items: center; gap: 1px; }
.logo:hover { text-decoration: none; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: var(--accent); color: var(--accent-ink); border-radius: 7px; margin-right: 5px; font-size: 17px; }
.main-nav { display: flex; gap: 20px; margin-left: 8px; }
.main-nav a { color: var(--muted); }
.main-nav a:hover { color: var(--text); text-decoration: none; }
.lang-switch { margin-left: auto; display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-switch a { color: var(--muted); font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.lang-switch a.on { background: var(--accent); color: var(--accent-ink); text-decoration: none; }
.announce { background: var(--accent); color: var(--accent-ink); text-align: center; padding: 8px 20px; font-weight: 600; }

/* hero */
.hero { padding: 72px 0 56px; text-align: center; background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(16, 185, 129, .14), transparent), var(--bg); border-bottom: 1px solid var(--border); }
.hero-badge { display: inline-block; font-size: 13px; color: var(--accent-bright); background: var(--accent-soft); border: 1px solid rgba(16,185,129,.35); border-radius: 999px; padding: 4px 14px; margin-bottom: 20px; }
.hero h1 { font-size: 46px; max-width: 760px; margin: 0 auto 14px; }
.hero-sub { color: var(--muted); max-width: 640px; margin: 0 auto 28px; font-size: 18px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 26px; }
.hero-stats span { color: var(--muted); font-size: 13px; }

/* buttons */
.btn { display: inline-block; border: 1px solid var(--border); background: var(--panel2); color: var(--text); border-radius: 10px; padding: 10px 20px; font-weight: 600; font-size: 15px; cursor: pointer; transition: .15s; }
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.btn-ghost { background: transparent; }
.btn-danger { background: transparent; border-color: rgba(255, 77, 79, .5); color: #ff8082; }
.btn.wide { display: block; width: 100%; text-align: center; }
.btn.big { padding: 14px 26px; font-size: 17px; }
.btn-sm { padding: 5px 12px; font-size: 13px; border-radius: 8px; }

/* cards & grids */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } .hero h1 { font-size: 32px; } }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: relative; }
.product-card { display: flex; flex-direction: column; color: var(--text); transition: .18s; overflow: hidden; }
.product-card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 10px 34px rgba(0,0,0,.4); }
.card-icon { font-size: 34px; width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent, #10b981) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent, #10b981) 32%, transparent); border-radius: 14px; margin-bottom: 14px; color: var(--accent-bright); }
.card-icon svg { display: block; }
.card-icon.big { width: 84px; height: 84px; }
.product-card h3 { margin-bottom: 6px; }
.product-card p { margin: 0; flex: 1; font-size: 14.5px; }
.card-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.price { color: var(--text); font-weight: 700; }
.price.big { font-size: 26px; }
.bundle-tag { position: absolute; top: 14px; right: -32px; transform: rotate(38deg); background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; padding: 3px 40px; letter-spacing: .4px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-chip { border: 1px solid var(--border); background: var(--panel); color: var(--muted); border-radius: 999px; padding: 6px 16px; font-size: 13.5px; cursor: pointer; }
.filter-chip.on, .filter-chip:hover { color: var(--text); border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }

/* bundle */
.bundle-box { display: flex; gap: 28px; align-items: center; background: linear-gradient(120deg, rgba(16,185,129,.14), rgba(79,143,247,.10)), var(--panel); border: 1px solid rgba(16,185,129,.4); border-radius: 18px; padding: 30px; }
.bundle-box h2 { font-size: 28px; }
.bundle-price s { color: var(--muted); margin-right: 10px; }
.bundle-price .price { font-size: 30px; color: var(--accent); }
@media (max-width: 700px) { .bundle-box { flex-direction: column; text-align: center; } }

/* why */
.alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.why-ico { font-size: 30px; margin-bottom: 10px; }
.why-item p { margin: 0; font-size: 14.5px; }

/* reviews & faq */
.stars { color: #f0b429; letter-spacing: 2px; }
.review-card p { font-size: 14.5px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 10px 0 0; font-size: 14.5px; }

/* product page */
.product-hero { display: flex; gap: 34px; margin-bottom: 34px; }
.product-hero-l { flex: 0 0 260px; display: flex; flex-direction: column; gap: 14px; }
.product-cover { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
.product-hero-r { flex: 1; }
.product-tagline { color: var(--muted); font-size: 17px; margin-top: -4px; }
.stars-line { margin-bottom: 12px; }
.product-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { font-size: 12.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 12px; }
.buybox { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; max-width: 460px; }
.buybox-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.buybox-main { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; }
@media (max-width: 860px) { .product-hero { flex-direction: column; } .product-hero-l { flex: none; max-width: 300px; } }
.product-body { display: flex; gap: 34px; }
.product-main { flex: 1; min-width: 0; }
.product-main h2 { margin-top: 30px; font-size: 20px; }
.product-side { flex: 0 0 300px; }
.side-card { margin-bottom: 16px; }
@media (max-width: 860px) { .product-body { flex-direction: column; } .product-side { flex: none; } }
.feature-list { padding-left: 20px; margin: 0; }
.feature-list li { margin-bottom: 8px; }
.tick-list { padding-left: 20px; margin: 0 0 16px; }
.tick-list li { margin-bottom: 8px; }
.install-steps { padding-left: 22px; margin: 0 0 10px; }
.install-steps li { margin-bottom: 7px; font-size: 15px; }
.product-main h3 { margin-top: 18px; }
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.cmp-table th, .cmp-table td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; font-size: 14px; }
.cmp-table th { background: var(--panel); }
.cmp-table .hl { color: var(--green); font-weight: 600; }
.notice-ok { background: rgba(63, 185, 80, .12); border: 1px solid rgba(63,185,80,.4); color: var(--green); border-radius: 10px; padding: 10px 14px; }
.notice-err { background: rgba(255, 77, 79, .1); border: 1px solid rgba(255,77,79,.4); color: #ff8082; border-radius: 10px; padding: 10px 14px; }
.notice-warn { background: rgba(210, 153, 34, .1); border: 1px solid rgba(210,153,34,.4); color: #e3b341; border-radius: 10px; padding: 10px 14px; }
.review-form { margin-top: 14px; }
.review-form-toggle { margin-top: 18px; }

/* forms */
.fld { display: block; margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.fld input, .fld select, .fld textarea, .review-form input, .review-form select, .review-form textarea {
  display: block; width: 100%; margin-top: 6px; background: var(--bg2); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 13px; font: inherit; font-weight: 400;
}
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--accent); }
.form-row { display: flex; gap: 14px; }
.form-row .fld { flex: 1; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.checkout-card { max-width: 560px; padding: 26px; }
.checkout-summary { display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 18px; }
.checkout-summary .price { margin-left: auto; }
.order-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.status-chip { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.st-paid { background: rgba(63,185,80,.14); color: var(--green); }
.st-new { background: rgba(210,153,34,.14); color: #e3b341; }
.st-canceled { background: rgba(139,150,165,.14); color: var(--muted); }
.license-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.license-key code { font-size: 19px; padding: 8px 14px; display: inline-block; color: var(--green); }
.pay-fallback { margin-top: 16px; border-top: 1px dashed var(--border); padding-top: 12px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg2); margin-top: 40px; padding: 40px 0 26px; }
.footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 12px; }
.site-footer a { display: block; color: var(--text); margin-bottom: 8px; font-size: 14px; }
.site-footer p { font-size: 14px; }
.copyright { margin-top: 30px; font-size: 12.5px; border-top: 1px solid var(--border); padding-top: 18px; }
.footer-signin a { color: var(--muted); }
.footer-signin a:hover { color: var(--text); }

/* families */
.family-card { display: flex; flex-direction: column; }
.family-card h3 { margin-top: -6px; }
.family-card p { flex: 1; font-size: 14.5px; margin-bottom: 14px; }
.family-chip { margin-bottom: 10px; }
.family-chip.on { background: var(--accent-soft); color: var(--accent-bright); border-color: rgba(16,185,129,.4); }
.family-live { border-color: rgba(16,185,129,.4); }
.family-sub { margin-top: auto; }
.family-sub summary { list-style: none; display: inline-block; }
.family-sub summary::-webkit-details-marker { display: none; }
.family-sub[open] summary { background: var(--panel); }
.sub-form { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.sub-form input[type=email] { flex: 1; min-width: 160px; background: var(--bg2); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 14px; }
.sub-form input:focus { outline: none; border-color: var(--accent); }
.contact-list li { display: flex; align-items: center; gap: 8px; }
.contact-list svg { color: var(--accent-bright); flex: 0 0 auto; }
.req-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; }
.req-table th { text-align: left; color: var(--muted); font-weight: 500; padding: 8px 14px 8px 0; vertical-align: top; white-space: nowrap; }
.req-table td { padding: 8px 0; }
.buynow svg { vertical-align: -3px; margin-right: 4px; }

/* free version chip on cards */
.free-chip { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent-bright);
  border: 1px solid rgba(16,185,129,.4); border-radius: 999px; padding: 2px 12px; background: var(--accent-soft); }
a.free-chip:hover { text-decoration: none; background: rgba(16,185,129,.22); }
