/* /assets/css/style.css */

:root{
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;

  --brand:#2563eb;
  --brand2:#16a34a;

  --shadow: 0 12px 30px rgba(15,23,42,.08);
  --shadow2: 0 10px 22px rgba(15,23,42,.06);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{max-width:100%; overflow-x:hidden;}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
}

a{color:inherit}
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
}

.header{
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter: blur(10px);
  background: rgba(245,247,251,.9);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  padding:12px 0;
  flex-wrap:wrap;                 /* ✅ allow menu dropdown below */
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  text-decoration:none;
}
.brand img{
  width:44px;
  height:44px;
  border-radius:14px;
  box-shadow: 0 10px 22px rgba(15,23,42,.10);
}
.brand div{font-size:16px}

/* =========================================================
   ✅ MENU: ONE STYLE ONLY (HAMBURGER ONLY FOR ALL DEVICES)
   - No menu bar anywhere
   - Only menu button + dropdown list
   ========================================================= */

/* Menu toggle button */
.menuToggle{
  display:inline-flex;            /* ✅ always visible */
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#ffffff;
  box-shadow: var(--shadow2);
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  line-height:1;
  white-space:nowrap;
}

/* Put menu icon LEFT of site logo */
.menuToggle{order:0;}
.brand{order:1;}
.actions{order:3; margin-left:auto;}

/* Dropdown menu list */
.menu{
  display:none;                   /* ✅ hidden by default */
  width:100%;
  flex-direction:column;
  padding:10px;
  margin-top:10px;
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow: var(--shadow);
  gap:6px;
  order:4;
}
.menu.open{display:flex;}         /* ✅ JS adds/removes this class */

.menu a{
  text-decoration:none;
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  font-size:14px;
}
.menu a:hover{
  background:#ffffff;
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  color:var(--text);
}

.actions{
  display:flex;
  align-items:center;
  gap:10px;
}

/* ========================================================= */

.hero{
  padding:26px 0 18px;
}

.heroBox{
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 55%, #f0fdf4 100%);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:22px;
  display:grid;
  gap:16px;
}

@media(min-width: 920px){
  .heroBox{grid-template-columns: 1.15fr .85fr; align-items:start}
}

.hTitle{
  font-size:34px;
  line-height:1.15;
  margin:0 0 10px;
  letter-spacing:-.2px;
}
.hText{
  margin:0 0 14px;
  color:var(--muted);
  font-size:16px;
}

.pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  color:#0f172a;
  font-weight:800;
  font-size:13px;
}

.cardGrid{
  display:grid;
  gap:12px;
  grid-template-columns: 1fr;
  margin:14px 0;
}
@media(min-width: 820px){
  .cardGrid{grid-template-columns: 1fr 1fr 1fr;}
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow2);
  min-width:0;
}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px}

.section{
  margin:18px 0;
}
.sectionTitle{
  font-size:18px;
  margin:0 0 10px;
  display:flex;
  align-items:center;
  gap:10px;
}
.sectionTitle:before{
  content:"";
  width:10px;
  height:22px;
  border-radius:6px;
  background: var(--brand2);
  display:inline-block;
}

.twoCol{
  display:grid;
  gap:12px;
  grid-template-columns: 1fr;
}
@media(min-width: 980px){
  .twoCol{grid-template-columns: 1fr 1fr;}
}

.badgeRow{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

/* ✅ BADGES: remove white boundaries/background around badges (hero + versions) */
.badgeFrame{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px;
  border-radius:12px;
  border:none;
  background:transparent;
  box-shadow:none;
}

/* ✅ BADGES: smaller + eyes-comfort */
.badgeImg{
  height:50px;
  width:auto;
  display:block;
  object-fit:contain;
}
.badgeImg.big{
  height:50px;
}

/* Hero badges row */
.heroBadges{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:12px;
}
@media(min-width: 920px){
  .heroBadges{flex-wrap:nowrap;}
}

/* ✅ Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#ffffff;
  box-shadow: var(--shadow2);
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  color: var(--text);
  cursor:pointer;
}
.btn:hover{
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.btn:active{transform: translateY(0);}

/* ✅ Contact */
.contactBox{display:grid; gap:12px;}
.contactLine{display:flex; align-items:center; gap:12px;}
.contactIcon{
  width:28px;
  height:28px;
  border-radius:8px;
  border:none;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  line-height:1;
  flex:0 0 auto;
}
.contactText{min-width:0;}
.contactText strong{
  display:block;
  font-size:14px;
  font-weight:500;
  color: var(--text);
}
.contactText a{
  display:inline-block;
  margin-top:2px;
  color: var(--brand);
  font-weight:500;
  text-decoration:underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.contactText a:hover{text-decoration:underline;}

/* ✅ Mini cards */
.miniCards{
  display:grid;
  gap:10px;
  grid-template-columns: 1fr;
  margin-top:12px;
}
.miniCard{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:#fff;
  box-shadow: var(--shadow2);
}
.miniCard .t{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  margin-bottom:6px;
}
.miniCard .d{color:var(--muted); font-size:14px; margin:0;}

@media(min-width: 980px){
  #versions .twoCol .card .cardGrid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Language select */
.langSelect{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow2);
}
.langSelect .lab{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-weight:900;
  font-size:12px;
}
.langSelect select{
  border:none;
  outline:none;
  background:transparent;
  font-weight:900;
  cursor:pointer;
  color: var(--text);
}

/* Preview placeholder */
.previewBox{
  height:260px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow2);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:8px;
  padding:18px;
  text-align:center;
  color:var(--muted);
}
.previewBox .title{font-weight:900; color: var(--text);}
.previewBox .sub{font-size:14px; color: var(--muted);}

.footer{
  margin-top:22px;
  padding:18px 0 30px;
  color:var(--muted);
  font-size:13px;
}
.footerTop{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:14px;
}

/* ✅ Bottom contact links */
.smallLink{
  color:var(--brand);
  text-decoration:underline;
  text-underline-offset: 2px;
  font-weight:500;
}
.smallLink:hover{text-decoration:underline;}