/* BabiaApp — Monzo-inspired coral/rose + dark */
:root {
  --rose: #ff4f7b;
  --rose-dark: #e91e63;
  --rose-light: #ff6b95;
  --rose-pale: #ffe0e9;
  --dark: #0d0d1a;
  --dark2: #17112b;
  --dark3: #201630;
  --card-bg: #1e1428;
  --text: #ffffff;
  --muted: #c8a8b8;
  --cream: #fff5f7;
  --max: 1160px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 79, 123, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-cta {
  background: var(--rose) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.15s !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-cta:hover { background: var(--rose-dark) !important; transform: translateY(-1px); }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0a12 0%, #0d0d1a 60%, #0d1a2a 100%);
  padding: 80px 0 0;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,79,123,0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,30,99,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,79,123,0.15);
  border: 1px solid rgba(255,79,123,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rose-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--rose), var(--rose-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  min-height: 52px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(255,79,123,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,79,123,0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: pointer;
  min-height: 52px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255,79,123,0.5);
  background: rgba(255,79,123,0.06);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Phone mockup ── */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 560px;
}

.phone-outer {
  width: 280px;
  height: 560px;
  border-radius: 40px;
  background: linear-gradient(145deg, #2d1a28, #1a0d1e);
  border: 2px solid rgba(255,79,123,0.3);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(255,79,123,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  padding: 14px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(160deg, #0f0f23 0%, #1a0a12 50%, #0f1a2e 100%);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  width: 80px;
  height: 20px;
  background: #1a0d1e;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 10px;
}

.phone-content {
  padding: 4px 14px 14px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.phone-brand {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--rose-light);
}

.phone-bal-label {
  font-size: 0.55rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.3;
}

.phone-balance {
  text-align: center;
  margin-bottom: 16px;
}

.phone-balance .label {
  font-size: 0.6rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.phone-balance .amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
}

.phone-balance .change {
  font-size: 0.6rem;
  color: #4ade80;
  font-weight: 600;
}

.phone-action-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 14px;
}

.phone-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.phone-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,79,123,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-action-icon svg { width: 16px; height: 16px; }

.phone-action span {
  font-size: 0.5rem;
  color: var(--muted);
}

.phone-chart-area {
  background: rgba(255,79,123,0.06);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 10px;
}

.phone-chart-label {
  font-size: 0.5rem;
  color: var(--muted);
  margin-bottom: 6px;
}

/* mini sparkline */
.sparkline {
  width: 100%;
  height: 40px;
}

.phone-coin-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-coin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 5px 8px;
}

.coin-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.coin-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 800;
  color: #fff;
}

.coin-name { font-size: 0.55rem; font-weight: 700; color: var(--text); }
.coin-sub { font-size: 0.45rem; color: var(--muted); }

.coin-right { text-align: right; }
.coin-price { font-size: 0.55rem; font-weight: 700; color: var(--text); }
.coin-chg { font-size: 0.45rem; font-weight: 600; }
.coin-chg.up { color: #4ade80; }
.coin-chg.dn { color: #f87171; }

/* ── Section base ── */
section { padding: 96px 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Trust Band ── */
.trust-band {
  padding: 40px 0;
  background: var(--dark2);
  border-top: 1px solid rgba(255,79,123,0.1);
  border-bottom: 1px solid rgba(255,79,123,0.1);
}

.trust-band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 64px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-item .val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
}

.trust-item .lbl {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

/* ── Download Section ── */
.download-section {
  background: var(--dark2);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.platform-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.platform-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,79,123,0.15);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.platform-card:hover {
  border-color: rgba(255,79,123,0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,79,123,0.12);
}

.platform-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: rgba(255,79,123,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon svg { width: 28px; height: 28px; }

.platform-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.platform-card p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.download-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.download-info p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.download-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.download-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.step-text p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* ── Features ── */
.features-section {
  background: var(--dark);
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header .section-sub {
  margin: 0 auto;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.feat-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,79,123,0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, transform 0.2s;
}

.feat-card:hover {
  border-color: rgba(255,79,123,0.4);
  transform: translateY(-3px);
}

.feat-card.wide  { grid-column: span 7; }
.feat-card.tall  { grid-column: span 5; grid-row: span 2; }
.feat-card.med   { grid-column: span 4; }
.feat-card.sml   { grid-column: span 3; }

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,79,123,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feat-icon svg { width: 26px; height: 26px; }

.feat-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feat-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.feat-big-stat {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--rose), #ff9bb5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

/* ── Security ── */
.security-section {
  background: linear-gradient(160deg, var(--dark2) 0%, #0d0d1a 100%);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.security-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.shield-svg-wrap {
  position: relative;
}

.security-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid rgba(255,79,123,0.1);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}

.pillar:hover { border-color: rgba(255,79,123,0.35); }

.pillar-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255,79,123,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon svg { width: 22px; height: 22px; }

.pillar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Multi-platform ribbon ── */
.platform-ribbon {
  padding: 64px 0;
  background: var(--dark);
}

.ribbon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.ribbon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ribbon-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,79,123,0.1);
  border: 1px solid rgba(255,79,123,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.ribbon-item:hover .ribbon-icon {
  background: rgba(255,79,123,0.2);
  border-color: rgba(255,79,123,0.4);
}

.ribbon-icon svg { width: 26px; height: 26px; }

.ribbon-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── CTA Section ── */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, #1a0a12 0%, #0d0d1a 60%, #0a1520 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,79,123,0.14) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ── Footer ── */
.site-footer {
  background: #080810;
  border-top: 1px solid rgba(255,79,123,0.1);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--rose-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--rose-light); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-bento { grid-template-columns: 1fr 1fr; }
  .feat-card.wide, .feat-card.tall, .feat-card.med, .feat-card.sml {
    grid-column: span 1;
    grid-row: span 1;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ribbon-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .hero { padding: 60px 0 0; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-phone-wrap { order: -1; }
  .phone-frame, .phone-outer { width: 220px; height: 440px; }
  .phone-balance .amount { font-size: 1.2rem; }

  .download-grid { grid-template-columns: 1fr; }
  .platform-cards { grid-template-columns: 1fr 1fr; }

  .security-grid { grid-template-columns: 1fr; }
  .security-visual { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ribbon-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-links { display: none; }
  .nav-cta { display: inline-flex; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .trust-band-inner { gap: 24px 32px; }
  .trust-item .val { font-size: 1.6rem; }
  .platform-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ribbon-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { flex-direction: column; align-items: center; }
  .features-bento { grid-template-columns: 1fr; }
  .phone-frame, .phone-outer { width: 200px; height: 400px; }
}
