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

body {
  font-family: system-ui, sans-serif;
  color: #111;
  background: linear-gradient(135deg, #7be0e0, #d6f2f2, #f7e4d6);
}

/* GLOBAL */
section {
  padding: 50px 10%;
}

h1,
h2 {
  font-weight: 700;
}

p {
  line-height: 1.6;
  color: #444;
}

img {
  width: 100%;
  display: block;
  border-radius: 24px;
}

/* BUTTONS */
.btn {
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.btn.primary {
  background: #fff;
  color: #111;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.4);
  color: #111;
}

.center {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}
.logo {
  font-weight: 700;
}

.logo img {
  width: 25vw;
  margin-left: -50px;
  margin-top: -30px;
}
.header .rs-logo {
  display: flex;
}

.rs-logo a img {
  width: 50px;
  height: 50px;
  margin: 10px 5px;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-content {
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  text-align: center;
}
.hero p {
  text-align: center;
  font-size: 1.5rem;
}

.hero h1 span {
  font-weight: 800;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  gap: 16px;
}
.hero-buttons .btn {
  cursor: default;
}

.hero-image img {
  position: relative;
  transform: translateY(-30%);
  max-width: 700px;
  width: 30vw;
}

/* TECH */
.tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
/* PRICING */
.pricing {
  text-align: center;
}

.pricing-subtitle {
  margin: 16px 0 48px;
  color: #555;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pricing-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 32px;
  position: relative;
}

.pricing-card h3 {
  margin-bottom: 16px;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-info {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-card ul li {
  margin-bottom: 12px;
  color: #444;
}

.pricing-card .btn {
  width: 100%;
}

/* Featured */
.pricing-card.featured {
  background: linear-gradient(135deg, #7be0e0, #d6f2f2);
  transform: translateY(-12px);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #111;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

/* CATEGORIES */
.categories h2 {
  text-align: center;
  margin-bottom: 48px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: #fff;
  padding: 24px;
  border-radius: 32px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#lastCard {
  grid-column: 1 / span 3;
  justify-self: center;
  width: 70%;
}

.card h3 {
  margin-top: 16px;
}

/* SUPPORT */
.support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* FOOTER */
.footer {
  padding: 60px 10%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero,
  .tech,
  .support {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.2rem;
  }
}

/* HERO IMAGE ANIMATION */
.hero-image {
  animation: heroImageReveal 1s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none;
    opacity: 1;
  }
}

/*RESPONSIVE */

@media screen and (max-width: 900px) {
  .hero-image img {
    margin: 0 auto;
    transform: translateY(-20%);
    width: 40vw;
  }
  .logo img {
    width: 40vw;
    margin-left: -20px;
    margin-top: -20px;
  }
  .rs-logo a img {
    width: 30px;
    height: 30px;
  }
}

@media screen and (min-width: 2000px) {
  .hero {
    align-items: start;
  }
  .hero h1 {
    font-size: 4rem;
  }
  .hero p {
    font-size: 2.5rem;
  }

  .hero-buttons {
    font-size: 1.5rem;
  }
  .hero-image img {
    transform: translateY(-45%);
  }
}
