:root {
  --dark-magenta: #96147C;
  --deep-purple: #1a0b1a;
  --white: #ffffff;
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Lexend', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background-color: #ffffff;
  overflow-x: hidden;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px;
}

/* HERO FRAME */
.hero-visualizer {
  position: relative;
  width: 100%;
  max-width: 1500px;
  height: 650px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.15);
  background: #000;
}

/* IMAGE */
.hero-img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slowZoom 20s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(26, 11, 26, 0.4) 0%, rgba(26, 11, 26, 0.85) 100%);
  z-index: 2;
}

/* CONTENT */
.hero-content-layer {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-text {
  max-width: 850px;
  color: #fff;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 30px;
  font-weight: 800;
  letter-spacing: -2px;
}

.hero-text h1 span {
  background: linear-gradient(to right, #ff52d9, #96147C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 45px;
  line-height: 1.6;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* BUTTONS WRAPPER */
.hero-section .hero-btns {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
}

/* IMPORTANT OVERRIDES FOR PROJECT GLOBAL CSS */
.hero-section .hero-btns a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* MAIN BUTTON */
.hero-section .btn-main {
  background: var(--dark-magenta) !important;
  color: #fff !important;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  gap: 10px;
  box-shadow: 0 10px 30px rgba(150, 20, 124, 0.4);
}

.hero-section .btn-main:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 40px rgba(150, 20, 124, 0.6);
}

/* OUTLINE BUTTON */
.hero-section .btn-outline {
  color: #fff !important;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  border: 2px solid rgba(255,255,255,0.2);
  transition: 0.3s;
}

.hero-section .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* RESPONSIVE */

/* Tablets */
@media (max-width: 991px) {
  .hero-section { padding: 20px; min-height: auto; }

  .hero-visualizer {
    height: clamp(480px, 70vh, 620px);
    border-radius: 28px;
  }

  .hero-text h1 {
    font-size: clamp(2.2rem, 6.5vw, 4.2rem);
    margin-bottom: 20px;
    letter-spacing: -1px;
  }

  .hero-text p {
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 560px;
  }

  .hero-section .btn-main,
  .hero-section .btn-outline {
    padding: 15px 30px;
  }
}

/* Mobile: keep 2 buttons in one line and never full width */
@media (max-width: 600px) {
  .hero-section { padding: 16px; }

  .hero-visualizer {
    height: clamp(420px, 72vh, 520px);
    border-radius: 18px;
  }

  .hero-content-layer { padding: 0 14px; }

  .hero-text h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 16px;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 22px;
    max-width: 92%;
  }

  /* This forces two buttons to stay on one row */
  .hero-section .hero-btns {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  /* Tight mobile sizing so both buttons fit */
  .hero-section .btn-main,
  .hero-section .btn-outline {
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    border-radius: 40px !important;
  }
}

/* Very small phones: allow wrap if screen is too tight, still not full width */
@media (max-width: 380px) {
  .hero-section .hero-btns {
    flex-wrap: wrap !important;
  }

  /* Still not full width, but allows 2 per row cleanly */
  .hero-section .hero-btns a {
    flex: 0 1 calc(50% - 10px) !important;
  }

  .hero-section .btn-main,
  .hero-section .btn-outline {
    padding: 12px 12px !important;
    font-size: 0.88rem !important;
  }
}
@media (max-width: 600px) {
  .hero-section .hero-btns {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-section .hero-btns a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
  }

  .hero-section .btn-main,
  .hero-section .btn-outline {
    padding: 12px 10px !important;
    font-size: 0.85rem !important;
    border-radius: 40px !important;
    white-space: nowrap !important;
  }
}
