/* =========================================================
   Techria — Marketing Agency
   Design tokens: near-black stage, rose-gold-bronze gradient,
   Playfair Display for the wordmark, Reem Kufi for Arabic
   headings, Tajawal for body, JetBrains Mono for labels.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;0,800;1,600&family=Reem+Kufi:wght@400..700&family=Tajawal:wght@300;400;500;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  --bg:#fbf5f0;
  --bg-1:#f5ebe1;
  --panel:#ffffff;
  --panel-2:#fdf8f3;
  --line: rgba(120,80,52,.12);
  --line-strong: rgba(120,80,52,.22);

  --ink:#4a3626;
  --ink-dim:#8a7461;
  --ink-faint:#bdaa98;

  --rose-1:#f6e7db;   /* pale champagne blush */
  --rose-2:#e8bda6;   /* muted pastel rose */
  --rose-3:#c99872;   /* soft pastel bronze */
  --rose-4:#8a5c3d;   /* calm espresso-bronze (text-safe) */

  --gold-1:#f3e4bd;   /* pale champagne gold */
  --gold-2:#cfab68;   /* muted pastel gold */

  --accent: var(--rose-3);
  --grad-text: linear-gradient(120deg,var(--rose-4) 0%, var(--rose-3) 40%, var(--gold-2) 75%, var(--rose-3) 100%);
  --grad-bar: linear-gradient(180deg,var(--gold-1), var(--rose-4));
  --grad-btn: linear-gradient(120deg,#efd3ae, #c99872 55%, #93643f);
  --grad-glow: radial-gradient(circle, rgba(246,231,219,.9), rgba(232,189,166,.3) 55%, transparent 75%);
  --grad-gold-line: linear-gradient(90deg, transparent, var(--gold-2), transparent);

  --shadow-soft: 0 20px 55px -28px rgba(122,74,44,.24);
  --shadow-pop: 0 18px 40px -16px rgba(176,110,74,.28);
  --radius: 18px;
  --radius-sm: 12px;

  /* calm, pastel "brown" tone for WhatsApp — replaces the stock green
     so it stays inside the site's own palette instead of clashing. */
  --wa-1:#d9ab84;
  --wa-2:#9c6b45;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}

body{
  background:var(--bg);
  color:var(--ink);
  font-family:'Tajawal', sans-serif;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  position:relative;
  -webkit-overflow-scrolling:touch;
}

body::before{
  content:"";
  /* absolute, not fixed: a fixed background with this many layered
     gradients forces mobile browsers to repaint it on every scroll
     frame, which shows up as visible stutter/shake while scrolling.
     Absolute lets it scroll with the page instead — same look,
     none of the jank. */
  position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 12% 4%, rgba(232,189,166,.22), transparent 44%),
    radial-gradient(circle at 90% 8%, rgba(243,228,189,.32), transparent 46%),
    radial-gradient(circle at 88% 92%, rgba(232,189,166,.2), transparent 48%),
    radial-gradient(circle at 8% 85%, rgba(207,168,140,.1), transparent 45%),
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.5), transparent 60%);
  pointer-events:none;
  z-index:0;
}

/* ---------- ambient sparkles (Disney-esque glimmer) ---------- */
.sparkle{position:absolute; pointer-events:none; z-index:1;}
.sparkle svg{width:100%; height:100%; display:block;}
.sparkle{animation: twinkle 2.6s ease-in-out infinite;}
.sparkle.s2{animation-delay:.5s;}
.sparkle.s3{animation-delay:1.1s;}
.sparkle.s4{animation-delay:1.7s;}
@keyframes twinkle{
  0%,100%{opacity:.15; transform:scale(.75) rotate(0deg);}
  50%{opacity:1; transform:scale(1.1) rotate(12deg);}
}
@media (prefers-reduced-motion: reduce){ .sparkle{animation:none; opacity:.6;} }

.wrap{max-width:1180px; margin:0 auto; padding:0 26px; position:relative; z-index:1;}

a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
button{font-family:inherit; cursor:pointer;}

h1,h2,h3,h4{font-family:'Reem Kufi', sans-serif; font-weight:700; line-height:1.35; color:var(--ink);}
.font-display{font-family:'Playfair Display', serif;}

.grad-text{
  background:var(--grad-text);
  background-size:200% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer{ 0%,100%{background-position:0% center;} 50%{background-position:100% center;} }
@media (prefers-reduced-motion: reduce){ .grad-text{animation:none;} }

.eyebrow{
  font-family:'JetBrains Mono', monospace;
  font-size:11px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--rose-2);
  display:inline-flex; align-items:center; gap:10px;
}
.eyebrow::before{content:""; width:22px; height:1px; background:var(--rose-3); display:inline-block;}

/* ---------- reveal on scroll ---------- */
.reveal{opacity:0; transform:translateY(26px); transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);}
.reveal.in-view{opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1; transform:none; transition:none;}
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important;}
}

/* ---------- QR finder-mark motif (signature element) ---------- */
.finder{display:inline-block; flex-shrink:0;}
.finder svg{display:block;}

.corner-mark{
  position:absolute; width:26px; height:26px; pointer-events:none;
  border:1.5px solid var(--rose-3); opacity:.55;
}
.corner-mark.tl{top:-1px; left:-1px; border-width:1.5px 0 0 1.5px; border-radius:6px 0 0 0;}
.corner-mark.br{bottom:-1px; right:-1px; border-width:0 1.5px 1.5px 0; border-radius:0 0 6px 0;}

/* ================= Header ================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(253,244,236,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom:1px solid var(--line);
  transform:translateZ(0); /* own compositor layer: keeps the sticky header smooth during scroll */
}
@media (max-width:760px){
  /* Heavy blur recalculated every scroll frame on a sticky element is
     a common source of stutter on mid-range phones — a lighter blur
     keeps the same frosted look with far less repaint cost. */
  .site-header{
    background:rgba(253,244,236,.92);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
  }
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 26px; gap:18px;
}
.brand{display:flex; align-items:center; gap:12px;}
.logo-frame{
  position:relative; flex-shrink:0;
  width:48px; height:48px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(155deg, #fff 0%, var(--rose-1) 100%);
  box-shadow: 0 0 0 1px var(--line-strong), 0 8px 18px -8px rgba(196,120,90,.5);
  transition: transform .3s cubic-bezier(.2,.8,.3,1.3), box-shadow .3s;
}
.brand:hover .logo-frame{ transform: translateY(-2px) rotate(-3deg); box-shadow: 0 0 0 1px var(--rose-3), 0 12px 22px -8px rgba(196,120,90,.6); }
.brand-mark-img{width:78%; height:78%; border-radius:9px; object-fit:cover;}
.brand-text{display:flex; flex-direction:column; line-height:1.2;}
.brand-text .en{font-family:'Playfair Display', serif; font-weight:700; font-size:20px; letter-spacing:.01em;}
.brand-text .ar{font-size:11.5px; color:var(--ink-dim); font-family:'JetBrains Mono', monospace; letter-spacing:.04em;}

.main-nav ul{display:flex; gap:26px; list-style:none;}
.main-nav a{font-size:14.5px; color:var(--ink-dim); transition:.2s; position:relative;}
.main-nav a:hover{color:var(--ink);}
.main-nav a::after{content:""; position:absolute; bottom:-6px; right:0; width:0; height:1px; background:var(--grad-bar); transition:.25s;}
.main-nav a:hover::after{width:100%;}

.nav-cta{
  background:var(--grad-btn); color:#3c2415; font-weight:700; font-size:13.5px;
  padding:10px 20px; border-radius:100px; border:none;
  box-shadow:0 10px 24px -10px rgba(207,138,111,.55);
  transition:transform .3s cubic-bezier(.3,.8,.4,1.4), box-shadow .3s;
  white-space:nowrap;
}
.nav-cta:hover{transform:translateY(-2px) scale(1.04); box-shadow:0 14px 28px -10px rgba(207,138,111,.7);}

.hamburger{display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; background:none; border:none; width:44px; height:44px; flex-shrink:0;}
.hamburger span{width:22px; height:2px; background:var(--ink); border-radius:2px; transition:.2s;}

@media (max-width:880px){
  .main-nav{
    display:none;
    position:absolute; top:100%; right:0; left:0;
    background:rgba(253,244,236,.98); border-bottom:1px solid var(--line);
    padding:10px 26px 18px;
    box-shadow: var(--shadow-soft);
  }
  .main-nav.open{display:block;}
  .main-nav ul{flex-direction:column; gap:4px;}
  .main-nav a{display:block; padding:10px 0;}
  .hamburger{display:flex;}
}

/* ================= Hero ================= */
.hero{
  padding:88px 0 60px;
  position:relative;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.hero-grid{display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center;}
.hero-title{
  font-size:clamp(34px,5vw,58px);
  margin:20px 0 22px;
}
.hero-sub{font-size:17px; color:var(--ink-dim); max-width:52ch; margin-bottom:30px;}
.hero-cta-row{display:flex; gap:14px; flex-wrap:wrap;}

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 26px; border-radius:100px; font-weight:700; font-size:14.5px;
  border:1px solid var(--line-strong); transition:transform .3s cubic-bezier(.3,.8,.4,1.4), box-shadow .3s, border-color .25s, color .25s, background .25s;
}
.btn-primary{background:var(--grad-btn); color:#3c2415; border:none; box-shadow:0 14px 30px -12px rgba(207,138,111,.55);}
.btn-primary:hover{transform:translateY(-3px) scale(1.03); box-shadow:0 18px 34px -12px rgba(207,138,111,.75);}
.btn-ghost{color:var(--ink); background:#fff;}
.btn-ghost:hover{border-color:var(--rose-3); color:var(--rose-4); transform:translateY(-3px) scale(1.03); box-shadow:var(--shadow-pop);}
.btn-sm{padding:9px 16px; font-size:12.5px;}
.btn-block{width:100%; justify-content:center;}

.hero-visual{
  position:relative; height:360px; display:flex; align-items:center; justify-content:center;
}
.hero-mark-frame{
  position:relative; width:280px; height:280px; border-radius:32px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(160deg, #fff 0%, var(--rose-1) 60%, var(--rose-2) 100%);
  box-shadow: 0 30px 70px -22px rgba(196,120,90,.55), 0 0 0 1px var(--line-strong), inset 0 0 0 8px #fff;
  animation: float-y 6s ease-in-out infinite;
}
.hero-mark-frame::before{
  content:""; position:absolute; inset:-30px; z-index:-1; border-radius:50%;
  background: var(--grad-glow); filter:blur(2px);
}
.hero-mark-img{width:72%; height:72%; border-radius:22px; object-fit:cover;}
@keyframes float-y{ 0%,100%{transform:translateY(0px) rotate(0deg);} 50%{transform:translateY(-16px) rotate(1.5deg);} }

.hero-orbit{position:absolute; inset:0; pointer-events:none;}
.hero-orbit .ring{position:absolute; border:1.5px dashed rgba(207,138,111,.3); border-radius:50%; top:50%; left:50%; transform:translate(-50%,-50%);}
.ring-a{width:390px; height:390px; animation:spin 40s linear infinite;}
.ring-b{width:330px; height:330px; animation:spin 55s linear infinite reverse;}
@keyframes spin{ to{ transform:translate(-50%,-50%) rotate(360deg);} }
/* ---------- stat "pendant chain" — echoes the necklace/bracelet products ---------- */
.stat-chain{
  position:relative;
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:14px; margin-top:56px; padding-top:34px;
  flex-wrap:wrap;
}
.chain-line{
  position:absolute; top:8px; left:6%; right:6%; height:1px;
  background:linear-gradient(90deg, transparent, var(--gold-2) 12%, var(--rose-3) 50%, var(--gold-2) 88%, transparent);
  opacity:.55;
}
.chain-line::before, .chain-line::after{
  content:""; position:absolute; top:-3px; width:7px; height:7px; border-radius:50%;
  background:var(--gold-2); box-shadow:0 0 0 3px var(--bg);
}
.chain-line::before{left:0;}
.chain-line::after{right:0;}

.pendant{
  position:relative; flex:1 1 150px; text-align:center;
  padding-top:6px;
  opacity:0; transform:translateY(14px);
  animation:pendant-drop .6s cubic-bezier(.2,.7,.2,1) forwards;
}
.pendant:nth-child(2){animation-delay:.12s;}
.pendant:nth-child(3){animation-delay:.24s;}
.pendant:nth-child(4){animation-delay:.36s;}
@keyframes pendant-drop{ to{opacity:1; transform:translateY(0);} }

.pendant-badge{
  width:40px; height:40px; margin:0 auto 12px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 30% 25%, #fff, var(--rose-1) 70%);
  border:1px solid var(--line-strong);
  box-shadow:var(--shadow-soft);
  transition:transform .3s ease, box-shadow .3s ease;
}
.pendant-badge svg{width:19px; height:19px; stroke:var(--rose-4); fill:none; stroke-width:1.7;}
.pendant:hover .pendant-badge{transform:translateY(-4px) scale(1.06); box-shadow:var(--shadow-pop);}

.pendant-num{font-family:'Playfair Display',serif; font-size:30px; color:var(--rose-4); font-weight:700; line-height:1;}
.pendant-label{font-size:12.5px; color:var(--ink-faint); margin-top:6px;}
.pendant-mid .pendant-badge{background:radial-gradient(circle at 30% 25%, #fff, var(--gold-1) 75%);}

@media (max-width:640px){
  .stat-chain{padding-top:28px;}
  .chain-line{top:6px;}
}

/* ================= Organized dense-category list (Marketing / Office) ================= */
.service-list{
  display:grid; grid-template-columns:repeat(2,1fr);
  gap:2px 32px;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:8px 22px;
}
.service-item{
  display:flex; align-items:flex-start; gap:14px;
  padding:16px 2px; border-bottom:1px dashed var(--line);
  transition:.2s;
}
.service-list .service-item:nth-last-child(-n+2){border-bottom:none;}
.service-item:hover{background:var(--panel-2);}
.service-icon{
  flex-shrink:0; width:38px; height:38px; border-radius:11px; margin-top:2px;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 30% 20%, rgba(244,201,189,.22), rgba(156,100,73,.12));
  border:1px solid var(--line-strong);
}
.service-icon svg{width:18px; height:18px; stroke:var(--rose-4); fill:none; stroke-width:1.7;}
.service-text{flex:1; min-width:0;}
.service-title{display:block; font-size:14.5px; font-weight:700; color:var(--ink); margin-bottom:3px;}
.service-desc{display:block; font-size:12.5px; color:var(--ink-dim); line-height:1.55;}
.service-arrow{
  flex-shrink:0; width:26px; height:26px; margin-top:4px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-faint); border:1px solid var(--line-strong);
  transition:.25s;
}
.service-item:hover .service-arrow{background:var(--grad-btn); color:#3c2415; border-color:transparent; transform:translateX(-3px);}

@media (max-width:760px){
  .service-list{grid-template-columns:1fr; padding:6px 18px;}
  .service-list .service-item:nth-last-child(-n+2){border-bottom:1px dashed var(--line);}
  .service-list .service-item:last-child{border-bottom:none;}
}

/* ================= Section shells ================= */
.section{padding:78px 0;}
.section-head{max-width:640px; margin-bottom:44px;}
.section-title{font-size:clamp(26px,3.4vw,38px); margin:14px 0 12px;}
.section-desc{color:var(--ink-dim); font-size:15.5px;}
.section-alt{background:var(--bg-1); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}

/* ---------- category pills ---------- */
.cat-bar{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:38px;}
.cat-pill{
  font-family:'JetBrains Mono', monospace; font-size:12px; letter-spacing:.03em;
  padding:10px 18px; border-radius:100px; border:1px solid var(--line-strong);
  color:var(--ink-dim); background:transparent; transition:.2s;
}
.cat-pill.active, .cat-pill:hover{
  color:#3c2415; background:var(--grad-btn); border-color:transparent;
}

/* ================= Product / service cards ================= */
.grid{display:grid; gap:22px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:980px){ .grid-3{grid-template-columns:repeat(2,1fr);} .grid-4{grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .grid-3, .grid-4{grid-template-columns:1fr;} }

.card{
  position:relative;
  background:linear-gradient(180deg, var(--panel), var(--panel-2));
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px 24px 22px;
  transition:transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
  overflow:hidden;
}
.card::after{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background:var(--grad-bar); opacity:0; transition:opacity .35s;
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  pointer-events:none;
}
.card:hover{transform:translateY(-6px); box-shadow:var(--shadow-soft); border-color:transparent;}
.card:hover::after{opacity:1;}

.card-badge{
  position:absolute; top:16px; left:16px;
  font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:.08em;
  padding:5px 10px; border-radius:100px; background:rgba(244,201,189,.12); color:var(--rose-4);
  border:1px solid rgba(244,201,189,.25);
}
.card-badge.soon{background:rgba(139,90,59,.08); color:var(--ink-faint); border-color:var(--line-strong);}

.card-icon{
  width:52px; height:52px; border-radius:14px; margin-bottom:16px;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 30% 20%, rgba(244,201,189,.22), rgba(156,100,73,.14));
  border:1px solid var(--line-strong);
}
.card-icon svg{width:26px; height:26px; stroke:var(--rose-4); fill:none; stroke-width:1.6;}

.card-title{font-size:17.5px; margin-bottom:8px;}
.card-en{font-family:'JetBrains Mono',monospace; font-size:10.5px; color:var(--ink-faint); letter-spacing:.05em; margin-bottom:10px; text-transform:uppercase;}
.card-desc{font-size:13.8px; color:var(--ink-dim); margin-bottom:18px; min-height:38px;}

.card-order-btn{
  display:inline-flex; align-items:center; gap:8px; width:100%; justify-content:center;
  padding:11px 16px; border-radius:100px; font-size:13.5px; font-weight:700;
  background:transparent; border:1px solid var(--line-strong); color:var(--ink);
  transition:.25s;
}
.card-order-btn:hover{background:var(--grad-btn); color:#3c2415; border-color:transparent;}

/* ================= Featured strip ================= */
.featured-tag{
  display:inline-block; font-family:'JetBrains Mono',monospace; font-size:10.5px;
  color:var(--rose-4); border:1px solid rgba(244,201,189,.3); border-radius:100px;
  padding:4px 12px; margin-bottom:14px;
}

/* ================= About ================= */
.about-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center;}
.about-visual{display:flex; align-items:center; justify-content:center;}

/* ---------- gift photo stage ---------- */
.gift-stage{
  position:relative;
  width:100%; max-width:360px; aspect-ratio:1/1.15;
  display:flex; align-items:center; justify-content:center;
  perspective:900px;
}
.gift-glow{
  position:absolute; inset:6%; z-index:0; border-radius:50%;
  background:var(--grad-glow); filter:blur(6px);
  animation:gift-pulse 5s ease-in-out infinite;
}
@keyframes gift-pulse{ 0%,100%{opacity:.75; transform:scale(1);} 50%{opacity:1; transform:scale(1.05);} }

.gift-ring{position:absolute; border:1.5px dashed rgba(207,138,111,.32); border-radius:50%; top:50%; left:50%;}
.gift-ring-a{width:104%; height:104%; transform:translate(-50%,-50%); animation:spin 46s linear infinite;}
.gift-ring-b{width:88%; height:88%; transform:translate(-50%,-50%); animation:spin 34s linear infinite reverse; opacity:.7;}

/* JS applies rotateX/rotateY here on pointer move; kept separate from the
   floating child so the two transforms never fight over one property. */
.gift-tilt{
  position:relative; z-index:2; width:78%;
  transform-style:preserve-3d;
  transition:transform .25s ease;
  will-change:transform;
}

.gift-photo-frame{
  position:relative; width:100%; aspect-ratio:4/5;
  border-radius:26px; overflow:hidden;
  box-shadow:0 30px 60px -20px rgba(122,74,44,.45), 0 0 0 8px #fff, 0 0 0 9px var(--line-strong);
  animation:float-y 7s ease-in-out infinite;
  will-change:transform;
}
.gift-photo{width:100%; height:100%; object-fit:cover; display:block;}
.gift-ribbon-corner{
  position:absolute; top:0; right:0; width:64px; height:64px; z-index:2;
  background:var(--grad-bar);
  clip-path:polygon(100% 0, 0 0, 100% 100%);
  opacity:.92;
}
@media (prefers-reduced-motion: reduce){ .gift-photo-frame{animation:none;} .gift-glow{animation:none;} }

.gift-qr-badge{
  position:absolute; z-index:3; bottom:8%; left:2%;
  width:56px; height:56px; border-radius:12px; padding:6px;
  background:#fff; box-shadow:var(--shadow-pop), 0 0 0 1px var(--line-strong);
  animation:float-y 7s ease-in-out infinite; animation-delay:.4s;
}
.gift-qr-badge svg{width:100%; height:100%; display:block;}
.gift-qr-pulse{
  position:absolute; inset:-6px; border-radius:16px; z-index:-1;
  border:1.5px solid var(--gold-2); opacity:0;
  animation:qr-ping 2.6s ease-out infinite;
}
@keyframes qr-ping{ 0%{opacity:.65; transform:scale(.9);} 100%{opacity:0; transform:scale(1.35);} }
@media (prefers-reduced-motion: reduce){ .gift-qr-badge{animation:none;} .gift-qr-pulse{animation:none;} }

.gift-sparkle{position:absolute; pointer-events:none; z-index:2; animation:twinkle 2.6s ease-in-out infinite;}
.gift-sparkle svg{width:100%; height:100%; display:block;}
.gs1{width:20px; height:20px; top:4%; right:8%; animation-delay:.2s;}
.gs2{width:16px; height:16px; bottom:14%; right:0; animation-delay:.9s;}
.gs3{width:13px; height:13px; top:16%; left:0; animation-delay:1.5s;}

@media (max-width:900px){
  .about-grid{grid-template-columns:1fr; text-align:center; gap:30px;}
  .about-visual{order:-1;}
  .gift-stage{max-width:280px;}
}

/* ================= Social row (app-icon style) ================= */
.social-row{display:flex; gap:14px; flex-wrap:wrap; margin-top:22px;}
.social-chip{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:16px; flex-shrink:0;
  background:#fff; box-shadow:0 0 0 1px var(--line-strong), 0 10px 22px -12px rgba(122,74,44,.35);
  transition:transform .3s cubic-bezier(.3,.8,.4,1.4), box-shadow .3s;
}
.social-chip svg{width:22px; height:22px; position:relative; z-index:1;}
.social-chip::before{
  content:""; position:absolute; inset:0; border-radius:inherit; opacity:0; transition:opacity .3s;
  background:var(--chip-bg, var(--grad-btn));
}
.social-chip[data-type="instagram"]{ --chip-bg: radial-gradient(circle at 30% 110%, #ffdd55, #ff543e 45%, #c837ab 75%, #6a1fc9 100%); }
.social-chip[data-type="tiktok"]{ --chip-bg: linear-gradient(135deg, #0d0d0d, #2b2b2b); }
.social-chip[data-type="facebook"]{ --chip-bg: linear-gradient(135deg, #3b6bd6, #1a4fc7); }
.social-chip[data-type="linkedin"]{ --chip-bg: linear-gradient(135deg, #2fa0ea, #0a66c2); }
.social-chip[data-type="whatsapp"]{ --chip-bg: radial-gradient(circle at 32% 28%, var(--wa-1), var(--wa-2) 72%); }
.social-chip[data-type="linktree"]{ --chip-bg: var(--grad-btn); }
.social-chip svg{color:var(--ink);}
.social-chip:hover{transform:translateY(-4px) scale(1.06); box-shadow:0 0 0 1px transparent, 0 16px 28px -12px rgba(122,74,44,.45);}
.social-chip:hover::before{opacity:1;}
.social-chip:hover svg{color:#fff; filter:drop-shadow(0 1px 1px rgba(0,0,0,.25));}

/* ================= Floating WhatsApp ================= */
.wa-float{
  position:fixed; bottom:22px; left:22px; z-index:60;
  width:60px; height:60px; border-radius:50%;
  background:radial-gradient(circle at 32% 28%, var(--wa-1), var(--wa-2) 72%);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -10px rgba(156,107,69,.45), 0 0 0 5px rgba(255,255,255,.55), 0 0 0 6px rgba(120,80,52,.1);
  animation:wa-pulse 2.8s ease-in-out infinite;
  transition:transform .3s cubic-bezier(.3,.8,.4,1.4);
}
.wa-float:hover{transform:translateY(-3px) scale(1.05);}
.wa-float svg{width:27px; height:27px; fill:#fff; filter:drop-shadow(0 1px 1px rgba(0,0,0,.15));}
@keyframes wa-pulse{
  0%,100%{box-shadow:0 14px 30px -10px rgba(156,107,69,.4), 0 0 0 5px rgba(255,255,255,.55), 0 0 0 6px rgba(120,80,52,.1);}
  50%{box-shadow:0 16px 38px -8px rgba(156,107,69,.6), 0 0 0 5px rgba(255,255,255,.7), 0 0 0 7px rgba(120,80,52,.14);}
}
@media (prefers-reduced-motion: reduce){ .wa-float{animation:none;} }

/* ================= Footer ================= */
.site-footer{border-top:1px solid var(--line); padding:52px 0 26px; background:var(--bg-1);}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:36px; margin-bottom:36px;}
.footer-col h4{font-size:14px; margin-bottom:14px; color:var(--rose-4);}
.footer-col a, .footer-col p{display:block; color:var(--ink-dim); font-size:13.5px; margin-bottom:9px;}
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  padding-top:22px; border-top:1px solid var(--line); font-size:12.5px; color:var(--ink-faint);
}
@media (max-width:760px){ .footer-grid{grid-template-columns:1fr;} }

/* ================= Order form page ================= */
.form-shell{padding:64px 0 90px;}
.form-header{max-width:640px; margin-bottom:34px;}
.fh-eyebrow{font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.2em; color:var(--rose-2); text-transform:uppercase;}

.selected-product-banner{
  display:flex; align-items:center; gap:12px; background:var(--panel);
  border:1px solid var(--line-strong); border-radius:var(--radius-sm);
  padding:16px 20px; margin-bottom:28px; font-size:14.5px;
}
.selected-product-banner svg{width:20px; height:20px; stroke:var(--rose-4); fill:none; stroke-width:2; flex-shrink:0;}

.form-card{
  background:linear-gradient(180deg, var(--panel), var(--panel-2));
  border:1px solid var(--line); border-radius:22px;
  box-shadow:var(--shadow-soft); overflow:hidden;
  position:relative;
}
.form-card-head{
  display:flex; align-items:center; gap:14px; padding:24px 30px;
  border-bottom:1px solid var(--line); background:rgba(139,90,59,.05);
}
.fc-mark-frame{
  width:44px; height:44px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(155deg, #fff 0%, var(--rose-1) 100%);
  box-shadow: 0 0 0 1px var(--line-strong), 0 6px 14px -6px rgba(196,120,90,.45);
}
.fc-mark-img{width:76%; height:76%; border-radius:8px; object-fit:cover;}
.fc-title{font-family:'Playfair Display',serif; font-weight:700; font-size:16px;}

.form-body{padding:30px;}
.f-section{margin-bottom:30px;}
.f-section-title{font-size:15px; margin-bottom:16px; color:var(--rose-4);}
.f-section-title .ar-small{color:var(--ink-faint); font-size:11.5px; font-family:'JetBrains Mono',monospace; margin-right:8px;}

.f-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
@media (max-width:640px){ .f-grid{grid-template-columns:1fr;} }
.f-field.full{grid-column:1 / -1;}

.f-label{display:block; font-size:12.5px; color:var(--ink-dim); margin-bottom:7px;}
.f-label .ar{color:var(--ink-faint); font-size:11px; margin-right:4px;}

input[type=text], input[type=tel], input[type=email], input[type=date], input[type=password], textarea, select{
  width:100%; padding:13px 15px; border-radius:11px;
  background:rgba(139,90,59,.03); border:1px solid var(--line-strong);
  color:var(--ink); font-size:16px; font-family:inherit; transition:.2s;
}
/* 16px is intentional: anything smaller makes iOS Safari auto-zoom
   the page when a field is focused, which feels broken on mobile. */
@media (min-width:641px){
  input[type=text], input[type=tel], input[type=email], input[type=date], input[type=password], textarea, select{ font-size:14.5px; }
}

select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  cursor:pointer; padding-left:38px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7461' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:left 14px center;
  background-size:16px;
}
select:invalid{color:var(--ink-faint);}
optgroup{font-weight:700; color:var(--ink); font-family:inherit;}
option{color:var(--ink); font-weight:400;}
input::placeholder, textarea::placeholder{color:var(--ink-faint);}
input:focus, textarea:focus, select:focus{outline:none; border-color:var(--rose-3); background:rgba(244,201,189,.04);}
textarea{resize:vertical; min-height:90px;}

.upload-zone{
  border:1.5px dashed var(--line-strong); border-radius:16px; padding:30px 20px;
  text-align:center; cursor:pointer; transition:.25s; position:relative;
}
.upload-zone:hover, .upload-zone.drag{border-color:var(--rose-3); background:rgba(244,201,189,.04);}
.upload-zone svg{width:32px; height:32px; stroke:var(--rose-2); fill:none; stroke-width:1.6; margin-bottom:10px;}
.upload-zone input[type=file]{display:none;}
.upload-hint{font-size:12.5px; color:var(--ink-faint); margin-top:6px;}
.upload-list{margin-top:14px; display:flex; flex-direction:column; gap:8px;}
.upload-item{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:rgba(139,90,59,.03); border:1px solid var(--line); border-radius:10px;
  padding:9px 13px; font-size:13px; color:var(--ink-dim);
}
.upload-item button{background:none; border:none; color:#e88; font-size:16px; line-height:1;}
.upload-progress{font-size:11.5px; color:var(--ink-faint);}

.agree-row{display:flex; align-items:flex-start; gap:10px; margin-top:16px; font-size:13.5px; color:var(--ink-dim);}
.agree-row input{margin-top:3px;}

.form-submit-row{display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:8px;}
.form-note{font-size:12.5px; color:var(--ink-faint); max-width:36ch;}
.form-msg{margin-top:16px; font-size:14px; padding:12px 16px; border-radius:10px; display:none;}
.form-msg.ok{display:block; background:rgba(37,211,102,.12); color:#8fe3ac; border:1px solid rgba(37,211,102,.3);}
.form-msg.err{display:block; background:rgba(233,90,90,.12); color:#f3b3b3; border:1px solid rgba(233,90,90,.3);}
.form-msg.loading{display:block; background:rgba(244,201,189,.1); color:var(--rose-4); border:1px solid rgba(244,201,189,.25);}

.spinner{
  width:14px; height:14px; border-radius:50%; border:2px solid rgba(244,201,189,.3);
  border-top-color:var(--rose-4); display:inline-block; animation:spin .8s linear infinite; margin-left:8px;
}

/* ---------- confetti / success overlay ---------- */
.success-overlay{
  position:fixed; inset:0; z-index:80; display:none; align-items:center; justify-content:center;
  background:rgba(74,44,29,.35); backdrop-filter:blur(6px);
}
.success-overlay.show{display:flex;}
.success-box{
  background:linear-gradient(180deg, var(--panel), var(--panel-2)); border:1px solid var(--line-strong);
  border-radius:22px; padding:44px 38px; text-align:center; max-width:380px; box-shadow:var(--shadow-soft);
  animation:pop-in .5s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop-in{ 0%{opacity:0; transform:scale(.85) translateY(10px);} 100%{opacity:1; transform:scale(1) translateY(0);} }
.success-box svg{width:56px; height:56px; margin:0 auto 18px; stroke:var(--rose-4); fill:none; stroke-width:1.6;}
.success-box h3{margin-bottom:10px;}
.success-box p{color:var(--ink-dim); font-size:14px; margin-bottom:22px;}

/* ================= misc ================= */
.divider-arrow{
  width:100%; height:60px; display:flex; align-items:center; justify-content:center; opacity:.35;
}
.divider-arrow svg{width:120px; stroke:var(--rose-3); fill:none; stroke-width:1;}

::selection{background:var(--rose-3); color:#3c2415;}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--rose-2); outline-offset:2px;
}

.scan-line{
  position:absolute; left:0; right:0; height:2px; background:linear-gradient(90deg, transparent, var(--rose-2), transparent);
  opacity:0; top:0;
}
.card:hover .scan-line{opacity:.9; animation:scan 1.4s ease-in-out infinite;}
@keyframes scan{ 0%{top:0;} 100%{top:100%;} }

/* ================= Responsive polish (tablet → small phones) ================= */
@media (max-width:980px){
  .hero{padding:66px 0 46px;}
  .hero-grid{grid-template-columns:1fr; gap:40px; text-align:center;}
  .hero-sub{margin-left:auto; margin-right:auto;}
  .hero-cta-row{justify-content:center;}
  .hero-visual{order:-1; height:auto; min-height:300px; padding:24px 0 6px; overflow:hidden;}
  .hero-mark-frame{width:220px; height:220px;}
  .ring-a{width:300px; height:300px;}
  .ring-b{width:250px; height:250px;}
  .stat-chain{justify-content:center;}
}

@media (max-width:760px){
  .wrap{padding:0 20px;}
  .section{padding:56px 0;}
  .section-head{margin-bottom:32px;}
  .form-body{padding:22px;}
  .form-card-head{padding:20px 22px;}
}

@media (max-width:480px){
  .nav-row{padding:12px 14px; gap:10px;}
  .brand-text .en{font-size:16px;}
  .brand-text .ar{display:none;}
  .nav-cta{padding:9px 14px; font-size:12.5px;}
  .hero-title{font-size:clamp(28px,8vw,38px);}
  .hero-sub{font-size:15.5px;}
  .hero-mark-frame{width:180px; height:180px; border-radius:24px;}
  .hero-mark-img{border-radius:16px;}
  .hero-visual{min-height:230px;}
  .ring-a{width:220px; height:220px;}
  .ring-b{width:180px; height:180px;}
  .btn{padding:12px 20px; font-size:13.5px;}
  .hero-cta-row{flex-direction:column; align-items:stretch;}
  .hero-cta-row .btn{justify-content:center;}
  .stat-chain{margin-top:34px;}
  .pendant{flex:1 1 46%;}
  .chain-line{display:none;}
  .section-title{font-size:clamp(22px,7vw,30px);}
  .form-submit-row{flex-direction:column; align-items:stretch; gap:12px;}
  .form-submit-row .btn{justify-content:center;}
  .success-box{padding:34px 24px;}
  .wa-float{width:52px; height:52px; bottom:16px; left:16px;}
  .wa-float svg{width:24px; height:24px;}
}

/* ================= Admin dashboard ================= */
.admin-shell{padding:52px 0 80px;}
.admin-gate{max-width:420px; margin:0 auto;}
.admin-gate-note{font-size:12.5px; color:var(--ink-faint); text-align:center; margin-top:14px; line-height:1.6;}

.admin-panel{max-width:1180px; margin:0 auto;}
.admin-toolbar{
  display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between;
  margin-bottom:20px;
}
.admin-search{flex:1 1 240px; min-width:0;}
.admin-toolbar-right{display:flex; align-items:center; gap:14px; flex-wrap:wrap;}
.admin-count{font-size:12.5px; color:var(--ink-dim); font-family:'JetBrains Mono',monospace; white-space:nowrap;}
.admin-logout{
  font-size:12.5px; color:var(--ink-faint); background:none; border:none;
  text-decoration:underline; cursor:pointer;
}
.admin-logout:hover{color:var(--rose-4);}

.admin-table-wrap{
  overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius);
  background:var(--panel); -webkit-overflow-scrolling:touch;
}
.admin-table{width:100%; border-collapse:collapse; font-size:13px; min-width:960px;}
.admin-table th, .admin-table td{padding:12px 14px; text-align:right; border-bottom:1px solid var(--line); vertical-align:top;}
.admin-table th{
  background:var(--panel-2); font-family:'JetBrains Mono',monospace; font-size:11px;
  letter-spacing:.04em; color:var(--ink-dim); text-transform:uppercase; white-space:nowrap;
}
.admin-table td{color:var(--ink); white-space:nowrap;}
.admin-table td.wrap-cell{white-space:normal; max-width:220px; line-height:1.55;}
.admin-table tr:last-child td{border-bottom:none;}
.admin-table tr:hover td{background:rgba(139,90,59,.03);}

.admin-empty, .admin-loading{padding:48px 20px; text-align:center; color:var(--ink-faint); font-size:14px;}

.admin-file-link{display:block; color:var(--rose-4); text-decoration:underline; font-size:12px;}
.admin-file-link + .admin-file-link{margin-top:3px;}

.admin-wa-btn{
  display:inline-flex; align-items:center; gap:5px;
  padding:6px 12px; border-radius:100px; font-size:11.5px; font-weight:700;
  background:var(--grad-btn); color:#3c2415; white-space:nowrap;
}
.admin-wa-btn svg{width:12px; height:12px;}

@media (max-width:640px){
  .admin-shell{padding:34px 0 56px;}
  .admin-toolbar{flex-direction:column; align-items:stretch;}
  .admin-toolbar-right{justify-content:space-between;}
}


/* =========================================================
   FINAL RESPONSIVE PATCH — phones / tablets / laptops
   Prevents horizontal overflow and keeps every component
   inside the viewport across modern screen sizes.
   ========================================================= */

/* Safer global sizing */
html{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:hidden;
}

*, *::before, *::after{
  min-width:0;
}

.wrap{
  width:100%;
  max-width:1180px;
  margin-inline:auto;
}

/* Prevent long text, URLs and labels from pushing the layout */
p, h1, h2, h3, h4, a, button, label, span{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Media must never escape its parent */
img, svg, video, iframe{
  max-width:100%;
}

/* Header */
.nav-row{
  width:100%;
  min-width:0;
}

.brand{
  min-width:0;
}

.brand-text{
  min-width:0;
}

.main-nav{
  min-width:0;
}

@media (max-width: 900px){
  .nav-row{
    padding-inline:clamp(14px, 4vw, 26px);
  }

  .nav-cta{
    max-width:42vw;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

/* Hero — never allow decorative rings to create horizontal scroll */
.hero,
.hero-visual,
.hero-grid{
  min-width:0;
  max-width:100%;
}

.hero-visual{
  overflow:hidden;
}

.hero-mark-frame{
  max-width:calc(100vw - 56px);
  max-height:calc(100vw - 56px);
}

@media (max-width:640px){
  .hero{
    padding-top:48px;
  }

  .hero-grid{
    gap:24px;
  }

  .hero-title{
    line-height:1.25;
    margin-top:14px;
  }

  .hero-sub{
    max-width:100%;
  }

  .hero-cta-row{
    width:100%;
  }

  .hero-cta-row .btn{
    width:100%;
    max-width:100%;
  }

  .hero-mark-frame{
    width:min(180px, 62vw);
    height:min(180px, 62vw);
  }

  .hero-orbit{
    transform:scale(.78);
    transform-origin:center;
  }
}

/* Stats — stable layout on narrow screens */
.stat-chain{
  width:100%;
  min-width:0;
}

@media (max-width:480px){
  .stat-chain{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px 10px;
    margin-top:28px;
  }

  .pendant{
    min-width:0;
    flex:none;
    width:auto;
  }

  .pendant-label{
    font-size:11.5px;
  }
}

/* Services / cards */
.service-list,
.grid,
.card,
.service-item,
.service-text{
  min-width:0;
  max-width:100%;
}

@media (max-width:640px){
  .service-list{
    padding-inline:12px;
  }

  .service-item{
    gap:10px;
    padding-inline:2px;
  }

  .service-title{
    font-size:14px;
  }

  .service-desc{
    font-size:12px;
  }

  .card{
    padding:22px 18px 18px;
  }
}

/* About section */
.about-grid,
.about-visual,
.gift-stage{
  min-width:0;
  max-width:100%;
}

.gift-stage{
  width:min(100%, 360px);
  margin-inline:auto;
}

@media (max-width:640px){
  .about-grid{
    gap:24px;
  }

  .gift-stage{
    width:min(82vw, 300px);
  }
}

/* Social icons */
.social-row{
  max-width:100%;
}

@media (max-width:480px){
  .social-row{
    justify-content:center;
    gap:10px;
  }

  .social-chip{
    width:48px;
    height:48px;
  }
}

/* Floating WhatsApp — respect safe areas on iPhone */
.wa-float{
  bottom:max(16px, env(safe-area-inset-bottom));
  left:max(16px, env(safe-area-inset-left));
}

/* Forms */
.form-shell,
.form-card,
.form-body,
.f-grid,
.f-field,
.selected-product-banner{
  min-width:0;
  max-width:100%;
}

.selected-product-banner{
  overflow-wrap:anywhere;
}

@media (max-width:760px){
  .form-shell{
    padding-top:40px;
    padding-bottom:64px;
  }

  .form-body{
    padding:20px 16px;
  }

  .form-card-head{
    padding:18px 16px;
  }

  .selected-product-banner{
    padding:14px 16px;
  }

  .f-grid{
    gap:14px;
  }
}

@media (max-width:480px){
  .form-shell{
    padding-top:28px;
  }

  .form-body{
    padding:18px 14px;
  }

  .form-card{
    border-radius:16px;
  }

  .form-card-head{
    gap:10px;
  }

  .fc-title{
    font-size:14px;
  }

  .upload-zone{
    padding:24px 14px;
  }

  .agree-row{
    font-size:12.5px;
  }

  .form-note{
    max-width:100%;
  }
}

/* Buttons and controls: comfortable touch targets */
button,
.btn,
.nav-cta,
.card-order-btn,
.cat-pill{
  min-height:44px;
}

@media (max-width:480px){
  .cat-bar{
    gap:8px;
    margin-bottom:28px;
  }

  .cat-pill{
    padding:9px 14px;
    font-size:11.5px;
  }
}

/* Success modal */
.success-overlay{
  padding:
    max(16px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
}

.success-box{
  width:min(380px, 100%);
  max-height:calc(100dvh - 32px);
  overflow:auto;
}

@media (max-width:480px){
  .success-box{
    padding:28px 18px;
    border-radius:18px;
  }
}

/* Footer */
.footer-grid,
.footer-bottom{
  min-width:0;
}

@media (max-width:480px){
  .site-footer{
    padding-top:40px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* Admin dashboard */
.admin-shell,
.admin-panel,
.admin-toolbar,
.admin-toolbar-right,
.admin-table-wrap{
  min-width:0;
  max-width:100%;
}

@media (max-width:640px){
  .admin-toolbar-right{
    width:100%;
  }

  .admin-count{
    white-space:normal;
  }

  .admin-table-wrap{
    width:100%;
    max-width:100vw;
  }
}

/* Prevent accidental 100vw overflow from scrollbar/decorations */
@media (max-width:640px){
  .section,
  .hero,
  .site-footer,
  .form-shell,
  .admin-shell{
    width:100%;
    max-width:100%;
  }
}

/* iOS / Android viewport-height friendly behavior */
@supports (height: 100dvh){
  .success-overlay{
    min-height:100dvh;
  }
}

/* Disable expensive hover effects on touch devices */
@media (hover:none), (pointer:coarse){
  .card:hover,
  .pendant:hover .pendant-badge,
  .social-chip:hover,
  .brand:hover .logo-frame,
  .btn-primary:hover,
  .btn-ghost:hover,
  .nav-cta:hover{
    transform:none;
  }

  .card:hover::after,
  .social-chip:hover::before{
    opacity:0;
  }
}

/* Very small phones: 320–360px */
@media (max-width:360px){
  .wrap{
    padding-inline:14px;
  }

  .nav-row{
    padding-inline:10px;
  }

  .brand{
    gap:7px;
  }

  .logo-frame{
    width:42px;
    height:42px;
  }

  .brand-text .en{
    font-size:14px;
  }

  .nav-cta{
    padding:8px 10px;
    font-size:11px;
  }

  .hamburger{
    width:40px;
  }

  .hero-title{
    font-size:27px;
  }

  .hero-sub{
    font-size:14px;
  }

  .section{
    padding-block:44px;
  }

  .card{
    padding:18px 14px;
  }
}
/* Fix: decorative line moving/appearing while scrolling */
.chain-line,
.chain-line::before,
.chain-line::after,
.scan-line {
  pointer-events: none !important;
}

/* Keep decorative elements inside their section */
.hero,
.stat-chain,
.card {
  overflow: hidden;
}

/* Disable scan animation on touch devices */
@media (hover: none), (pointer: coarse) {
  .card:hover .scan-line {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* Prevent animated decorative elements from causing visual artifacts */
@media (max-width: 760px) {
  .chain-line {
    display: none !important;
  }

  .hero-orbit .ring {
    animation: none !important;
  }
}

/*
IMPORTANT HTML CHECK:
Make sure every HTML page has this inside <head>:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
*/
