/* Basic reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: #101828;
  background: #ffffff;
}

/* Layout */
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(16,24,40,.10); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--primary { background: #ff5a3c; color: #fff; }
.btn--cta {
  background: linear-gradient(90deg, #2f7ef7, #6b5bff, #ff5aa5);
  color: #fff;
}
.btn--ghost {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.btn--small {
  padding: 10px 14px;
  border-radius: 14px;
  background: #2f7ef7;
  color: #fff;
}
.btn--small-alt { background: #ff5a3c; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16,24,40,.06);
}
.topbar__inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand__logo { width: 34px; height: 34px; }
.brand__name { font-size: 18px; font-weight: 800; letter-spacing: .2px; }

/* Nav */
.nav { display: flex; gap: 18px; align-items: center; }
.nav__link {
  text-decoration: none;
  color: #344054;
  font-weight: 650;
  padding: 8px 10px;
  border-radius: 12px;
}
.nav__link:hover { background: rgba(16,24,40,.04); }
.nav__link.is-active { color: #101828; position: relative; }
.nav__link.is-active::after {
  content: "";
  display: block;
  height: 3px;
  width: 70%;
  margin: 6px auto 0;
  border-radius: 999px;
  background: #2f7ef7;
}

/* Hero */
.hero {
  position: relative;
  padding: 52px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 30%, rgba(47,126,247,.55), transparent 45%),
    radial-gradient(circle at 75% 25%, rgba(255,90,165,.55), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(255,122,68,.55), transparent 45%),
    linear-gradient(135deg, #2b45ff 0%, #7a3cff 40%, #ff4fa1 70%, #ffb24a 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 28px;
  padding-bottom: 44px;
}
.hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero__accent { color: #ffd56a; }
.hero__subtitle {
  color: rgba(255,255,255,.88);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 14px 0 18px;
  max-width: 48ch;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 650;
  font-size: 13px;
}

.hero__visual {
  display: flex;
  justify-content: flex-end;
}
.hero__img {
  width: min(520px, 100%);
  height: auto;
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.12);
}

/* Decorative wave */
.hero__wave {
  height: 70px;
  background: #fff;
  border-top-left-radius: 100% 90px;
  border-top-right-radius: 100% 90px;
  margin-top: 12px;
}

/* Sections */
.section { padding: 60px 0; }
.section--alt { background: #f7f9fc; }
.section__head { margin-bottom: 18px; }
.section__title { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.02em; }
.section__desc { margin: 0; color: #475467; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(16,24,40,.08);
  box-shadow: 0 14px 40px rgba(16,24,40,.06);
}
.card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47,126,247,.08);
  border: 1px solid rgba(47,126,247,.10);
  margin-bottom: 12px;
}
.card__icon img { width: 34px; height: 34px; }
.card__title { margin: 6px 0 8px; font-size: 18px; }
.card__text { margin: 0 0 14px; color: #475467; line-height: 1.55; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  margin-top: 22px;
}
.form {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(16,24,40,.08);
  box-shadow: 0 14px 40px rgba(16,24,40,.06);
}
.form__row { margin-bottom: 12px; }
.form__label { display: block; font-weight: 700; margin-bottom: 6px; color: #344054; }
.form__input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(16,24,40,.12);
  padding: 12px 14px;
  outline: none;
  font-size: 15px;
}
.form__input:focus { border-color: rgba(47,126,247,.65); box-shadow: 0 0 0 4px rgba(47,126,247,.12); }

.infoBox {
  background: linear-gradient(135deg, rgba(47,126,247,.12), rgba(255,90,165,.10), rgba(255,178,74,.14));
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(16,24,40,.08);
}
.infoBox__title { margin: 0 0 10px; }
.infoBox__text { margin: 0 0 14px; color: #344054; line-height: 1.65; }
.infoBox__links { display: flex; gap: 12px; flex-wrap: wrap; }
.link {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(16,24,40,.08);
  text-decoration: none;
  font-weight: 700;
  color: #101828;
}

/* Footer */
.footer {
  margin-top: 26px;
  color: #667085;
  font-weight: 650;
  text-align: center;
}

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; } /* optional for mobile simplicity */
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { justify-content: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}
/* Custom header inside hero */
.custom-topbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 20;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.top-nav {
  display: flex;
  gap: 22px;
}

.top-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: .9;
}

.top-nav a:hover {
  opacity: 1;
}
