* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    background-color: #0d0d0d;
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

header {
    padding: 20px 40px;
    background: #121212;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 26px;
    color: #00ffe1;
}

nav a {
    margin-left: 20px;
    color: #aaa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
}

.hero {
    display: flex;
    align-items: center;
    padding: 80px 20px;
    text-align: center;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0d0d0d 100%);
    justify-content: center;
}

.hero img {
    width: 250px;
}

.hero h2 {
    font-size: 40px;
    max-width: 700px;
    color: #ffffffc9;
}

.hero p {
    margin-top: 20px;
    max-width: 600px;
    color: #ccc;
    font-size: 18px;
}

.righ {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.righ p {
    color: #ffffff99;
}

.demo {
    background-color: #171717;
    width: fit-content;
    padding: 20px;
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    border-radius: 20px;
    align-items: center;
}

.demo video {
    width: 300px;
}

.demo h2 {
    font-size: 30px;
    max-width: 700px;
}

.demo .rigth-demo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rigth-demo p {
    color: #ffffff99;
}

.ver-mais {
    display: flex;
    gap: 15px;
    border-radius: 10px;
    border: 2px solid #404040;
    padding: 15px 20px;
    margin-top: 60px;
    align-items: end;
    justify-content: center;
    cursor: pointer;
    transition: 0.5s;
}

.ver-mais p {
    height: fit-content;
    padding: 0;
    margin: 0;
}

.ver-mais:hover {
    transform: scale(1.1);
    background-color: #404040;
}

.ver-mais i {
    transform: translateY(-2px);
    color: #ffffff99;
}

.inverse {
    flex-direction: row-reverse;
}

.demo-base {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fade-demo {
    width: 86%;
    z-index: 2;
    height: 94%;
    margin-top: 3px;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
    border-radius: 35px;
}

.demo-play {
    z-index: 2;
    width: 50px;
    height: 50px;
    position: absolute;
    border-radius: 100px;
    background-color: #020202;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.fa-play::before {
    display: flex;
    width: 25px !important;
    height: 25px !important;
    justify-content: center;
    align-items: end;
    transform: translateX(2px);
}

/* Tornar imagens e vídeos responsivos */
.hero img,
.demo video {
  max-width: 100%;
  height: auto;
}

/* Flex-wrap nos containers principais */
.hero,
.demo {
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* .righ e .rigth-demo em telas pequenas: alinhar ao centro e largura total */
.righ,
.rigth-demo {
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 0 15px;
}

/* Ajustar fontes responsivas com clamp */
.hero h2 {
  font-size: clamp(24px, 5vw, 40px);
}

.hero p,
.righ p,
.rigth-demo p {
  font-size: clamp(14px, 3vw, 18px);
}

/* Ajuste botão "ver-mais" para telas menores */
.ver-mais {
  width: 100%;
  max-width: 300px;
  margin: 40px auto 0;
  justify-content: center;
}

/* Header: responsivo */
header {
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px 20px;
}

nav a {
  margin-left: 0;
  margin-right: 20px;
}

/* Inverter ordem na seção inversa para mobile */
@media (max-width: 768px) {
  .hero.inverse {
    flex-direction: column;
  }
  .hero.inverse img {
    order: 2;
    margin-top: 20px;
  }
}

/* Ajuste geral para telas muito pequenas */
@media (max-width: 480px) {
  .hero {
    padding: 40px 15px;
  }

  .demo {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .demo .rigth-demo {
    max-width: 100%;
  }
}

.discont-ic {
    font-size: 250px;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f2994a;
}

.case-barbers-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.b-count {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(10px);
}

footer {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff99;
    font-size: 12px;
}