:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #06b6d4;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { text-decoration: none; }

/* ================= BUTTONS ================= */
.btn {
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

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

/* ================= HERO ================= */
.hero {
  padding: 90px 20px;
  background: radial-gradient(circle at top, #eef2ff, var(--bg));
}

.hero-wrap {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: stretch; /* Ensure both grid items stretch equally in height */
}

.hero-copy, 
.hero-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%; /* Make sure child elements take full height */
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* or cover if you want the image to fully cover the area */
  border-radius: 12px; /* optional, for nice rounded corners */
  display: block;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    height: auto; /* Allow image container to resize naturally */
    margin-top: 30px;
  }

  .hero-art img {
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

.hero-copy h1 {
  font-size: 46px;
  line-height: 1.2;
}

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

.hero-copy p {
  color: var(--muted);
  margin: 18px 0 28px;
}

.hero-cta { display: flex; gap: 16px; }

.hero-metrics {
  margin-top: 36px;
  display: flex;
  gap: 30px;
}

.hero-metrics strong {
  font-size: 20px;
  display: block;
}

.hero-metrics span {
  font-size: 13px;
  color: var(--muted);
}

/* ================= TRUST ================= */
.trust {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* ================= PRODUCTS ================= */
.products {
  padding: 80px 20px;
  text-align: center;
}

.product-grid {
  max-width: 1100px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 28px;
}

.product-grid article {
  background: var(--card);
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15,23,42,0.05);
  text-align: left;
}

.product-grid article.featured {
  border: 2px solid var(--primary);
}

.product-grid a {
  color: var(--primary);
  font-weight: 600;
}

/* ================= WHY ================= */
.why {
  padding: 80px 20px;
  background: var(--card);
  text-align: center;
}

.why-grid {
  max-width: 1000px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
}

.why-grid div {
  background: #f1f5f9;
  padding: 24px;
  border-radius: 14px;
}

/* ================= PROCESS ================= */
.process {
  padding: 80px 20px;
  text-align: center;
}

.steps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 24px;
}

.steps div {
  background: var(--card);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.steps span {
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
}

/* ================= CTA ================= */
.cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta,
  .hero-metrics {
    justify-content: center;
  }
}
