/* Radmehr landing: shared storefront tokens, local assets, progressive motion. */
.rd-landing { --landing-ink: #102b50; --landing-soft: #eef3fb; background: #fff; overflow: clip; }
.rd-landing :where(h1,h2,h3) { text-wrap: balance; }
.rd-landing :where(p) { text-wrap: pretty; }
.rd-landing :where(a,button,summary) { touch-action: manipulation; }
.rd-landing-section { padding-block: clamp(2.5rem,5vw,4.5rem); scroll-margin-top: 10rem; }
.rd-landing-kicker { display: flex; align-items: center; gap: .5rem; font-size: .75rem; line-height: 1.8; font-weight: 600; color: var(--rd-accent); margin-bottom: .65rem; }
.rd-landing .rd-section-title, .rd-home-accessories h2 { color: var(--landing-ink); font-size: clamp(1.35rem,2.4vw,2rem); font-weight: 800; line-height: 1.7; }
.rd-landing-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.rd-landing-section-head p:not(.rd-landing-kicker) { font-size: .8125rem; color: var(--rd-muted-strong); line-height: 1.9; margin-top: .5rem; }
.rd-text-link { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 44px; font-size: .8125rem; font-weight: 600; color: var(--rd-primary); flex-shrink: 0; }
.rd-text-link > span { transition: transform .25s; }
.rd-text-link:hover > span { transform: translateX(-4px); }
.rd-text-link:hover { color: var(--rd-accent); }
.rd-landing-hero { position: relative; padding-block: 1.3rem 1.2rem; background: radial-gradient(ellipse at 88% 30%,#eaf1ff 0,transparent 55%),linear-gradient(180deg,#f9fbff,#f4f7fc); }
.rd-hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 30px; margin-bottom: 1.75rem; }
.rd-hero-topline > p { display: flex; align-items: center; gap: .5rem; font-size: .6875rem; color: var(--rd-muted-strong); }
.rd-small-dot { display: inline-block; height: 6px; width: 6px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 0 4px rgb(59 130 246 / 9%); flex-shrink: 0; }
.rd-landing-hero-grid { display: grid; grid-template-columns: .93fr 1.2fr; align-items: center; gap: clamp(2rem,4vw,4rem); padding-bottom: 1.5rem; }
.rd-landing-hero-copy { position: relative; padding-block: .5rem 1rem; z-index: 1; }
.rd-landing-hero-copy > .rd-landing-kicker { margin-bottom: 1.1rem; }
.rd-landing h1 { font-size: clamp(2.1rem,3.65vw,3.45rem); font-weight: 900; color: var(--landing-ink); line-height: 1.65; letter-spacing: -.065rem; }
.rd-landing h1 > span { color: var(--rd-accent); }
.rd-hero-description { margin-top: 1rem; color: var(--rd-muted-strong); line-height: 2.2; font-size: .875rem; max-width: 29rem; }
.rd-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }
.rd-hero-actions > a { padding: .875rem 1.2rem; font-size: .8125rem; transition: transform .25s,background .25s,box-shadow .25s; }
.rd-hero-actions > .rd-btn-primary { box-shadow: 0 6px 18px rgb(37 99 235 / 20%); }
.rd-hero-actions > a:hover { transform: translateY(-3px); }
.rd-hero-assurance { display: flex; align-items: center; gap: .65rem; margin-top: 2rem; }
.rd-assurance-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 14px; background: #e4edfc; color: var(--rd-primary); }
.rd-hero-assurance strong { display: block; color: var(--landing-ink); font-size: .6875rem; font-weight: 700; }
.rd-hero-assurance p > span { display: block; color: var(--rd-muted-strong); font-size: .625rem; margin-top: .3rem; line-height: 1.9; }
.rd-hero-art { position: relative; min-width: 0; perspective: 1100px; margin-bottom: 1.5rem; }
.rd-hero-art-inner { overflow: hidden; border-radius: 32px; background: #03142c; position: relative; box-shadow: 0 28px 60px -28px rgb(5 31 74 / 55%); transform: rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition: transform .35s ease-out; }
.rd-hero-art-inner::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgb(255 255 255 / 16%); pointer-events: none; background: linear-gradient(180deg,rgb(0 0 0 / 8%),transparent 30%,transparent 72%,rgb(0 8 26 / 70%)); }
.rd-hero-art img { width: 100%; aspect-ratio: 1.32; object-fit: cover; object-position: center; }
.rd-art-edition { display: flex; position: absolute; inset-block-start: 1.5rem; inset-inline-start: 1.5rem; align-items: center; gap: .7rem; color: #c9d9ed; font-family: system-ui,sans-serif; font-size: .6rem; font-weight: 500; letter-spacing: .12rem; z-index: 1; direction: ltr; }
.rd-art-caption { position: absolute; bottom: 4.5rem; inset-inline: 1.5rem; display: flex; align-items: center; gap: .75rem; color: #dceaff; font-size: .6875rem; z-index: 1; }
.rd-art-caption > .icon-\[lucide--sparkles\] { color: #8dbaff; }
.rd-art-caption-line { flex: 1; height: 1px; background: rgb(163 193 237 / 30%); margin-inline-start: .5rem; }
.rd-floating-compare { position: absolute; inset-inline-start: -1.5rem; bottom: -1.5rem; display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border: 1px solid #dde6f3; border-radius: 18px; background: #fff; box-shadow: 0 12px 35px rgb(15 39 72 / 10%); transition: transform .25s,box-shadow .25s; z-index: 2; }
.rd-floating-compare:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgb(15 39 72 / 16%); }
.rd-floating-compare-icon { display: flex; align-items: center; justify-content: center; background: #edf4ff; color: var(--rd-accent); width: 42px; height: 42px; border-radius: 12px; }
.rd-floating-compare strong { display: block; font-size: .75rem; color: var(--landing-ink); }
.rd-floating-compare small { display: block; font-size: .625rem; margin-top: .3rem; color: var(--rd-muted-strong); }
.rd-floating-compare > span:last-child { margin-inline-start: .65rem; color: var(--rd-accent); }
.rd-explore-link { display: flex; align-items: center; justify-content: center; width: fit-content; margin: .5rem auto 0; gap: .6rem; min-height: 44px; color: var(--rd-muted-strong); font-size: .625rem; }
.rd-scroll-marker { width: 15px; height: 23px; border: 1px solid #a6b6cc; border-radius: 8px; position: relative; }
.rd-scroll-marker::before { content: ''; width: 3px; height: 5px; background: var(--rd-accent); border-radius: 2px; position: absolute; left: 5px; top: 4px; }
.rd-service-rail { border-block: 1px solid #e4eaf3; background: #fff; }
.rd-service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding-block: 1.5rem; gap: 1rem; }
.rd-service-grid > div { display: flex; align-items: center; justify-content: center; gap: .75rem; }
.rd-service-grid > div + div { border-inline-start: 1px solid #e3eaf4; }
.rd-service-grid > div > span { width: 25px; height: 25px; flex-shrink: 0; color: var(--rd-accent); }
.rd-service-grid strong { display: block; color: var(--landing-ink); font-size: .75rem; }
.rd-service-grid small { display: block; color: var(--rd-muted-strong); font-size: .625rem; margin-top: .3rem; }
.rd-landing-faqs { display: grid; gap: .75rem; align-content: start; }
.rd-landing-faqs details { background: #fff; border: 1px solid #dfe7f3; border-radius: 15px; overflow: hidden; }
.rd-landing-faqs summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; padding: 1.15rem; font-size: .8125rem; font-weight: 600; line-height: 1.9; color: var(--landing-ink); }
.rd-landing-faqs summary::-webkit-details-marker { display: none; }
.rd-landing-faqs summary > span { flex-shrink: 0; color: var(--rd-accent); transition: transform .25s; }
.rd-landing-faqs details[open] summary > span { transform: rotate(45deg); }
.rd-landing-faqs details[open] { border-color: #a7c3ef; }
.rd-landing-faqs details > div { padding: 0 1.15rem 1.15rem; color: var(--rd-muted-strong); font-size: .75rem; line-height: 2.2; }
.rd-landing-faqs details a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rd-accent); margin-inline-start: .35rem; text-decoration: underline; text-underline-offset: 4px; }

/* Enhance the original landing sections and canonical cards, without changing other pages. */
.rd-home-content { scroll-margin-top: 10rem; }
.rd-home-logo-fallback { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: .25rem; color: var(--rd-primary); font-size: .875rem; line-height: 1.8; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.rd-home-image-fallback { display: flex; width: 100%; height: 100%; min-height: 2rem; align-items: center; justify-content: center; color: var(--rd-muted-strong); background: var(--rd-subtle); }
.rd-home-image-fallback > span { width: 2rem; height: 2rem; }
.rd-home-content .rd-section { padding-block: clamp(2rem,4vw,3.5rem); }
.rd-home-content .rd-section-head-center { max-width: 40rem; margin-inline: auto; }
.rd-home-content .rd-section-sub { color: var(--rd-muted-strong); line-height: 1.9; }
.rd-home-content .rd-product-card { border-radius: 20px; box-shadow: 0 4px 16px rgb(19 44 81 / 3%); transition: transform .3s,border-color .3s,box-shadow .3s; }
.rd-home-content .rd-product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgb(19 44 81 / 9%); }
.rd-home-category { position: relative; transition: background .25s,border-color .25s,transform .3s,box-shadow .3s; }
.rd-home-category::after { content: ''; position: absolute; inset-inline: 25%; bottom: 0; height: 2px; border-radius: 3px; background: var(--rd-accent); transform: scaleX(0); transition: transform .3s; }
.rd-home-category:hover { transform: translateY(-5px); }
.rd-home-category:hover::after { transform: scaleX(1); }
.rd-home-category img { transition: transform .4s; }
.rd-home-category:hover img { transform: scale(1.08) rotate(-4deg); }
.rd-home-content .rd-trust-card { border-radius: 20px; transition: transform .3s,border-color .25s,box-shadow .3s; }
.rd-home-content .rd-trust-card:hover { transform: translateY(-4px); border-color: #aac5ef; box-shadow: 0 10px 25px rgb(37 99 235 / 6%); }
.rd-home-content .rd-promo-strip, .rd-home-content .rd-promo-samsung, .rd-home-content .rd-promo-xiaomi { border-radius: 24px; }
.rd-home-accessories { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; overflow: hidden; border-radius: 24px; background: #e8f1fc; border: 1px solid #d7e5f7; }
.rd-home-accessories-copy { padding: clamp(1.5rem,4vw,3rem); min-width: 0; }
.rd-home-accessories h2 { font-size: clamp(1.65rem,3vw,2.5rem); line-height: 1.6; }
.rd-home-accessories-copy > p:not(.rd-landing-kicker) { font-size: .8125rem; line-height: 2.1; color: var(--rd-muted-strong); margin-block: 1rem .5rem; max-width: 25rem; }
.rd-home-accessories-art { overflow: hidden; height: 100%; min-height: 340px; }
.rd-home-accessories img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.rd-home-accessories:hover img { transform: scale(1.035); }
.rd-home-final { position: relative; overflow: hidden; }
.rd-home-final::before { content: ''; position: absolute; pointer-events: none; width: 280px; height: 280px; border: 45px solid rgb(37 99 235 / 4%); border-radius: 50%; inset-inline-start: -110px; top: -110px; }
/* Content stays visible without JavaScript. Only observed elements are staged. */
@media (prefers-reduced-motion: no-preference) {
  .rd-landing:not(.is-motion-reduced) .rd-intro { animation: rd-landing-enter .85s cubic-bezier(.22,1,.36,1) both; }
  .rd-landing:not(.is-motion-reduced) .rd-intro:nth-child(2) { animation-delay: .1s; }
  .rd-landing:not(.is-motion-reduced) .rd-intro:nth-child(3) { animation-delay: .2s; }
  .rd-landing:not(.is-motion-reduced) .rd-intro:nth-child(4) { animation-delay: .3s; }
  .rd-landing:not(.is-motion-reduced) .rd-intro:nth-child(5) { animation-delay: .4s; }
  .rd-landing:not(.is-motion-reduced) .rd-scroll-marker::before { animation: rd-scroll-cue 1.5s ease-in-out 3; }
  .rd-landing [data-reveal] { transition: opacity .65s ease,translate .65s cubic-bezier(.22,1,.36,1),transform .3s,border-color .25s,background .25s,box-shadow .3s; }
  .rd-landing [data-reveal].is-reveal-pending { opacity: 0; translate: 0 24px; }
  .rd-landing [data-reveal].is-revealed { opacity: 1; translate: 0 0; transition-delay: var(--reveal-delay,0ms); }
}
@keyframes rd-landing-enter { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes rd-scroll-cue { 50% { transform: translateY(6px); opacity: .35; } }
.rd-landing.is-motion-reduced *, .rd-landing.is-motion-reduced *::before, .rd-landing.is-motion-reduced *::after { animation: none !important; transition: none !important; }
.rd-landing.is-motion-reduced [data-reveal],.rd-landing [data-reveal]:focus-within { opacity: 1; translate: none; }
.rd-landing.is-motion-reduced [data-hero-tilt] { transform: none; }

@media (max-width: 1023px) {
  .rd-landing-hero-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .rd-landing h1 { font-size: clamp(1.75rem,4vw,2.75rem); }
  .rd-hero-art img { aspect-ratio: 1; }
  .rd-floating-compare { inset-inline-start: -.5rem; padding: .7rem; gap: .5rem; }
  .rd-hero-description { font-size: .8125rem; }
  .rd-hero-actions { gap: .5rem; }
  .rd-hero-actions > a { font-size: .75rem; padding: .75rem .85rem; }
  .rd-service-grid > div { gap: .5rem; }
  .rd-service-grid strong { font-size: .6875rem; }
  .rd-service-grid small { font-size: .5625rem; }
  .rd-home-accessories { grid-template-columns: 1fr 1fr; }
  .rd-home-accessories-art { min-height: 310px; }
}
@media (max-width: 767px) {
  .rd-hero-topline { margin-bottom: 1rem; }
  .rd-landing-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .rd-landing-hero-copy { text-align: center; padding-top: .75rem; }
  .rd-landing-hero-copy > .rd-landing-kicker { justify-content: center; font-size: .6875rem; margin-bottom: .75rem; }
  .rd-landing h1 { font-size: clamp(2rem,7.5vw,3rem); line-height: 1.5; }
  .rd-hero-description { margin-inline: auto; max-width: 31rem; margin-top: .75rem; }
  .rd-hero-actions { justify-content: center; margin-top: 1.25rem; }
  .rd-hero-assurance { justify-content: center; text-align: start; margin-top: 1.25rem; }
  .rd-hero-art { order: -1; margin: .5rem .5rem 1.2rem; }
  .rd-hero-art img { aspect-ratio: 1.5; }
  .rd-hero-art-inner { border-radius: 24px; }
  .rd-floating-compare { bottom: -1.3rem; inset-inline-start: -.4rem; }
  .rd-art-caption { display: none; }
  .rd-art-edition { inset-inline-start: 1rem; inset-block-start: 1rem; font-size: .5rem; }
  .rd-explore-link { margin-top: 1.25rem; }
  .rd-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem .75rem; padding-block: 1.5rem; }
  .rd-service-grid > div { justify-content: flex-start; padding-inline-start: .75rem; }
  .rd-service-grid > div:nth-child(3) { border-inline-start: 0; }
  .rd-service-grid small { font-size: .625rem; }
  .rd-service-grid strong { font-size: .75rem; }
  .rd-home-accessories { grid-template-columns: 1fr; }
  .rd-home-accessories-copy { padding-bottom: 1rem; }
  .rd-home-accessories-art { min-height: 0; }
  .rd-home-accessories img { height: auto; aspect-ratio: 1.65; object-position: center 50%; }
}
@media (max-width: 479px) {
  .rd-landing-hero { padding-top: .65rem; }
  .rd-hero-topline { gap: .5rem; margin-bottom: .25rem; }
  .rd-hero-topline > p { font-size: .5625rem; }
  .rd-hero-actions { display: grid; grid-template-columns: 1.15fr 1fr; gap: .5rem; }
  .rd-hero-actions > a { font-size: .6875rem; padding-inline: .6rem; min-height: 48px; }
  .rd-hero-actions > a > span { width: 16px; height: 16px; }
  .rd-hero-description { font-size: .75rem; }
  .rd-hero-assurance p > span { font-size: .5625rem; }
  .rd-hero-art { margin-inline: 0; }
  .rd-hero-art img { aspect-ratio: 1.6; }
  .rd-floating-compare { padding: .6rem .7rem; }
  .rd-floating-compare-icon { width: 36px; height: 36px; }
  .rd-floating-compare strong { font-size: .6875rem; }
  .rd-floating-compare small { font-size: .5625rem; }
  .rd-home-content .rd-product-card { border-radius: 15px; }
}
.rd-landing.is-motion-reduced :is(.rd-product-card,.rd-home-category,.rd-trust-card):hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rd-landing [data-reveal] { opacity: 1; translate: none; }
  .rd-landing [data-hero-tilt] { transform: none; }
  .rd-landing :is(a,.rd-product-card,.rd-trust-card):hover { transform: none; }
}

.rd-hero-used-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .5rem; color: var(--rd-primary); font-size: .75rem; font-weight: 600; }
.rd-hero-used-link:hover { color: var(--rd-accent); }
.rd-hero-assurance { margin-top: 1rem; }
@media (max-width: 767px) { .rd-hero-used-link { justify-content: center; font-size: .6875rem; } }
