/* ============================================================
   Arabian.CEO — Redesign 2026
   Visual polish layer. Loads AFTER all existing CSS so wins cascade.
   Scope: additive only — does not rename or remove any existing class.
   ============================================================ */

/* ---------- Shared tokens (mirror existing but prefixed) ---------- */
:root{
  --r26-gold:#f97316;
  --r26-gold-2:#ea580c;
  --r26-gold-soft:#fff7ed;
  --r26-gold-ring:rgba(249,115,22,.18);
  --r26-cream:#fffdf8;
  --r26-ink:#1a1410;
  --r26-ink-2:#3d3428;
  --r26-ink-3:#6b5e4a;
  --r26-border:#e8dcc8;
  --r26-shadow-sm:0 1px 2px rgba(26,20,16,.06);
  --r26-shadow-md:0 6px 18px -8px rgba(26,20,16,.14);
  --r26-shadow-lg:0 18px 44px -16px rgba(26,20,16,.22);
  --r26-shadow-ring:0 0 0 1px rgba(26,20,16,.05);
}

/* ============================================================
   LIGHT SURFACES — public landing, auth, checkout
   ============================================================ */

/* ---- Hero: modern gradient mesh + refined type ---- */
.hero{
  position:relative;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(249,115,22,.14), transparent 60%),
    radial-gradient(700px 420px at 92% 8%, rgba(249,115,22,.08), transparent 65%),
    linear-gradient(180deg, #fffdf8 0%, #faf4ea 100%) !important;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(26,20,16,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,20,16,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.6), transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.6), transparent 72%);
  pointer-events:none;
}
.hero-inner{ position:relative; z-index:1; }

.hero-pill{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff !important;
  border:1px solid var(--r26-border) !important;
  box-shadow:var(--r26-shadow-sm), var(--r26-shadow-ring);
  font-weight:600; color:var(--r26-ink-2);
}
.hero-pill::before{
  content:""; width:8px; height:8px; border-radius:999px;
  background:var(--r26-gold);
  box-shadow:0 0 0 4px var(--r26-gold-ring);
}

/* ---- Buttons ---- */
.btn-gold,.btn-gold-sm{
  background:linear-gradient(180deg, #fb923c 0%, var(--r26-gold) 45%, var(--r26-gold-2) 100%) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.4) inset, 0 8px 20px -8px rgba(249,115,22,.55) !important;
  letter-spacing:.01em;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease !important;
}
.btn-gold:hover,.btn-gold-sm:hover{
  transform:translateY(-1px);
  filter:saturate(1.05) brightness(1.02);
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset, 0 14px 28px -10px rgba(249,115,22,.6) !important;
}
.btn-ghost,.btn-ghost-sm{
  background:#fff !important;
  border:1px solid var(--r26-border) !important;
  box-shadow:var(--r26-shadow-sm);
}
.btn-ghost:hover,.btn-ghost-sm:hover{
  border-color:var(--r26-gold) !important;
  color:var(--r26-gold) !important;
  box-shadow:0 0 0 3px var(--r26-gold-ring);
}

/* ---- Section eyebrow, head ---- */
.section .eyebrow,
.section-head .eyebrow{
  display:inline-flex; align-items:center; gap:6px;
  font-family:'DM Mono',monospace;
  font-size:.72rem;
  color:var(--r26-gold) !important;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.section-head .eyebrow::before{
  content:""; width:18px; height:1.5px; background:var(--r26-gold); border-radius:2px;
}

/* ---- Feature / value cards — lifted, hover reveal ---- */
.section .features-grid > *,
.section .values-grid > *,
.section .feature-card,
.section .value-card{
  background:#fff !important;
  border:1px solid var(--r26-border) !important;
  border-radius:16px !important;
  box-shadow:var(--r26-shadow-sm), var(--r26-shadow-ring) !important;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
.section .features-grid > *:hover,
.section .values-grid > *:hover,
.section .feature-card:hover,
.section .value-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--r26-shadow-lg), var(--r26-shadow-ring) !important;
  border-color:rgba(249,115,22,.35) !important;
}

/* ---- Pricing grid ---- */
.pricing-grid .plan,
.pricing-grid > *{
  background:#fff !important;
  border:1px solid var(--r26-border) !important;
  border-radius:18px !important;
  box-shadow:var(--r26-shadow-md);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pricing-grid .plan:hover,
.pricing-grid > *:hover{
  transform:translateY(-4px);
  box-shadow:var(--r26-shadow-lg);
}
.pricing-grid .plan.featured,
.pricing-grid .plan[data-featured="true"],
.pricing-grid > .featured{
  border-color:var(--r26-gold) !important;
  box-shadow:0 0 0 3px var(--r26-gold-ring), var(--r26-shadow-lg) !important;
  position:relative;
}
.pricing-grid .plan.featured::before,
.pricing-grid > .featured::before{
  content:"Most Popular";
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:var(--r26-gold); color:#fff;
  font-family:'DM Sans',sans-serif; font-size:.7rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.1em;
  padding:5px 12px; border-radius:999px;
  box-shadow:0 4px 12px -4px rgba(249,115,22,.5);
}

/* ---- CTA band ---- */
.cta-band{
  background:
    radial-gradient(600px 300px at 18% 50%, rgba(249,115,22,.22), transparent 60%),
    linear-gradient(135deg, #1a1410 0%, #2a1e14 100%) !important;
  color:#fff !important;
  border-radius:22px !important;
  box-shadow:var(--r26-shadow-lg);
  position:relative; overflow:hidden;
}
.cta-band::after{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:32px 32px;
  mask-image:radial-gradient(ellipse at 100% 0%, rgba(0,0,0,.6), transparent 60%);
  -webkit-mask-image:radial-gradient(ellipse at 100% 0%, rgba(0,0,0,.6), transparent 60%);
  pointer-events:none;
}
.cta-band > *{ position:relative; z-index:1; }

/* ---- Testimonials ---- */
.testimonial,
.testimonial-card,
[class*="testimonial"] .card{
  background:#fff !important;
  border:1px solid var(--r26-border) !important;
  border-radius:16px !important;
  box-shadow:var(--r26-shadow-sm), var(--r26-shadow-ring) !important;
  transition:transform .2s ease, box-shadow .2s ease;
}
.testimonial:hover,
.testimonial-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--r26-shadow-md), var(--r26-shadow-ring) !important;
}

/* ---- Footer refinement ---- */
.footer{
  background:linear-gradient(180deg, #fffdf8 0%, #f3ecdc 100%) !important;
  border-top:1px solid var(--r26-border);
}
.footer-logo{ letter-spacing:-.01em; }

/* ---- Auth card polish ---- */
.otp-card{
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset, var(--r26-shadow-lg) !important;
  border-color:var(--r26-border) !important;
  position:relative;
}
.otp-wrap{
  background:
    radial-gradient(700px 400px at 10% -10%, rgba(249,115,22,.10), transparent 60%),
    radial-gradient(600px 400px at 100% 110%, rgba(249,115,22,.08), transparent 60%),
    #fffdf8 !important;
}
.otp-btn{
  background:linear-gradient(180deg, #fb923c 0%, var(--r26-gold) 45%, var(--r26-gold-2) 100%) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.45) inset, 0 10px 22px -10px rgba(249,115,22,.55) !important;
}
.otp-btn:hover:not(:disabled){
  filter:saturate(1.05) brightness(1.02);
  transform:translateY(-1px);
}

/* ---- Checkout two-column polish ---- */
.checkout-shell,
.checkout-wrap,
main.checkout{
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(249,115,22,.06), transparent 60%),
    #faf4ea !important;
}
.checkout-card,
.order-summary{
  background:#fff !important;
  border:1px solid var(--r26-border) !important;
  border-radius:16px !important;
  box-shadow:var(--r26-shadow-sm), var(--r26-shadow-ring) !important;
}

/* ---- Focus visibility (a11y) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:2px solid var(--r26-gold);
  outline-offset:2px;
}

/* ============================================================
   DARK-GOLD DASHBOARD — body.user-dashboard
   Preserves identity. Adds depth, better rhythm, refined tiles.
   ============================================================ */

body.user-dashboard{
  background:
    radial-gradient(900px 500px at 85% -20%, rgba(249,115,22,.08), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(249,115,22,.06), transparent 60%),
    #0d0d0d !important;
}

body.user-dashboard .ac-main{ position:relative; z-index:1; }

body.user-dashboard .ac-page-greeting{
  letter-spacing:-.02em;
}
body.user-dashboard .ac-page-greeting em{
  color:var(--r26-gold);
  font-style:italic;
}
body.user-dashboard .ac-page-sub{
  color:rgba(255,255,255,.55) !important;
}

/* Stat / overview cards in dashboard */
body.user-dashboard .ac-card,
body.user-dashboard .ac-stat,
body.user-dashboard .ac-stat-card,
body.user-dashboard .ac-panel,
body.user-dashboard .dashboard-card,
body.user-dashboard .overview-card,
body.user-dashboard [class*="stat-card"],
body.user-dashboard [class*="ac-tile"]{
  background:linear-gradient(180deg, #1a1814 0%, #141210 100%) !important;
  border:1px solid rgba(255,255,255,.06) !important;
  border-radius:14px !important;
  box-shadow:0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px -12px rgba(0,0,0,.6) !important;
  transition:border-color .2s ease, transform .2s ease;
}
body.user-dashboard .ac-card:hover,
body.user-dashboard .ac-stat:hover,
body.user-dashboard .ac-stat-card:hover,
body.user-dashboard .ac-panel:hover{
  border-color:rgba(249,115,22,.25) !important;
  transform:translateY(-1px);
}

/* Accent-bordered hero/primary tile */
body.user-dashboard .ac-hero,
body.user-dashboard .ac-featured{
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(249,115,22,.14), transparent 60%),
    linear-gradient(180deg, #1a1814 0%, #141210 100%) !important;
  border:1px solid rgba(249,115,22,.25) !important;
}

/* Progress / list rows */
body.user-dashboard .ac-list-row,
body.user-dashboard .order-row,
body.user-dashboard [class*="order-item"]{
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.05);
  border-radius:12px;
  transition:background .15s ease, border-color .15s ease;
}
body.user-dashboard .ac-list-row:hover,
body.user-dashboard .order-row:hover{
  background:rgba(249,115,22,.05);
  border-color:rgba(249,115,22,.25);
}

body.user-dashboard .progress,
body.user-dashboard .progress-bar-bg{
  background:rgba(255,255,255,.06) !important;
  border-radius:999px;
}
body.user-dashboard .progress-bar,
body.user-dashboard .progress > *{
  background:linear-gradient(90deg, #fb923c, var(--r26-gold)) !important;
}

/* Dashboard buttons */
body.user-dashboard .btn-primary,
body.user-dashboard .btn-gold{
  background:linear-gradient(180deg, #fb923c 0%, var(--r26-gold) 45%, var(--r26-gold-2) 100%) !important;
  border:none !important;
  box-shadow:0 1px 0 rgba(255,255,255,.2) inset, 0 10px 22px -10px rgba(249,115,22,.5) !important;
}

/* Status pills in dashboard */
body.user-dashboard .badge,
body.user-dashboard .status-pill,
body.user-dashboard [class*="status-"]{
  font-family:'DM Mono',monospace !important;
  font-size:.7rem !important;
  letter-spacing:.06em !important;
  padding:4px 10px !important;
  border-radius:999px !important;
}

/* Focus for dashboard */
body.user-dashboard a:focus-visible,
body.user-dashboard button:focus-visible,
body.user-dashboard input:focus-visible{
  outline:2px solid var(--r26-gold);
  outline-offset:2px;
}

/* ============================================================
   RESPONSIVE — tighter spacing on small screens
   ============================================================ */
@media (max-width:768px){
  .hero-pill{ font-size:.78rem; }
  .cta-band{ border-radius:18px !important; }
  .pricing-grid .plan.featured::before,
  .pricing-grid > .featured::before{ top:-10px; font-size:.65rem; padding:4px 10px; }
}

/* ============================================================
   Motion safety
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    transition:none !important;
    animation:none !important;
  }
  .btn-gold:hover,
  .btn-gold-sm:hover,
  .otp-btn:hover:not(:disabled),
  .section .features-grid > *:hover,
  .pricing-grid .plan:hover{
    transform:none !important;
  }
}
