/* ======= Google Fonts ======= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/* ======= Variables CSS ======= */
:root {
    --header-height: 3rem;

      /* ======= Colors (Increased Contrast) ======= */
      --hue-color: 230;
      --black--color: hsl(var(--hue-color), 28%, 8%);
      --black--color-alt: hsl(var(--hue-color), 24%, 12%);
      /* Add a fallback color for --title-color */
      --title-color: #FAFAFF; /* Fallback for older browsers */
      --title-color: hsl(var(--hue-color), 90%, 98%);
      --text-color: hsl(var(--hue-color), 50%, 85%);
      --text-color-light: hsl(var(--hue-color), 50%, 75%);
      --white-color: #FFF;
      --body-color: hsl(var(--hue-color), 28%, 6%);
      --container-color: hsl(var(--hue-color), 28%, 10%);
      
      --first-color: hsl(var(--hue-color), 80%, 60%);
      --first-color-alt: hsl(var(--hue-color), 80%, 55%);
      --first-color-light: hsl(var(--hue-color), 80%, 65%);
      --border-color: hsl(var(--hue-color), 28%, 25%);
    /* ======= Gradient (New Vibrant Style) ======= */
    --text-gradient: linear-gradient(to right, hsl(var(--hue-color), 95%, 70%), hsla(var(--hue-color), 95%, 84%), hsla(var(--hue-color), 90%, 80%), hsl(var(--hue-color), 95%, 70%));
    --scroll-trumb-color: hsl(var(--hue-color), 28%, 20%);
    --scroll-trumb-color-alt: hsl(var(--hue-color), 28%, 14%);
/* ======= Font and typography (Normalized Sizes) ======= */
--body-font: 'Poppins', sans-serif;
--biggest-font-size: 3.5rem;  /* Hero / banner */
--bigger-font-size: 2.8rem;
--big-font-size: 2.2rem;
--h1-font-size: 1.8rem;  /* Main titles */
--h2-font-size: 1.5rem;  /* Subtitles */
--h3-font-size: 1.3rem;  /* Section headers */
--normal-font-size: 1rem; 
--small-font-size: 0.9rem;
--smaller-font-size: 0.8rem;
--text-line-height: 1.6rem;

/* ======= Font weight ======= */
--font-medium: 500;
--font-semi-bold: 600;

/* ======= Margins Bottom ======= */
--mb-0-25: .25rem;
--mb-0-5: .5rem;
--mb-0-75: .75rem;
--mb-1: 1rem;
--mb-1-5: 1.5rem;
--mb-2: 2rem;
--mb-2-5: 2.5rem;
--mb-3: 3rem;

/* ======= z index ======= */
--z-tooltip: 10;
--z-fixed: 100;
--z-modal: 1000;
}

/* ======= Responsive typography ======= */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 4rem;
    --bigger-font-size: 3.2rem;
    --big-font-size: 2.5rem;  
    --h1-font-size: 2rem;     
    --h2-font-size: 1.7rem;     
    --h3-font-size: 1.4rem;    
    --normal-font-size: 1.05rem; 
    --small-font-size: 0.95rem;
    --smaller-font-size: 0.85rem;
  }
}


/* ======= Base ======= */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    transition: opacity 0.5s ease;
}

body.fade-out {
    opacity: 0;
}

h1,
h2,
h3 {
    color: var(--title-color);
}

ul  {
    list-style: none;
}

a {
    text-decoration: none;
}

button,
input {
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

.test-phase-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffc107;
    color: #000;
    text-align: center;
    padding: 0.5rem; /* Reduced padding */
    font-size: 0.9rem; /* Smaller font size */
    z-index: 9999;
    font-weight: 500;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

/* ======= Background Video Fix ======= */
.background-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

#background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}


/* ======= Reusable css classes ======= */
.section {
    padding: 4.5rem 0 2rem;
}

.section__title {
    font-size: var(--bigger-font-size);
    text-align: center;
    margin-bottom: var(--mb-2-5);
}

/* assets/css/styles.css */
.section__title-gradient {
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Add this line */
  background-size: 200% auto;
  animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
    to {
        background-position: 200%;
    }
}

/* ======= Layout ======= */
.main {
    overflow: hidden;
    position: relative; 
    z-index: 1;
    background-color: transparent;
}

.container {
    max-width: 968px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}

.grid{
    display: grid;
}

/* ======= Header ======= */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: transparent;
}

/* ======= Navbar ======= */
.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    width: 1.5rem;
}

.nav__toggle {
    font-size: 1.2rem;
    color: var(--white-color);
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        background-color: var(--body-color);
        top: -100%;
        left: 0;
        width: 100%;
        padding: 4rem 0 3rem;
        transition: .4s;
    }
}

.nav__list{
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
}


.nav__link {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  text-transform: uppercase;
  font-weight: var(--font-semi-bold);
  background: var(--text-color-light);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Add this line */
}

.nav__link:hover {
    background: var(--white-color);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.nav__close{
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--white-color);
    cursor: pointer;
}

.lang-switcher {
    display: flex;
    gap: .5rem;
    align-items: center;
}
.lang-switcher a {
    cursor: pointer;
    color: var(--text-color-light);
    font-weight: var(--font-medium);
    padding: .25rem;
}
.lang-switcher a.active {
    color: var(--white-color);
    text-decoration: underline;
}


/* show menu */
.show-menu{
    top: 0;
}

/* change background header*/
.scroll-header{
    background-color: var(--body-color);
}

/* ======= Home ======= */
.home__video {
    width: 100%;
    max-width: 500px;
    position: absolute;
    height: auto;
    top: 10rem;
    right: -1rem;
    object-fit: cover;
    border-radius: 10px;
}

.home__data {
    padding-top: 5rem;
}

.home__header {
    position: relative;
}

.home__title {
  position: absolute;
  top: -4rem;
  left: 1rem;
  line-height: 6rem;
  font-size: var(--bigger-font-size);
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Add this line */
  background-size: 200% auto;
  animation: animate-gradient 5s ease-in-out infinite;
}

.home__subtitle {
    font-size: var(--big-font-size);
    margin-bottom: var(--mb-2-5);
}

.home__title-description {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1);
}

.home__description {
    margin-bottom: var(--mb-2-5);
    line-height: var(--text-line-height);
    font-weight: var(--font-semi-bold);
}

.home__price {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    margin-left: var(--mb-0-75);
}
/* ======= Buttons ======= */

.button{
    display: inline-block;
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 1rem 1.25rem;
    border-radius: .5rem;
    transition: .3s;
}

.button:hover {
    background-color: var(--black-color-alt);
}

.button__icon {
    font-size: 1.2rem;
    margin-left: var(--mb-0-5);
}

.button--flex {
    display: inline-flex;
    align-items: center;
    column-gap: .75rem;
}

.custom-redirect-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--text-gradient);
  color: var(--white-color);
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  border: none;
  border-radius: 0.75rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.custom-redirect-button:hover {
  background: hsl(var(--hue-color), 28%, 30%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  opacity: 0.95;
}

/* ======= Download ======= */

/* Download Section */
.download__section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.download__container {
  display: grid; 
  grid-template-columns: 1fr; 
  justify-items: center; 
  row-gap: 20px;
}

/*=============== Description ===============*/
.description__container {
    position: relative; 
}

  
  .description__content {
    row-gap: 1.5rem;
  }
  
  .description__data {
    display: grid;
    row-gap: .25rem;
  }
  
  .description__icon {
    font-size: var(--normal-font-size);
    color: var(--white-color);
  }
  
  .description__title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
  }
  
  .description__subtitle {
    font-size: var(--smaller-font-size);
  }
  
  .description__data:nth-child(1), .description__data:nth-child(4) {
    margin-left: 1.5rem;
  }
  
.description__img {
    width: 300px;
    max-width: 600px;
    position: relative; 
    margin-top: 2rem; 
}

.section {
    padding-bottom: 4rem;
}
/*=============== FOOTER ===============*/
.footer__container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    row-gap: 4rem;
    column-gap: 10rem;
  }
  
  .footer__logo {
    width: 2rem;
  }
  
  .footer__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1);
  }
  
  .footer__links {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
  }
  
  .footer__link {
    color: var(--text-color);
  }
  
  .footer__link:hover {
    color: var(--white-color);
  }
  
  .footer__form {
    display: flex;
    column-gap: .5rem;
    background-color: var(--container-color);
    padding: .5rem .75rem;
    border-radius: .5rem;
    margin-bottom: var(--mb-2);
  }
  
  .footer__input {
    background-color: var(--container-color);
    width: 90%;
    color: var(--white-color);
  }
  
  .footer__input::placeholder {
    color: var(--text-color);
    font-size: var(--normal-font-size);
    font-family: var(--body-font);
  }
  
  .footer__social {
    display: flex;
    column-gap: 1.25rem;
  }
  
  .footer__social-link {
    display: inline-flex;
    color: var(--white-color);
    background-color: var(--container-color);
    padding: .5rem;
    border-radius: 4.25rem;
    font-size: 1rem;
  }
  
  .footer__social-link:hover {
    background-color: var(--black-color);
  }
  
  .footer__copy {
    margin-top: 5rem;
    text-align: center;
  }
  
  .footer__copy-link {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
  }
  
  /*=============== SCROLL UP ===============*/
  .scrollup {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    background-color: var(--container-color);
    border-radius: .25rem;
    padding: .45rem;
    opacity: 9;
    z-index: var(--z-tooltip);
    transition: .4s;
  }
  
  .scrollup:hover {
    background-color: var(--black-color);
    opacity: 1;
  }
  
  .scrollup__icon {
    color: var(--white-color);
    font-size: 1.35rem;
  }
  
  /* Show Scroll Up*/
  .show-scroll {
    bottom: 5rem;
  }
  
  /*=============== SCROLL BAR ===============*/
  ::-webkit-scrollbar {
    width: .60rem;
    border-radius: .5rem;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
    border-radius: .5rem;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--scroll-thumb-color-alt);
  }
  
  /*=============== MEDIA QUERIES ===============*/
  @media screen and (max-width: 340px) {
    .container {
      margin-left: var(--mb-1);
      margin-right: var(--mb-1);
    }
    .section__title {
      font-size: var(--big-font-size);
    }
    .home__img {
      width: 200px;
      top: -13rem;
    }
    .home__title {
      top: -4rem;
      font-size: var(--bigger-font-size);
    }
    .home__data {
      padding-top: 1rem;
    }
    .home__description {
      font-size: var(--small-font-size);
    }
    .description__img {
      width: 200px;
    }
  }
  
  @media screen and (min-width: 576px) {
    .home__container {
      grid-template-columns: .8fr 1fr;
    }
    .home__data {
      padding-top: 2rem;
    }
    .home__img {
      top: -7rem;
      left: 0;
    }
    .specs__img {
      position: initial;
    }
    .description__container {
      grid-template-columns: repeat(2, 1fr);
      justify-items: center;
      align-items: center;
    }
    .case__img {
      position: initial;
    }
    .case__data {
      padding: 0;
    }
  }
  
  @media screen and (min-width: 767px) {
    body {
      margin: 0;
    }
    .section {
      padding: 6rem 0 2rem;
    }
    .nav {
      height: calc(var(--header-height) + 1.5rem);
    }
    .nav__logo {
      width: 2rem;
    }
    .nav__list {
      flex-direction: row;
      column-gap: 3.5rem;
    }
    .nav__link {
      font-size: var(--normal-font-size);
      text-transform: initial;
    }
    .nav__toggle, .nav__close {
      display: none;
    }
    .home__container {
      position: relative;
      grid-template-columns: repeat(2, 1fr);
    }
    .home__img {
      top: -9rem;
      left: 4rem;
    }
    .home__data {
      padding-top: 8rem;
    }
    .specs__img {
      width: 300px;
    }
    .case__container {
      column-gap: 5rem;
    }
    .case__img {
      width: 300px;
    }
    .case__description {
      margin-bottom: var(--mb-2);
    }
    .footer__container {
      grid-template-columns: .4fr .7fr .7fr 1fr;
    }
  }
  
  @media screen and (min-width: 1024px) {
    .container {
      margin-left: auto;
      margin-right: auto;
    }
    .home__img {
      width: 300px;
      top: -15rem;
    }
    .home__title {
      top: -5rem;
      left: 3.5rem;
    }
    .home__description {
      padding-right: 5rem;
    }
    .footer__container {
      padding-top: 3rem;
    }
    .footer__copy {
      margin-top: 9rem;
    }
  }

@media screen and (max-width: 768px) {
  .download__img {
    width: 150px; 
  }

  .download__section {
    flex-direction: column; 
    padding: 10px; 
  }

  .download__container {
    row-gap: 15px;
  }
}

@media screen and (max-width: 480px) {
  .download__img {
    width: 120px; 
  }

  .download__container {
    row-gap: 10px; 
  }
}

#impressum {
  padding: 20px; 
  margin: 0 auto; 
  box-sizing: border-box; 
  max-width: 1200px; 
}
#impressum a.impressum-link {
  color: #FF7BFF; 
  text-decoration: none; 
}

#impressum a.impressum-link:hover {
  color: #0056b3; 
  text-decoration: underline; 
}

#privacy-policy {
  padding: 20px; 
  margin: 0 auto; 
  box-sizing: border-box; 
  max-width: 1200px; 
}
#privacy-policy a.privacy-link {
  color: #FF7BFF; 
  text-decoration: none; 
}

#privacy-policy a.privacy-link:hover {
  color: #0056b3; 
  text-decoration: underline; 
}

/* ======= Contact Form Styles ======= */
#contactForm {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

#contactForm label {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: 0.5rem;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: var(--body-color);
  border: 1px solid var(--text-color-light);
  color: var(--white-color);
  font-size: var(--normal-font-size);
  line-height: var(--text-line-height);
  transition: border-color 0.3s ease-in-out;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: var(--hue-color);
  outline: none;
}

#contactForm textarea {
  resize: vertical;
  min-height: 150px;
}

#contactForm button {
  background-color: var(--hue-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

#contactForm button:hover {
  background-color: var(--hue-color);
  opacity: 0.9;
}

#contactForm select {
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: var(--body-color);
  border: 1px solid var(--text-color-light);
  color: var(--white-color);
  font-size: var(--normal-font-size);
  line-height: var(--text-line-height);
  transition: border-color 0.3s ease-in-out;
  appearance: none; 
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

#contactForm select:focus {
  border-color: var(--hue-color);
  outline: none;
}

#contactForm .custom-send-button {
  display: inline-block;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--text-gradient); 
  color: var(--white-color);
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.5px;
}

#contactForm .custom-send-button:hover {
  background: hsl(var(--hue-color), 28%, 30%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  opacity: 0.95;
}

@media screen and (min-width: 576px) {
  #contactForm {
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
  }

  #contactForm input,
  #contactForm textarea {
      width: 100%;
  }
}

@media screen and (max-width: 576px) {
  #contactForm {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }
}


  /*=============== Rotation Effect ===============*/

  .banner {
    width: 300px;
    height: 100vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin: 0 auto; 
    position: relative; 
  }

.banner .system{
  background: url(../img/mobilebanner.png);
  background-size: auto 100%;
  width: 300px;
  height: 300px;
  bottom: 0%;
  transform: translate(0%);
  z-index: 1;
  transition: 0.7s;
  --left: 0px;
  --down: 0px;
  display: flex;
}

.banner .system .mobile{
  background: 
  var(--url) var(--left) var(--down) no-repeat,
  url(../img/AndroidBanner.png);
  background-size: auto 100%;
  width: 300px;
  height: 300px;
  aspect-ratio: 1/2;
  -webkit-mask-image: url(../img/IphoneBanner.png);
  mask-image: url(../img/IphoneBanner.png);
  -webkit-mask-size: auto 100%;
  mask-size: auto 100%;
  transition: 0.7s;
  position: absolute;
}

.banner .system:hover{
  --left: -1000px;
  --down: 400px;
  transform: translateY(-120px);
}

.banner .system .mobile:nth-child(2){
  opacity: 0;
}

.banner .system .mobile:nth-child(2){
  opacity: 1;
}

.download__container:hover ~ .banner .system {
  --left: -1000px;
  --down: 400px;
  transform: translateY(-120px);
}
