/* public/assets/front/css/theme-modern.css  (TAM SIFIRDAN LIGHT PREMIUM) */
:root{
  --bg:#f6f8ff;
  --bg2:#ffffff;
  --card:#ffffff;
  --line: rgba(15,23,42,.10);
  --text:#0f172a;
  --muted: rgba(15,23,42,.62);
  --brand:#2563eb;
  --brand2:#22c55e;

  --r14:14px;
  --r18:18px;
  --r24:24px;

  --shadow: 0 20px 55px rgba(15,23,42,.10);
  --shadow2: 0 10px 25px rgba(15,23,42,.08);

  --ease: cubic-bezier(.2,.8,.2,1);
}

*{box-sizing:border-box}
html,body{height:100%}
body.tm{
  margin:0;
  color:var(--text);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,"Noto Sans","Helvetica Neue",sans-serif;
  background:
    radial-gradient(900px 520px at 10% 10%, rgba(37,99,235,.14), transparent 60%),
    radial-gradient(900px 520px at 90% 18%, rgba(34,197,94,.12), transparent 55%),
    radial-gradient(900px 520px at 40% 110%, rgba(15,23,42,.06), transparent 60%),
    var(--bg);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
::selection{background: rgba(37,99,235,.18)}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important; transition:none !important; animation:none !important}
}

/* preloader */
.tm-preloader{position:fixed; inset:0; z-index:9999; background:rgba(255,255,255,.96)}

/* TOPBAR */
.tm-topbar{
  background: rgba(255,255,255,.92);
  border-bottom:1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(10px);
}
.tm-topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0;
}
.tm-topbar__left{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.tm-topbar__right{display:flex; align-items:center; gap:10px; flex-wrap:wrap}

.tm-mini{
  display:flex; align-items:center; gap:10px;
  color: rgba(15,23,42,.72);
  font-weight:700;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow2);
}
.tm-mini i{color: rgba(37,99,235,.85)}

.tm-social{display:flex; gap:10px}
.tm-soc{
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow: var(--shadow2);
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}
.tm-soc:hover{
  transform: translateY(-2px);
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.20);
}

.tm-select{
  display:flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow: var(--shadow2);
}
.tm-select i{color: rgba(15,23,42,.55)}
.tm-select select{
  border:0; outline:0; background:transparent;
  color: rgba(15,23,42,.85);
  font-weight:600; font-size:13px;
}
.tm-select option{color:#0f172a}

.tm-phone{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow: var(--shadow2);
  font-weight:700;
  color: rgba(15,23,42,.85);
}
.tm-phone i{color: rgba(37,99,235,.85)}

/* NAV */
.tm-nav{
  position:sticky; top:0; z-index:999;
  background: rgba(255,255,255,.88);
  border-bottom:1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(14px);
}
.tm-nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 0;
}

.tm-brand{
  display:flex; align-items:center;
  padding:6px 8px;
  border-radius:16px;
  transition: transform .22s var(--ease);
}
.tm-brand:hover{transform: translateY(-1px)}
.tm-brand img{max-height:46px; width:auto}

/* menu links (desktop) */
.tm-menu{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.tm-link{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
  color: rgba(15,23,42,.88);
  font-weight:700;
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}
.tm-link i{color: rgba(37,99,235,.90)}
.tm-link:hover{
  transform: translateY(-1px);
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.18);
}

.tm-link--cta{
  color:#fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 18px 40px rgba(37,99,235,.18);
}
.tm-link--cta i{color:#fff}
.tm-link--cta:hover{
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* dropdown */
.tm-dd{position:relative}
.tm-dd__btn{cursor:pointer}
.tm-dd__chev{color: rgba(15,23,42,.55)}
.tm-dd__menu{
  position:absolute; right:0; top: calc(100% + 10px);
  min-width: 240px;
  padding:10px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  display:none;
}
.tm-dd.is-open .tm-dd__menu{display:block}
.tm-dd__item{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:14px;
  font-weight:700;
  color: rgba(15,23,42,.86);
}
.tm-dd__item i{color: rgba(37,99,235,.85)}
.tm-dd__item:hover{background: rgba(37,99,235,.08)}

/* burger + mobile */
.tm-burger{
  display:none;
  width:46px; height:42px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow: var(--shadow2);
}
.tm-burger span{display:block; height:2px; margin:6px 10px; background: rgba(15,23,42,.70)}

.tm-overlay{
  display:none;
  position:fixed; inset:0;
  background: rgba(15,23,42,.22);
  backdrop-filter: blur(2px);
  z-index: 998;
}
body.tm-menu-open .tm-overlay{display:block}

.tm-menu__head{display:none; align-items:center; justify-content:space-between; gap:10px; padding:6px 6px 12px; border-bottom:1px solid rgba(15,23,42,.08); margin-bottom:10px}
.tm-menu__title{display:flex; align-items:center; gap:10px; font-weight:900}
.tm-x{
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow: var(--shadow2);
}

@media (max-width: 992px){
  .tm-burger{display:block}
  .tm-menu{
    position:fixed;
    left:16px; right:16px; top:78px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:14px;
    border-radius:22px;
    border:1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    z-index: 999;
  }
  .tm-menu__head{display:flex}
  body.tm-menu-open .tm-menu{display:flex}
  .tm-dd__menu{position:static; display:none; margin-top:8px}
  .tm-dd.is-open .tm-dd__menu{display:block}
}

/* MAIN */
.tm-main{min-height:50vh}

/* FOOTER */
.tm-footer{
  margin-top: 30px;
  border-top:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.70);
}
.tm-footer__grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  padding: 28px 0;
}
@media (max-width: 992px){
  .tm-footer__grid{grid-template-columns:1fr}
}
.tm-footer__title{
  margin:0 0 12px;
  font-size:16px;
  display:flex; align-items:center; gap:10px;
}
.tm-footer__text{color: var(--muted); line-height:1.7; margin-top:10px}
.tm-footer__list{list-style:none; padding:0; margin:0; display:grid; gap:10px}
.tm-footer__list li{display:flex; gap:10px; align-items:flex-start; color: var(--muted)}
.tm-footer__list i{margin-top:2px; color: rgba(37,99,235,.85)}
.tm-footer__social{display:flex; gap:10px; margin-top:12px}

.tm-sub{display:flex; gap:10px}
.tm-sub input{
  width:100%;
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  color: var(--text);
  outline:none;
  box-shadow: var(--shadow2);
}
.tm-sub input::placeholder{color: rgba(15,23,42,.45)}
.tm-sub button{
  width:48px; flex: 0 0 48px;
  border-radius: 16px;
  border:1px solid rgba(37,99,235,.25);
  background: rgba(37,99,235,.12);
  box-shadow: var(--shadow2);
}
.tm-sub button:hover{background: rgba(37,99,235,.18)}

.tm-footer__copy{
  padding: 14px 0;
  border-top:1px solid rgba(15,23,42,.08);
  color: rgba(15,23,42,.62);
  font-size: 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.tm-top{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow: var(--shadow2);
}
