:root{
  --bg: #0b1220;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.09);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.7);
  --border: rgba(255,255,255,0.14);
  --accent: #7dd3fc;
  --accent2: #a78bfa;
  --good: #34d399;
  --warn: #fbbf24;
  --shadow: 0 16px 40px rgba(0,0,0,0.45);
  --radius: 18px;
  --radius2: 24px;
  --maxw: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(1100px 700px at 15% 10%, rgba(125,211,252,0.22), transparent 55%),
              radial-gradient(900px 600px at 85% 20%, rgba(167,139,250,0.18), transparent 60%),
              radial-gradient(1000px 700px at 50% 100%, rgba(52,211,153,0.10), transparent 55%),
              var(--bg);
  line-height: 1.55;
}

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

.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(11,18,32,0.9), rgba(11,18,32,0.55));
  border-bottom: 1px solid var(--border);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
}
.brand svg{ width: 34px; height: 34px; }
.brand .title{ font-weight: 700; letter-spacing: 0.2px; }
.brand .ളം{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.navlinks{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.navlinks a{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
}
.navlinks a:hover{
  border-color: var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-decoration: none;
}

.actions{
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  min-width: 240px;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
}
.btn:hover{ background: rgba(255,255,255,0.08); }
.btn.primary{
  background: linear-gradient(135deg, rgba(125,211,252,0.22), rgba(167,139,250,0.18));
  border-color: rgba(125,211,252,0.28);
}
.btn.primary:hover{ border-color: rgba(125,211,252,0.42); }
.btn.small{ padding: 8px 10px; font-size: 13px; }
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 13px;
}

.hero{
  padding: 48px 0 18px;
}
.heroCard{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.heroInner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding: 28px;
}
@media (max-width: 920px){
  .heroInner{ grid-template-columns: 1fr; }
  .actions, .brand{ min-width: unset; }
}
.kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.kicker .dot{
  width: 8px; height: 8px; border-radius: 999px; background: var(--good);
  box-shadow: 0 0 0 6px rgba(52,211,153,0.12);
}
h1{
  margin: 12px 0 10px;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.4px;
}
.lead{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 70ch;
}
.heroStats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.stat{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 14px;
}
.stat .k{ color: var(--muted); font-size: 12px; }
.stat .v{ font-weight: 700; margin-top: 6px; word-break: break-all; }

.section{
  padding: 26px 0;
}
.section h2{
  font-size: 20px;
  margin: 0 0 12px;
  letter-spacing: -0.2px;
}
.grid2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 920px){ .grid2{ grid-template-columns: 1fr; } }

.card{
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 26px rgba(0,0,0,0.32);
  overflow: hidden;
}
.card .inner{ padding: 18px; }
.card .sub{ color: var(--muted); font-size: 13px; margin-top: 6px; }
.badgeRow{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.table{
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.table th, .table td{
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.table th{
  width: 34%;
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  background: rgba(255,255,255,0.03);
}
.table tr:last-child td, .table tr:last-child th{ border-bottom: none; }

.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.products{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 1080px){ .products{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px){ .products{ grid-template-columns: 1fr; } }

.productTitle{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.productTitle h3{ margin: 0; font-size: 16px; }
.tag{
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
}
.kv{
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.kv .row{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px dashed rgba(255,255,255,0.14);
}
.kv .row:first-child{ border-top: none; }
.kv .row .k{ color: var(--muted); font-size: 12px; }
.kv .row .v{ font-size: 13px; }

.footer{
  margin-top: 26px;
  padding: 18px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.footer .cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 920px){ .footer .cols{ grid-template-columns: 1fr; } }

.notice{
  border: 1px solid rgba(251,191,36,0.28);
  background: rgba(251,191,36,0.08);
  border-radius: var(--radius2);
  padding: 14px 16px;
  color: rgba(255,255,255,0.85);
}

.langToggle{
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.langToggle button{
  border: none;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  padding: 8px 10px;
  cursor: pointer;
}
.langToggle button.active{
  background: rgba(255,255,255,0.10);
  color: var(--text);
}
.hide{ display: none !important; }

.brand img{ width: 42px; height: 42px; object-fit: contain; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); }


/* Fixed top background banner (two product images) - vertical stack, higher visibility */
.topBackdrop{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 560px;
  z-index: -2;
  background-image:
    url("assets/img/bg_products_1.png"),
    url("assets/img/bg_products_2.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 50%, 100% 50%;
  background-position: center top, center bottom;
  background-attachment: fixed, fixed;
  opacity: 0.92;
  pointer-events: none;
  filter: saturate(1.12) contrast(1.10) brightness(1.02);
}
/* subtle fade into page background (keep images readable) */
.topBackdrop::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom, rgba(11,18,32,0.05) 0%, rgba(11,18,32,0.12) 28%, rgba(11,18,32,0.70) 72%, rgba(11,18,32,0.95) 100%);
}

/* Fixed corner logo */
.cornerLogo{
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(11,18,32,0.45);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.30);
}
.cornerLogo img{
  width: 128px;
  height: auto;
  display: block;
}
@media (max-width: 520px){
  .cornerLogo img{ width: 108px; }
}
