/* HERO SLIDER — Cloudasys */
:root{
  --cld-bg: #04042c;
  --cld-accent: #9243f9;
  --cld-text: #ffffff;
  --cld-text-dim: #e6e6e6;
  --hero-height: min(78vh, 720px);
  --overlay-grad: linear-gradient(180deg, rgba(4,4,44,0.05) 0%, rgba(4,4,44,0.35) 40%, rgba(4,4,44,0.75) 100%);
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.hero{
  background: var(--cld-bg);
  color: var(--cld-text);
}

.hero-slider{
  position: relative;
  height: var(--hero-height);
  overflow: hidden;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: var(--shadow);
  isolation: isolate;
}




/* Slides */
.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .6s ease, transform .8s ease;
}
.hero-slide.is-active{
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-slide picture, .hero-slide img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Overlay content */
.hero-overlay{
  position: absolute;
  inset: 0;
  padding: clamp(16px, 3.5vw, 48px);
  display: grid;
  align-content: end;
  gap: 18px;
  background: var(--overlay-grad);
}

.hero-title{
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 48px);
  letter-spacing: .2px;
  color: #ff7854;
}
.hero-subtitle{
  color: var(--cld-text-dim);
  font-size: clamp(14px, 2.1vw, 20px);
  max-width: 900px;
}

.hero-ctas{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  appearance: none;
  border: 0;
  border-radius: 0px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn-primary{
  background: var(--cld-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(146,67,249,0.35);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(146,67,249,0.45);
}
.btn-ghost{
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.18);
}

.btn-orange{
  background: #ff7854 !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(255,120,84,0.35);
}
.btn-orange:hover{
  background: #fff !important;
  color: #ff7854 !important;
  border: 1px solid #ff7854 !important;
  box-shadow: 0 10px 28px rgba(255,120,84,0.45);
}

/* Arrows */
.hero-nav{
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.hero-nav:hover{ background: rgba(255,255,255,.2); transform: translateY(-1px); }
.hero-nav.prev{ left: 12px; }
.hero-nav.next{ right: 12px; }

/* Dots */
.hero-dots{
  position: absolute;
  bottom: 14px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  gap: 8px;
  z-index: 6;
}
.hero-dots button{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.hero-dots button.is-active{
  background: var(--cld-accent);
  transform: scale(1.25);
}

/* Mobile tweaks */
@media (max-width: 768px){
  .hero-slider{ height: min(68vh, 560px); }
  .hero-nav{ display: none; } /* rely on swipe + dots on phones */
}
