/* Different Agency — flat design, no gradients. Logical properties make one stylesheet serve RTL and LTR. */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1b5fc1;
  --blue-dark: #134a99;
  --sky: #e8f0fb;
  --beige: #f4ecdd;
  --beige-2: #e6d9be;
  --beige-soft: #faf6ee;
  --ink: #14233a;
  --muted: #5a6a7e;
  --line: #dce2ea;
  --white: #ffffff;
  --ok: #1f7a4d;
  --ok-bg: #e5f4ec;
  --warn: #8a5a00;
  --warn-bg: #fbf1d9;
  --bad: #b42318;
  --bad-bg: #fbe7e5;
  --info: #134a99;
  --info-bg: #e8f0fb;
  --radius: 8px;
  --font: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.3; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .92em; background: var(--beige-soft); padding: .1em .4em; border-radius: 4px; }
pre { overflow: auto; background: var(--beige-soft); padding: 1rem; border-radius: var(--radius); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.num { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
[dir="rtl"] .icon-flip, [dir="rtl"] .link-more .icon, [dir="rtl"] .breadcrumb .icon { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: .7em 1.3em; border-radius: var(--radius); border: 2px solid var(--blue); background: var(--blue); color: #fff; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2; transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--sky); color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-accent { background: var(--beige); border-color: var(--beige); color: var(--navy); }
.btn-accent:hover { background: var(--beige-2); border-color: var(--beige-2); color: var(--navy); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-danger { background: var(--bad); border-color: var(--bad); }
.btn-danger:hover { background: #8f1c12; border-color: #8f1c12; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-small { padding: .4em .85em; font-size: .9rem; }
.btn-block { width: 100%; }
.linklike { background: none; border: 0; color: var(--blue); font: inherit; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: .5em; }
.linklike:hover { text-decoration: underline; }

/* ---------- header ---------- */
.demo-bar { background: var(--beige); color: var(--navy); text-align: center; font-size: .875rem; padding: .45rem 1rem; border-bottom: 1px solid var(--beige-2); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { flex: none; }
.brand img { display: block; height: 40px; width: auto; max-width: none; }
.main-nav { display: flex; align-items: center; gap: 1.2rem; flex: 1; justify-content: space-between; }
.main-nav ul { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav li a { display: block; padding: .5rem .6rem; white-space: nowrap; color: var(--navy); text-decoration: none; font-weight: 600; border-radius: var(--radius); }
.main-nav li a:hover { background: var(--sky); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.lang-switch { color: var(--navy); font-weight: 600; text-decoration: none; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); }
.lang-switch:hover { background: var(--beige-soft); }
.cart-link { position: relative; color: var(--navy); display: inline-flex; padding: .3rem; }
.cart-link .icon { width: 1.5em; height: 1.5em; }
.cart-count { position: absolute; top: -4px; inset-inline-end: -6px; background: var(--blue); color: #fff; border-radius: 99px; min-width: 18px; height: 18px; font-size: .72rem; display: grid; place-items: center; padding: 0 4px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem; color: var(--navy); cursor: pointer; margin-inline-start: auto; }
.nav-toggle .icon { width: 1.5em; height: 1.5em; }

/* ---------- hero & sections ---------- */
.hero { background: var(--navy); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.hero .lead { color: #d3dded; font-size: 1.15rem; max-width: 36em; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.hero-art img { width: 100%; max-width: 520px; margin-inline: auto; display: block; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.hero-note { color: #b8c7dd; font-size: .875rem; margin-top: .6rem; }
.domain-search { display: flex; gap: .5rem; max-width: 560px; margin: 1.2rem 0 .4rem; }
.domain-search input { flex: 1; min-width: 0; padding: .8em 1em; border-radius: var(--radius); border: 2px solid var(--line); font: inherit; }
.page-hero { background: var(--beige-soft); border-bottom: 1px solid var(--beige-2); padding: 2.2rem 0 1.8rem; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { color: var(--muted); max-width: 46em; margin-bottom: 0; }
.page-hero .domain-search { margin-bottom: 0; }
.section { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-alt { background: var(--beige-soft); }
.section-title { text-align: center; margin-bottom: 1.6rem; }
.section-title.align-start { text-align: start; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.split-art img { width: 100%; display: block; }
.card-grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; color: inherit; text-decoration: none; display: block; }
a.card:hover { border-color: var(--blue); }
.feature-card .icon-wrap, .icon-wrap { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--sky); color: var(--blue); margin-bottom: .8rem; }
.icon-wrap .icon { width: 24px; height: 24px; }
.category-card h2, .category-card h3 { margin-bottom: .4rem; }
.from-price { color: var(--navy); font-weight: 700; }
.link-more { display: inline-flex; align-items: center; gap: .3em; color: var(--blue); font-weight: 600; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--navy); color: #fff; border-radius: 50%; font-weight: 700; margin-bottom: .6rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: .8rem; }
.check-list .icon { color: var(--ok); margin-top: .25rem; width: 1.4em; height: 1.4em; }
.check-list p { margin: 0; color: var(--muted); }
.quote blockquote { margin: 0 0 .8rem; font-size: 1.05rem; }
.quote figcaption { color: var(--muted); font-weight: 600; }
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 3rem 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d3dded; max-width: 40em; margin-inline: auto; }
.notice { background: var(--beige-soft); border: 1px solid var(--beige-2); border-radius: var(--radius); padding: 1.6rem; max-width: 640px; margin-inline: auto; text-align: center; }
.gap-top { margin-top: 2rem; }
.breadcrumb { display: flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .9rem; margin-bottom: .6rem; }

/* ---------- plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.2rem; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.plan-featured { border: 2px solid var(--blue); }
.plan-flag { position: absolute; top: -12px; inset-inline-start: 1.2rem; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; padding: .15rem .7rem; border-radius: 99px; }
.plan h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.plan-tagline { color: var(--muted); min-height: 2.6em; font-size: .95rem; }
.cycle-list { border: 0; padding: 0; margin: 0 0 .8rem; display: grid; gap: .4rem; }
.cycle-option { display: grid; grid-template-columns: auto 1fr; gap: .1rem .6rem; align-items: center; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.cycle-option:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.cycle-option input { grid-row: span 2; accent-color: var(--blue); }
.cycle-name { font-weight: 600; font-size: .9rem; }
.cycle-price strong { font-size: 1.1rem; color: var(--navy); }
.cycle-price small { display: block; color: var(--muted); font-size: .78rem; }
.cycle-price s { color: var(--muted); font-size: .85rem; }
.plan-setup { font-size: .85rem; color: var(--muted); }
.spec-list { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.feature-list { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .35rem; font-size: .92rem; }
.feature-list li { display: flex; gap: .5rem; }
.feature-list .icon { color: var(--ok); margin-top: .2rem; }
.price-disclaimer { color: var(--muted); font-size: .875rem; margin-top: 1.2rem; text-align: center; }

/* ---------- forms ---------- */
.form label { display: block; font-weight: 600; margin: .9rem 0 .3rem; }
.form label.check, label.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin: .8rem 0; }
.form input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .form select, .form textarea, .toolbar input:not([type=checkbox]), .toolbar select, .inline-form input:not([type=checkbox]), .inline-form select, .domain-search input {
  width: 100%; padding: .65em .8em; border: 1px solid #b9c3d0; border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink); }
.form input:disabled, .form select:disabled { background: var(--beige-soft); color: var(--muted); }
input[type=checkbox], input[type=radio] { accent-color: var(--blue); width: 1.1em; height: 1.1em; margin-top: .25em; flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.form-grid .span-2 { grid-column: span 2; }
.form-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.field-error { display: block; color: var(--bad); font-size: .875rem; margin-top: .25rem; }
.help { display: block; color: var(--muted); font-size: .85rem; margin-top: .25rem; }
.error-text { color: var(--bad); }
.inline-form { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.inline-form input, .inline-form select { width: auto; }
.narrow-input { width: 5.5em !important; }
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.toolbar input, .toolbar select { width: auto; min-width: 180px; }
.copy-field { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.notice-inline { display: flex; gap: .6rem; background: var(--sky); padding: .8rem 1rem; border-radius: var(--radius); }
.alert { padding: .8rem 1rem; border-radius: var(--radius); margin: 0 0 1rem; border: 1px solid; }
.alert-success { background: var(--ok-bg); border-color: #b5dcc6; color: #14532f; }
.alert-error { background: var(--bad-bg); border-color: #f0b8b2; color: #7a1710; }
.alert-warn { background: var(--warn-bg); border-color: #ecd596; color: #5f3d00; }
.alert-info { background: var(--info-bg); border-color: #b9cff0; color: #0f3a7a; }
.alert .inline-form { margin-inline-start: .6rem; }
.flash-wrap { margin-top: 1rem; }
.badge { display: inline-block; padding: .15em .7em; border-radius: 99px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: #eceff3; color: #44505f; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: .7rem .9rem; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--beige-soft); color: var(--navy); font-weight: 700; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tfoot td { font-weight: 600; background: #fcfbf8; }
.table th.num, .table td.num { text-align: end; }
.table .total-row td { background: var(--beige); font-size: 1.05rem; color: var(--navy); }
.table .actions, .actions { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
tr.unread td { font-weight: 700; }
.domain-name { font-weight: 700; font-size: 1.05rem; }
.suggestions { list-style: none; padding: 0; display: grid; gap: .4rem; }
.pagination { display: flex; gap: .3rem; flex-wrap: wrap; margin: 1rem 0; }
.pagination a, .pagination span { padding: .35rem .75rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.tabs { display: flex; gap: .3rem; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 1rem; }
.tabs a { padding: .55rem 1rem; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a.active { color: var(--navy); border-color: var(--blue); }

/* ---------- misc blocks ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; background: #fff; }
.faq-item summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 700; color: var(--navy); }
.faq-answer { padding: 0 1.1rem 1rem; color: var(--ink); }
.prose { line-height: 1.85; }
.prose h2 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .7rem; }
.numbered { padding-inline-start: 1.3em; }
.detail-list { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.2rem; margin: 0 0 1rem; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 600; word-break: break-word; }
.plain-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.plain-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; align-items: start; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; display: flex; flex-direction: column; text-decoration: none; color: var(--muted); }
a.stat:hover { border-color: var(--blue); }
.stat-n { font-size: 1.9rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.stat-n.money { font-size: 1.35rem; }
.stat-alert { border-color: var(--beige-2); background: var(--beige-soft); }
.big-amount { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 0 0 1rem; }
.instructions { background: var(--beige-soft); border: 1px solid var(--beige-2); border-radius: var(--radius); padding: 1rem; margin: 1rem 0; }
.qr { display: block; margin: .8rem 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; background: #fff; }
.proof-img { max-width: 100%; max-height: 520px; border: 1px solid var(--line); border-radius: var(--radius); }
.settings-img { display: block; margin-bottom: .5rem; border: 1px solid var(--line); }
.thread { display: grid; gap: .8rem; margin: 1rem 0; }
.msg { border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; background: #fff; }
.msg header { display: flex; justify-content: space-between; margin-bottom: .4rem; gap: 1rem; }
.msg-staff { background: var(--sky); border-color: #b9cff0; }
.msg-internal { background: var(--warn-bg); border-color: #ecd596; }
.notes { white-space: pre-wrap; background: var(--beige-soft); }
.sticky { position: sticky; top: 90px; }
.checkout-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.4rem; align-items: start; }
.cart-item { margin-bottom: 1rem; }
.coupon-box { margin-bottom: 1rem; }
.summary-table td { padding: .55rem .2rem; border-bottom: 1px solid var(--line); }
.summary-table .renew-row td { border-bottom: 1px solid var(--line); padding-top: 0; }
.summary-table tfoot td { background: none; }
.summary-table .total-row td { background: var(--beige); padding: .7rem .6rem; }
.auth-section { padding: 3rem 0; background: var(--beige-soft); min-height: 60vh; }
.auth-box { width: min(460px, 100% - 32px); margin-inline: auto; }
.auth-box.wide { width: min(780px, 100% - 32px); }
.auth-links { margin: 1rem 0 0; text-align: center; font-size: .95rem; }

/* ---------- client area ---------- */
.client-shell { display: grid; grid-template-columns: 240px 1fr; gap: 1.6rem; padding: 2rem 0 3rem; align-items: start; }
.client-nav { background: var(--beige-soft); border: 1px solid var(--beige-2); border-radius: var(--radius); padding: 1rem; position: sticky; top: 90px; }
.client-user { padding-bottom: .8rem; border-bottom: 1px solid var(--beige-2); margin-bottom: .6rem; word-break: break-all; }
.client-nav ul { list-style: none; margin: 0; padding: 0; }
.client-nav li a, .client-nav .linklike { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: var(--radius); color: var(--navy); text-decoration: none; font-weight: 600; width: 100%; }
.client-nav li a:hover, .client-nav li a.active { background: #fff; color: var(--blue); }
.client-main h1 { font-size: 1.7rem; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c9d6ea; padding: 3rem 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { color: #c9d6ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.contact-list li { display: flex; gap: .6rem; align-items: center; }
.footer-logo { height: 44px; width: auto; margin-bottom: .8rem; }
.footer-bottom { border-top: 1px solid #2a4570; padding: 1rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .875rem; }

/* ---------- errors ---------- */
.error-page { background: var(--beige-soft); }
.error-box { text-align: center; padding: 4rem 0; max-width: 640px; }
.error-code { font-size: 5rem; margin: 1rem 0 0; color: var(--blue); }
.error-links { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.debug { text-align: start; direction: ltr; font-size: .8rem; }

/* ---------- admin ---------- */
.admin-body { background: #f6f7f9; }
.admin-top { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 1rem; padding: .5rem 1rem; position: sticky; top: 0; z-index: 60; }
.admin-top .brand img { height: 38px; }
.admin-top .nav-toggle { display: none; color: #fff; border-color: rgba(255,255,255,.4); margin: 0; }
.admin-top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.admin-top-actions a { color: #d3dded; }
.admin-top-actions .lang-switch { color: #fff; border-color: rgba(255,255,255,.4); }
.admin-user small { color: #b8c7dd; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 56px); }
.admin-side { background: #fff; border-inline-end: 1px solid var(--line); padding: 1rem .8rem 2rem; }
.admin-side h3 { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 1.1rem .6rem .4rem; }
.admin-side ul { list-style: none; margin: 0; padding: 0; }
.admin-side a { display: flex; align-items: center; gap: .6rem; padding: .45rem .6rem; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: .93rem; }
.admin-side a:hover { background: var(--sky); }
.admin-side a.active { background: var(--navy); color: #fff; }
.admin-main { padding: 1.6rem; min-width: 0; }
.admin-main h1 { font-size: 1.6rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.admin-main .card { margin-bottom: 1.2rem; }
.admin-main .field { margin-bottom: .2rem; }

/* ---------- invoice / print ---------- */
.invoice-body { background: #eef0f3; }
.invoice-toolbar { max-width: 900px; margin: 1rem auto; display: flex; gap: .6rem; padding-inline: 16px; }
.invoice { max-width: 900px; margin: 0 auto 2rem; background: #fff; padding: 2.2rem; border: 1px solid var(--line); }
.invoice-head { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.invoice-head img { height: 44px; width: auto; }
.invoice-company { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.invoice-meta h1 { margin-bottom: .5rem; text-align: end; }
.invoice-meta th { text-align: start; color: var(--muted); font-weight: 600; padding-inline-end: 1rem; }
.invoice-bill { margin-bottom: 1.2rem; }
.invoice-bill h2 { font-size: 1rem; color: var(--muted); margin-bottom: .3rem; }
.invoice-pay { background: var(--beige-soft); padding: .8rem 1rem; border: 1px solid var(--beige-2); }
.invoice-foot { margin-top: 1.5rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .checkout-grid, .two-col { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .client-shell { grid-template-columns: 1fr; }
  .client-nav { position: static; }
  .sticky { position: static; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 16px 1.2rem; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .nav-actions { justify-content: space-between; }
  .admin-top .nav-toggle { display: inline-flex; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: none; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .admin-side.open { display: block; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .domain-search { flex-direction: column; }
  .invoice { padding: 1.2rem; }
  .detail-list { grid-template-columns: 1fr; gap: .1rem; }
  .detail-list dd { margin-bottom: .6rem; }
}
@media print {
  .no-print, .site-header, .site-footer, .demo-bar, .admin-top, .admin-side { display: none !important; }
  body, .invoice-body { background: #fff; }
  .invoice { border: 0; margin: 0; padding: 0; max-width: none; }
}

/* =====================================================================================
   v2 refinements — typography, depth, hero, domain search, plans, steps (flat colours only)
   ===================================================================================== */
:root {
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06);
  --shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 10px 28px rgba(11, 37, 69, .09);
  --shadow-lg: 0 2px 4px rgba(11, 37, 69, .06), 0 18px 44px rgba(11, 37, 69, .14);
  --font: "Cairo", "Segoe UI", Tahoma, "Noto Sans Arabic", "Helvetica Neue", Arial, sans-serif;
}
body { font-family: var(--font); line-height: 1.75; color: var(--ink); }
h1, h2, h3, h4 { letter-spacing: -.01em; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--sky); padding: .2rem .8rem; border-radius: 99px; margin-bottom: 1rem; }
.hero .eyebrow { background: rgba(255,255,255,.12); color: var(--beige); }
.btn { border-radius: 10px; padding: .75em 1.45em; font-weight: 700; box-shadow: var(--shadow-sm); }
.btn-small { padding: .45em .95em; }
.btn-outline, .btn-ghost, .btn-outline-light { box-shadow: none; }
.card { border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .18s, border-color .18s, transform .18s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* header */
.demo-bar { background: var(--navy-2); color: #e6d9be; border: 0; font-size: .82rem; }
.site-header { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(11, 37, 69, .04); }
.header-inner { min-height: 76px; }
.main-nav li a { border-radius: 99px; padding: .5rem .85rem; color: var(--ink); }
.main-nav li a:hover { background: var(--sky); color: var(--blue-dark); }
.nav-actions .btn { border-radius: 99px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem); }
.hero::before { content: ""; position: absolute; inset-inline-end: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: #10294f; }
.hero::after { content: ""; position: absolute; inset-inline-start: -90px; bottom: -150px; width: 340px; height: 340px; border-radius: 50%; background: #0f2a50; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.2; font-weight: 800; }
.hero .lead { font-size: 1.2rem; }
.hero .domain-search { background: #fff; padding: 8px; border-radius: 16px; box-shadow: var(--shadow-lg); max-width: 640px; margin: 1.6rem 0 .9rem; gap: 8px; }
.hero .domain-search input { border: 0; font-size: 1.1rem; padding: .7em 1em; background: transparent; }
.hero .domain-search input:focus { outline: none; }
.hero .domain-search .btn { border-radius: 12px; padding-inline: 2rem; font-size: 1.05rem; }
.tld-chips { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tld-chips li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 99px; padding: .2rem .9rem; font-size: .92rem; white-space: nowrap; }
.tld-chips strong { color: var(--beige); margin-inline-end: .3rem; }
.hero-art img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.hero-actions { margin-top: .8rem; }

/* trust strip overlapping the hero */
.trust { margin-top: -56px; position: relative; z-index: 2; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.trust-item { display: flex; gap: .8rem; align-items: center; padding: 1.2rem 1.3rem; border-inline-end: 1px solid var(--line); }
.trust-item:last-child { border-inline-end: 0; }
.trust-item .icon-wrap { margin: 0; flex: none; }
.trust-item strong { display: block; color: var(--navy); line-height: 1.3; }
.trust-item span.t { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; }

/* sections */
.section { padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.section-title { font-weight: 800; margin-bottom: .5rem; }
.section-sub { text-align: center; color: var(--muted); max-width: 40em; margin: 0 auto 2rem; }
.section-title + .card-grid, .section-title + .plan-grid { margin-top: 1.8rem; }
.feature-card { padding: 1.6rem; }
.icon-wrap { width: 52px; height: 52px; border-radius: 14px; }
.category-card { padding: 1.6rem; }
.category-card .from-price { font-size: 1.05rem; }
.cta-band { padding: 4rem 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset-inline-start: -80px; top: -100px; width: 320px; height: 320px; border-radius: 50%; background: #10294f; }
.cta-band .container { position: relative; }
.page-hero { padding: 2.8rem 0 2.2rem; }
.page-hero h1 { font-weight: 800; }

/* plans */
.plan-grid { gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.plan { border-radius: 16px; padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s; }
.plan:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.plan-featured { border-width: 2px; box-shadow: var(--shadow); }
.plan-flag { top: -13px; font-size: .8rem; padding: .2rem .9rem; background: var(--navy); }
.plan h3 { font-size: 1.4rem; font-weight: 800; }
.cycle-option { border-radius: 10px; padding: .6rem .8rem; }
.cycle-price strong { font-size: 1.2rem; }
.plan .btn-block { padding: .85em; font-size: 1.02rem; }
.spec-list li { border-bottom-style: dashed; }
.group-title { margin: 2.4rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--beige-2); }
.group-title:first-child { margin-top: 0; }

/* domain results */
.live-note { display: flex; gap: .5rem; align-items: center; color: var(--ok); font-weight: 600; margin-bottom: 1rem; }
.domain-results { display: grid; gap: .8rem; margin-bottom: 1.6rem; }
.domain-row { display: grid; grid-template-columns: minmax(200px, 1.2fr) minmax(150px, .8fr) auto; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; box-shadow: var(--shadow-sm); }
.domain-available { border-color: #9fd3b6; border-inline-start: 5px solid var(--ok); }
.domain-taken { background: #fafafa; border-inline-start: 5px solid #cfd6df; }
.domain-taken .domain-name { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.domain-unverified { border-inline-start: 5px solid #e3c36b; }
.domain-main { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.domain-name { font-size: 1.2rem; }
.domain-price strong { display: block; font-size: 1.15rem; color: var(--navy); }
.domain-price small { color: var(--muted); }
.domain-actions .inline-form { flex-wrap: wrap; justify-content: flex-end; }

/* stepper & pending domain */
.stepper { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; gap: .6rem; flex-wrap: wrap; counter-reset: s; }
.stepper li { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-weight: 600; font-size: .95rem; }
.stepper li span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e3e8ef; color: var(--muted); font-size: .85rem; }
.stepper li:not(:last-child)::after { content: ""; width: 28px; height: 2px; background: #d3dae3; margin-inline-start: .3rem; }
.stepper li.done span { background: var(--ok); color: #fff; }
.stepper li.current { color: var(--navy); }
.stepper li.current span { background: var(--navy); color: #fff; }
.pending-domain { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid #9fd3b6; border-inline-start: 5px solid var(--ok); border-radius: 12px; padding: .9rem 1.2rem; margin-top: 1rem; box-shadow: var(--shadow-sm); }
.pending-domain strong { font-size: 1.2rem; }
.pending-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; color: var(--muted); }
.pending-actions form { margin: 0; }

/* cart / checkout / forms */
.cart-item { border-radius: 14px; }
.price-summary .total-row td { border-radius: 8px; }
.form input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .form select, .form textarea { border-radius: 10px; padding: .7em .9em; border-color: #c5cfdb; }
.form input:focus, .form select:focus, .form textarea:focus, .domain-search input:focus { outline: 3px solid rgba(27, 95, 193, .25); border-color: var(--blue); }
.auth-section { background: var(--beige-soft); }
.auth-box .card { padding: 2rem; box-shadow: var(--shadow); border-radius: 16px; }
.credentials { border: 2px solid var(--ok); background: #f6fbf8; }
.credentials h2 { display: flex; gap: .5rem; align-items: center; color: var(--ok); }

/* tables, stats, tabs */
.table-wrap { border-radius: 14px; box-shadow: var(--shadow-sm); }
.stat { border-radius: 14px; box-shadow: var(--shadow-sm); }
.client-nav { border-radius: 14px; }
.client-main h1 { font-weight: 800; }

/* footer */
.site-footer { padding-top: 3.5rem; }
.site-footer h3 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--beige-2); }
.site-footer ul { gap: .6rem; }

@media (max-width: 980px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-inline-end: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .domain-row { grid-template-columns: 1fr; }
  .domain-actions .inline-form { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .trust { margin-top: -36px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .hero .domain-search { flex-direction: column; }
  .brand img { height: 34px; }
  .stepper li:not(:last-child)::after { display: none; }
}
.main-nav ul { flex-wrap: nowrap; }
.main-nav li a { font-size: .95rem; padding: .45rem .7rem; }
.main-nav { gap: .8rem; }
@media (max-width: 1100px) { .main-nav li a { padding: .4rem .5rem; font-size: .9rem; } .nav-actions { gap: .5rem; } }
@media (max-width: 820px) { .main-nav ul { flex-wrap: wrap; } }
