:root {
  --bg-color: #fdfbf8;
  --bg-alt: #f7f9f9;
  --text-color: #3d3d3d;
  --primary-color: #004d40;
  --accent-color: #ffa726;
  --secondary-color: #00796b;
  --code-bg: #ffffff;
  --border-color: #e0e0e0;
  --font-primary: "Poppins", sans-serif;
  --font-code: "Fira Code", "Courier New", Courier, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

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

section {
  padding: 80px 0;
}

section:nth-of-type(even) {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

h1,
h2,
h3,
h4 {
  color: var(--primary-color);
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: 4rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #ffb74d;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.hero .logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.hero .tagline {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.hero .description {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.hero .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  align-items: center;
}

.steps-container::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 153px;
  bottom: 25px;
  width: 4px;
  background-color: var(--border-color);
  border-radius: 2px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  z-index: 2;
  border: 4px solid var(--bg-alt);
}

.step-content {
  padding-top: 15px;
  min-width: 0;
  max-width: 45em;
}

ol,
ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

.docs-container {
  display: flex;
  gap: 40px;
}

.doc-tabs {
  flex: 0 0 220px;
  list-style: none;
  padding: 0;
}

.doc-tab {
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 5px;
  font-weight: 600;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  border-left: 4px solid transparent;
}

.doc-tab:hover {
  background-color: #e8f5e9;
}

.doc-tab.active {
  background-color: var(--secondary-color);
  color: #fff;
  border-left-color: var(--accent-color);
}

.doc-content-panels {
  flex: 1;
  min-width: 0;
}

.doc-panel {
  display: none;
}

.doc-panel.active {
  display: block;
}

.footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin-bottom: 5px;
}

.footer a {
  color: var(--accent-color);
  font-weight: 600;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-showcase-section {
  padding: 40px 0;
}
.feature-showcase-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.feature-showcase-item:last-child {
  margin-bottom: 0;
}
.feature-showcase-item:nth-child(even) {
  flex-direction: row-reverse;
}
.feature-text {
  flex: 1;
}

.feature-visual,
.code-block-wrapper {
  flex: 1;
  background-color: var(--code-bg);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--border-color);
  position: relative;
  margin: 1.5rem 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.feature-visual {
  margin: 0;
  padding: 10px;
  width: 100%;
}

.code-block-wrapper {
  padding: 1.5rem;
  position: relative;
}

.code-block-wrapper pre,
.feature-visual pre {
  min-width: 100%;
  box-sizing: border-box;
}

:not(pre) > code {
  background-color: rgba(0, 121, 107, 0.1);
  color: var(--secondary-color);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: var(--font-code);
  white-space: nowrap;
}

.copy-code-button {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--border-color);
  color: var(--text-color);
  border: 1px solid #d1d1d1;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: var(--font-primary);
  opacity: 0.7;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
  z-index: 1;
  transform: translateX(0);
}

.copy-code-button:hover {
  background-color: #d1d1d1;
  opacity: 1;
}

pre[class*="language-"] {
  color: #3d3d3d;
  background: transparent;
  font-family: var(--font-code);
  font-size: 0.95rem;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  line-height: 1.6;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  padding: 0;
  margin: 0;
  overflow: auto;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #6c757d;
  font-style: italic;
}

.token.punctuation {
  color: #6c757d;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol {
  color: #c9480c;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted,
.token.deleted {
  color: var(--secondary-color);
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
  color: #3d3d3d;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  color: var(--primary-color);
}

.token.keyword {
  color: #9d4edd;
}

.token.regex,
.token.important {
  color: #d9480f;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

.language-bash .token.keyword {
  color: #c9480c;
}
.language-bash .token.command,
.language-bash .token.subcommand {
  color: #9d4edd;
}
.language-bash .token.option {
  color: var(--primary-color);
}
.language-bash .token.value,
.language-bash .token.string,
.language-bash .token.attr-value {
  color: var(--secondary-color);
}
.language-bash .token.placeholder {
  color: #6c757d;
  font-style: italic;
}
.language-bash .token.attr-name {
  color: var(--primary-color);
}
.language-bash .token.operator {
  color: #3d3d3d;
}

@media (max-width: 992px) {
  .docs-container {
    flex-direction: column;
  }
  .doc-tabs {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
  }
  .doc-tab {
    flex-shrink: 0;
    border-bottom: 4px solid transparent;
    border-left: none;
  }
  .doc-tab.active {
    border-left: none;
    border-bottom-color: var(--accent-color);
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
    margin-bottom: 50px;
  }
  h3 {
    font-size: 1.3rem;
  }
  .hero .tagline {
    font-size: 1.2rem;
  }
  .feature-showcase-item,
  .feature-showcase-item:nth-child(even) {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }
  .steps-container {
    align-items: stretch;
  }
  .steps-container::before {
    left: 25px;
  }
  .step {
    gap: 20px;
  }
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .step-content {
    padding-top: 5px;
  }
}