:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --text-dark: #0f172a;
  --text-gray: #475569;
  --background: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

h1 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
}

h2 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
}

h3 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
}

p {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.small {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}

.btn {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.lang-switch {
  display: flex;
  gap: 6px;
  background: var(--white);
  border-radius: 8px;
  padding: 10px;
  flex-direction: row;
  justify-content: flex-end;
}

.lang-switch button {
  background: transparent;
  border: none;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch button.active {
  background: var(--primary);
  color: var(--white);
}

.lang-switch button:hover {
  background: var(--primary-hover);
  color: var(--white);
}

.hero-content,
.cta-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-text {
  order: 2;
}

.hero-image {
  order: 1;
}

.hero-text,
.cta-text {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 30px;
  padding: 33px 16px 10px 16px;
}

.hero-text p {
  text-align: left;
}

.hero-image {
  border-radius: 30px;
  background-color: var(--background);
  box-shadow: 0px 10px 30px rgb(0 0 0 /0.08);
  width: 100%;
  height: 360px;
  margin-top: 16px;
}

.hero-image img {
  width: inherit;
  height: inherit;
  object-fit: fill;
  border-radius: 30px;
}

.hero-buttons,
.cta-buttons {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
}

.btn-secondary {
  background-color: var(--white);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
}

.btn-primary:hover,
.btn-secondary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

a {
  text-decoration: none;
}

.highlight {
  color: var(--primary);
  font-size: 18px;
}

.offer-content,
.process-content,
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background-color: var(--white);
}

.card-image {
  width: 24px;
}

.card h3 {
  color: var(--text-dark);
}

.card p {
  color: var(--text-gray);
}

.feature-list {
  background-color: #fbfbfb;
}

.feature-list-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 16px;
}

.feature-list-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 38px;
  padding-bottom: 38px;
  background-color: #fbfbfb;
}
.feature-list-text ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list-text ul li img {
  list-style-image: url("./assets/check-icon.png");
}

.feature-list-text ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-list-image {
  border-radius: 30px;
  background-color: var(--background);
  box-shadow: 0px 10px 30px rgb(0 0 0 /0.08);
  width: 100%;
  height: 360px;
}

.feature-list-image img {
  width: inherit;
  height: inherit;
  object-fit: fill;
  border-radius: 30px;
}

.cta {
  background-color: var(--primary);
  color: var(--white);
}

.cta-text {
  padding-bottom: 30px;
}

.cta-text p {
  text-align: justify;
}

footer {
  background-color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  justify-content: center;
}

footer a {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  color: #cbd5e1;
  text-decoration: none;
}

footer a:hover {
  color: #2563eb;
}

footer .social-media {
  display: flex;
  gap: 16px;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  margin: 20px 0;
}

.footer-content {
  gap: 15px;
}

.footer-content-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

label {
  font-weight: 100;
  color: var(--text-gray);
}

/* Tablet */
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cta-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-text,
  .cta-text {
    flex: 1;
    text-align: left;
    align-items: flex-start;
  }

  .hero-text {
    order: 1;
  }

  .hero-image {
    order: 2;
    margin-top: 0;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons {
    flex-direction: row;
    width: auto;
  }

  .hero-image,
  .feature-list-image {
    height: 420px;
  }

  .offer-content,
  .process-content {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .offer-content .card,
  .process-content .card {
    flex: 1 1 calc(50% - 10px);
  }

  .feature-list-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero,
  .offer,
  .feature-list,
  .process {
    display: flex;
    min-height: 40dvh;
    align-items: center;
  }

  footer {
    min-height: 16vh;
    align-items: flex-start;
  }

  .footer-content {
    display: grid;
    grid-template-columns: 5fr 1fr;
  }

  .footer-content-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .footer-content-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }

  h1 {
    font-size: 48px;
    line-height: 56px;
  }

  h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

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

  .hero-buttons {
    flex-direction: row;
    width: auto;
  }

  .hero-image,
  .feature-list-image {
    height: 480px;
  }

  .offer,
  .process {
    min-height: 30dvh;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .offer-content .card,
  .process-content .card {
    flex: 1 1 calc(33.333% - 10px);
  }

  .feature-list {
    display: flex;
    min-height: 50vh;
    align-items: center;
    flex-direction: row;
  }

  .feature-list-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .cta {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .cta-content {
    justify-content: space-between;
  }

  .cta-text {
    align-items: center;
  }

  footer .social-media {
    margin: 0;
  }
}
