/* BabiaByte — Amber/Yellow + Black, brevo-inspired layout */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── Variables ─── */
:root {
  --amber: #F5C518;
  --amber-dark: #D4A012;
  --amber-light: #FFF3C4;
  --amber-pale: #FFFBEA;
  --black: #0a0a0a;
  --gray-900: #111;
  --gray-700: #444;
  --gray-500: #777;
  --gray-200: #E8E8E8;
  --gray-100: #F5F5F5;
  --white: #fff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1160px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
}

/* ─── Container ─── */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Nav ─── */
.nav {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--amber);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo img {
  height: 32px;
  width: auto;
}
.nav__brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #ccc;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--amber); }
.nav__cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--amber);
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  min-height: 44px;
  transition: background 0.2s, transform 0.15s;
}
.nav__cta:hover { background: var(--amber-dark); transform: translateY(-1px); }

/* ─── Hero ─── */
.hero {
  background: var(--black);
  padding: 88px 0 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,197,24,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero__title .hl {
  color: var(--amber);
}
.hero__desc {
  font-size: 17px;
  color: #b0b0b0;
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--amber);
  color: var(--black);
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  min-height: 52px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,197,24,0.35);
}
.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,197,24,0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.25);
  cursor: pointer;
  min-height: 52px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat {
  text-align: left;
}
.stat__num {
  font-size: 22px;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -0.5px;
}
.stat__label {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

/* Hero visual — brevo-style dashboard mockup */
.hero__visual {
  position: relative;
  padding-bottom: 32px;
}
.hero__mockup {
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  border: 1px solid #333;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.mockup__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.mockup__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup__dot:nth-child(1) { background: #ff5f57; }
.mockup__dot:nth-child(2) { background: #febc2e; }
.mockup__dot:nth-child(3) { background: #28c840; }
.mockup__chart {
  width: 100%;
}

/* ─── Trust band ─── */
.trust-band {
  background: var(--amber-pale);
  padding: 32px 0;
  border-top: 1px solid #E8D88A;
  border-bottom: 1px solid #E8D88A;
}
.trust-band__label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.trust-band__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-logo {
  opacity: 0.6;
  font-size: 14px;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
}

/* ─── Section base ─── */
section { padding: 96px 0; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--gray-700);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── Features split (brevo alternating) ─── */
.features { background: #fff; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-text {}
.feature-visual {
  background: var(--amber-pale);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,197,24,0.3) 0%, transparent 70%);
}
.feature-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.5;
}
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%230a0a0a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.feature-cta {
  margin-top: 28px;
}

/* ─── Cards grid ─── */
.cards-section { background: var(--gray-100); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card__icon {
  width: 52px;
  height: 52px;
  background: var(--amber-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}
.card__desc {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.65;
}

/* ─── Metrics banner ─── */
.metrics {
  background: var(--black);
  padding: 80px 0;
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.metric__num {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 10px;
}
.metric__label {
  font-size: 14px;
  color: #999;
  line-height: 1.4;
}

/* ─── Download / Platform section ─── */
.platform-section { background: #fff; }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.platform-card {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.platform-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}
.platform-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(245,197,24,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.platform-card__name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.platform-card__sub {
  font-size: 13px;
  color: #888;
}

/* ─── Testimonial strip ─── */
.testimonials { background: var(--amber-pale); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.testimonial__stars {
  color: var(--amber);
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial__text {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--amber-dark);
  flex-shrink: 0;
}
.testimonial__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.testimonial__meta {
  font-size: 12px;
  color: var(--gray-500);
}

/* ─── Final CTA section ─── */
.cta-section {
  background: var(--amber);
  padding: 96px 0;
  text-align: center;
}
.cta-section .section-title {
  color: var(--black);
  max-width: 640px;
  margin: 0 auto 20px;
}
.cta-section .section-sub {
  color: rgba(0,0,0,0.65);
  margin: 0 auto 40px;
  text-align: center;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: var(--black);
  color: var(--amber);
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  min-height: 52px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: transparent;
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid var(--black);
  cursor: pointer;
  min-height: 52px;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-outline-dark:hover {
  background: rgba(0,0,0,0.06);
}

/* ─── Footer ─── */
.footer {
  background: var(--black);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p {
  font-size: 14px;
  color: #888;
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.65;
}
.footer__heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 14px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--amber); }
.footer__bottom {
  border-top: 1px solid #222;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-size: 13px;
  color: #666;
}
.footer__langs a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  margin-left: 16px;
  transition: color 0.2s;
}
.footer__langs a:hover { color: var(--amber); }
.footer__langs a.active { color: var(--amber); font-weight: 700; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row--reverse { direction: ltr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero { padding: 64px 0 48px; }
  .hero__stats { gap: 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  section { padding: 64px 0; }
  .feature-visual { min-height: 240px; padding: 28px 20px; }
  .cta-section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn-primary,
  .hero__actions .btn-secondary { width: 100%; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn-dark,
  .cta-actions .btn-outline-dark { width: 100%; max-width: 320px; }
  .trust-band__logos { gap: 20px; }
  .hero__stats { flex-wrap: wrap; gap: 16px; }
}

/* Overflow protection */
img, svg { max-width: 100%; }
overflow-wrap { overflow-wrap: break-word; word-break: break-word; }
