/* موقع جولدفاي — ثيم ذهبي فاخر */
:root {
    --ink: #0E0D0B;
    --charcoal: #1A1814;
    --charcoal-2: #24211B;
    --gold: #D4AF37;
    --gold-2: #C9A227;
    --gold-deep: #9C7A12;
    --gold-light: #F3E3B0;
    --cream: #FBF7EE;
    --paper: #FFFFFF;
    --line: #EAE3D2;
    --text: #23211C;
    --muted: #6F695C;
    --good: #2E7D32;
    --bad: #C62828;
    --warn: #E65100;
    --radius: 18px;
    --shadow: 0 20px 60px -20px rgba(20, 16, 4, .35);
    --gold-grad: linear-gradient(135deg, #F7E7A9 0%, #D4AF37 45%, #A8811A 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ===== الأزرار ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
    border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
    font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: #1A1406; box-shadow: 0 10px 30px -8px rgba(212, 175, 55, .6); }
.btn-gold:hover { box-shadow: 0 16px 40px -10px rgba(212, 175, 55, .8); }
.btn-dark { background: var(--charcoal); color: var(--gold-light); }
.btn-ghost { border-color: rgba(212, 175, 55, .55); color: var(--gold); background: transparent; padding: 9px 20px; font-size: 15px; }
.btn-ghost:hover { background: rgba(212, 175, 55, .12); }
.btn-line { border-color: var(--line); background: #fff; color: var(--text); }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; }

/* ===== الشريط العلوي ===== */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled, .nav.solid { background: rgba(14, 13, 11, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(212, 175, 55, .15); }
.nav.solid { position: sticky; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--gold); }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gold-grad); color: #1A1406; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: #E9E2CF; font-weight: 600; font-size: 15px; }
.nav-links > a:not(.btn):hover { color: var(--gold); }
.muted-link { color: #9E978A !important; }
.menu-toggle { display: none; background: none; border: 0; color: var(--gold); font-size: 26px; cursor: pointer; }
@media (max-width: 920px) {
    .menu-toggle { display: block; }
    .nav-links { position: absolute; top: 72px; inset-inline: 0; flex-direction: column; background: rgba(14, 13, 11, .97); padding: 18px; gap: 14px; display: none; }
    .nav.open .nav-links { display: flex; }
}

/* ===== البطل ===== */
.hero {
    position: relative; overflow: hidden; color: #F5EEDB;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(212, 175, 55, .28), transparent 60%),
        radial-gradient(700px 500px at 0% 110%, rgba(212, 175, 55, .16), transparent 60%),
        linear-gradient(180deg, #0E0D0B 0%, #1A1814 100%);
    padding: 140px 0 110px;
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .07;
    background-image: linear-gradient(rgba(212, 175, 55, 1) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 175, 55, 1) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, .4); background: rgba(212, 175, 55, .08); color: var(--gold-light); font-size: 14px; font-weight: 600;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.2; margin: 22px 0 18px; font-weight: 800; letter-spacing: -.5px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: #CFC6B1; max-width: 560px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: #B8AF99; font-size: 14.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); }

.hero-visual { position: relative; perspective: 1600px; }
.device {
    position: relative; border-radius: 16px; padding: 10px 10px 12px; background: linear-gradient(145deg, #2D2A23, #15130F);
    border: 1px solid rgba(212, 175, 55, .35); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04) inset;
    transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.hero-visual:hover .device { transform: rotateY(-6deg) rotateX(3deg); }
.device-bar { display: flex; gap: 6px; padding: 2px 6px 9px; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #4A453A; }
.device-bar i:first-child { background: #D4AF37; }
.device img { border-radius: 8px; width: 100%; }
.float-card {
    position: absolute; padding: 12px 16px; border-radius: 14px; color: #F5EEDB; font-size: 13.5px;
    background: rgba(26, 24, 20, .78); border: 1px solid rgba(212, 175, 55, .35); backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .8); animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 19px; color: var(--gold); }
.float-card.c1 { top: -18px; inset-inline-start: -26px; }
.float-card.c2 { bottom: 40px; inset-inline-end: -30px; animation-delay: -2s; }
.float-card.c3 { bottom: -22px; inset-inline-start: 18%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
    .hero { padding: 120px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; }
    .device { transform: none; }
    .float-card.c1 { inset-inline-start: 6px; }
    .float-card.c2 { inset-inline-end: 6px; }
}

/* ===== شريط الأرقام ===== */
.stats-band { background: var(--charcoal); border-top: 1px solid rgba(212, 175, 55, .2); border-bottom: 1px solid rgba(212, 175, 55, .2); }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 30px 16px; text-align: center; color: #CFC6B1; border-inline-start: 1px solid rgba(212, 175, 55, .12); }
.stat-item:first-child { border: 0; }
.stat-item b { display: block; font-size: 34px; font-weight: 800; line-height: 1.2; }
@media (max-width: 760px) { .stats-band .wrap { grid-template-columns: repeat(2, 1fr); } .stat-item:nth-child(3) { border: 0; } }

/* ===== الأقسام ===== */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { color: var(--gold-deep); font-weight: 700; letter-spacing: .5px; font-size: 15px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; margin: 8px 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.dark-section { background: linear-gradient(180deg, #14120F, #1E1B16); color: #EDE5CF; }
.dark-section .section-head p { color: #B8AF99; }
.dark-section .kicker { color: var(--gold); }

/* المميزات */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(212, 175, 55, .6); }
.feature .ic {
    width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
    background: linear-gradient(145deg, #FFF8E1, #F3E3B0); color: var(--gold-deep); border: 1px solid #EEDB9F;
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* العرض بالتبويبات */
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.tab {
    padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .3); background: transparent;
    color: #D9D0B9; font: inherit; font-weight: 700; cursor: pointer; transition: all .2s;
}
.tab:hover { border-color: var(--gold); color: var(--gold); }
.tab.active { background: var(--gold-grad); color: #1A1406; border-color: transparent; }
.showcase { display: grid; grid-template-columns: 1.55fr 1fr; gap: 44px; align-items: center; }
.showcase-img {
    border-radius: 16px; padding: 10px; background: linear-gradient(145deg, #2D2A23, #15130F);
    border: 1px solid rgba(212, 175, 55, .3); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); cursor: zoom-in;
}
.showcase-img img { border-radius: 8px; transition: opacity .35s; }
.showcase-text h3 { font-size: 28px; margin: 0 0 12px; color: var(--gold-light); }
.showcase-text p { color: #B8AF99; font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-inline-start: 32px; margin-bottom: 11px; }
.checks li::before {
    content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(212, 175, 55, .18); color: var(--gold);
}
.pane { display: none; }
.pane.active { display: grid; animation: fadeUp .5s ease; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }

/* معرض الصور */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure {
    margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line);
    cursor: zoom-in; transition: transform .3s, box-shadow .3s;
}
.gallery figure:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow); }
.gallery figure.wide { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top right; }
.gallery figure.wide img { aspect-ratio: auto; height: calc(100% - 44px); }
.gallery figcaption { padding: 10px 14px; font-weight: 700; font-size: 14.5px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery figure.wide { grid-row: auto; } .gallery figure.wide img { height: auto; aspect-ratio: 16/10; } }

.lightbox {
    position: fixed; inset: 0; z-index: 100; background: rgba(8, 7, 5, .93); display: none;
    align-items: center; justify-content: center; padding: 30px; backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; animation: fade .25s; }
.lightbox img { max-height: 84vh; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); border: 1px solid rgba(212, 175, 55, .3); }
.lightbox .cap { position: absolute; bottom: 22px; inset-inline: 0; text-align: center; color: var(--gold-light); font-weight: 700; }
.lb-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, .4); background: rgba(26, 24, 20, .8); color: var(--gold); font-size: 26px; cursor: pointer;
}
.lb-prev { inset-inline-start: 22px; }
.lb-next { inset-inline-end: 22px; }
.lb-close { position: absolute; top: 18px; inset-inline-end: 22px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }

/* خطوات التجربة */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 28px; }
.step::before {
    counter-increment: step; content: counter(step); position: absolute; top: -22px; inset-inline-start: 26px;
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 20px;
    background: var(--gold-grad); color: #1A1406; box-shadow: 0 10px 24px -8px rgba(212, 175, 55, .7);
}
.step h3 { margin: 6px 0 6px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 36px; } }

/* الأسعار */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: 22px; padding: 34px 30px; transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
    background: linear-gradient(170deg, #24211B, #12110E); color: #F1E9D3; border: 1px solid transparent;
    background-clip: padding-box; box-shadow: 0 30px 80px -25px rgba(156, 122, 18, .65); transform: scale(1.03);
}
.price-card.featured::before {
    content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1.5px; background: var(--gold-grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.badge-top {
    position: absolute; top: -15px; inset-inline-start: 50%; transform: translateX(50%); padding: 5px 18px; border-radius: 999px;
    background: var(--gold-grad); color: #1A1406; font-weight: 800; font-size: 13.5px; white-space: nowrap;
}
.price-card h3 { margin: 0; font-size: 22px; }
.price-card .tagline { color: var(--muted); font-size: 14.5px; margin: 4px 0 18px; }
.price-card.featured .tagline { color: #B8AF99; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 46px; font-weight: 800; line-height: 1; }
.price-card.featured .price b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .cur { font-weight: 700; color: var(--muted); }
.price .period { color: var(--muted); font-size: 15px; }
.old-price { color: var(--muted); text-decoration: line-through; font-size: 15px; margin-top: 4px; }
.save { display: inline-block; margin-inline-start: 6px; padding: 1px 10px; border-radius: 999px; background: #E8F5E9; color: var(--good); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.price-card .checks { flex: 1; margin: 22px 0 26px; }
.price-card:not(.featured) .checks li::before { background: #FBF1D3; color: var(--gold-deep); }
.usd-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* طرق الدفع */
.seo-text { max-width: 900px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 16.5px; line-height: 1.9; }
.seo-text p { margin: 0 0 14px; }
.kw-chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.kw-chips li {
    padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--gold-deep);
    background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .35);
}
.pay-methods { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.pay-chip {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 14px; background: #fff;
    border: 1px solid var(--line); font-weight: 700;
}
.pay-chip i { width: 12px; height: 12px; border-radius: 50%; }

/* الأسئلة */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* الدعوة الأخيرة */
.cta-final {
    position: relative; overflow: hidden; border-radius: 28px; padding: 70px 40px; text-align: center; color: #F5EEDB;
    background: radial-gradient(600px 300px at 50% 0%, rgba(212, 175, 55, .35), transparent 70%), linear-gradient(160deg, #24211B, #0E0D0B);
    border: 1px solid rgba(212, 175, 55, .35);
}
.cta-final h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.cta-final p { color: #CFC6B1; font-size: 18px; margin: 0 auto 30px; max-width: 600px; }

/* التذييل */
.footer { background: var(--ink); color: #9E978A; padding: 50px 0 30px; }
.footer.small { padding: 24px 0; text-align: center; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer h4 { color: var(--gold-light); margin: 0 0 12px; }
.footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #2A2620; margin-top: 34px; padding-top: 20px; text-align: center; font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.whatsapp-fab {
    position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .6);
    transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* الحركة عند الظهور */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ===== صفحات الحساب والدفع ===== */
body.inner { background: var(--cream); }
.page { padding: 40px 0 70px; min-height: 70vh; }
.page h1 { font-size: 30px; margin: 0 0 6px; }
.page .sub { color: var(--muted); margin: 0 0 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.card h2 { font-size: 20px; margin: 0 0 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-side { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .grid-2, .grid-side { grid-template-columns: 1fr; } }
.form label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 14.5px; color: #4A463D; }
.form input, .form select, .form textarea {
    display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
    font: inherit; font-weight: 500; background: #FEFDFA; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(212, 175, 55, .55); border-color: var(--gold); }
.hint { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 700; }
.alert.ok { background: #E8F5E9; color: var(--good); }
.alert.err { background: #FDECEA; color: var(--bad); }
.alert.info { background: #FFF8E1; color: #7A5D00; }
.auth-box { max-width: 480px; margin: 20px auto; }
.auth-tabs { display: flex; gap: 6px; background: #F2ECDD; padding: 5px; border-radius: 14px; margin-bottom: 22px; }
.auth-tabs a { flex: 1; text-align: center; padding: 10px; border-radius: 10px; font-weight: 700; color: var(--muted); }
.auth-tabs a.active { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }

.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.method { position: relative; }
.method input { position: absolute; opacity: 0; }
.method span {
    display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border-radius: 14px;
    border: 2px solid var(--line); background: #fff; cursor: pointer; font-weight: 800; text-align: center; transition: all .2s;
}
.method span small { font-weight: 600; color: var(--muted); font-size: 12.5px; }
.method input:checked + span { border-color: var(--gold); background: #FFFAEB; box-shadow: 0 8px 24px -12px rgba(212, 175, 55, .8); }
.method-pane { display: none; }
.method-pane.active { display: block; animation: fadeUp .35s; }
.pay-box { background: #FFFAEB; border: 1px dashed #E0C56A; border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.pay-number { font-size: 26px; font-weight: 800; direction: ltr; text-align: center; letter-spacing: 1px; color: var(--charcoal); }
.copy { cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 3px 12px; font: inherit; font-size: 13px; }
@media (max-width: 560px) { .methods { grid-template-columns: 1fr; } }

.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #F1EBDD; }
.summary-row:last-child { border: 0; }
.summary-total { font-size: 22px; font-weight: 800; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tag.good { background: #E8F5E9; color: var(--good); }
.tag.bad { background: #FDECEA; color: var(--bad); }
.tag.warn { background: #FFF3E0; color: var(--warn); }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: right; font-size: 13.5px; color: var(--muted); font-weight: 700; padding: 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 10px; border-bottom: 1px solid #F3EEE2; vertical-align: middle; }
.license-key {
    font-family: Consolas, "Courier New", monospace; direction: ltr; font-size: 21px; font-weight: 700; letter-spacing: 1px;
    background: var(--charcoal); color: var(--gold); padding: 14px 18px; border-radius: 12px; text-align: center; word-break: break-all;
}
.lic-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 14px; background: #FFFEFB; }
.lic-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.empty { text-align: center; color: var(--muted); padding: 30px; }

/* ===== اللغة: زر التبديل + النسخة الإنجليزية (من الشمال لليمين) ===== */
.lang-switch {
    border: 1px solid rgba(212, 175, 55, .45); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700;
    color: var(--gold) !important; white-space: nowrap;
}
.lang-switch:hover { background: rgba(212, 175, 55, .12); }
.usd-approx { color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 4px; }

[dir="ltr"] .gallery img { object-position: top left; }
[dir="ltr"] .badge-top { transform: translateX(-50%); }
[dir="ltr"] .table th { text-align: left; }
[dir="ltr"] .device { transform: rotateY(14deg) rotateX(6deg) rotateZ(-1deg); }
[dir="ltr"] .hero-visual:hover .device { transform: rotateY(6deg) rotateX(3deg); }

/* ===== حساب العميل: النسخة الأونلاين ===== */
.online-card { border: 1px solid rgba(212, 175, 55, .55); background: linear-gradient(180deg, #FFFDF6, #fff); }
.online-card h2 { margin: 6px 0 4px; }
.pill-new { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--gold-grad, #D4AF37); color: #1A1406; font-size: 12px; font-weight: 800; }
.online-tenant { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid #EFE7D2; margin-top: 12px; padding-top: 12px; }
.online-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-top: 14px; }
.online-form .btn-block { grid-column: 1 / -1; }
@media (max-width: 700px) { .online-form { grid-template-columns: 1fr; } }

/* ===== باقات النسخة الأونلاين ===== */
.trial-link { display: block; text-align: center; margin-top: 10px; font-weight: 700; color: var(--gold-deep); }
.price-card.featured .trial-link { color: var(--gold); }
.pricing.pane:not(.active) { display: none; }

/* ===== النسخة الأونلاين والمتجر ===== */
.online-section { background: linear-gradient(180deg, #FFFDF7, var(--cream)); }
.online-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 46px; align-items: center; margin-bottom: 70px; }
.online-block:last-child { margin-bottom: 0; }
.online-block.flip .online-text { order: 2; }
.online-text h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 10px; }
.online-text p { color: var(--muted); font-size: 17px; margin: 0; }
.online-text .hero-cta { margin-top: 24px; }
.online-text .btn-ghost { color: var(--gold-deep); }
.online-text .btn svg { width: 20px; height: 20px; }
.pill-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--charcoal); color: var(--gold); }
.pill-ic svg { width: 28px; height: 28px; }
.online-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; background: #14120F; }
.online-img img { display: block; width: 100%; height: auto; }
.hero-cta .btn-ghost svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
    .online-block { grid-template-columns: 1fr; gap: 26px; margin-bottom: 50px; }
    .online-block.flip .online-text { order: 0; }
}
.tenant-actions { display: flex; gap: 8px; flex-wrap: wrap; }
a.eyebrow { text-decoration: none; }
.optional { display: inline-block; margin-inline-start: 6px; padding: 1px 9px; border-radius: 999px; background: #EEF6EE; color: var(--good); font-size: 12px; font-weight: 700; vertical-align: middle; }
.proof-tip { margin: -4px 0 14px; padding: 10px 14px; border-radius: 12px; background: #FFF8E6; border: 1px solid #F3E2B3; color: #6E5208; font-size: 14px; font-weight: 600; }

/* تبويبات الباقات: كمبيوتر / أونلاين — واضحة على الخلفية الفاتحة */
.plan-switch-hint { text-align: center; color: var(--muted); font-weight: 600; margin: -24px 0 14px; }
.plan-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 14px; scroll-margin-top: 100px; }
.plan-tabs .tab { display: flex; align-items: center; gap: 12px; text-align: start; padding: 14px 18px; border-radius: 18px;
    background: #fff; color: var(--text); border: 2px solid var(--line); box-shadow: 0 6px 18px -12px rgba(20, 16, 4, .35); }
.plan-tabs .tab svg { width: 30px; height: 30px; flex: none; color: var(--gold-deep); }
.plan-tabs .tab span { display: flex; flex-direction: column; line-height: 1.4; }
.plan-tabs .tab b { font-size: 16.5px; }
.plan-tabs .tab small { color: var(--muted); font-weight: 600; font-size: 13px; }
.plan-tabs .tab:hover { border-color: var(--gold); color: var(--text); }
.plan-tabs .tab.active { background: var(--charcoal); color: #fff; border-color: var(--gold); box-shadow: 0 10px 26px -12px rgba(212, 175, 55, .7); }
.plan-tabs .tab.active svg { color: var(--gold); }
.plan-tabs .tab.active small { color: #CFC5AC; }
.tab-new { font-style: normal; font-size: 11px; font-weight: 800; background: #2E7D32; color: #fff; padding: 1px 8px; border-radius: 999px; vertical-align: middle; margin-inline-start: 4px; }
@media (max-width: 640px) { .plan-tabs { grid-template-columns: 1fr; } }
