:root {
  /* Reference palette */
  --coral: #f15b5b;
  --coral-dark: #e04646;
  --cream: #fdf4e0;
  --cream-deep: #fbeccb;
  --green: #5bb85f;
  --orange: #ff9a52;
  --yellow: #ffc83d;
  --teal: #2ec4c6;
  --pink: #ff5c8a;

  --text: #2b2b3a;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --line: #ececf2;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 18px rgba(40, 40, 60, .07);
  --shadow-md: 0 16px 40px rgba(40, 40, 60, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4, .brand { font-family: "Baloo 2", "Nunito", sans-serif; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: .98rem;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(241, 91, 91, .32); }
.btn--primary:hover { background: var(--coral-dark); }
.btn--text { background: transparent; color: var(--text); }
.btn--text:hover { color: var(--coral); transform: none; }
.btn--white { background: #fff; color: var(--coral); box-shadow: var(--shadow-md); }
.btn--lg { padding: 14px 30px; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); z-index: 50; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand__logo { height: 44px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 700; position: relative; transition: color .15s ease; }
.nav__links a.is-active, .nav__links a:hover { color: var(--coral); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; border-radius: 3px; background: var(--coral); }
.nav__actions { display: flex; gap: 10px; align-items: center; }
.lang { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 13px; font-weight: 800; font-family: "Nunito", sans-serif; cursor: pointer; color: var(--text); transition: border-color .15s ease, color .15s ease; }
.lang:hover { border-color: var(--coral); color: var(--coral); }
.lang__flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang__label { line-height: 1; }

/* ---------- Hero ---------- */
.hero { background: #fff; padding: 0; }
.hero__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  width: 100%;
  background: linear-gradient(135deg, var(--cream), var(--cream-deep));
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 520px;
}
.hero__copy { align-self: center; padding: 64px 40px 64px clamp(24px, 6vw, 110px); position: relative; z-index: 2; }
.hero__eyebrow { display: inline-block; color: var(--coral); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.1; margin: 0 0 18px; color: #2f2a45; }
.hero h1 .accent { color: var(--coral); }
.hero p { font-size: 1.12rem; color: #6a6478; margin: 0 0 30px; max-width: 38ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__photo { position: relative; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Soft blend between cream copy area and the photo */
.hero__photo::before { content: ""; position: absolute; inset: 0 auto 0 -2px; width: 90px; background: linear-gradient(to right, var(--cream-deep), transparent); z-index: 1; }

.hero__deco { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__deco--blob { width: 110px; height: 110px; background: var(--teal); opacity: .16; top: -34px; left: -34px; }
.hero__deco--ring { width: 70px; height: 70px; border: 12px solid var(--orange); opacity: .2; bottom: 26px; left: 30px; background: transparent; }

/* Outline button */
.btn--outline { background: #fff; border-color: var(--coral); color: var(--coral); }
.btn--outline:hover { background: var(--coral); color: #fff; }

/* ---------- Section heading ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; gap: 16px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin: 0; }
.section-head__link { color: var(--coral); font-weight: 800; text-decoration: none; }
.section-head__link:hover { text-decoration: underline; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0 0 36px; }

.features { padding: 30px 0 70px; background: linear-gradient(180deg, #fafbff, #f4f6fd); }
.clients { padding: 30px 0 80px; }
.clients__head { text-align: center; margin-bottom: 44px; }
.clients__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin: 0 0 8px; }
.clients__head .section-lead { margin: 0; }

/* ---------- Feature cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  --accent: var(--coral);
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.feature-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent); }
.feature-card::after { content: ""; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent); opacity: .08; transition: transform .35s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature-card:hover::after { transform: scale(1.5); }
.feature-card__head { position: relative; display: flex; align-items: flex-start; gap: 14px; }
.feature-card__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  font-size: 1.55rem;
  background: color-mix(in srgb, var(--accent) 16%, #fff);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 22%, transparent);
}
.feature-card__text { flex: 1; min-width: 0; }
.feature-card h3 { margin: 0 0 5px; font-size: 1.2rem; }
.feature-card p { position: relative; margin: 0; color: var(--muted); }
.feature-card--c0 { --accent: var(--coral); }
.feature-card--c1 { --accent: var(--teal); }
.feature-card--c2 { --accent: var(--green); }
.feature-card--c3 { --accent: var(--pink); }
.feature-card--c4 { --accent: var(--orange); }
.feature-card--c5 { --accent: var(--yellow); }

/* ---------- Apps ---------- */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.app-card {
  --accent: var(--teal);
  --grad: linear-gradient(135deg, #2ec4c6, #1aa3c4);
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 34px 34px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.app-card--web { --accent: var(--coral); --grad: linear-gradient(135deg, #ff7e7e, #f15b5b); }
.app-card::after { content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--grad); opacity: .1; transition: transform .35s ease; }
.app-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.app-card:hover::after { transform: scale(1.4); }
.app-card__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; position: relative; }
.app-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 20px; font-size: 2rem; background: var(--grad); box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.app-card__tag { background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); font-weight: 800; font-size: .82rem; padding: 7px 14px; border-radius: 999px; }
.app-card h3 { position: relative; margin: 0 0 8px; font-size: 1.4rem; }
.app-card > p { position: relative; margin: 0; color: var(--muted); }
.app-card__list { position: relative; list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 13px; }
.app-card__list li { position: relative; padding-left: 34px; font-weight: 600; }
.app-card__list li::before { content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .82rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.app-card__cta { position: relative; }

/* ---------- Partners ---------- */
.partners { padding: 30px 0 70px; }
.partners__head { text-align: center; margin-bottom: 40px; }
.partners__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin: 0 0 8px; }
.partners__head .section-lead { margin: 0; }
.partners__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.partner { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.partner:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.partner__logo { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; }
.partner__name { font-weight: 800; color: var(--text); }
.partner:nth-child(6n+1) .partner__logo { background: color-mix(in srgb, var(--coral) 16%, #fff); }
.partner:nth-child(6n+2) .partner__logo { background: color-mix(in srgb, var(--teal) 16%, #fff); }
.partner:nth-child(6n+3) .partner__logo { background: color-mix(in srgb, var(--green) 16%, #fff); }
.partner:nth-child(6n+4) .partner__logo { background: color-mix(in srgb, var(--pink) 16%, #fff); }
.partner:nth-child(6n+5) .partner__logo { background: color-mix(in srgb, var(--orange) 16%, #fff); }
.partner:nth-child(6n+6) .partner__logo { background: color-mix(in srgb, var(--yellow) 22%, #fff); }

/* ---------- Footer (with contact) ---------- */
.footer { position: relative; background: #1f1b2e; color: #b4afc4; padding: 58px 0 24px; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--coral), var(--orange), var(--yellow), var(--green), var(--teal)); }
.footer__main { display: grid; grid-template-columns: 1.3fr 1.1fr .8fr; gap: 40px; }
.footer__logo { height: 44px; background: #fff; padding: 5px 9px; border-radius: 12px; }
.footer__brand p { margin: 16px 0 0; color: #9a95ad; max-width: 28ch; }
.footer h3 { color: #fff; font-size: 1.3rem; margin: 0 0 10px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin: 0 0 18px; }
.footer__contact > p { margin: 0 0 18px; color: #9a95ad; max-width: 36ch; }
.footer__methods { display: grid; gap: 12px; }
.footer-method { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: #e7e4f0; width: fit-content; }
.footer-method .ico { width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 1.2rem; transition: background .18s ease; }
.footer-method:hover .ico { background: color-mix(in srgb, var(--coral) 38%, #1f1b2e); }
.footer-method__text { display: flex; flex-direction: column; line-height: 1.25; }
.footer-method__text small { font-size: .78rem; color: #9a95ad; font-weight: 700; }
.footer-method__text strong { font-size: 1.02rem; font-weight: 800; color: #fff; }
.footer__links a { display: block; color: #b4afc4; text-decoration: none; margin-bottom: 11px; font-weight: 600; transition: color .15s ease; }
.footer__links a:hover { color: var(--coral); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; color: #8d88a0; font-size: .92rem; }

/* ---------- Legal pages (Privacy Policy, etc.) ---------- */
.legal { padding: 56px 0 90px; }
.legal__inner { max-width: 760px; }
.legal__head { margin-bottom: 34px; }
.legal__head h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 0 0 10px; }
.legal__updated { color: var(--muted); font-weight: 700; margin: 0; }
.legal h2 { font-size: 1.35rem; margin: 38px 0 14px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 10px; }
.legal p { margin: 0 0 14px; color: #423f52; }
.legal ul { margin: 0 0 16px; padding-left: 22px; color: #423f52; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--coral); font-weight: 700; }
.legal strong { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero__panel { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { order: 2; padding: 36px 28px 40px; text-align: center; }
  .hero p { max-width: none; }
  .hero__cta { justify-content: center; }
  .hero__photo { order: 1; height: 280px; }
  .hero__photo::before { display: none; }
  .hero__deco { display: none; }
  .nav__links { display: none; }
  .apps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer__main { grid-template-columns: 1fr; gap: 30px; }
  .nav__actions .btn--text { display: none; }
}
