/* SARAIL MARKET homepage visual refinement. Keeps existing HTML/JS behavior. */
:root {
  --sm-ink: #102744;
  --sm-deep: #06162b;
  --sm-gold: #d8b46a;
  --sm-paper: #f7f8fb;
  --sm-line: #e4e9f1;
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--sm-paper); }
.announcement {
  background: linear-gradient(90deg, #08182d, #15375b);
  color: #f5f7fb;
  font-size: 13px;
  letter-spacing: .05px;
}
.announcement a { color: #f0cc80; font-weight: 700; text-decoration: none; }
.site-header {
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 28px rgba(6,22,43,.06);
  border-bottom: 1px solid rgba(16,39,68,.07);
}
.header-main { min-height: 86px; }
.brand { gap: 10px; text-decoration: none; }
.brand-mark { filter: drop-shadow(0 4px 8px rgba(16,39,68,.12)); }
.brand-type strong { letter-spacing: 2px; }
.search-box {
  border: 1px solid #e1e7ef;
  background: #f7f9fc;
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: #c6a15c; box-shadow: 0 0 0 4px rgba(216,180,106,.14); }
.search-box input { background: transparent; }
.icon-button, .menu-toggle {
  border-radius: 12px;
  transition: transform .18s, background .18s;
}
.icon-button:hover, .menu-toggle:hover { transform: translateY(-2px); background: #f0f4f9; }
.nav-wrap { border-top: 1px solid #f0f2f6; }
.nav-link { transition: color .18s, background .18s; border-radius: 9px; }
.nav-link:hover, .nav-link.active { color: #9a7028; }
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  margin-bottom: 26px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 25%, rgba(216,180,106,.19), transparent 26%),
    radial-gradient(circle at 12% 100%, rgba(47,103,158,.18), transparent 35%),
    linear-gradient(135deg, #07172c 0%, #102b4b 56%, #16385c 100%);
  color: #fff;
  box-shadow: 0 24px 55px rgba(6,22,43,.15);
  isolation: isolate;
}
.hero:after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) .7px, transparent .7px);
  background-size: 19px 19px;
  opacity: .15; pointer-events: none; z-index: 0;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { color: #e7c783; letter-spacing: 1.6px; font-weight: 700; }
.hero h1 { line-height: 1.45; letter-spacing: -.7px; }
.hero h1 em, .services-copy h2 em { color: #e5c27b; font-style: normal; }
.hero-copy > p { color: #d4dfec; line-height: 2.1; max-width: 540px; }
.button { border-radius: 12px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(0,0,0,.13); }
.button-primary { background: linear-gradient(135deg, #e6c67f, #c69b4e); color: #102744; border: 1px solid rgba(255,255,255,.18); }
.button-outline { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.05); }
.hero-benefits { color: #d9e3ef; }
.hero-art { filter: drop-shadow(0 18px 28px rgba(0,0,0,.16)); }
.floating-card { border: 1px solid rgba(255,255,255,.22); box-shadow: 0 14px 35px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.card-ai { background: linear-gradient(135deg, rgba(216,180,106,.24), rgba(255,255,255,.08)); }
.card-code { background: linear-gradient(135deg, rgba(75,139,196,.24), rgba(255,255,255,.07)); }
.laptop-screen { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 0 38px rgba(216,180,106,.12); }
.trust-strip {
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--sm-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(16,39,68,.045);
}
.trust-strip > div { padding: 8px 12px; }
.trust-icon { color: #b48a3f; }
.section { padding-top: clamp(35px, 5vw, 66px); padding-bottom: clamp(35px, 5vw, 66px); }
.section-heading { margin-bottom: 24px; gap: 20px; }
.section-kicker { color: #a77a2e; letter-spacing: 1.7px; font-weight: 800; font-size: 11px; }
.section-heading h2, .why-intro h2 { color: var(--sm-ink); letter-spacing: -.5px; }
.section-heading p, .why-intro p { color: #64748b; line-height: 1.9; }
.text-link { color: #9a7028; font-weight: 700; text-decoration: none; }
.category-grid { gap: 16px; }
.category-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16,39,68,.035);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.category-card:hover { transform: translateY(-5px); box-shadow: 0 18px 35px rgba(16,39,68,.10); border-color: #d9c18e; }
.category-visual { border-radius: 13px; }
.round-arrow { background: #f2e7d0; color: #6e501e; }
.products-section {
  background: linear-gradient(180deg, #eef2f7 0%, #f8f9fb 100%);
  border-top: 1px solid #e9edf3;
  border-bottom: 1px solid #e9edf3;
}
.product-tools { max-width: 100%; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  border: 1px solid #dce3ed;
  border-radius: 999px;
  background: #fff;
  color: #53657b;
  padding: 9px 15px;
  cursor: pointer;
  transition: all .18s;
}
.filter-pill:hover, .filter-pill.active { background: var(--sm-ink); color: #fff; border-color: var(--sm-ink); }
.product-grid { gap: 20px; }
.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16,39,68,.045);
  transition: transform .22s, box-shadow .22s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(16,39,68,.11); }
.product-image { min-height: 180px; }
.product-info { padding: 18px; }
.product-info h3 { color: #172f4d; line-height: 1.8; }
.product-info p { color: #6b7788; line-height: 1.9; }
.product-category { color: #9a7028; font-weight: 700; }
.product-meta { gap: 10px; }
.product-meta strong { color: var(--sm-ink); }
.add-cart { width: 100%; border-radius: 10px; padding: 12px 14px; font-weight: 700; transition: background .2s, transform .2s; }
.add-cart:hover { transform: translateY(-1px); }
.demo-note { color: #7a8798; font-size: 12px; line-height: 1.9; }
.services-band {
  background: linear-gradient(135deg, #07172c, #123252);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.services-band:before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: rgba(216,180,106,.07); top: -190px; left: -100px; pointer-events: none;
}
.services-copy h2 { line-height: 1.55; }
.services-copy p { color: #d0dbe8; line-height: 2; }
.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  transition: transform .2s, background .2s;
}
.service-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.service-card > span { color: #e5c27b; }
.service-card p { color: #c5d1df; line-height: 1.9; }
.why-items > div {
  background: #fff;
  border: 1px solid var(--sm-line);
  border-radius: 15px;
  padding: 18px;
  transition: transform .2s, box-shadow .2s;
}
.why-items > div:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16,39,68,.07); }
.why-items > div > span { color: #b48a3f; }
.newsletter { background: #eceff4; border-top: 1px solid #e0e6ef; }
.newsletter-inner { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 24px; }
.newsletter h2 { color: var(--sm-ink); }
.newsletter p { color: #64748b; }
.newsletter form input { border-radius: 11px; border: 1px solid #dce3ed; }
.site-footer { background: #06162b; color: #e4ebf4; }
.footer-column a, .footer-brand p, .footer-column p { color: #b8c5d6; }
.footer-column a:hover { color: #e5c27b; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); color: #aebed0; }
.toast { z-index: 1000; }
.cart-drawer { box-shadow: -20px 0 60px rgba(0,0,0,.2); }
:focus-visible { outline: 3px solid rgba(198,155,78,.8); outline-offset: 3px; }
@media (max-width: 760px) {
  .announcement { text-align: center; padding: 8px 12px; line-height: 1.9; }
  .header-main { min-height: 72px; gap: 10px; }
  .search-box { order: 3; flex-basis: 100%; width: 100%; }
  .hero { margin-top: 14px; padding: 27px 20px 38px; border-radius: 20px; }
  .hero h1 { font-size: clamp(27px, 7vw, 39px); }
  .hero-art { min-height: 230px; transform: scale(.88); transform-origin: center; }
  .hero-benefits { gap: 8px 14px; flex-wrap: wrap; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 12px; }
  .trust-strip > div { padding: 8px 4px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-tools { width: 100%; }
  .filter-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; }
  .filter-pill { white-space: nowrap; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .product-info { padding: 12px; }
  .product-info h3 { font-size: 14px; }
  .product-info p { font-size: 12px; }
  .product-image { min-height: 135px; }
  .product-meta { align-items: flex-start; flex-direction: column; }
  .add-cart { font-size: 12px; padding: 10px 7px; }
  .services-layout { gap: 26px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .service-card { padding: 14px; }
  .newsletter-inner { padding: 18px; }
}
@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* SARAIL MARKET: premium multidimensional hero + glass controls */
.hero {
  position: relative;
  perspective: 1500px;
  transform-style: preserve-3d;
  border: 1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(ellipse at 78% 18%, rgba(246,205,119,.30), transparent 24%),
    radial-gradient(ellipse at 15% 90%, rgba(48,145,226,.32), transparent 36%),
    radial-gradient(ellipse at 55% 115%, rgba(103,177,255,.14), transparent 42%),
    linear-gradient(125deg, #041020 0%, #0b2442 42%, #16436a 72%, #102744 100%);
  box-shadow: 0 32px 80px rgba(3,14,29,.28), inset 0 1px 0 rgba(255,255,255,.14);
  isolation: isolate;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 0 45px rgba(89,166,230,.08);
  pointer-events: none;
  z-index: 0;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 20%, rgba(255,255,255,.07) 42%, transparent 55%),
    radial-gradient(rgba(255,255,255,.23) .7px, transparent .9px);
  background-size: auto, 22px 22px;
  opacity: .28;
  pointer-events: none;
  z-index: 0;
}
.hero-copy { position: relative; z-index: 3; transform: translateZ(34px); }
.hero-art {
  position: relative;
  z-index: 2;
  transform: perspective(1100px) rotateY(-10deg) rotateX(4deg) translateZ(42px);
  filter: drop-shadow(0 32px 28px rgba(0,0,0,.34));
  transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease;
}
.hero:hover .hero-art {
  transform: perspective(1100px) rotateY(-5deg) rotateX(1deg) translateZ(64px) translateY(-5px);
  filter: drop-shadow(0 40px 34px rgba(0,0,0,.42));
}
.floating-card {
  position: relative;
  z-index: 4;
  background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 22px 48px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.25);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transform: translateZ(75px);
  animation: sarail-float 5.5s ease-in-out infinite;
}
.card-code { animation-delay: -2.5s; }
@keyframes sarail-float {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
/* Glassmorphism buttons, with a bright primary action */
.hero .button,
.button-outline,
.button-primary {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.hero .button:before,
.button-outline:before,
.button-primary:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.32), transparent 38%, rgba(255,255,255,.08) 70%, transparent);
  pointer-events: none;
}
.hero .button-primary,
.button-primary {
  color: #14263d;
  border: 1px solid rgba(255,255,255,.58);
  background: linear-gradient(135deg, rgba(255,231,174,.96), rgba(210,164,76,.88));
  box-shadow: 0 10px 28px rgba(216,180,106,.25), inset 0 1px 0 rgba(255,255,255,.72);
}
.hero .button-outline,
.button-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,.42);
  background: linear-gradient(135deg, rgba(255,255,255,.17), rgba(255,255,255,.045));
  box-shadow: 0 8px 24px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.2);
}
.hero .button:hover,
.button-outline:hover,
.button-primary:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 16px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.45);
}
.hero .button:active,
.button-outline:active,
.button-primary:active { transform: translateY(-1px) scale(.99); }
.icon-button {
  border: 1px solid rgba(16,39,68,.09);
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(238,243,249,.64));
  box-shadow: 0 7px 18px rgba(16,39,68,.07), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
}
.product-card {
  transform-style: preserve-3d;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease, border-color .32s ease;
}
.product-card:hover {
  transform: perspective(1000px) rotateX(2deg) translateY(-8px);
  box-shadow: 0 25px 48px rgba(16,39,68,.14), 0 5px 12px rgba(16,39,68,.06);
}
.category-card:hover {
  transform: perspective(900px) rotateX(2deg) translateY(-8px);
  box-shadow: 0 24px 44px rgba(16,39,68,.14);
}
@media (max-width: 760px) {
  .hero-art { transform: none; }
  .hero:hover .hero-art { transform: translateY(-3px); }
  .floating-card { transform: none; animation-duration: 7s; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-card { animation: none; }
  .hero-art, .hero .button, .button-outline, .button-primary, .product-card, .category-card { transition: none; }
}


/* Inline service request form on the homepage */
.service-request-section{padding:76px 0;background:linear-gradient(145deg,#edf3f8 0%,#f8fafc 55%,#e8f0f7 100%);scroll-margin-top:20px}
.service-request-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:42px;align-items:start}
.service-request-intro{padding:22px 0}
.service-request-intro h2{font-size:clamp(27px,3vw,40px);line-height:1.6;color:#102744;margin:12px 0}
.service-request-intro h2 em{color:#b48a3f;font-style:normal}
.service-request-intro>p{line-height:2.2;color:#526277;font-size:15px}
.request-points{display:grid;gap:12px;margin-top:25px;color:#25445f;font-size:14px}
.request-points span::first-letter{color:#19856b}
.service-request-card{background:#fff;border:1px solid #dfe7f0;border-radius:22px;padding:clamp(20px,3vw,32px);box-shadow:0 18px 50px rgba(16,39,68,.09)}
.service-request-card h3{margin:0;color:#102744;font-size:22px}
.request-form-subtitle{margin:4px 0 20px;color:#718096;font-size:13px}
.request-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.request-form-grid label{display:block;color:#243b53;font-size:13px;font-weight:700;line-height:1.8}
.request-form-grid input,.request-form-grid select,.request-form-grid textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:12px 13px;border:1px solid #d6e0eb;border-radius:10px;background:#fbfcfe;color:#182f49;font:inherit;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s}
.request-form-grid input:focus,.request-form-grid select:focus,.request-form-grid textarea:focus{border-color:#3983a5;box-shadow:0 0 0 3px rgba(57,131,165,.12)}
.request-form-grid textarea{min-height:125px;resize:vertical}
.request-details{grid-column:1/-1}
.request-submit{margin-top:18px;min-width:190px;justify-content:center}
.request-submit:disabled{opacity:.65;cursor:wait}
.home-service-message{padding:12px 14px;border-radius:10px;margin:15px 0 0;line-height:1.9;font-size:13px;white-space:pre-line}
.home-service-message.is-loading{background:#edf4fa;color:#244b6b}
.home-service-message.is-success{background:#e8f7ef;color:#17653c}
.home-service-message.is-error{background:#fff0ef;color:#9b2c2c}
@media(max-width:760px){.service-request-section{padding:48px 0}.service-request-layout{grid-template-columns:1fr;gap:20px}.service-request-intro{padding:0}.request-form-grid{grid-template-columns:1fr}.request-details{grid-column:auto}.service-request-card{padding:20px}}


/* SARAIL MARKET complete visual refresh for non-banner sections. */
:root {
  --sm-ink: #102744;
  --sm-deep: #06162b;
  --sm-gold: #d8b46a;
  --sm-paper: #f6f8fb;
  --sm-line: #e3e9f1;
}
body { background: #f7f9fc; }
.announcement { box-shadow: 0 2px 10px rgba(6,22,43,.08); }
.site-header { position: relative; z-index: 20; }
.header-main { gap: 18px; }
.brand { flex-shrink: 0; }
.search-box { min-height: 46px; }
.nav-wrap { background: rgba(255,255,255,.98); }
.nav-link { padding: 10px 14px; font-weight: 600; }
.nav-link:hover, .nav-link.active { background: #f7f1e5; color: #896321; }
.trust-strip { margin-top: 20px; }
.section { position: relative; }
.section-heading { align-items: end; }
.section-heading h2, .why-intro h2 { line-height: 1.65; }
.category-grid { align-items: stretch; }
.category-card { min-height: 100%; display: flex; flex-direction: column; }
.category-card > * { min-width: 0; }
.category-visual { overflow: hidden; }
.category-visual img { transition: transform .35s ease; }
.category-card:hover .category-visual img { transform: scale(1.045); }
.round-arrow { flex-shrink: 0; transition: transform .2s ease; }
.category-card:hover .round-arrow { transform: translateX(-3px); }
.products-section { background: linear-gradient(180deg,#edf2f8 0%,#f8fafc 100%); }
.product-tools { padding: 14px; border: 1px solid #e0e7f0; border-radius: 16px; background: rgba(255,255,255,.82); }
.filter-pill { font-weight: 600; }
.filter-pill:focus-visible, .nav-link:focus-visible, .text-link:focus-visible { outline: 3px solid rgba(198,155,78,.55); outline-offset: 2px; }
.product-grid { align-items: stretch; }
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-image { overflow: hidden; background: linear-gradient(135deg,#f2f5f9,#e8eef5); }
.product-image img { transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-info { display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-info h3 { margin-top: 0; margin-bottom: 2px; }
.product-info p { margin-top: 0; }
.product-meta { margin-top: auto; padding-top: 8px; }
.add-cart { margin-top: 12px; border: 1px solid #d5b46e; background: linear-gradient(135deg,#f3d99c,#d8b46a); color: #102744; box-shadow: 0 6px 16px rgba(175,132,52,.12); }
.add-cart:hover { background: linear-gradient(135deg,#f7e4b5,#d1a653); box-shadow: 0 10px 20px rgba(175,132,52,.2); }
.services-band { box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.service-card { min-height: 100%; }
.why-items { gap: 14px; }
.newsletter { background: linear-gradient(180deg,#edf1f6,#e6ebf2); }
.newsletter-inner { box-shadow: 0 16px 40px rgba(16,39,68,.06); }
.newsletter form input { min-height: 46px; }
.site-footer { border-top: 3px solid rgba(216,180,106,.75); }
.footer-column a { text-decoration: none; transition: color .18s ease; }
.toast { border-radius: 14px; }
.cart-drawer { border-left: 1px solid rgba(16,39,68,.1); }
button, input, select, textarea { font-family: inherit; }
@media (max-width: 760px) {
  .header-main { gap: 10px; }
  .nav-wrap { overflow-x: auto; }
  .nav-link { white-space: nowrap; }
  .trust-strip { margin-top: 12px; }
  .category-grid { gap: 12px; }
  .category-card { border-radius: 15px; }
  .product-tools { padding: 10px; }
  .product-card { border-radius: 15px; }
  .product-image { min-height: 135px; }
  .newsletter-inner { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .category-visual img, .product-image img, .round-arrow { transition: none !important; }
}
