:root{
  --bg: #0b0c0f;
  --panel: rgba(255,255,255,0.06);
  --panel-border: rgba(255,255,255,0.12);
  --text: #0e0f12;
  --muted: rgba(255,255,255,0.72);
  --muted-dark: #6c757d;
}

html { scroll-behavior: smooth; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: #fff;
}

.section{ padding: 72px 0; }
.section-alt{ background: #f7f7f8; }

.eyebrow{
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .75rem;
  color: #6b7280;
}

.hero{
  min-height: auto;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(0,0,0,0.08), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(0,0,0,0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 60%, #f3f4f6 100%);
  padding: 32px 0 40px;
}

.hero h1{
  margin-bottom: 12px;
}

.hero .lead{
  margin-bottom: 20px;
}

.hero .eyebrow{
  margin-bottom: 6px;
}

.hero-card{
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.hero-card-top{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.02);
}

.dot{ width: 10px; height: 10px; border-radius: 999px; }
.dot-red{ background: #ff5f56; }
.dot-yellow{ background: #ffbd2e; }
.dot-green{ background: #27c93f; }

.hero-image-wrap{
  width: 100%;
  background: #f6f6f6;
  padding: 0px;
}

.hero-image{
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  image-rendering: auto;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  font-size: .8rem;
}

.badge-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
}

.badge-pill i{ opacity: .8; }

.clean-card{
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.icon-bubble{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.06);
}

.showcase-card{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}

.showcase-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.14);
}

.showcase-card img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display:block;
}

.showcase-meta{
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.showcase-item[hidden]{ display:none !important; }

.about-image-wrap{
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.about-image{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer{
  background: #0b0c0f;
  color: rgba(255,255,255,0.88);
}

.footer-link{
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}

.footer-link:hover{
  color: #fff;
  text-decoration: underline;
}

.form-control, .btn{
  border-radius: 16px;
}

.form-control:focus{
  box-shadow: 0 0 0 .25rem rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.35);
}

/* Clickable showcase cards */
.showcase-card{
  cursor: pointer;
}

.showcase-card:focus-visible{
  outline: 3px solid rgba(0,0,0,0.25);
  outline-offset: 4px;
}

/* Image lightbox */
.image-lightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.image-lightbox.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox-dialog{
  position: relative;
  width: min(95vw, 1200px);
  height: min(90vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox-image{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  background: #fff;
}

.image-lightbox-close{
  position: absolute;
  top: -10px;
  right: -10px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  cursor: pointer;
}

.image-lightbox-close:hover{
  transform: scale(1.04);
}

.image-lightbox-caption{
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: #fff;
  font-size: .95rem;
  text-align: center;
  width: auto;
  max-width: calc(100% - 32px);
  padding: 10px 18px;
  border-radius: 999px;
  background: #2f2f33;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  white-space: nowrap;
}

body.lightbox-open{
  overflow: hidden;
}

@media (max-width: 576px){
  .image-lightbox{
    padding: 16px;
  }

  .image-lightbox-dialog{
    width: 100%;
    height: min(84vh, 700px);
  }

  .image-lightbox-close{
    top: -6px;
    right: -2px;
    width: 44px;
    height: 44px;
  }

  .image-lightbox-caption{
    bottom: 16px;
    font-size: .85rem;
    padding: 9px 16px;
    max-width: calc(100% - 24px);
    white-space: normal;
  }
}

/* Mobile tweaks */
@media (max-width: 576px){
  .section{ padding: 56px 0; }
  .hero{ min-height: auto; }
  .showcase-card img{ height: 210px; }
}
