.hero-wrap {
  position: relative; 
  margin: 0 20px 32px 20px;
}
.hero-curve {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;                 /* sits above the grey card */
  line-height: 0;              /* remove inline-block gap */
  pointer-events: none;
}
.hero-curve svg {
  display: block;
  width: 304px;
  height: 111px;
}

/* ── The rounded grey hero card ── */
.hero-card {
  position: relative;
  background: #edecea;
  border-radius: 28px;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 60px;
}

.btn-analyse {
  display: inline-block;
  padding: 13px 28px;
  background: linear-gradient(130deg, #c084fc 0%, #a855f7 55%, #7c3aed 100%);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(168,85,247,0.38);
  transition: opacity 0.2s, transform 0.2s;
}
.btn-analyse:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .hero-card { min-height: 320px; padding: 44px 0 44px; border-radius: 18px; }
  .hero-content { padding-left: 20px; }
  .hero-body { font-size: 13px; max-width: 300px; }
  .hero-curve svg { width: 160px; }
  .btn-submit { display: none; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.62fr;
  grid-template-rows: auto auto;
  gap: 10px;
  max-width: 1340px;
  width: 100%;
}

/* ===== LEFT CARD (spans 2 rows) ===== */
.card-left {
  grid-row: 1 / 3;
  grid-column: 1;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 50%, #1a0a5e 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.card-left-content {
  position: relative;
  z-index: 2;
  padding: 48px 44px 0 44px;
}

.card-left h1 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.card-left .description {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 370px;
  margin-bottom: 28px;
  font-weight: 400;
}

.btn-discover {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-discover:hover {
  background: rgba(255, 255, 255, 0.1);
}

.card-left-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  overflow: hidden;
}

.card-left-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.arrow-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: #1a2332;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  transition: background 0.3s;
}

.arrow-btn:hover {
  background: #2a3442;
}

.arrow-btn svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.card-top-center {
  grid-row: 1;
  grid-column: 2;
  background: linear-gradient(135deg, #e8e0f8 0%, #f5f0ff 40%, #dce8ff 100%);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

.card-bottom-center {
  grid-row: 2;
  grid-column: 2;
  background: #0d0d1a;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

.card-right {
  grid-row: 1 / 3;
  grid-column: 3;
  background: linear-gradient(160deg, #e8eaf0 0%, #e4dff5 30%, #ddd8f0 60%, #e8e4f5 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  min-height: 480px;
}

.btn-gradient {
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(90deg, #4f46e5, #a855f7) border-box;
  color: #0f172a;
  transition: 0.3s;
}

.btn-gradient:hover {
  background: linear-gradient(90deg, #4f46e5, #a855f7);
  color: #fff;
}

.news-card {
  background: #f8fafc;
  border-radius: 25px;
  padding: 30px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
  transition: 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-section {
  background: #eef1f7;
  border-radius: 30px;
  padding: 60px 30px;
}
