@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow: scroll;
    overflow-x: hidden;
    font-size: 62.5%;
}
  
  ::-webkit-scrollbar {
      width: 0;
      background: transparent;
}
  ::-webkit-scrollbar-thumb {
      background: #FF0000;
}

:root {
  --accent: #3999F3;
  
}

body {
  min-height: 100vh;
  background:
    url("../img/bg.png"),
    radial-gradient(32.15% 39.72% at 50% 0%, #07a4dc40, #0000),
    radial-gradient(39.75% 43.41% at 100% 50%, #07a4dc26, #0000),
    radial-gradient(37.4% 46.62% at 50% 100%, #07a4dc26, #0000),
    radial-gradient(34.84% 47.2% at 0% 50%, #07a4dc26, #0000),
    radial-gradient(50% 50% at 50% 50%, #000, #0c0e0f);
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  height: 107px; 
}

.logo {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: 0.5s ease;
  display: flex;
  align-items: center;
  margin-left: 15.2rem;
  
}

@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: transparent;
  }

  .hamburger {
    display: flex;
  }

  nav#nav {
    position: absolute;
    top: 90px;
    right: 1rem;
    background: #111;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: auto;
    min-width: 150px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 99;
}

nav#nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

  nav#nav a {
    font-size: 1.6rem;
    color: white;
    width: 100%;
  }

  .logo {
    width: 390px;
    margin-left: -15rem;
  }
}

.logo:hover {
  transform: scale(1.1);
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  font-size: 1.8rem;
  color: white;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
}

nav a:hover {
  border-bottom: 3px solid var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 100%;
  }
  
.section-header h1 {
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin-top: 12rem;
  }
  
.section-header p {
    font-size: 20px;
    font-weight: 300;
    color: #cccccc;
    line-height: 1.6;
  }


.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    justify-items: center;
} 

.mockup-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.mockup-container {
    position: relative;
    width: 100%;
}

.mockup-frame {
  width: 100%;
  height: 100%;
  display: block;
}

.mockup-screen {
  position: absolute;
  top: 15%;
  left: 17.9%;
  width: 65%;
  height: 51.3%;
}

.button-link {
    display: inline-flex;
    gap: 0.8rem;
    padding: 1rem 2.8rem;
    background-color: var(--accent);
    border-radius: 2.4px;
    font-size: 1.6rem;
    color: white;
    letter-spacing: 0.3rem;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
    margin-top: 2rem;
}

.button-link:hover {
    transform: translateY(.1vw) rotate(-2deg);
    background-color: white;
    color: var(--accent);
    box-shadow: 0 .521vw 1.979vw #ffffff40;
}

.button-link svg {
    margin-left: -3px;
    position: relative;
    top: 2.5px;
  }

@media (max-width: 1000px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: transparent;
  }

  .hamburger {
    display: flex;
  }

  nav#nav {
    position: absolute;
    top: 90px;
    right: 1rem;
    background: #111;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: auto;
    min-width: 150px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 99;
  }

  nav#nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav#nav a {
    font-size: 1.6rem;
    color: white;
    width: 100%;
  }

  .logo {
    width: 390px;
    margin-left: 0;
  }

  .mockup-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  nav a {
    margin-left: 2rem;
    font-size: 1.6rem;
  }

  .section-header h1 {
    font-size: 2.5rem;
    margin-top: 20rem;
  }

  .section-header p {
    font-size: 1.6rem;
    padding: 0 1rem;
  }

  .button-link {
    font-size: 1.4rem;
    padding: 0.8rem 2rem;
  }
}

.menu-toggle {
  display: none;
  font-size: 2.8rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: transparent;
  }

  .hamburger {
    display: flex;
  }

  nav#nav {
    position: absolute;
    top: 90px;
    right: 1rem;
    background: #111;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: auto;
    min-width: 150px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 99;
}

nav#nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

  nav#nav a {
    font-size: 1.6rem;
    color: white;
    width: 100%;
  }

  .logo {
    width: 390px;
    margin-left: -0rem;
  }
}
