:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #66727d;
  --line: #d7dee4;
  --paper: #fbfcfd;
  --soft: #eef3f5;
  --green: #2f7d62;
  --blue: #2e5e92;
  --red: #a04747;
  --yellow: #b4892f;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
  transition: all 0.2s ease;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(251, 252, 253, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.brand small,
.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #33414b;
  font-size: 0.94rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--green);
}

.nav-cta {
  background: var(--green);
  color: white !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
}

/* ========== HERO ========== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: clamp(36px, 7vw, 88px) clamp(16px, 6vw, 72px) 32px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  letter-spacing: 0;
  line-height: 1;
}

.lead {
  max-width: 680px;
  color: #31404a;
  font-size: 1.16rem;
  margin: 16px 0;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 2px solid;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.button.primary:hover {
  background: #1f5a47;
  border-color: #1f5a47;
  box-shadow: var(--shadow-md);
}

.button.secondary {
  background: white;
  border-color: var(--green);
  color: var(--green);
}

.button.secondary:hover {
  background: var(--green);
  color: white;
  box-shadow: var(--shadow-md);
}

.hero-media {
  margin: 0;
}

.hero-media svg,
.hero-media img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 24px 70px rgba(23, 32, 38, 0.14);
}

.platform-viz {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ========== SECTIONS ========== */
.band,
.split {
  padding: clamp(42px, 7vw, 84px) clamp(16px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.band.highlight {
  background: linear-gradient(135deg, #f0f5f3 0%, #eef3f5 100%);
}

.muted {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.25;
}

h3 {
  margin: 8px 0 6px;
  font-size: 1.08rem;
}

h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

/* ========== GRID LAYOUTS ========== */
.grid {
  display: grid;
  gap: 14px;
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tile {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition: all 0.3s ease;
}

.tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tile p {
  margin: 0;
  color: var(--muted);
}

.tile .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

/* ========== SPLIT LAYOUT ========== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.split p {
  color: var(--muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.feature-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  color: #31404a;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

/* ========== TECH STACK ========== */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stack-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-align: center;
}

.stack-box h4 {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stack-box p {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ========== PRICING ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.pricing-card {
  position: relative;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--green);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-card h3 {
  color: var(--ink);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0;
}

.currency {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
}

.period {
  font-size: 0.9rem;
  color: var(--muted);
}

.desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.feature-check {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-check li {
  padding: 8px 0;
  border-bottom: 1px solid var(--soft);
  font-size: 0.9rem;
}

.feature-check li:last-child {
  border-bottom: none;
}

.pricing-card .button {
  width: 100%;
  margin-top: 20px;
}

/* ========== COMPARISON TABLE ========== */
.table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.comparison-table thead {
  background: var(--green);
  color: white;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  text-align: right;
  border-bottom: 1px solid var(--line);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: right;
  font-weight: 600;
  min-width: 140px;
}

.comparison-table tbody tr:hover {
  background: #f8fbfa;
}

/* ========== STEPS ========== */
.steps {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.2rem;
}

.step strong {
  display: block;
  margin-bottom: 4px;
}

.step code {
  display: block;
  background: #f5f5f5;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  color: #e8e8e8;
  overflow-x: auto;
  direction: ltr;
}

/* ========== CTA BOX ========== */
.cta-box {
  background: white;
  border: 2px solid var(--green);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.cta-box h3 {
  color: var(--green);
  font-size: 1.5rem;
}

.cta-box p {
  color: var(--muted);
  margin: 12px 0 20px;
}

/* ========== HERO CTA ========== */
.hero-cta {
  text-align: center;
  padding: clamp(56px, 10vw, 96px) clamp(16px, 6vw, 72px);
  background: linear-gradient(135deg, #2f7d62 0%, #1f5a47 100%);
  color: white;
}

.hero-cta h2 {
  color: white;
  margin-bottom: 12px;
}

.hero-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

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

.cta-buttons .button {
  background: white;
  border-color: white;
  color: var(--green);
}

.cta-buttons .button:hover {
  background: #f0f0f0;
}

.cta-buttons .button.secondary {
  background: transparent;
  border-color: white;
  color: white;
}

.cta-buttons .button.secondary:hover {
  background: white;
  color: var(--green);
}

/* ========== CHECK LIST ========== */
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border-right: 4px solid var(--green);
  background: white;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.release-box {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 8px;
  background: #172026;
  color: white;
}

.release-box span {
  color: #b7c5ce;
  direction: ltr;
  text-align: left;
}

/* ========== FOOTER ========== */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 84px) clamp(16px, 6vw, 72px) 32px;
  border-top: 1px solid var(--line);
}

.footer-section h4 {
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-section a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: var(--green);
}

.footer-bottom {
  text-align: center;
  padding: 16px clamp(16px, 6vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    flex-direction: column;
  }

  .section-heading,
  .split,
  .grid.four,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .tech-stack {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }

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

  .tech-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .table-wrapper {
    font-size: 0.9rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 8px;
  }
}

