/* SWIS Plus — Strikingly-inspired static site */

:root{
  --orange:#f58220;
  --orange-dark:#d96a0a;
  --text:#1a1a1a;
  --muted:#6b6b6b;
  --bg:#ffffff;
  --soft:#f7f7f7;
  --border:#ececec;
  --nav-h:70px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{
  font-family:'Kanit','Sarabun','Helvetica Neue',Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* ---------- NAV ---------- */
.nav{
  position:fixed;top:0;left:0;right:0;
  background:var(--orange);
  color:#fff;
  height:var(--nav-h);
  display:flex;align-items:center;
  padding:0 36px;
  z-index:1000;
  box-shadow:0 2px 6px rgba(0,0,0,0.08);
}
.nav .brand{
  display:flex;align-items:center;gap:12px;
  font-weight:700;font-size:20px;color:#fff;
}
.nav .brand .logo{
  width:42px;height:42px;
  background:#fff;
  border-radius:8px;
  padding:4px;
  display:flex;align-items:center;justify-content:center;
}
.nav .brand .logo img{
  width:100%;height:100%;object-fit:contain;display:block;
}
.nav .links{
  margin-left:auto;
  display:flex;gap:28px;align-items:center;
  font-size:15px;
}
.nav .links a{
  padding:6px 4px;
  border-bottom:2px solid transparent;
  transition:border-color .2s;
}
.nav .links a:hover,.nav .links a.active{
  border-bottom-color:#fff;
}
.nav .burger{display:none;font-size:24px;margin-left:auto;cursor:pointer}

@media (max-width:820px){
  .nav{padding:0 20px}
  .nav .links{
    position:absolute;top:var(--nav-h);left:0;right:0;
    background:var(--orange);
    flex-direction:column;gap:0;
    padding:10px 20px 20px;
    display:none;
  }
  .nav .links.open{display:flex}
  .nav .links a{padding:12px 0;border-bottom:1px solid rgba(255,255,255,0.2)}
  .nav .burger{display:block}
}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  min-height:560px;
  padding:calc(var(--nav-h) + 40px) 24px 60px;
  background-size:cover;
  background-position:center;
  background-color:#e9e9e9;
  display:flex;align-items:center;justify-content:center;
  color:#111;
  text-align:center;
}
.hero::before{
  content:"";position:absolute;inset:0;
  background:rgba(255,255,255,0.55);
}
.hero.dark::before{background:rgba(0,0,0,0.35)}
.hero.dark{color:#fff}
.hero .inner{position:relative;max-width:820px;width:100%}
.hero h1{
  font-size:clamp(32px,5vw,52px);
  font-weight:700;line-height:1.2;
  margin-bottom:16px;
  letter-spacing:-0.5px;
}
.hero .sub{
  font-size:clamp(16px,2vw,20px);
  color:inherit;opacity:.9;
  margin-bottom:28px;
}
.hero .url{
  display:inline-block;
  color:var(--orange);
  font-weight:600;
  border-bottom:2px solid var(--orange);
  padding-bottom:2px;
  margin-bottom:28px;
}

/* ---------- STORE BADGES ---------- */
.stores{
  display:flex;gap:14px;justify-content:center;flex-wrap:wrap;
  margin-top:10px;
}
.store-badge{
  height:48px;
  background:#000;color:#fff;
  display:flex;align-items:center;gap:10px;
  padding:0 18px;border-radius:8px;
  font-size:13px;font-weight:500;
  transition:transform .2s;
}
.store-badge:hover{transform:translateY(-2px)}
.store-badge .icon{font-size:22px}
.store-badge .text{display:flex;flex-direction:column;line-height:1.1;text-align:left}
.store-badge .text span:first-child{font-size:10px;opacity:.85}
.store-badge .text span:last-child{font-size:15px;font-weight:600}

/* ---------- SECTION ---------- */
.section{padding:80px 24px}
.section.soft{background:var(--soft)}
.section .wrap{max-width:1060px;margin:0 auto}
.section h2{
  font-size:clamp(26px,3.5vw,38px);
  font-weight:700;
  text-align:center;
  margin-bottom:14px;
}
.section .lead{
  text-align:center;color:var(--muted);
  max-width:680px;margin:0 auto 46px;
  font-size:17px;
}

/* ---------- MOCKUP SECTION ---------- */
.mockup{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;align-items:center;
}
.mockup .text h3{font-size:26px;margin-bottom:14px}
.mockup .text p{color:var(--muted);font-size:16px;margin-bottom:14px}
.mockup .img img{margin:0 auto;max-width:420px;width:100%}
@media (max-width:780px){
  .mockup{grid-template-columns:1fr;gap:30px;text-align:center}
}

/* ---------- APP GRID ---------- */
.apps{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
}
.app-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:30px 24px;
  text-align:center;
  transition:transform .25s,box-shadow .25s;
}
.app-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 40px rgba(0,0,0,0.08);
}
.app-card .icon{
  width:88px;height:88px;border-radius:20px;
  margin:0 auto 18px;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.app-card .icon img{width:100%;height:100%;object-fit:cover;border-radius:20px}
.app-card h3{font-size:19px;margin-bottom:8px;font-weight:600}
.app-card p{color:var(--muted);font-size:14px;margin-bottom:16px}
.app-card .qr{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
  margin-top:14px;
}
.app-card .qr img{border:1px solid var(--border);border-radius:8px;padding:4px;background:#fff}
.app-card .qr small{display:block;margin-top:6px;font-size:11px;color:var(--muted)}

/* ---------- FEATURE SLIDE ---------- */
.slide-section{
  background:var(--soft);padding:80px 24px;
  text-align:center;
}
.slide-section .wrap{max-width:780px;margin:0 auto}
.slide-section img{
  border-radius:14px;
  box-shadow:0 20px 60px rgba(0,0,0,0.12);
  margin-top:30px;
  width:100%;
}

/* ---------- SHOWCASE (full-width graphic sections) ---------- */
.showcase{
  padding:60px 24px;
  text-align:center;
}
.showcase.soft{background:var(--soft)}
.showcase.dark{background:#0e1e3a}
.showcase .wrap{max-width:1100px;margin:0 auto}
.showcase img{
  width:100%;
  height:auto;
  margin:0 auto;
  border-radius:10px;
}
.showcase.plain img{border-radius:0;box-shadow:none}
.showcase h2{
  font-size:clamp(24px,3.2vw,34px);
  font-weight:700;
  margin-bottom:10px;
  text-align:center;
}
.showcase p.lead{
  text-align:center;color:var(--muted);
  max-width:780px;margin:0 auto 30px;
  font-size:16px;
}
.showcase .small{max-width:820px}
.showcase .medium{max-width:960px}

/* ---------- HERO WITH PHONES (original-style) ---------- */
.hero-phones{
  position:relative;
  padding:calc(var(--nav-h) + 50px) 24px 60px;
  background:#fff;
  text-align:center;
}
.hero-phones h1{
  font-size:clamp(30px,4.6vw,46px);
  font-weight:700;
  margin-bottom:10px;
  color:var(--text);
}
.hero-phones .sub{
  color:var(--muted);
  font-size:clamp(16px,2vw,20px);
  margin-bottom:30px;
}
.hero-phones .phones{
  max-width:820px;margin:0 auto 30px;width:100%;
}
.hero-phones .badges{
  display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:10px;
}
.hero-phones .badges img{height:52px;width:auto}
.hero-phones .badges a{display:inline-block;transition:transform .2s}
.hero-phones .badges a:hover{transform:translateY(-2px)}

/* ---------- CTA ---------- */
.cta{
  text-align:center;
  padding:80px 24px;
  background:linear-gradient(135deg,var(--orange) 0%,var(--orange-dark) 100%);
  color:#fff;
}
.cta h2{font-size:clamp(26px,3.5vw,36px);margin-bottom:14px}
.cta p{opacity:.9;margin-bottom:28px;font-size:17px}
.btn{
  display:inline-block;
  background:#fff;color:var(--orange);
  padding:14px 34px;border-radius:999px;
  font-weight:600;
  transition:transform .2s,box-shadow .2s;
  border:2px solid #fff;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,0.18)}
.btn.ghost{background:transparent;color:#fff}
.btn.ghost:hover{background:rgba(255,255,255,0.15)}

/* ---------- MODULES PAGE ---------- */
.page-head{
  padding:calc(var(--nav-h) + 60px) 24px 70px;
  background:linear-gradient(135deg,var(--orange) 0%,var(--orange-dark) 100%);
  color:#fff;text-align:center;
}
.page-head h1{
  font-size:clamp(32px,5vw,48px);font-weight:800;
  margin-bottom:14px;letter-spacing:-.5px;
}
.page-head p{font-size:17px;opacity:.95;max-width:760px;margin:0 auto 30px}
.page-head .stats{
  display:flex;gap:44px;justify-content:center;flex-wrap:wrap;
  margin-top:28px;padding-top:26px;
  border-top:1px solid rgba(255,255,255,0.25);
}
.page-head .stat b{display:block;font-size:38px;font-weight:800;line-height:1}
.page-head .stat span{display:block;font-size:13px;opacity:.9;margin-top:4px;letter-spacing:.5px}

.cat-tabs{
  background:#fff;padding:22px 24px;
  border-bottom:1px solid var(--border);
  position:sticky;top:var(--nav-h);z-index:90;
  box-shadow:0 2px 6px rgba(0,0,0,0.03);
}
.cat-tabs-inner{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;max-width:1100px;margin:0 auto}
.cat-tab{
  padding:10px 20px;border-radius:999px;
  background:var(--soft);color:var(--text);
  border:1.5px solid var(--border);
  font-size:14px;font-weight:600;cursor:pointer;
  transition:all .2s;font-family:inherit;
}
.cat-tab:hover{border-color:var(--orange);color:var(--orange-dark)}
.cat-tab.active{background:var(--orange);color:#fff;border-color:var(--orange)}

.modules-wrap{padding:60px 24px 90px;background:var(--soft)}
.modules-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;max-width:1200px;margin:0 auto;
}
@media (max-width:900px){.modules-grid{grid-template-columns:1fr}}
.module-card{
  background:#fff;border-radius:18px;
  border:1px solid var(--border);
  overflow:hidden;
  display:flex;flex-direction:column;
  transition:all .25s;
}
.module-card:hover{
  border-color:var(--orange);
  transform:translateY(-4px);
  box-shadow:0 20px 48px rgba(0,0,0,0.10);
}
.module-card.hidden{display:none}
.module-head{
  padding:24px 26px 18px;
  background:linear-gradient(135deg,#fff7ef,#fff2e0);
  border-bottom:1px solid var(--border);
  position:relative;
}
.module-num{
  position:absolute;top:18px;right:22px;
  font-size:44px;font-weight:800;
  color:rgba(245,130,32,0.12);line-height:1;
}
.module-head-top{display:flex;gap:14px;align-items:center;position:relative;margin-bottom:12px}
.module-icon{
  width:54px;height:54px;border-radius:13px;
  background:linear-gradient(135deg,var(--orange) 0%,var(--orange-dark) 100%);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:22px;flex-shrink:0;
  box-shadow:0 6px 18px rgba(245,130,32,0.30);
}
.module-tag{
  display:inline-block;font-size:11px;font-weight:700;
  color:var(--orange-dark);letter-spacing:.8px;text-transform:uppercase;
  padding:3px 10px;background:rgba(245,130,32,0.10);
  border-radius:999px;
}
.module-title{font-size:19px;margin:6px 0 4px;line-height:1.3;color:var(--text)}
.module-count{font-size:13px;color:var(--muted);font-weight:500}
.module-count b{color:var(--orange);font-weight:700}

.module-body{padding:22px 26px;flex:1;display:flex;flex-direction:column;gap:14px}
.module-section .module-label{
  display:flex;align-items:center;gap:7px;
  font-size:12px;font-weight:700;color:var(--text);
  letter-spacing:.5px;text-transform:uppercase;margin-bottom:5px;
}
.module-section .module-label i{color:var(--orange);font-size:12px}
.module-section .module-text{
  font-size:14px;color:var(--muted);line-height:1.7;
  padding-left:19px;
}

.module-actions{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
  padding:18px 26px;background:var(--soft);
  border-top:1px solid var(--border);
}
.mod-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:11px 8px;border-radius:10px;
  font-size:12.5px;font-weight:600;
  cursor:pointer;transition:all .2s;
  border:1.5px solid var(--border);
  background:#fff;color:var(--text);
  font-family:inherit;text-align:center;
}
.mod-btn i{font-size:13px}
.mod-btn:hover:not(.disabled){
  border-color:var(--orange);color:var(--orange-dark);
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(245,130,32,0.15);
}
.mod-btn.disabled{opacity:.55;cursor:not-allowed}
.mod-btn.disabled:hover{transform:none;box-shadow:none}

/* ---------- FOOTER ---------- */
footer{
  background:#1a1a1a;color:#bfbfbf;
  padding:50px 24px 26px;
  text-align:center;
  font-size:14px;
}
footer .brand{color:#fff;font-size:20px;font-weight:700;margin-bottom:10px}
footer .foot-logo{width:64px;height:64px;margin:0 auto 14px;display:block}
footer .links{
  display:flex;justify-content:center;gap:20px;margin:18px 0;
  flex-wrap:wrap;
}
footer .links a{color:#bfbfbf}
footer .links a:hover{color:#fff}
footer .copy{color:#777;margin-top:18px;font-size:13px}
