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

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: #ffffff;
  color: #111827;
  line-height: 1.6;
}

/* Title Section */
.title-section {
  padding: 6rem 1.5rem;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.title-container {
  max-width: 56rem;
  margin: 0 auto;
}

.title-section h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.title-section p {
  font-size: 1.25rem;
  color: #4b5563;
  font-weight: 500;
}

/* Step Section */
.step-section {
  padding: 5rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.step-section:last-child {
  border-bottom: none;
}

.step-section.reversed {
  background-color: rgba(249, 250, 251, 0.3);
}

.step-container {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.step-container.reversed-layout {
  flex-direction: column-reverse;
}

.step-content {
  flex: 1;
  width: 100%;
}

.step-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.step-text {
  color: #4b5563;
  line-height: 1.75;
  font-size: 1.125rem;
}

.step-text p {
  margin-bottom: 1rem;
}

.step-text ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 1rem;
}

.step-text li {
  margin-bottom: 0.5rem;
}

.step-visual {
  flex: 1;
  width: 100%;
  max-width: 500px;
}

.visual-box {
  aspect-ratio: 16 / 9;
  background-color: #f3f4f6;
  border-radius: 0.75rem;
  border: 2px solid #2563eb;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

  display: grid;
  grid-template-rows: auto 1fr;

  position: relative;
}

.visual-box__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visual-box__img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.placeholder-icon {
  width: 3rem;
  aspect-ratio: 1/1;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  border: 2px solid #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-icon.video {
  background-color: #ffffff;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-left: 12px solid #2563eb;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.75rem;

  height: 1.5rem;
  background-color: #f3f4f6;

  border-bottom: 2px solid #2563eb;
}

.browser-dot {
  width: 6px;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

.browser-dot__one {
  background: #fd5754;
}

.browser-dot__two {
  background: #febb40;
}

.browser-dot__three {
  background: #33c848;
}

.browser-icon {
  width: 0.75rem;
  aspect-ratio: 1/1;
  margin-left: auto;
}

/* Bottom Section */
.bottom-section {
  padding: 6rem 1.5rem;
  background-color: #ffffff;
}

.bottom-container {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid #f3f4f6;
  padding-top: 4rem;
}

.bottom-container p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 0.75rem 2rem;
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  padding: 0.75rem 2rem;
  border: 2px solid #2563eb;
  color: #2563eb;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: #eff6ff;
}

/* Responsive */
@media (min-width: 48rem) {
  .title-section h1 {
    font-size: 3.75rem;
  }

  .step-container {
    flex-direction: row;
    gap: 5rem;
  }

  .step-container.reversed-layout {
    flex-direction: row-reverse;
  }
}

body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6 {
  color: #e5e7eb;
}

body.dark p,
body.dark ul,
body.dark li {
  color: #e5e7eb;
}

body.dark .title-section {
  background: #0c1321;
  border-color: #1f2937;
}

body.dark .step-section {
  background: #0b1220;
  border-color: #1f2937;
}

body.dark .step-section.reversed {
  background: #111827;
  border-color: #1f2937;
}

body.dark .bottom-section {
  background: #020617;
}

body.dark .bottom-container {
  border-color: #1f2937;
}

body.dark .btn-secondary {
  color: #e5e7eb;
  border-color: #e5e7eb;
}

body.dark .btn-secondary:hover {
  color: #2563eb;
}
