body {
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: var(--text-main);
  background-color: var(--bg-main);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-main);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
header .logo,
header .auth-signup {
  flex: 1;
}
header .auth-signup {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}
header .links {
  flex: 2;
  display: flex;
  justify-content: center;
}
header .logo {
  display: flex;
  gap: .6rem;
  align-items: center;
  color: var(--text-main);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.15rem;
  text-decoration: none;
  margin-left: 0;
}
header a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: 500;
}
header .auth-signup a {
  margin: 0;
  white-space: nowrap;
}
header a:hover {
  color: var(--text-main);
}
header details.menu {
  display: none;
}

.hero {
  background-color: var(--bg-muted);
}
.hero .container {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 2rem;
  padding: 6rem 0;
}
.hero-copy {
  margin-top: 2rem;
}
.hero-copy h1 {
  font-size: 2.4rem;
  margin: 0 0 .5rem;
  line-height: 1.2;
}
.hero-copy p {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  font-weight: 400;
  color: color-mix(in srgb, currentColor 80%, transparent);
}
.hero-actions {
  display: flex;
  gap: 1rem;
}
.hero-media {
  margin: 0 0 0 auto; /* push to the right */
  max-width: clamp(320px, 40vw, 560px);
  width: 100%;
}

.slider-container {
  position: relative;
  width: 100%;
}
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1414 / 803;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .08);
}
.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: block;
}
.slider img.active {
  opacity: 1;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.3s;
}
.dot:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.dot.active {
  background-color: var(--text-main);
}

.features {
  background-color: var(--bg-main);
}
.features .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.feature {
  padding: 3rem 2.2rem 2rem 2.2rem;
  text-align: center;
}
.feature .feature-icon {
  display: block;
  width: 75px;
  height: 75px;
  margin: 0 auto;
}

.showcase {
  background-color: var(--bg-muted);
}
.showcase-alt {
  background-color: var(--bg-main);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 5rem 3rem;
}
.showcase-content h2 {
  font-size: 1.6rem;
  margin: 0;
}
.showcase-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}
.showcase-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .1);
}

.options {
  background-color: var(--bg-main);
  padding: 2rem 0;
  border-top: 1px solid var(--border-main);
}
.options h2 {
  text-align: center;
}
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10rem;
  max-width: 900px;
  margin: 3rem auto 0;
  text-align: left;
}
.option.card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-muted);
  border-radius: var(--radius);
  border: 1px solid var(--border-main);
  padding: 2.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.option-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}
.option-icon {
  width: 80px;
  height: 60px;
}
.option.card h3 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}
.option-price {
  margin: 0.5rem 0 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}
.price-container {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.option-price .price {
  font-size: 2rem;
  color: var(--text-main);
}
.option-price .price-old {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 0.5rem;
}
.discount-badge {
  background-color: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}
.option-price .period {
  font-size: 1.1rem;
}
.option.card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.option-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.option-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  font-size: 0.95rem;
}
.option-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}
.option-footer .btn {
  display: block;
  width: 100%;
  text-align: center;
}

footer {
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-main);
  padding: 3rem 0;
}
footer .footer-content {
  display: flex;
  justify-content: space-between;
  padding: 0 3rem;
}
footer .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  color: var(--text-main);
  text-decoration: none;
  margin-bottom: 0.5rem;
}
footer .footer-brand p {
  color: var(--text-muted);
  margin: 0;
}
footer .footer-links {
  display: flex;
  gap: 4rem;
}
footer .footer-group h4 {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: var(--text-main);
}
footer .footer-group a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
footer .footer-group a:hover {
  color: var(--text-main);
}
footer .footer-bottom {
  border-top: 1px solid var(--border-main);
  padding-top: 2rem;
  text-align: center;
}
footer .footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 900px) {
  .container {
    padding: 1.25rem;
  }

  header .container {
    flex-direction: row;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    position: relative;
  }
  header .logo {
    position: absolute;
  }
  header .links,
  header .auth-signup {
    display: none;
  }
  header details.menu {
    display: block;
    width: 100%;
  }
  header .menu-toggle {
    display: flex;
    justify-content: end;
    margin-left: auto;
    align-self: flex-end;
  }
  header .menu-toggle img {
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 38px;
    cursor: pointer;
  }

  header details.menu nav {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.25rem;
  }
  header details.menu[open] nav {
    display: flex;
  }
  header nav a {
    margin-left: 0;
    padding: 0.6rem 0.75rem;
    text-align: center;
  }

  .hero {
    text-align: center;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2.5rem 1.25rem;
  }
  .hero-copy {
    margin-top: 0;
  }
  .hero-copy h1 {
    font-size: 1.6rem;
  }
  .hero-copy p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-media {
    margin: 1rem auto 0;
    max-width: min(92%, 560px);
  }

  .features .container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .feature {
    padding: 1.2rem 0.8rem 0.6rem 0.8rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem;
    text-align: center;
  }
  .showcase-content {
    order: 1;
  }
  .showcase-media {
    order: 2;
  }
  .feature-list {
    display: inline-block;
    text-align: left;
  }

  .options {
    padding-top: 0;
  }
  .options-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  footer .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  footer .footer-links {
    gap: 4rem;
  }
}

.text-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.text-content h1 {
  margin-bottom: 2rem;
}
.text-content h2 {
  margin: 3rem 0 1rem 0;
  font-size: 1.5rem;
}
.text-content p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.text-content ul {
  margin-bottom: 1rem;
  color: var(--text-muted);
  padding-left: 1.5rem;
}
.text-content li {
  margin-bottom: 0.5rem;
}

.text-content .error-title {
  margin-top: 6rem;
  font-size: 3rem;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.1rem;
}
.about-images {
  margin: 3rem 0 1rem 0;
  text-align: center;
}
.about-collage {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
