/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input { border: none; outline: none; font-family: inherit; }

.wb {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #0f1c33;
  max-width: 960px;
  margin: 0 auto;
}

/* ===== BRAND TOKENS ===== */
:root {
  --navy: #0f1c33;
  --navy2: #1b2d52;
  --green: #5aad32;
  --green2: #4d9829;
  --greenfaint: #edf7e6;
  --white: #fff;
  --offwhite: #f8f9fb;
  --gray: #8892a4;
  --gray2: #e8ecf2;
}

/* ===== NAV ===== */
.nav {
  background: var(--navy);
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px 14px 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav-logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav-brand {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
}

.nav-brand span { color: var(--green); }

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--white); }

.nav-cta {
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--green2); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  padding: 64px 32px 72px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  align-items: center;
}

.hero-badge {
  background: rgba(90, 173, 50, 0.18);
  color: #7fd854;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.hero-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7fd854;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.6); }
}

.hero-h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
  max-width: 560px;
}

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

.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 34px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--green2); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 10px;
  cursor: pointer;
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-num span { color: var(--green); }

.stat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  font-weight: 500;
}

/* ===== SERVICES ===== */
.services {
  background: var(--offwhite);
  padding: 56px 32px;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--green2);
  margin-bottom: 10px;
}

.section-h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.section-sub {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 460px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.svc-card {
  background: var(--white);
  border: 0.5px solid var(--gray2);
  border-radius: 14px;
  padding: 22px 20px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.svc-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(90, 173, 50, 0.1);
}

.svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--greenfaint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.svc-icon svg { width: 20px; height: 20px; }

.svc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.svc-desc {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.6;
}

.svc-arrow {
  font-size: 12px;
  color: var(--green);
  margin-top: 10px;
  font-weight: 600;
}

/* ===== WHY US ===== */
.why {
  background: var(--white);
  padding: 56px 32px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why-check {
  width: 22px;
  height: 22px;
  background: var(--greenfaint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.why-check svg { width: 11px; height: 11px; }

.why-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.why-item-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.55;
}

/* ===== TECH STACK ===== */
.stack {
  background: var(--offwhite);
  padding: 44px 32px;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pill {
  background: var(--white);
  border: 0.5px solid var(--gray2);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy2);
  transition: transform 0.15s;
}

.pill:hover { transform: translateY(-1px); }

.pill-accent {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ===== CTA / CONTACT ===== */
.cta-block {
  background: var(--navy);
  padding: 52px 32px;
  border-radius: 0 0 14px 14px;
}

.cta-h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  max-width: 400px;
  line-height: 1.2;
}

.cta-h2 span { color: var(--green); }

.cta-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 26px;
  line-height: 1.6;
}

.cta-input-row {
  display: flex;
  gap: 10px;
}

.cta-input {
  background: rgba(255, 255, 255, 0.07);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 10px;
  flex: 1;
  transition: border-color 0.2s;
}

.cta-input:focus { border-color: var(--green); }
.cta-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.cta-btn {
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.cta-btn:hover { background: var(--green2); }

.cta-domain {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 12px;
}

.cta-domain span { color: rgba(90, 173, 50, 0.7); }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 768px) {
  .wb { margin: 0; }
  .nav { border-radius: 0; }
  .cta-block { border-radius: 0; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    transition: right 0.35s ease;
    z-index: 105;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open { right: 0; }

  .nav-links .nav-link {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
  }

  .nav-cta { display: none; }

  .hamburger { display: flex; }

  .hero-h1 { font-size: 32px; }
  .hero-sub { font-size: 14px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 22px; }

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

  .section-h2 { font-size: 22px; }
}

/* Mobile */
@media (max-width: 480px) {
  .nav { padding: 0 20px; }
  .hero { padding: 48px 20px 56px; }
  .services { padding: 44px 20px; }
  .why { padding: 44px 20px; }
  .stack { padding: 36px 20px; }
  .cta-block { padding: 44px 20px; }

  .hero-h1 { font-size: 28px; }
  .hero-stats { flex-direction: column; gap: 16px; }

  .cta-input-row { flex-direction: column; }
  .cta-btn { text-align: center; }

  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; }
}

/* Mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.nav-overlay.open { display: block; }
