/* 3ASH GLOBAL — Apple-style identity: light, airy, minimal. Blue #1F6EF2 + lime #B7E800 */
:root {
  --neon: #1F6EF2; /* legacy alias -> brand blue */
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --bg-elevated: #f5f5f7;
  --blue: #1F6EF2;
  --blue-dark: #0f56d8;
  --blue-soft: rgba(31, 110, 242, 0.10);
  --lime: #B7E800;
  --lime-dark: #8fb800;
  --lime-soft: rgba(183, 232, 0, 0.18);
  --gold: #b98600;
  --gold-soft: rgba(185, 134, 0, 0.10);
  --text: #1d1d1f;
  --text-muted: #55555b;
  --border: #d2d2d7;
  --border-soft: #e8e8ed;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);
  --font-ar: 'Tajawal', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-en: 'Space Grotesk', -apple-system, 'Segoe UI', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
[dir="ltr"] body { font-family: var(--font-en); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 245, 247, 0.82); backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo img { height: 48px; width: 48px; object-fit: contain; }
.logo-text { font-weight: 800; font-size: 19px; letter-spacing: 0.3px; }
.logo-text span { color: var(--blue); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.lang-toggle {
  background: transparent; border: 1px solid var(--border); color: var(--text);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600;
  transition: all .2s; font-family: inherit;
}
.lang-toggle:hover { border-color: var(--blue); color: var(--blue); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; }
/* icon spans hold the SVG icons — size them to the icon, not bars */
.menu-toggle .icon-menu, .menu-toggle .icon-close { display: grid; place-items: center; width: 24px; height: 24px; }
.menu-toggle .icon-menu svg, .menu-toggle .icon-close svg { width: 24px; height: 24px; display: block; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: grid; }
/* screen-reader-only text: visually hidden but accessible */
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important;
  white-space: nowrap !important; border: 0 !important;
}

.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none;
  font-family: inherit; font-weight: 600; border-radius: 999px; transition: all .25s;
}
.btn-primary {
  background: var(--blue); color: #fff; padding: 12px 28px; font-size: 15px;
  box-shadow: 0 2px 12px rgba(31, 110, 242, 0.30);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31, 110, 242, 0.38); }
.btn-outline {
  background: transparent; color: var(--blue); border: 1.5px solid var(--blue);
  padding: 12px 28px; font-size: 15px;
}
.btn-outline:hover { background: var(--blue-soft); }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ===== Hero ===== */
.hero {
  max-width: 1100px; margin: 0 auto; padding: 100px 24px 70px;
  text-align: center; position: relative;
}
.hero-logo { height: 120px; width: 120px; object-fit: contain; margin: 0 auto 28px; display: block; filter: drop-shadow(0 8px 24px rgba(31,110,242,0.18)); }
.hero h1 {
  font-size: clamp(40px, 6.5vw, 72px); font-weight: 800; line-height: 1.2; letter-spacing: -0.5px;
}
.hero h1 .pulse { color: var(--blue); }
.hero-sub {
  max-width: 660px; margin: 22px auto 0; color: var(--text-muted); font-size: 19px;
}
.hero-ctas { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.trust-strip {
  margin: 60px auto 0; max-width: 920px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.trust-item {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 18px 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.trust-item .ico { color: var(--blue); font-size: 16px; }

/* ===== Stats ===== */
.stats {
  max-width: 1100px; margin: 0 auto; padding: 30px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stat-num { font-size: 46px; font-weight: 800; color: var(--blue); letter-spacing: -1px; }
.stat-label { color: var(--text-muted); font-size: 15px; }

/* ===== Sections ===== */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
section[id], [id] { scroll-margin-top: 90px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.5px; }
.section-head p { color: var(--text-muted); margin-top: 12px; font-size: 18px; max-width: 640px; margin-inline: auto; }
.badge {
  display: inline-block; background: var(--blue-soft); color: var(--blue);
  border-radius: 999px; padding: 5px 18px;
  font-size: 13px; font-weight: 700; margin-bottom: 14px; letter-spacing: 1px;
}
.badge.lime { background: var(--lime-soft); color: var(--lime-dark); }

/* ===== Evaluator ===== */
.eval-wrap {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 40px; max-width: 900px; margin: 0 auto; box-shadow: var(--shadow-lg);
}
.stepper { display: flex; justify-content: space-between; margin-bottom: 34px; position: relative; }
.stepper::before {
  content: ''; position: absolute; top: 17px; inset-inline: 30px; height: 2px; background: var(--border-soft);
}
.step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; flex: 1; }
.step-dot {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg-elevated);
  border: 2px solid var(--border); display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: var(--text-muted); transition: all .3s; z-index: 1;
}
.step.active .step-dot { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 0 5px var(--lime-soft); }
.step.done .step-dot { background: var(--lime); color: #1d1d1f; border-color: var(--lime); }
.step-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-align: center; }
.step.active .step-label { color: var(--blue); }
.step.done .step-label { color: var(--text); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip {
  background: var(--blue-soft); border: 1px solid var(--blue); color: var(--text);
  border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip button { background: none; border: none; color: var(--blue); cursor: pointer; font-size: 14px; line-height: 1; padding: 0; font-weight: 700; }

.eval-question { font-size: 22px; font-weight: 700; margin-bottom: 22px; letter-spacing: -0.3px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 160px)); gap: 14px; justify-content: center; }
.card-grid.cat-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); justify-content: stretch; }
.opt-card {
  background: var(--bg-elevated); border: 1.5px solid var(--border-soft); border-radius: var(--radius);
  padding: 22px 14px; text-align: center; cursor: pointer; transition: all .22s;
  font-family: inherit; color: var(--text); font-size: 15px; font-weight: 600;
}
.opt-card:hover { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-3px); box-shadow: var(--shadow); }
.opt-card .ico { display: block; margin-bottom: 10px; color: var(--blue); }
.opt-card .ico svg { width: 34px; height: 34px; display: inline-block; }
.cond-card {
  background: var(--bg-elevated); border: 1.5px solid var(--border-soft); border-radius: var(--radius);
  padding: 20px; cursor: pointer; transition: all .22s; text-align: start; font-family: inherit; color: var(--text);
}
.cond-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.cond-card h4 { color: var(--blue); font-size: 17px; margin-bottom: 10px; }
.cond-card ul { list-style: none; }
.cond-card li { font-size: 13px; color: var(--text-muted); padding: 3px 0; display: flex; gap: 8px; }
.cond-card li::before { content: '✓'; color: var(--lime-dark); font-weight: 800; flex-shrink: 0; }

.quote-box {
  background: linear-gradient(135deg, var(--blue-soft), var(--lime-soft));
  border: 1.5px solid var(--blue); border-radius: var(--radius-lg); padding: 38px; text-align: center;
}
.quote-device { color: var(--text-muted); font-size: 15px; margin-bottom: 8px; }
.quote-label { font-size: 17px; font-weight: 600; }
.quote-price {
  font-size: 62px; font-weight: 800; color: var(--blue);
  letter-spacing: -2px; margin: 10px 0 4px;
}
.quote-note { font-size: 13px; color: var(--text-muted); max-width: 460px; margin: 14px auto 24px; }
.quote-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Forms ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 13px 16px; color: var(--text); font-family: inherit; font-size: 15px; transition: all .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft);
}
.form-field .err { color: #d70015; font-size: 12px; display: none; }
.form-field.invalid input, .form-field.invalid select { border-color: #d70015; }
.form-field.invalid .err { display: block; }
.success-box { text-align: center; padding: 40px 20px; }
.success-box .tick {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--lime); border: 2px solid var(--lime-dark);
  display: grid; place-items: center; font-size: 34px; color: #1d1d1f; font-weight: 800;
}

/* ===== How it works ===== */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-card {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 34px 28px; position: relative; overflow: hidden; transition: all .25s; box-shadow: var(--shadow);
}
.how-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.how-num {
  font-size: 76px; font-weight: 800; color: transparent;
  -webkit-text-stroke: 1.5px var(--blue); opacity: .55; line-height: 1;
}
.how-card h3 { font-size: 22px; margin: 14px 0 10px; letter-spacing: -0.3px; }
.how-card p { color: var(--text-muted); font-size: 15px; }

/* ===== B2B ===== */
.b2b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.b2b-card {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: all .25s; box-shadow: var(--shadow);
}
.b2b-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.b2b-card .ico, .b2b-card .icon-box {
  width: 54px; height: 54px; border-radius: 16px; background: var(--lime-soft);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; color: var(--lime-dark);
}
.b2b-card .ico svg, .b2b-card .icon-box svg { width: 28px; height: 28px; }
.b2b-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--text); letter-spacing: -0.3px; }
.b2b-card p { color: var(--text-muted); font-size: 14.5px; }

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card {
  display: flex; gap: 18px; background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 28px; transition: all .25s; box-shadow: var(--shadow);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.why-card .ico, .why-card .icon-box {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; background: var(--blue-soft);
  display: grid; place-items: center; color: var(--blue);
}
.why-card .ico svg, .why-card .icon-box svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.3px; }
.why-card p { color: var(--text-muted); font-size: 14.5px; }

/* ===== Story ===== */
.story-wrap {
  max-width: 780px; margin: 0 auto; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 56px 44px; box-shadow: var(--shadow-lg);
}
.story-wrap .big3 { margin-bottom: 20px; }
.story-wrap .big3 img { height: 110px; width: 110px; object-fit: contain; }
.story-wrap p { color: var(--text-muted); font-size: 17px; margin-bottom: 16px; }
.story-wrap p:last-child { margin-bottom: 0; color: var(--text); font-weight: 600; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text); font-family: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-size: 17px; font-weight: 700; cursor: pointer; text-align: start;
}
.faq-q .sign { color: var(--blue); font-size: 26px; font-weight: 400; flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--text-muted); font-size: 15.5px; padding: 0 22px 22px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border-soft); background: var(--bg-card); margin-top: 40px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 56px 24px 30px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.footer-tag { color: var(--text-muted); margin-top: 12px; font-size: 15px; }
.footer h4 { font-size: 15px; margin-bottom: 16px; color: var(--text); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--border-soft); padding: 20px 24px; text-align: center;
  color: var(--text-muted); font-size: 13.5px; max-width: 1200px; margin: 0 auto;
}

/* ===== Skip link & focus ===== */
.skip-link {
  position: fixed; inset-inline-start: 12px; top: -70px; z-index: 1000;
  background: var(--blue); color: #fff; padding: 12px 22px; border-radius: 12px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px;
}

/* ===== Mobile nav ===== */
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    background: var(--bg-card); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border-soft); box-shadow: var(--shadow-lg); padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; width: 100%; border-bottom: 1px solid var(--border-soft); }
  .nav a:last-child { border-bottom: none; }
  .menu-toggle { display: block; }
  .header-actions .btn-primary { display: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .trust-strip, .stats { grid-template-columns: repeat(2, 1fr); }
  .how-grid, .b2b-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .step-label { display: none; }
  .card-grid.cat-grid { grid-template-columns: repeat(2, 1fr); }
  .eval-wrap { padding: 24px 18px; }
  .quote-price { font-size: 46px; }
  .hero-logo { height: 90px; width: 90px; }
  .hero { padding: 70px 24px 50px; }
}
/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); transition: all .25s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-3px); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ===== Social icons ===== */
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-elevated); border: 1px solid var(--border-soft); color: var(--text-muted);
  transition: all .22s;
}
.social-row a:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-3px); background: var(--blue-soft); }
.social-row a svg { width: 20px; height: 20px; }

/* ===== Price land pulse ===== */
@keyframes pricePop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.price-landed { animation: pricePop .45s ease; }

/* ===== Price Carousel (Apple Cards) ===== */
.pcarousel { position: relative; display: flex; align-items: center; gap: 12px; }
.pc-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 4px 20px; scrollbar-width: none; flex: 1;
}
.pc-track::-webkit-scrollbar { display: none; }
.pc-card {
  position: relative; flex: 0 0 280px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1.5px solid var(--border-soft); border-radius: 24px;
  padding: 30px 22px 24px; cursor: pointer; transition: all .3s; font-family: inherit; text-align: center;
}
.pc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.pc-card-img { width: 100%; max-width: 160px; height: 140px; object-fit: contain; margin-bottom: 6px; }
.pc-card-name { font-size: 22px; font-weight: 800; color: var(--text); }
.pc-card-range { font-size: 15px; color: var(--blue); font-weight: 700; }
.pc-card-plus {
  position: absolute; bottom: 16px; inset-inline-end: 16px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center;
  font-size: 22px; font-weight: 700; line-height: 1;
}
.pc-arrow {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--bg-card); color: var(--text); font-size: 26px; cursor: pointer;
  display: grid; place-items: center; transition: all .2s; line-height: 1; z-index: 2;
}
.pc-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ===== Price detail modal ===== */
.pc-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.pc-modal.open { display: flex; }
.pc-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); animation: fadeIn .25s; }
.pc-modal-card {
  position: relative; background: var(--bg-card); border-radius: 26px; box-shadow: var(--shadow-lg);
  max-width: 560px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 32px;
  animation: modalUp .35s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.pc-modal-close {
  position: absolute; top: 18px; inset-inline-end: 18px; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: var(--bg-elevated); color: var(--text); font-size: 18px; cursor: pointer;
  display: grid; place-items: center; transition: all .2s;
}
.pc-modal-close:hover { background: var(--blue); color: #fff; }
.pc-modal-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.pc-modal-img { width: 84px; height: 84px; object-fit: contain; }
.pc-modal-title { font-size: 26px; font-weight: 800; color: var(--text); }
.pc-modal-sub { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.pc-update-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--lime-soft);
  color: var(--lime-dark); font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; margin-bottom: 18px;
}
.pc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime-dark); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.pc-table { display: flex; flex-direction: column; }
.pc-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--border-soft); }
.pc-row:last-child { border-bottom: none; }
.pc-row-head { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.pc-row-name { font-size: 15px; font-weight: 600; color: var(--text); }
.pc-row-price { font-size: 15px; font-weight: 700; color: var(--blue); }

@media (max-width: 900px) {
  .pc-card { flex: 0 0 240px; }
  .pc-arrow { display: none; }
  .pc-modal-card { padding: 24px 20px; }
}

/* ===== Evaluator back button ===== */
.eval-back-row { margin-top: 24px; display: flex; justify-content: flex-start; }
.btn-back {
  background: transparent; color: var(--text-muted); border: 1.5px solid var(--border);
  padding: 10px 22px; font-size: 14px; font-weight: 600; border-radius: 999px;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.btn-back:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }

/* ===== Apple brand card (step 0) ===== */
.brand-stage { display: flex; justify-content: center; padding: 20px 0; }
.apple-brand-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1.5px solid var(--border-soft); border-radius: 28px;
  padding: 48px 64px; cursor: pointer; transition: all .3s; font-family: inherit;
  box-shadow: var(--shadow); max-width: 380px; width: 100%;
}
.apple-brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.apple-brand-mark { width: 84px; height: 84px; object-fit: contain; }
.apple-brand-name { font-size: 34px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.apple-brand-sub { font-size: 15px; color: var(--text-muted); }
.apple-brand-cta { margin-top: 8px; color: var(--blue); font-weight: 700; font-size: 16px; }

/* ===== Family cards (step 1) ===== */
.fam-grid { grid-template-columns: repeat(3, 1fr); }
.fam-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1.5px solid var(--border-soft); border-radius: 22px;
  padding: 26px 18px; cursor: pointer; transition: all .25s; font-family: inherit; text-align: center;
}
.fam-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.fam-img { width: 100%; max-width: 150px; height: 130px; object-fit: contain; margin-bottom: 6px; }
.fam-name { font-size: 20px; font-weight: 800; color: var(--text); }
.fam-tag { font-size: 13px; color: var(--text-muted); }

/* ===== Smart search bar (step 2) ===== */
.search-bar {
  position: sticky; top: 76px; z-index: 30; display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 999px;
  padding: 4px 8px 4px 18px; margin-bottom: 22px; box-shadow: var(--shadow);
}
[dir="rtl"] .search-bar { padding: 4px 18px 4px 8px; }
.search-ico { color: var(--text-muted); display: grid; place-items: center; }
.search-ico svg { width: 20px; height: 20px; }
.search-bar input {
  flex: 1; border: none; outline: none; background: transparent; font-family: inherit;
  font-size: 16px; color: var(--text); padding: 12px 0;
}
.search-bar input::placeholder { color: var(--text-muted); }

/* ===== Product cards (step 2 grid) ===== */
.prod-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.prod-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--bg-card); border: 1.5px solid var(--border-soft); border-radius: 20px;
  padding: 20px 14px; cursor: pointer; transition: all .25s; font-family: inherit; text-align: center;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.prod-img { width: 100%; max-width: 110px; height: 100px; object-fit: contain; margin-bottom: 4px; }
.prod-name { font-size: 15px; font-weight: 700; color: var(--text); }
.prod-from { font-size: 13px; color: var(--blue); font-weight: 600; }
.no-results { grid-column: 1/-1; text-align: center; color: var(--text-muted); padding: 40px 0; font-size: 16px; }

/* ===== Self-assessment (condition step) ===== */
.self-assess-q { font-size: 17px; font-weight: 700; color: var(--text); margin: 6px 0 14px; }
.self-assess-btns { display: flex; gap: 12px; margin-bottom: 16px; }
.sa-btn {
  flex: 0 0 auto; padding: 12px 34px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--bg-card); color: var(--text); font-size: 16px; font-weight: 700; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.sa-btn:hover { border-color: var(--blue); color: var(--blue); }
.sa-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.self-textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 16px; padding: 16px;
  font-family: inherit; font-size: 15px; color: var(--text); background: var(--bg-card);
  resize: vertical; outline: none; transition: border-color .2s; line-height: 1.6;
}
.self-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.self-textarea::placeholder { color: var(--text-muted); }
.cond-divider { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; color: var(--text-muted); font-size: 14px; }
.cond-divider::before, .cond-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

@media (max-width: 900px) {
  .fam-grid { grid-template-columns: 1fr; }
  .apple-brand-card { padding: 36px 28px; }
  .search-bar { top: 64px; }
}

/* ===== Ticker (semi-transparent news bar) ===== */
.ticker {
  position: relative; overflow: hidden; padding: 12px 0;
  background: rgba(31, 110, 242, 0.08); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; gap: 48px; width: max-content; animation: tickerScroll 28s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { color: var(--blue); font-weight: 700; font-size: 15px; white-space: nowrap; }
/* RTL: content flows right, scroll reveals from left */
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(50%); } }
/* LTR: mirror the direction */
[dir="ltr"] .ticker-track { animation-name: tickerScrollLtr; }
@keyframes tickerScrollLtr { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Ad slider ===== */
.adslider-wrap { max-width: 1100px; margin: 0 auto; padding: 20px 24px 10px; }
.adslider { position: relative; height: 320px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.adslide {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  opacity: 0; transition: opacity .8s ease; padding: 30px; color: #fff;
}
.adslide.active { opacity: 1; }
.adslide-content h3 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.adslide-content p { font-size: clamp(15px, 2vw, 19px); opacity: .95; text-shadow: 0 1px 8px rgba(0,0,0,0.2); }
.adslider-dots { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.adslider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--border); transition: all .25s; padding: 0;
}
.adslider-dots button.active { background: var(--blue); transform: scale(1.3); }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== Blog grid ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; transition: all .3s;
  box-shadow: var(--shadow); height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.blog-card-img {
  height: 190px; background: linear-gradient(135deg, #f0f4ff, #e8f5e9);
  display: grid; place-items: center; overflow: hidden; padding: 18px;
}
.blog-card-img img { max-height: 150px; max-width: 100%; object-fit: contain; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-cat { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .5px; }
.blog-card-title { font-size: 18px; font-weight: 800; color: var(--text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; margin-top: 6px; }

/* ===== Article page ===== */
.article-wrap { max-width: 780px; }
.article-cat { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 6px 16px; border-radius: 999px; margin-bottom: 18px; }
.article-title { font-size: clamp(26px, 4.5vw, 40px); font-weight: 800; color: var(--text); line-height: 1.25; letter-spacing: -0.5px; margin-bottom: 16px; }
.article-meta { font-size: 14px; color: var(--text-muted); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.article-content { font-size: 17px; line-height: 1.85; color: var(--text); }
.article-content h2 { font-size: 24px; font-weight: 800; color: var(--text); margin: 40px 0 14px; }
.article-content p { margin-bottom: 18px; color: #3a3a3f; }
.article-content ul, .article-content ol { padding-inline-start: 26px; margin-bottom: 18px; }
.article-content li { margin-bottom: 10px; color: #3a3a3f; }
.article-content strong { color: var(--text); }
.article-cta { background: var(--blue-soft); border: 1px solid var(--blue); border-radius: 22px; padding: 34px; text-align: center; margin: 48px 0; }
.article-cta h3 { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.article-cta p { color: var(--text-muted); margin-bottom: 20px; }
.related-title { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.related-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 18px; padding: 20px; text-decoration: none; color: inherit; transition: all .25s; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.related-card img { max-height: 90px; object-fit: contain; margin-bottom: 14px; }
.related-cat { font-size: 12px; font-weight: 700; color: var(--blue); display: block; margin-bottom: 8px; }
.related-card h4 { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.4; }

/* ===== Trustpilot ===== */
.trustpilot-box { max-width: 900px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); min-height: 160px; }
.tp-placeholder { text-align: center; padding: 30px 20px; }
.tp-stars { color: var(--lime-dark); font-size: 30px; letter-spacing: 6px; margin-bottom: 14px; }
.tp-placeholder p { color: var(--text-muted); font-size: 16px; }
.tp-placeholder .tp-note { font-size: 13px; opacity: .75; margin-top: 6px; }

@media (max-width: 900px) { .adslider { height: 240px; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
