
:root{
  --blue:#1f5fae;
  --blue-dark:#184b8a;
  --blue-soft:#eef4fb;
  --navy:#0f2742;
  --text:#18202a;
  --muted:#5e6b78;
  --bg:#f6f9fc;
  --bg-soft:#fbfdff;
  --white:#ffffff;
  --border:#dbe5f0;
  --border-strong:#c8d7e8;
  --shadow-sm:0 8px 24px rgba(15,34,58,.06);
  --shadow-md:0 18px 44px rgba(15,34,58,.10);
  --shadow-lg:0 26px 60px rgba(15,34,58,.14);
  --radius-sm:12px;
  --radius-md:18px;
  --radius-lg:26px;
  --container:1180px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  padding:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.5;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(var(--container),92%);
  margin:0 auto;
}

.section{
  padding:86px 0;
}

.section-alt{
  background:linear-gradient(180deg,var(--bg-soft) 0%, var(--bg) 100%);
}

.topbar{
  background:var(--navy);
  color:#dce7f5;
  font-size:13px;
  letter-spacing:.01em;
}

.topbar-inner{
  display:flex;
  gap:22px;
  justify-content:center;
  flex-wrap:wrap;
  padding:12px 0;
}

.navbar{
  border-bottom:1px solid rgba(219,229,240,.9);
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  position:sticky;
  top:0;
  z-index:40;
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:8px 0;
  overflow:visible;
}

.brand{
  display:inline-flex;
  align-items:center;
  font-weight:800;
  color:var(--blue);
  font-size:21px;
  letter-spacing:-.02em;
}

.brand-logo img{
  display:block;
  height:72px;
  width:auto;
  max-width:100%;
  transform:none;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  flex:1 1 auto;
  justify-content:flex-end;
  margin-left:40px;
}

.nav-links a{
  color:var(--muted);
  font-weight:600;
  font-size:12px;
  transition:color .2s ease;
}

.nav-links a:hover{
  color:var(--blue);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 20px;
  min-height:48px;
  border-radius:999px;
  font-weight:800;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  background:linear-gradient(135deg,var(--blue) 0%,var(--blue-dark) 100%);
  color:#fff;
  box-shadow:0 14px 30px rgba(31,95,174,.22);
}

.btn-primary:hover{
  box-shadow:0 18px 36px rgba(31,95,174,.28);
}

.btn-secondary{
  border-color:var(--border-strong);
  color:var(--blue);
  background:#fff;
}

.btn-secondary:hover{
  border-color:var(--blue);
  background:var(--blue-soft);
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--blue);
  font-size:12px;
  font-weight:800;
  margin:0 0 14px;
}

h1{
  font-size:clamp(40px,5vw,64px);
  line-height:1.02;
  letter-spacing:-.04em;
  margin:0 0 18px;
}

h2{
  font-size:clamp(30px,4vw,44px);
  line-height:1.08;
  letter-spacing:-.03em;
  margin:0 0 14px;
}

h3{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.02em;
}

h4{
  margin:0 0 10px;
}

p{
  margin:0;
}

.lead{
  font-size:19px;
  line-height:1.72;
  color:var(--muted);
  max-width:760px;
}

.lead-sm{
  font-size:18px;
  line-height:1.68;
  color:var(--muted);
  max-width:820px;
}

.hero{
  position:relative;
  overflow:hidden;
  padding:94px 0 78px;
  background:
    radial-gradient(circle at top right, rgba(31,95,174,.10), transparent 28%),
    radial-gradient(circle at top left, rgba(24,75,138,.06), transparent 24%),
    linear-gradient(180deg,#ffffff 0%, #f7fbff 100%);
}

.grid-2{
  display:grid;
  grid-template-columns:1.08fr .92fr;
}

.gap-lg{
  gap:42px;
}

.align-center{
  align-items:center;
}

.align-start{
  align-items:start;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:32px 0 24px;
}

.chips,
.hero-tags,
.badge-row,
.cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.chips span,
.hero-tags span,
.badge{
  background:var(--blue-soft);
  color:var(--blue);
  padding:9px 13px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
}

.hero-card,
.card,
.detail-media,
.detail-info,
.info-block{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
}

.cols-3 .card{
  height:100%;
}

.section-head .muted{
  max-width:760px;
}

.card h3{
  margin-bottom:10px;
}

.card .cta-row{
  margin-top:18px;
}

.card .btn.btn-secondary{
  width:100%;
  justify-content:center;
}

.section-alt .cols-3{
  gap:22px;
}

.section-alt .card{
  height:100%;
}

.section-alt .card h3{
  min-height:52px;
}

.section-alt .card .muted{
  margin-bottom:0;
}

.cols-3 .card .eyebrow{
  margin-bottom:8px;
}

.cols-3 .card p.muted{
  line-height:1.65;
}

.cols-3 .card .cta-row{
  margin-top:18px;
}

.cols-3 .card .btn{
  min-height:44px;
}

.home-toggle{
  border:1px solid var(--border);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow-sm);
  padding:24px;
}

.home-toggle summary{
  list-style:none;
  cursor:pointer;
}

.home-toggle summary::-webkit-details-marker{
  display:none;
}

.home-toggle-summary{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}

.home-toggle-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:110px;
  height:44px;
  padding:0 18px;
  border:1px solid var(--blue);
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  font-size:14px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  box-shadow:var(--shadow-sm);
  white-space:nowrap;
  flex-shrink:0;
}

.home-toggle-label .label-open{
  display:none;
}

.home-toggle[open] .home-toggle-label .label-closed{
  display:none;
}

.home-toggle[open] .home-toggle-label .label-open{
  display:inline;
}

.home-toggle-content{
  margin-top:22px;
}

.hero-card{
  padding:30px;
  min-height:380px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:26px;
  position:relative;
}

.hero-card .card{
  padding:26px;
  border-radius:22px;
  box-shadow:var(--shadow-sm);
}

.hero-card .info-stack{
  margin-top:18px;
}

.hero-card .info-block{
  padding:18px;
  border-radius:18px;
  background:linear-gradient(180deg,#fbfdff 0%, #f4f8fc 100%);
  border:1px solid var(--border);
  box-shadow:none;
}

.hero-card h4{
  margin:0 0 8px;
  font-size:15px;
}

.product-placeholder{
  min-height:205px;
  border:1.5px dashed var(--border-strong);
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-weight:800;
  background:linear-gradient(180deg,#fbfdff 0%, #f2f7fc 100%);
  text-align:center;
  padding:18px;
}

.section-head{
  margin-bottom:30px;
  max-width:780px;
}

.section-head p:last-child{
  color:var(--muted);
  line-height:1.7;
}

.card-grid{
  display:grid;
  gap:24px;
}

.cols-3{
  grid-template-columns:repeat(3,1fr);
}

.hoverable{
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.hoverable:hover{
  transform:translateY(-5px);
  border-color:#bfd4ea;
  box-shadow:var(--shadow-lg);
}

.card{
  padding:26px;
}

.card p{
  color:var(--muted);
  line-height:1.65;
}

.check-list{
  padding-left:18px;
  line-height:1.9;
  color:var(--muted);
}

.check-list li{
  margin-bottom:4px;
}

.sarai-box{
  padding:26px;
  border-radius:var(--radius-lg);
}

.form-stack{
  display:grid;
  gap:16px;
}

.form-stack label{
  display:grid;
  gap:8px;
  font-weight:800;
  font-size:15px;
}

.form-stack select,
.toolbar select{
  padding:13px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  font:inherit;
  background:#fff;
  color:var(--text);
  outline:none;
}

.form-stack select:focus,
.toolbar select:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 4px rgba(31,95,174,.10);
}

.sarai-result{
  margin-top:18px;
  padding:18px;
  border-radius:18px;
  background:linear-gradient(180deg,#f8fbff 0%, #eef5fc 100%);
  line-height:1.7;
  border:1px solid var(--border);
}

.muted{
  color:var(--muted);
}

.search-strip{
  padding:28px 0 10px;
}

.search-strip .container{
  display:flex;
  justify-content:flex-end;
}

.search-box{
  display:flex;
  gap:14px;
  align-items:center;
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  padding:10px;
  box-shadow:var(--shadow-sm);
  max-width:760px;
  width:100%;
}

.search-box input{
  flex:1 1 auto;
  min-width:0;
  border:none;
  outline:none;
  font:inherit;
  color:var(--text);
  background:transparent;
  padding:0 16px;
  height:48px;
}

.search-box input::placeholder{
  color:var(--muted);
}

.toolbar{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:28px 0;
}

.product-thumb{
  width:100%;
  height:260px;
  object-fit:contain;
  object-position:center;
  border-radius:22px;
  background:linear-gradient(180deg,#fbfdff 0%, #f2f7fc 100%);
  padding:14px;
  cursor:zoom-in;
}

.image-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:9999;
}

.image-modal.is-open{
  display:flex;
}

.image-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(10,18,30,.55);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.image-modal-dialog{
  position:relative;
  z-index:1;
  width:min(92vw,980px);
  max-height:92vh;
  padding:18px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:24px;
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.image-modal-img{
  width:100%;
  max-height:82vh;
  object-fit:contain;
  object-position:center;
  border-radius:18px;
  background:rgba(255,255,255,.92);
}

.image-modal-close{
  position:absolute;
  top:10px;
  right:10px;
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  background:rgba(15,39,66,.82);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  z-index:2;
}

.image-modal-close:hover{
  background:rgba(15,39,66,.96);
}

.product-card .meta{
  display:grid;
  gap:7px;
  color:var(--muted);
  font-size:14px;
}

.price{
  font-size:24px;
  font-weight:800;
  color:var(--blue);
  margin:10px 0 6px;
}

.footer{
  background:var(--navy);
  color:#dce7f5;
  padding:52px 0;
  margin-top:40px;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:28px;
}

.footer a{
  display:block;
  color:#dce7f5;
  margin:10px 0;
  opacity:.92;
}

.footer a:hover{
  opacity:1;
}

.detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.detail-media{
  min-height:380px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}

.detail-info{
  padding:28px;
}

.info-stack{
  display:grid;
  gap:20px;
  margin-top:26px;
}

.info-block{
  padding:24px;
}

.badge{
  font-size:12px;
}

.cta-row{
  margin-top:20px;
}

@media (max-width: 1024px){
  .nav-inner{
    flex-wrap:wrap;
  }

  .grid-2,
  .detail-grid,
  .cols-3,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .hero{
    padding-top:68px;
  }

  .hero-card{
    min-height:auto;
  }
}

@media (max-width: 720px){
  .section{
    padding:40px 0;
  }

  .search-strip .container{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:14px;
  }

  .search-strip .container > div{
    width:100%;
    text-align:center;
  }

  .search-strip .container > div .btn{
    width:100%;
    max-width:none !important;
    white-space:normal !important;
  }

  .topbar-inner{
    gap:12px;
    font-size:12px;
  }

  .nav-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav-links{
    gap:12px;
  }

  h1{
    font-size:clamp(34px,10vw,48px);
  }

  h2{
    font-size:clamp(28px,8vw,36px);
  }

  .lead,
  .lead-sm{
    font-size:17px;
  }

  .search-box{
    flex-direction:column;
    align-items:stretch;
    border-radius:24px;
  }

  .search-box input{
    padding:0 10px;
  }

  .hero-actions,
  .cta-row{
    flex-direction:column;
    align-items:stretch;
  }

  .btn{
    width:100%;
  }

  .product-thumb{
    height:220px;
  }

  .image-modal{
    padding:14px;
  }

  .image-modal-dialog{
    width:100%;
    padding:14px;
    border-radius:20px;
  }

  .image-modal-img{
    max-height:78vh;
  }
  .card,
  .sarai-box,
  .detail-info,
  .info-block,
  .hero-card{
    padding:22px;
  }
}

.compare-cards{
  align-items:stretch;
}

.compare-card{
  height:100%;
}

.compare-card h3{
  margin-bottom:8px;
}

.compare-list{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.compare-list div{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:10px 0;
  border-bottom:1px solid var(--border);
}

.compare-list div:last-child{
  border-bottom:none;
}

.compare-list strong{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--blue);
}

.compare-list span{
  color:var(--text);
  line-height:1.5;
}
.sarai-answer{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.sarai-answer h3{
  margin:0;
}

.sarai-reco-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:8px;
}

.sarai-reco-card{
  border:1px solid var(--border);
  border-radius:18px;
  background:#fff;
  padding:16px;
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.sarai-reco-card strong{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--blue);
}

.sarai-reco-card span{
  font-size:18px;
  font-weight:800;
  color:var(--text);
  line-height:1.3;
  overflow-wrap:anywhere;
  word-break:break-word;
}

@media (max-width: 900px){
  .sarai-reco-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .nav-links,
  .navbar .btn.btn-primary{
    display:none;
  }

  .nav-inner{
    justify-content:center;
  }
}

@media (max-width: 768px){
  .topbar{
    position: relative;
    z-index: 30;
  }

  .search-strip,
  .search-box{
    position: relative;
    z-index: 25;
  }

  .navbar{
    position: relative;
    z-index: 10;
  }

@media (max-width: 768px){
  .topbar{
    position: relative;
    z-index: 30;
  }

  .search-strip,
  .search-box{
    position: relative;
    z-index: 25;
  }

  .navbar{
    position: relative;
    z-index: 10;
  }

  .brand-logo{
    position: relative;
    z-index: 10;
  }

  .brand-logo img{
    display:block;
    height:64px;
    width:auto;
    max-width:100%;
    transform:none !important;
  }

  .nav-links,
  .navbar .btn.btn-primary{
    display:none;
  }

  .nav-inner{
    justify-content:center;
    align-items:center;
  }
}
