:root {
  --gp-green: #16a34a;
  --gp-green-light: #22c55e;
  --gp-green-soft: #dcfce7;
  --gp-navy: #0f172a;
  --gp-navy-mid: #1e293b;
  --gp-slate: #475569;
  --gp-slate-light: #94a3b8;
  --gp-border: #e2e8f0;
  --gp-bg: #f8fafc;
  --gp-white: #ffffff;
  --gp-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.28);
  --gp-radius: 1rem;
  --gp-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gp-navy);
  background: var(--gp-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gp-green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--gp-max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gp-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--gp-slate);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--gp-navy);
  color: var(--gp-white) !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--gp-navy-mid);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
  color: var(--gp-navy);
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 80%;
  background: radial-gradient(ellipse at 30% 20%, rgba(34, 197, 94, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 10%, rgba(15, 23, 42, 0.06), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

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

.hero-tagline {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: var(--gp-green-soft);
  color: #166534;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}

.hero-copy p.lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--gp-slate);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gp-green-light), var(--gp-green));
  color: var(--gp-white);
  box-shadow: 0 12px 28px -8px rgba(22, 163, 74, 0.55);
}

.btn-secondary {
  background: var(--gp-white);
  color: var(--gp-navy);
  border-color: var(--gp-border);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--gp-white);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--gp-shadow);
  border: 1px solid var(--gp-border);
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 1.25rem;
  max-width: 420px;
}

.hero-brand-mark {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
}

.hero-brand-name {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gp-navy);
  line-height: 1.1;
}

.hero-brand-plus {
  color: var(--gp-green);
}

.hero-brand-tagline {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gp-slate);
  letter-spacing: 0.02em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.stat {
  padding: 0.85rem 0.5rem;
  background: var(--gp-bg);
  border-radius: var(--gp-radius);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--gp-navy);
  line-height: 1.2;
}

.stat span {
  font-size: 0.75rem;
  color: var(--gp-slate-light);
  font-weight: 500;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gp-green);
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  margin: 0 auto 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  max-width: 28rem;
}

.section-sub {
  text-align: center;
  margin: 0 auto 2.75rem;
  color: var(--gp-slate);
  max-width: 36rem;
}

.features {
  background: var(--gp-white);
  border-block: 1px solid var(--gp-border);
}

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

.feature-card {
  padding: 1.5rem;
  border-radius: var(--gp-radius);
  border: 1px solid var(--gp-border);
  background: var(--gp-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: #bbf7d0;
  box-shadow: 0 16px 40px -24px rgba(22, 163, 74, 0.35);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gp-green-soft);
  border-radius: 10px;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gp-slate);
}

/* Platforms */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.platform-card {
  padding: 2rem 1.5rem;
  border-radius: 1.15rem;
  background: var(--gp-white);
  border: 1px solid var(--gp-border);
  text-align: center;
  box-shadow: 0 8px 30px -20px rgba(15, 23, 42, 0.15);
}

.platform-card.highlight {
  background: linear-gradient(160deg, var(--gp-navy) 0%, #1e3a5f 100%);
  color: var(--gp-white);
  border: none;
}

.platform-card.highlight p {
  color: rgba(255, 255, 255, 0.75);
}

.platform-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 1rem;
}

.platform-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.platform-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gp-slate);
}

.platform-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 0.85rem;
}

.platform-card.highlight .platform-list {
  color: rgba(255, 255, 255, 0.85);
}

.platform-list li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.platform-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gp-green-light);
  font-weight: 700;
}

.platform-card.highlight .platform-list li::before {
  color: #86efac;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.25rem;
  background: var(--gp-white);
  border-radius: var(--gp-radius);
  border: 1px solid var(--gp-border);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--gp-navy);
  color: var(--gp-white);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gp-slate);
}

/* CTA */
.cta {
  padding: 4rem 0 5rem;
}

.cta-box {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--gp-navy) 0%, #1e3a5f 55%, #0f4c2a 100%);
  color: var(--gp-white);
  box-shadow: var(--gp-shadow);
}

.cta-box h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.cta-box p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-box .btn-primary {
  background: var(--gp-white);
  color: var(--gp-navy);
  box-shadow: none;
}

.cta-box .btn-primary:hover {
  background: var(--gp-green-soft);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--gp-border);
  background: var(--gp-white);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gp-slate-light);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--gp-slate);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gp-navy);
}

/* Mobile nav */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy p.lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

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

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: var(--gp-white);
    border-bottom: 1px solid var(--gp-border);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
