@import url('https://fonts.googleapis.com/css2?family=Gruppo&display=swap');


/* =========================================
   PODSTAWOWE USTAWIENIA
   ========================================= */

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background-color: #111111;
}


/* =========================================
   TŁO VANTA
   ========================================= */

#vanta-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 0;
}


/* =========================================
   GŁÓWNA TREŚĆ
   ========================================= */

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 100%;
  box-sizing: border-box;

  transform: translate(-50%, -50%);

  color: #ffffff;
  font-family: 'Gruppo', cursive;
  font-size: 5rem;
  text-align: center;

  text-shadow: 0 0 15px rgba(0, 0, 0, 0.9);

  opacity: 0.6;
  transition: opacity 0.3s ease-in-out;

  z-index: 1;
}

.text-overlay:hover {
  opacity: 1;
}

.slogan {
  margin: 1px 0;

  color: #ffffff;

  font-size: 1.5rem;
}


/* =========================================
   AVE GROUP – WYBÓR JĘZYKA
   ========================================= */

.language-feature {
  display: flex;
  justify-content: center;

  width: 100%;
  margin-top: 30px;
}

.language-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: min(470px, calc(100vw - 40px));
  padding: 22px 30px 24px;

  color: #ffffff;
  text-align: center;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.05)
    );

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;

  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.language-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 15%;

  width: 70%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.95),
      transparent
    );
}

.language-card:hover {
  transform: translateY(-3px);

  border-color: rgba(255, 255, 255, 0.85);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.17),
      rgba(255, 255, 255, 0.07)
    );

  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(255, 255, 255, 0.06);
}

.language-label {
  margin-bottom: 7px;

  color: #ffffff;

  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;

  opacity: 0.7;
}

.language-title {
  color: #ffffff;

  font-size: 29px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.language-description {
  max-width: 390px;
  margin-top: 10px;

  color: #ffffff;

  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.03em;

  opacity: 0.8;
}


/* Przyciski językowe wewnątrz boxa */

.language-buttons {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  gap: 12px;
  margin-top: 18px;
}

.language-button,
.language-button:link,
.language-button:visited {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  min-width: 125px;
  padding: 12px 20px;

  color: #ffffff;
  background: rgba(0, 0, 0, 0.32);

  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;

  font-family: 'Gruppo', cursive;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  text-decoration: none;

  cursor: pointer;

  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.language-button:hover,
.language-button:focus {
  color: #000000;
  background-color: #ffffff;
  border-color: #ffffff;

  transform: translateY(-3px) scale(1.03);

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(255, 255, 255, 0.16);

  outline: none;
}

.language-button:active {
  transform: translateY(-1px) scale(0.99);
}

.language-arrow {
  display: inline-block;

  font-size: 17px;
  line-height: 1;

  opacity: 0.7;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.language-button:hover .language-arrow,
.language-button:focus .language-arrow {
  opacity: 1;
  transform: translateX(4px);
}


/* =========================================
   CUTSUITE – WYRÓŻNIONY SERWIS
   ========================================= */

.cutsuite-feature {
  display: flex;
  justify-content: center;

  width: 100%;
  margin-top: 20px;
}

.cutsuite-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: min(470px, calc(100vw - 40px));
  padding: 24px 30px 22px;

  color: #ffffff;
  text-align: center;
  text-decoration: none !important;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.05)
    );

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;

  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}


/* Biały tekst CutSuite w każdym stanie linku */

.cutsuite-card,
.cutsuite-card:link,
.cutsuite-card:visited,
.cutsuite-card:hover,
.cutsuite-card:active,
.cutsuite-card:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

.cutsuite-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 15%;

  width: 70%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.95),
      transparent
    );
}

.cutsuite-card:hover,
.cutsuite-card:focus {
  transform: translateY(-5px) scale(1.01);

  border-color: rgba(255, 255, 255, 0.9);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.07)
    );

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 255, 255, 0.08);

  outline: none;
}

.cutsuite-label {
  margin-bottom: 8px;

  color: #ffffff !important;

  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;

  opacity: 0.7;
}

.cutsuite-title {
  display: flex;
  align-items: center;

  gap: 10px;

  color: #ffffff !important;

  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.cutsuite-arrow {
  display: inline-block;

  color: #ffffff !important;

  font-size: 22px;
  font-weight: 400;

  opacity: 0.8;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.cutsuite-card:hover .cutsuite-arrow,
.cutsuite-card:focus .cutsuite-arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

.cutsuite-description {
  max-width: 380px;
  margin-top: 12px;

  color: #ffffff !important;

  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.03em;

  opacity: 0.82;
}

.cutsuite-action {
  margin-top: 16px;

  color: #ffffff !important;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  opacity: 0.95;
}


/* =========================================
   MNIEJSZE EKRANY / TABLETY
   ========================================= */

@media screen and (max-width: 1200px) {
  .text-overlay {
    padding: 35px;

    font-size: 4.5rem;
    opacity: 1;
  }

  .slogan {
    font-size: 1.8rem;
  }

  .minimalist-button {
    margin: 14px;
    padding: 14px 34px;

    font-size: 22px;
  }

.language-feature {
  margin-top: 24px;
}

.language-card {
  width: min(360px, calc(100vw - 32px));
  padding: 20px 20px 22px;
}

.language-title {
  font-size: 27px;
}

.language-description {
  font-size: 12px;
}

.language-buttons {
  gap: 10px;
  margin-top: 16px;
}

.language-button,
.language-button:link,
.language-button:visited {
  min-width: 112px;
  padding: 11px 16px;

  font-size: 17px;
}

.cutsuite-feature {
  margin-top: 16px;
}

}


/* =========================================
   TELEFONY
   ========================================= */

@media screen and (max-width: 600px) {
  .text-overlay {
    padding: 18px;

    font-size: 3.2rem;
  }

  .slogan {
    font-size: 1.25rem;
  }

  .language-buttons {
    gap: 2px;
    margin-top: 16px;
  }

  .minimalist-button {
    margin: 7px;
    padding: 10px 18px;

    font-size: 17px;
  }

  .minimalist-button:hover,
  .minimalist-button:focus {
    transform: scale(1.05);
  }

  .cutsuite-feature {
    margin-top: 24px;
  }

  .cutsuite-card {
    width: min(360px, calc(100vw - 32px));
    padding: 20px 20px 18px;
  }

  .cutsuite-title {
    font-size: 30px;
  }

  .cutsuite-description {
    font-size: 12px;
  }
}