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

:root {
  --color-white1: #FFFFFF;
  --color-white2: #F9FAFB;
  --color-white3: #ced1d8;
  --color-black1: #000000;
  --color-black2: #141417;
  --color-black3: #7a7b82;
  --color-theme: #5722B9;
  --color-theme-soft: #7c5fff;

  --font-poppins: 'Poppins', sans-serif;
  --font-roboto: 'Roboto', sans-serif;
  --font-anonymous: 'Anonymous Pro', monospace;
  --font-caveat: 'Caveat', cursive;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-roboto);
  font-size: 1rem;
  line-height: 1.5;
  background: var(--color-white2);
  padding-top: 102px;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-white1);
  z-index: 1000;
  border-bottom: 1px solid var(--color-black3);
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 46px;
}

.logo img {
  height: 26px;
  width: auto;
  display: block;
}

.nav-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* idealne wyśrodkowanie */
}

.nav {
  display: flex;
  gap: 24px;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  background: var(--color-black2);
  padding: 16px 24px;
  border-radius: 4px;
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-black2);
  gap: 24px;
}

.nav-item:hover .dropdown {
  display: flex;
  flex-direction: column;
  width: max-content;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white3);
  font-family: var(--font-poppins);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  transition: all .2s ease;
}

.nav a::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--color-white3);
  box-sizing: border-box;
  transition: all .2s ease;
}

.nav a:hover::before {
  background-color: var(--color-white1);
  border: 1px solid var(--color-white1);
}

.nav a:hover {
  color: var(--color-white1);
}

.btn {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 16px 0 16px;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-poppins);
  font-weight: 600;
  line-height: 1;
  border-radius: 4px;
  border: 1px solid var(--color-black2);
}

.btn::before {
  content: "";
  position: absolute;
  left: -40%;
  bottom: -220%;
  width: 180%;
  height: 200%;
  background: var(--color-black2);
  transform: rotate(6deg);
  transition: all .4s ease; 
  z-index: 0;
}

.btn:hover::before {
  bottom: -10%;
  transform: rotate(0deg);
}

.btn-text {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  color: var(--color-black2);
  transition: color .6s ease;
}

.btn:hover .btn-text {
  color: var(--color-white2);
  transition: color .2s ease;
}

.btn-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.square {
  position: absolute;
  inset: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
  z-index: 0;
}

.square::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-black2);
  transition: transform 0.5s ease, background-color 0.2s ease;
  transform-origin: center;
  display: block;
}

.btn-arrow1 {
  position: absolute;
  font-size: .6rem;
  color: var(--color-white2);
  font-weight: 500;
  transform: translate(0, 1px) rotate(-45deg);
  transition: all .4s ease;
}

.btn-arrow2 {
  position: absolute;
  font-size: .6rem;
  color: var(--color-white2);
  font-weight: 500;
  transform: translate(-120%, 120%) rotate(-45deg);
  transition: all .4s ease;
}

.btn:hover .btn-arrow1 {
  transform: translate(120%, -120%) rotate(-45deg);
  color: var(--color-black2);
  transition: transform .4s ease;
}
.btn:hover .btn-arrow2 {
  transform: translate(0, 1px) rotate(-45deg);
  color: var(--color-black2);
}

.btn:hover .square::before {
  transform: rotate(90deg); /* wizualny obrót tła */
  background: var(--color-white2);
}

/* === TAGLINE === */
.tagline {
  background: var(--color-theme-soft);
  color: var(--color-white2);
  text-align: center;
  padding: 8px;
  font-weight: 600;
  font-size: .75rem;
  font-family: var(--font-roboto);
}

/* === HERO === */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  background-color: var(--color-white2);
  /* border: solid 2px red; */
}

.hero-content {
  text-align: left;
  width: 60%;
  margin: 120px auto 80px auto;
}

.hero h1 {
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: 6rem;
  color: var(--color-black2);
  line-height: 1;
}

.hero h1 span {
  font-family: var(--font-caveat);
  font-weight: 900;
  font-size: 1.5em;
  line-height: 0.6;
}

.hero .hero-content p {
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--color-black3);
  margin: 20px 0;
}

.hero-show-more {
  display: flex;
  justify-content: space-between;
  margin-top: 200px;
  text-align: left;
  width: 60%;
  margin: auto;
  background-color: var(--color-black2);
  z-index: 1;
  border-top: solid 1px var(--color-black3);
  border-left: solid 1px var(--color-black3);
  border-right: solid 1px var(--color-black3);
}

.hero-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 10px 30px;
  width: 50%;
  border-right: 1px solid var(--color-black3);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.hero-btn span {
  font-size: 1.6rem;
  color: var(--color-black3);
  font-weight: 600;
  z-index: 1;
}

.hero-arrows {
  display: flex;
  flex-direction: column; /* strzałki animują się w pionie */
  justify-content: center; /* pionowe wyrównanie do środka przycisku */
  width: 30px;
  overflow: hidden;
}

.hero-arrows i {
  position: absolute;
  font-size: 1.6rem;
  color: var(--color-black3);
  font-weight: 600;
  transition: transform .5s ease, opacity 0.5s ease;
}

.arrow1 {
  transform: translateY(0) rotate(90deg);
  opacity: 1;
}
.arrow2 {
  transform: translateY(-50px) rotate(90deg);
  opacity: 0;
}

.hero-btn:hover .arrow1 {
  transform: translateY(50px) rotate(90deg);
  opacity: 0;
}
.hero-btn:hover .arrow2 {
  transform: translateY(0) rotate(90deg);
  opacity: 1;
}

.hero-btn::before {
  content: "";
  position: absolute;
  left: -40%;
  bottom: -230%;
  width: 180%;
  height: 200%;
  background: var(--color-white2);
  transform: rotate(4deg);
  transition: all .4s ease; 
  z-index: 0;
}

.hero-btn:hover::before {
  bottom: -10%;
  transform: rotate(0deg);
}

/* === FOCUS === */
.focus {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  width: 60%;
  background-color: var(--color-white2);
  padding-bottom: 200px;
}

.focus-title {
  border-left: solid 1px var(--color-white3);
  border-right: solid 1px var(--color-white3);
  border-bottom: solid 1px var(--color-white3);
}

.focus-title-left {
  width: 50%;
  padding: 40px 30px 14px 30px;
  border-right: solid 1px var(--color-white3);
}

.focus-title-left h1 {
  color: var(--color-black2);
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.focus-title-left p {
  color: var(--color-black3);
  font-family: var(--font-roboto);
  font-weight: 500;
  font-size: 1.2rem;
}

.focus-content-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.focus-content-card {
  margin: 24px 12px 0px 12px;
  border: solid 1px var(--color-white3);
  transition: all .2s ease;
}

.focus-content-card:hover {
    border: solid 1px var(--color-black2);
}

.focus-content-card:hover .card-title {
  border-bottom: solid 1px var(--color-black3);
}

.focus-content-card:hover .card-title h1 {
  color: var(--color-black2);
}

.card-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: solid 1px var(--color-white3);
  padding: 26px 40px 26px 40px;
  transition: all .2s ease;
}

.card-title img {
  max-width: 28x;
  height: 28px;
  margin-right: 20px;
}

.card-title h1 {
  color: var(--color-black3);
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: all .2s ease;
}

.card-description {
  padding: 60px 40px 40px 40px;
}

.card-description p {
  color: var(--color-black3);
  font-family: var(--font-roboto);
  transition: all .2s ease;
}





.footer {
  width: 100%;
  height: 400px;
}
