@font-face { font-family: "Telvenli"; src: url("assets/fonts/Telvenli-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Telvenli"; src: url("assets/fonts/Telvenli-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Telvenli"; src: url("assets/fonts/Telvenli-Medium.ttf") format("truetype"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Telvenli"; src: url("assets/fonts/Telvenli-Bold.ttf") format("truetype"); font-weight: 700 800; font-display: swap; }

:root {
  --black: #0a0a0a;
  --ink: #1c1e21;
  --gray-900: #1c1e21;
  --gray-600: #65676b;
  --gray-300: #d0d3d8;
  --gray-100: #f0f2f5;
  --white: #ffffff;
  --blue: #0064e0;
  --blue-dark: #0047b3;
  --radius: 18px;
  --container: 1240px;
  --font: "Telvenli", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: #e6e6e6; }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #333; }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; }
.link { font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  opacity: .75; margin-bottom: 14px;
}

/* Promo bar */
.promo-bar {
  background: var(--black); color: var(--white); text-align: center;
  font-size: 13px; padding: 9px 16px; font-weight: 500;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-100);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo-rb { height: 26px; width: auto; border-radius: 3px; }
.nav__logo-meta { height: 22px; width: auto; }
.nav__divider { color: var(--gray-300); font-weight: 300; font-size: 22px; }
.nav__region {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-600); border: 1px solid var(--gray-300); border-radius: 999px; padding: 3px 9px; margin-left: 4px;
}
.footer__brand { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; }
.footer__logo-rb { height: 34px; width: auto; border-radius: 4px; }
.footer__logo-meta { height: 26px; width: auto; }
.hero__sub s { opacity: .55; font-weight: 400; }
.compare-table s { color: var(--gray-600); font-weight: 400; font-size: 13px; margin-left: 6px; }
.nav__links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links a { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s; }
.nav__links a:hover { border-color: var(--black); }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: var(--gray-100); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--blue); color: var(--white);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.nav__burger { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  min-height: 72vh; display: flex; align-items: center;
  background: var(--black);
}
.hero__bg { display: none; }
.hero__content { position: relative; z-index: 2; padding: 110px 0; max-width: 720px; }
.hero h1 { font-size: clamp(42px, 6.5vw, 80px); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; margin-bottom: 24px; max-width: 12ch; }
.hero__sub { font-size: 19px; line-height: 1.6; opacity: .85; max-width: 520px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__price { font-size: 15px; opacity: .8; }
.hero__price strong { color: var(--white); opacity: 1; font-weight: 700; }

/* Strip */
.strip { background: var(--gray-100); }
.strip__inner {
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 28px 0; gap: 12px; text-align: center;
}
.strip__item { display: flex; flex-direction: column; gap: 2px; }
.strip__item strong { font-size: 24px; letter-spacing: -.02em; }
.strip__item span { font-size: 13px; color: var(--gray-600); }

/* Section headings */
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { color: var(--gray-600); margin-top: 8px; }

/* Shop */
.shop { padding: 88px 0; }
.filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--gray-300);
  font-size: 14px; font-weight: 600; transition: all .15s;
}
.chip:hover { border-color: var(--black); }
.chip.is-active { background: var(--black); color: var(--white); border-color: var(--black); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--gray-100); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.card__media { position: relative; background: var(--gray-100); padding: 12px; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.card__badge {
  position: absolute; top: 16px; left: 16px; background: var(--black); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.card__badge--blue { background: var(--blue); }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease, opacity .2s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 8px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.card__desc { font-size: 14px; color: var(--gray-600); }
.swatches { display: flex; gap: 8px; align-items: center; }
.swatches { flex-wrap: wrap; }
.swatch {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  border: 1.5px solid var(--gray-300); color: var(--gray-600); transition: all .15s;
}
.swatch:hover { border-color: var(--black); color: var(--black); }
.swatch.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.swatch__name { font-size: 13px; color: var(--gray-600); margin-left: 4px; }
.card__price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 6px; }
.card__price strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.card__price s { color: var(--gray-600); font-size: 14px; }
.card__price .save { font-size: 12px; font-weight: 700; color: var(--blue); }
.card__actions { display: flex; gap: 8px; }
.card__actions .btn { padding: 12px 20px; font-size: 14px; flex: 1; }
.btn--outline { border: 1.5px solid var(--black); color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--wa { background: #25D366; color: #fff; gap: 8px; }
.btn--wa:hover { background: #1ebe5b; }
.btn--wa svg { width: 18px; height: 18px; flex: none; }

/* Features */
.features { padding: 40px 0 88px; display: flex; flex-direction: column; gap: 24px; }
.features .container { display: flex; flex-direction: column; gap: 24px; }
.feature {
  border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.feature__text { padding: 64px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.feature__text h3 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.feature__text p { font-size: 17px; max-width: 440px; }
.feature__text .link { align-self: flex-start; margin-top: 10px; }
.feature--dark { background: var(--black); color: var(--white); }
.feature--dark .feature__text p { opacity: .8; }
.feature--light { background: var(--gray-100); color: var(--ink); }
.feature--blue { background: var(--blue); color: var(--white); }
.feature--blue .feature__text p { opacity: .9; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-row .feature { grid-template-columns: 1fr; min-height: 340px; }
.feature__visual { min-height: 320px; display: grid; place-items: center; padding: 40px; }
.feature__visual img { width: 100%; max-width: 480px; height: auto; }
.feature__visual--camera { background: var(--black); }
.feature__visual--live { background: var(--black); }

/* Compare */
.compare { padding: 0 0 88px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-300); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--gray-100); }
.compare-table thead th { font-size: 17px; font-weight: 800; background: var(--gray-100); }
.compare-table tbody td:first-child { color: var(--gray-600); font-weight: 500; }
.compare-table tbody tr:first-child td:not(:first-child) { font-weight: 800; }
.compare-table tr:last-child td { border-bottom: 0; }

/* Support */
.support { background: var(--gray-100); padding: 64px 0; }
.support__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.support h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.support p { color: var(--gray-600); margin-top: 6px; }
.newsletter { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input {
  font: inherit; padding: 14px 18px; border-radius: 999px; border: 1.5px solid var(--gray-300);
  min-width: 280px; background: var(--white);
}
.newsletter input:focus { outline: none; border-color: var(--black); }

/* Footer */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--gray-100); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer__grid a { display: block; color: var(--gray-600); padding: 4px 0; }
.footer__grid a:hover { color: var(--black); }
.footer__store { color: var(--gray-600); }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--gray-100);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--gray-600); font-size: 12px;
}

/* Cart drawer */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none;
  transition: opacity .25s; z-index: 90;
}
.cart {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--white);
  z-index: 100; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.15);
}
body.cart-open .cart { transform: translateX(0); }
body.cart-open .cart-overlay { opacity: 1; pointer-events: auto; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--gray-100); }
.cart__head h3 { font-size: 20px; font-weight: 800; }
.cart__items { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart__empty { color: var(--gray-600); text-align: center; padding: 40px 0; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; }
.cart-item__thumb { background: var(--gray-100); border-radius: 12px; padding: 6px; }
.cart-item__thumb img { width: 100%; height: auto; }
.cart-item__name { font-weight: 700; font-size: 15px; }
.cart-item__meta { font-size: 13px; color: var(--gray-600); }
.cart-item__qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-item__qty button { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gray-300); font-weight: 700; }
.cart-item__qty button:hover { border-color: var(--black); }
.cart-item__price { font-weight: 800; white-space: nowrap; }
.cart__foot { padding: 20px 24px; border-top: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 14px; }
.cart__total { display: flex; justify-content: space-between; font-size: 18px; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--black); color: var(--white); padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; opacity: 0; transition: all .25s; z-index: 200; pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature__text { padding: 44px 32px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); padding: 16px; border-bottom: 1px solid var(--gray-100); gap: 6px;
  }
  .hero { min-height: auto; }
  .hero__content { padding: 72px 0 64px; }
  .hero h1 { max-width: none; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__item:last-child { grid-column: span 2; }
  .grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature__visual { min-height: 220px; }
  .newsletter input { min-width: 0; flex: 1; }
}
@media (max-width: 480px) {
  .promo-bar { font-size: 12px; padding: 8px 12px; }
  .nav__inner { height: 58px; gap: 8px; }
  .nav__region { display: none; }
  .nav__logo-rb { height: 20px; }
  .nav__logo-meta { height: 17px; }
  .nav__divider { font-size: 18px; }
  .lang-select { font-size: 12px; padding: 6px 26px 6px 12px; }
  .icon-btn { width: 36px; height: 36px; }
  .hero__content { padding: 56px 0 52px; }
  .hero h1 { font-size: 40px; line-height: 1.15; margin-bottom: 18px; }
  .hero__sub { font-size: 17px; margin-bottom: 26px; }
  .hero__cta .btn { padding: 13px 22px; font-size: 14px; }
  .hero__price { font-size: 13px; }
  .strip__inner { padding: 22px 0; gap: 14px 8px; }
  .strip__item strong { font-size: 20px; }
  .strip__item span { font-size: 12px; }
  .shop { padding: 56px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head h2 { font-size: 30px; }
  .section-head p { font-size: 14px; }
  .filters {
    justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 8px;
    margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .card__media { padding: 8px; aspect-ratio: 5 / 4; }
  .card__body { padding: 8px 18px 18px; }
  .card__title { font-size: 18px; }
  .card__actions { flex-direction: column; }
  .card__actions .btn { width: 100%; }
  .features { padding: 8px 0 56px; }
  .feature { min-height: 0; }
  .feature__text { padding: 32px 22px; }
  .feature__text h3 { font-size: 28px; }
  .feature__text p { font-size: 15px; }
  .feature__visual { min-height: 0; padding: 8px 24px 32px; }
  .feature-row .feature { min-height: 0; }
  .compare { padding-bottom: 56px; }
  .compare-table th, .compare-table td { padding: 12px 12px; font-size: 13px; }
  .compare-table thead th { font-size: 14px; }
  .support { padding: 48px 0; }
  .support h2 { font-size: 26px; }
  .footer { padding: 48px 0 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .cart { width: 100%; }
}

/* Language toggle */
.lang-select {
  font: inherit; font-size: 13px; font-weight: 700; padding: 7px 30px 7px 14px; border-radius: 999px;
  border: 1.5px solid var(--gray-300); background: var(--white) no-repeat right 12px center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%231c1e21' stroke-width='1.6' stroke-linecap='round'/></svg>");
  appearance: none; -webkit-appearance: none; color: var(--ink); cursor: pointer; margin-inline-end: 4px;
}
.lang-select:hover, .lang-select:focus { border-color: var(--black); outline: none; }
html[dir="rtl"] .lang-select { padding: 7px 14px 7px 30px; background-position: left 12px center; }

/* Arabic / RTL */
html[lang="ar"] body { font-family: "Telvenli", -apple-system, "Segoe UI", Tahoma, Arial, sans-serif; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.35; max-width: 16ch; }
html[lang="ar"] .eyebrow { letter-spacing: 0; }
html[lang="ar"] .feature__text h3, html[lang="ar"] .section-head h2 { letter-spacing: 0; line-height: 1.35; }
html[dir="rtl"] .compare-table th, html[dir="rtl"] .compare-table td { text-align: right; }
html[dir="rtl"] .cart { right: auto; left: 0; transform: translateX(-100%); box-shadow: 20px 0 60px rgba(0,0,0,.15); }
html[dir="rtl"] body.cart-open .cart, html[dir="rtl"] .cart-open .cart { transform: translateX(0); }
html[dir="rtl"] .cart-count { right: auto; left: 2px; }
html[dir="rtl"] .card__badge { left: auto; right: 16px; }
html[dir="rtl"] .compare-table s { margin-left: 0; margin-right: 6px; }

/* Keep amounts on one line */
.hero__sub strong, .hero__sub s, .card__price strong, .card__price s, .compare-table td span, .compare-table td s { white-space: nowrap; }

/* Content protection: no text selection, no image dragging */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; }
img, svg { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
a img, button img { pointer-events: none; }

/* FAQ */
.faq { padding: 0 0 88px; }
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid var(--gray-300); border-radius: 16px; background: var(--white); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--gray-600); flex: none; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 22px 20px; color: var(--gray-600); line-height: 1.6; }
html[lang="ar"] .faq__item summary { line-height: 1.5; }
@media (max-width: 480px) { .faq { padding-bottom: 56px; } .faq__item summary { padding: 14px 16px; font-size: 15px; } .faq__item p { padding: 0 16px 16px; font-size: 14px; } }

/* Loader */
#loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .4s ease, visibility .4s;
}
body:not(.is-loading) #loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__bar { width: 160px; height: 3px; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; border-radius: 999px; background: var(--blue); animation: loaderSlide 1.1s ease-in-out infinite; }
@keyframes loaderSlide { 0% { transform: translateX(-120%); } 100% { transform: translateX(300%); } }
.loader__text { font-size: 14px; opacity: .75; }
