
:root {
  --bg1: #0a3d66;
  --bg2: #092f55;
  --text: #0f172a;
  --muted: #64748b;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  --shadow2: 0 12px 30px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --blue: #2f6fed;
  --green: #4caf50;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #0b1220;
  background: radial-gradient(1200px 600px at 15% 0%, rgba(255,255,255,0.18), rgba(255,255,255,0) 55%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
}

a { color: inherit; }

.container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 34px 0;
}

/* HERO */
.hero {
  padding: 34px 0 22px;
}

.hero__inner {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  display: block;
}

.hero__title {
  margin: 0 0 10px;
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.96);
}

.hero__subtitle {
  margin: 0 0 22px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: rgba(255,255,255,0.80);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.btn--primary {
  background: rgba(47, 111, 237, 0.92);
  color: white;
  border-color: rgba(47, 111, 237, 0.65);
}

.btn--secondary {
  background: rgba(255,255,255,0.86);
  color: #0b1220;
  border-color: rgba(255,255,255,0.55);
}

.hero__media {
  display: flex;
  justify-content: center;
  position: relative; /* ADDED: enables overlay text */
}

.hero__image {
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* ADDED: hero text overlay (keeps hero.png clean, text is responsive) */
.hero__overlay {
  position: absolute;
  left: clamp(16px, 6vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  color: rgba(255,255,255,0.98);
  text-shadow: 0 6px 18px rgba(0,0,0,0.28);
  pointer-events: none;
}

.hero__overlay h1 {
  margin: 0 0 10px 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__overlay p {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.35;
  opacity: 0.95;
}

/* CARDS */
.cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--card);
  border-radius: 22px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow2);
  border: 1px solid rgba(255,255,255,0.55);
}

.card__icon {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.card__icon svg {
  width: 30px;
  height: 30px;
}

/* ADDED: allow PNG icons (owner.png / client.png) inside the icon bubble */
.card__icon img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}

/* ADDED: use PNG icons inside the same circular badge */
.card__icon img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.card__icon--blue {
  background: rgba(47, 111, 237, 0.16);
  color: rgba(47, 111, 237, 0.95);
}

.card__icon--green {
  background: rgba(76, 175, 80, 0.16);
  color: rgba(76, 175, 80, 0.95);
}

.card__title {
  margin: 0 0 10px;
  font-size: 26px;
  color: #0b1220;
}

.card__text {
  margin: 0 0 18px;
  color: #475569;
  font-size: 16px;
}

.store {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store__badge {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  min-width: 160px;
  height: 52px;
  justify-content: center;
  align-content: center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.store__badge--apple,
.store__badge--google {
  background: #0b1220;
}

.store__small {
  font-size: 10px;
  letter-spacing: 0.02em;
  opacity: 0.9;
  line-height: 1.1;
}

.store__big {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}

/* QUOTE */
.review { padding-top: 12px; padding-bottom: 54px; }

.quote {
  position: relative;
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.quote__mark {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 90px;
  line-height: 1;
  color: rgba(15, 23, 42, 0.10);
  user-select: none;
}

.quote__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.quote__logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(76, 175, 80, 0.15);
  color: rgba(16, 185, 129, 0.95);
}

.quote__logo svg { width: 24px; height: 24px; }

.quote__title {
  font-weight: 700;
  color: #0b1220;
}

.quote__text {
  margin: 0 0 18px;
  color: #334155;
  font-size: 16px;
  line-height: 1.55;
}

.quote__footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.quote__attribution {
  color: #64748b;
  font-size: 13px;
  max-width: 760px;
}

.quote__more {
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quote__more:hover { text-decoration: underline; }

/* FOOTER */
.footer {
  padding: 18px 0 28px;
  color: rgba(255,255,255,0.75);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__media { justify-content: center; }
  .cards__grid { grid-template-columns: 1fr; }
}

/* ADDED: mobile-friendly hero overlay so it doesn't cover the phone */
@media (max-width: 640px) {
  .hero__overlay {
    left: 18px;
    top: 22px;
    transform: none;
    max-width: calc(100% - 36px);
  }
  .hero__overlay h1 { margin-bottom: 6px; }
}
