:root {
  --bg: #0e1117;
  --muted: #161b22;
  --text: #e6edf3;
  --sub: #9da5b4;
  --brand: #2ea043;
  --brand2: #238636;
  --link: #58a6ff;
  --border: #30363d;
  --max: 1100px;
}

.light-mode {
  --bg: #fff;
  --muted: #f6f6f6;
  --text: #222;
  --sub: #666;
  --brand: #2ea043;
  --brand2: #238636;
  --link: #0066cc;
  --border: #ddd;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, sans-serif
}

img {
  max-width: 100%;
  display: block
}

a {
  text-decoration: none;
  color: var(--link)
}

header {
  background: linear-gradient(180deg, rgba(46, 160, 67, .12), transparent);
  border-bottom: 1px solid var(--border)
}

.nav,
.hero,
section,
.container {
  max-width: var(--max);
  margin: auto;
  padding: 18px
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center
}

.menu a {
  color: var(--text);
  font-weight: 600
}

.brand h1 {
  margin: 0;
  font-size: 1.8rem
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  padding: 60px 18px
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.1;
  margin: 0 0 16px
}

.hero p {
  color: var(--sub)
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px
}

.btn {
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--text);
  font-weight: 700;
  transition: .3s
}

.btn:hover {
  transform: translateY(-2px)
}

.primary {
  background: var(--brand);
  color: #fff
}

.primary:hover {
  background: var(--brand2)
}

.card {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08)
}

.grid {
  display: grid;
  gap: 20px
}

.cols-2 {
  grid-template-columns: repeat(2, 1fr)
}

.cols-3 {
  grid-template-columns: repeat(3, 1fr)
}

section h3 {
  font-size: 2rem;
  margin-bottom: 20px
}

footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 30px;
  color: var(--sub)
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .3)
}

@media(max-width:900px) {

  .hero,
  .cols-2,
  .cols-3 {
    grid-template-columns: 1fr
  }

  .nav {
    flex-direction: column
  }

  .hero {
    text-align: center
  }

  .cta {
    justify-content: center
  }
}