
:root {
  --background: #f8faf8;
  --surface: #ffffff;
  --text: #17221a;
  --muted: #78847b;
  --green: #216b43;
  --green-light: #eaf2ec;
  --border: #e5ebe6;
  --font: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1160px, 88%);
  margin: auto;
}

/* NAVBAR */

.navbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.logo,
.footer-logo {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -2px;
}

.logo span,
.footer-logo span {
  color: var(--green);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

.navbar nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: .2s;
}

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

.nav-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 10px 14px;
  border-radius: 30px;
}

.status-dot,
.pulse-dot {
  width: 7px;
  height: 7px;
  background: #3d9961;
  border-radius: 50%;
}

.pulse-dot {
  box-shadow: 0 0 0 4px #e2eee5;
}

/* HERO */

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 85px 0;
}

.eyebrow,
.section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 2px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  font-size: clamp(45px, 5.2vw, 68px);
  letter-spacing: -3.8px;
  line-height: 1.08;
  font-weight: 800;
  margin: 30px 0 24px;
}

.hero h1 span {
  color: var(--green);
}

.hero-description {
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: .2s;
}

.btn-primary {
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
}

.btn-primary:hover {
  background: #174f32;
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--green);
}

.availability {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 32px;
}

/* CODE VISUAL */

.hero-visual {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  background: #e0eee3;
  border-radius: 50%;
  filter: blur(2px);
}

.code-window {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 465px;
  background: white;
  border: 1px solid #e7ece8;
  border-radius: 12px;
  box-shadow: 0 25px 65px rgba(36, 68, 45, .10);
  overflow: hidden;
  transform: rotate(-2deg);
}

.window-header {
  height: 55px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6ded8;
}

.window-controls span:first-child {
  background: #e78a80;
}

.window-controls span:nth-child(2) {
  background: #e9c56d;
}

.window-controls span:nth-child(3) {
  background: #80bd8d;
}

.window-title,
.window-menu {
  font-size: 10px;
  color: var(--muted);
}

.window-body {
  display: grid;
  grid-template-columns: 115px 1fr;
  min-height: 225px;
}

.file-sidebar {
  padding: 20px 10px;
  background: #fafcfa;
  border-right: 1px solid var(--border);
}

.file {
  padding: 9px 6px;
  font-size: 9px;
  color: #8b978e;
  border-radius: 4px;
  margin-bottom: 5px;
}

.file span {
  color: var(--green);
  margin-right: 4px;
}

.file.active {
  background: #eaf2ec;
  color: var(--green);
}

.editor {
  padding: 30px 15px;
  font-family: monospace;
  font-size: clamp(9px, 1vw, 12px);
  line-height: 2.2;
  white-space: nowrap;
}

.line {
  color: #a9b5ac;
  margin-right: 9px;
}

.pink {
  color: #bb6688;
}

.green {
  color: #34845a;
}

.editor-comment {
  margin-top: 15px;
  color: #a4b0a6;
  font-size: 10px;
}

.window-footer {
  height: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .7px;
}

.window-footer i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #49a56d;
  border-radius: 50%;
  margin-right: 6px;
}

.floating-card,
.progress-card {
  position: absolute;
  z-index: 2;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 12px 35px rgba(35, 60, 40, .08);
  border-radius: 9px;
}

.floating-card {
  top: 15px;
  right: -12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.floating-icon {
  width: 36px;
  height: 36px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.floating-card strong {
  display: block;
  font-size: 11px;
}

.floating-card small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}

.progress-card {
  bottom: 0;
  left: -20px;
  right: -5px;
  padding: 19px;
}

.progress-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 14px;
}

.progress-live {
  color: var(--green);
  font-size: 9px;
}

.progress-track {
  height: 9px;
  border-radius: 20px;
  background: #e9eeea;
  overflow: hidden;
}

.progress-indicator {
  height: 100%;
  width: 35%;
  background: var(--green);
  border-radius: 20px;
  animation: progress 2s ease-in-out infinite alternate;
}

@keyframes progress {
  from { width: 25%; }
  to { width: 55%; }
}

.progress-card small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 11px;
}

/* UPDATES */

.updates {
  padding: 85px 0;
  border-top: 1px solid var(--border);
}

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

.section-heading h2,
.about h2 {
  font-size: clamp(27px, 3.5vw, 36px);
  letter-spacing: -1.5px;
  margin-top: 12px;
}

.section-heading p {
  color: var(--muted);
  font-size: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 27px;
  min-height: 210px;
  transition: .2s;
}

.feature-card:hover {
  border-color: #a9c5af;
  transform: translateY(-4px);
}

.feature-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: var(--green-light);
  color: var(--green);
  font-size: 19px;
  border-radius: 7px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 15px;
  margin-bottom: 9px;
}

.feature-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.feature-number {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #bdc9bf;
  font-size: 11px;
}

/* ABOUT */

.about {
  padding: 65px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border);
  min-height: 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  font-size: 21px;
}

footer p,
.footer-status {
  color: var(--muted);
  font-size: 10px;
}

.footer-status {
  letter-spacing: 1px;
  font-weight: 600;
}

/* TOAST */

.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #17221a;
  color: white;
  font-size: 12px;
  padding: 13px 20px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 10;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* RESPONSIVE */

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-content {
    max-width: 650px;
  }

  .hero-visual {
    max-width: 550px;
    width: 100%;
    margin: auto;
  }

  .about {
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .container {
    width: 90%;
  }

  .navbar {
    height: 72px;
  }

  .navbar nav {
    gap: 14px;
  }

  .navbar nav a {
    font-size: 10px;
  }

  .nav-status {
    display: none;
  }

  .logo {
    font-size: 23px;
  }

  .hero {
    padding: 75px 0 90px;
    gap: 75px;
  }

  .hero h1 {
    font-size: clamp(43px, 10vw, 58px);
    letter-spacing: -2.8px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .btn-primary,
  .btn-secondary {
    padding: 13px 14px;
    font-size: 11px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .window-body {
    grid-template-columns: 90px 1fr;
  }

  .file {
    font-size: 8px;
  }

  .editor {
    padding: 25px 8px;
    font-size: 8px;
  }

  .floating-card {
    right: -5px;
    top: 0;
  }

  .progress-card {
    left: -5px;
    right: -5px;
    bottom: 0;
  }

  .updates {
    padding: 65px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 12px;
  }

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

  .feature-card {
    min-height: 180px;
  }

  .about {
    grid-template-columns: 1fr;
    padding: 55px 0;
  }

  footer {
    flex-wrap: wrap;
    padding: 25px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
