:root{
  --steel-bg-1:#eef1f6;
  --steel-bg-2:#dfe5ee;
  --steel-border: rgba(60, 75, 95, .18);
  --glass: rgba(255,255,255,.75);
  --shadow: 0 14px 32px rgba(16, 24, 40, .18);
  --shadow-soft: 0 10px 22px rgba(16, 24, 40, .14);
  --blue-1:#1f5fa8;
  --blue-2:#0b3f7c;
  --nav-h: 60px;
}

html{ scroll-behavior:smooth; }
body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%),
    radial-gradient(900px 520px at 90% 10%, rgba(255,255,255,.65), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, var(--steel-bg-1), var(--steel-bg-2));
  color:#1f2937;
}

/* Fixed navbar spacing */
body.has-fixed-nav{
  padding-top: var(--nav-h);
}

.section{
  padding: 72px 0;
}
@media (max-width: 767.98px){
  .section{ padding: 56px 0; }
}

/* Hero */
.hero{
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-h)); /* let hero sit under fixed nav */
}
.hero__frame{
  width: 100%;
  height: clamp(640px, 85vh, 900px);
}
@media (max-width: 767.98px){
  .hero__frame{ height: clamp(560px, 85vh, 920px); }
}
.hero picture, .hero img{
  width:100%;
  height:100%;
  display:block;
}
.hero img{
  object-fit: cover;
}

/* Dev badge */
.dev-badge{
  position:absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #e5e7eb;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}

/* Navbar overlay */
.navbar-isi{
  height: var(--nav-h);
  padding-top: 0;
  padding-bottom: 0;
  background: linear-gradient(180deg, rgba(10,15,24,.78), rgba(10,15,24,.18));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.navbar-isi .navbar-brand{
  display:flex; align-items:center; gap:12px;
  color:#fff;
  font-weight:700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 14px;
}
.navbar-isi .navbar-brand img{
  height: 60px;
  width: auto;
  display:block;
}
@media (max-width: 991.98px){
  .navbar-isi .navbar-brand span{ display:none; }
  .navbar-isi{ height: var(--nav-h); }
}
.navbar-isi .nav-link{
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.navbar-isi .nav-link:hover, .navbar-isi .nav-link:focus{
  color: #ffffff;
}

/* Glossy button */
.btn-glossy{
  color:#fff;
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 45%),
    linear-gradient(180deg, var(--blue-1), var(--blue-2));
  box-shadow: 0 10px 18px rgba(2, 10, 28, .22), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-glossy:hover{ filter: brightness(1.05); color:#fff; }

/* Glass cards */
.glass{
  background: var(--glass);
  border: 1px solid var(--steel-border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.glass .card-header{
  background: transparent;
  border-bottom: 1px solid rgba(60, 75, 95, .14);
}

.icon-pill{
  width: 44px; height: 44px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(31, 95, 168, .12);
  border: 1px solid rgba(31, 95, 168, .18);
}

.h2-display{
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Anchor offset */
[id]{ scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Back to top */
#backToTop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: none;
  border-radius: 999px;
  padding: 10px 14px;
}
