/* Variables */

:root {
  --font-family: "Poppins", sans-serif;
  --primary-color: #dd124a;
  --border-radius: 10px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 20px;
  --spacing-xl: 32px;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --line-height-xs: 1.4;
  --line-height-sm: 1.45;
  --line-height-md: 1.55;
  --line-height-lg: 1.6;
  --line-height-xl: 1.65;
}

/* Reset */

html {
  box-sizing: border-box;
  font-size: var(--font-size-md);
  line-height: var(--line-height-md);
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

/* Reusable */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-xl);
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
}

.group {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.button {
  display: inline-block;
  color: white;
  background-color: var(--primary-color);
  padding: var(--spacing-md) var(--spacing-lg);
  font-weight: 500;
  border-radius: var(--border-radius);
}

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border: none;
}

/* Styles */

body {
  font-family: var(--font-family);
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-xl) * 2);
  min-height: 100dvh;
}

h1 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 600;
}

h2 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 600;
}

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.header-brand {
  color: inherit;
  user-select: none;
}

.header-logo {
  width: 80px;
}

@media (max-width: 768px) {
  .header-brand-text {
    font-size: 26px;
  }

  .header-logo {
    width: 50px;
  }
}

.header-nav {
  display: flex;
  gap: var(--spacing-xl);
}

.header-nav-link {
  color: black;
  font-size: var(--font-size-lg);
  font-weight: 500;
  transition: color 0.1s ease;
}

.header-nav-link:hover {
  color: var(--primary-color);
}

.hero {
  display: flex;
  gap: var(--spacing-xl);
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-title {
  font-size: 60px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

.hero-image {
  width: 100%;
  max-width: 550px;
}

.feature {
  position: relative;
  max-width: 480px;
}

.feature-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.feature-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-md);
}

.feature-image {
  height: 400px;
  width: auto;
}

.feature-text {
  font-size: var(--font-size-lg);
}

.feature-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.feature-slider-nav.left {
  display: none;
  left: var(--spacing-md);
}

.feature-slider-nav.right {
  right: var(--spacing-md);
}

.feature-slider-dots {
  display: flex;
  gap: var(--spacing-xs);
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.feature-slider-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.feature-slider-dot.active {
  background-color: var(--primary-color);
}

.motivation-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.motivation-grid {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
}

@media (max-width: 768px) {
  .motivation-grid {
    flex-direction: column;
    align-items: center;
  }
}

.motivation-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  background-color: #f5f5f5;
  text-align: center;
  max-width: 350px;
}

.get-started {
  text-align: center;
}

footer {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  text-align: center;
}

/* Markdown */

.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
  margin-bottom: var(--spacing-md);
}

.markdown hr {
  margin-bottom: var(--spacing-md);
}

.markdown p {
  margin-bottom: var(--spacing-md);
}

.markdown ul {
  margin-bottom: var(--spacing-md);
  list-style: disc;
  list-style-position: inside;
}
