/* ─── FLOWA CHAT LANDING — BLOOM DESIGN ───────────────────────────────────── */

:root {
  --coral: #FF6B6B;
  --orange: #FF8E53;
  --yellow: #FFE66D;
  --peach: #FFB347;
  --money: #10B981;
  --money-light: #D1FAE5;
  --warm-white: #FFF8F5;
  --white: #FFFFFF;
  --text: #1A0E0A;
  --text-mid: #6B4F45;
  --text-light: #9B7B70;
  --border: #FFE4D6;
  --shadow-coral: rgba(255, 107, 107, 0.15);

  --gradient: linear-gradient(135deg, var(--coral), var(--orange));
  --gradient-full: linear-gradient(135deg, var(--coral), var(--yellow), var(--orange));
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--warm-white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAVBAR ─────────────────────────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(255, 248, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 107, 107, 0.1);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: 0 4px 30px var(--shadow-coral);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px var(--shadow-coral);
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--coral); }

.nav-cta { margin-left: 16px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--border);
}

.nav-mobile-menu a {
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
}

.nav-mobile-menu .btn-primary {
  text-align: center;
  margin-top: 8px;
}

.nav-mobile-menu.open { display: flex; }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */

.btn-primary {
  background: var(--gradient);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px var(--shadow-coral);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: white;
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition);
}

.btn-store:hover {
  background: #2d1a14;
  transform: translateY(-2px);
}

.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-store small {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  font-weight: 400;
}

.btn-store strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.btn-store-large { padding: 16px 24px; border-radius: 16px; }
.btn-store-large strong { font-size: 17px; }

.btn-web {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--coral);
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--coral);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-web:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-web svg { width: 18px; height: 18px; }
.btn-web-large { font-size: 17px; padding: 16px 24px; border-radius: 16px; }

/* ── HERO ───────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.blob-1 {
  width: 500px; height: 500px;
  background: rgba(255, 107, 107, 0.15);
  top: -100px; right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px; height: 400px;
  background: rgba(255, 230, 109, 0.12);
  bottom: -50px; left: -100px;
  animation-delay: 3s;
}

.blob-3 {
  width: 300px; height: 300px;
  background: rgba(255, 142, 83, 0.10);
  top: 40%; left: 40%;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px var(--shadow-coral);
  animation: slideDown 0.6s ease forwards;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

.hero-title {
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: slideUp 0.7s ease 0.1s both;
}

.gradient-text {
  background: var(--gradient-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 480px;
  animation: slideUp 0.7s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: slideUp 0.7s ease 0.3s both;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: slideUp 0.7s ease 0.4s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}

/* ── PHONE MOCKUP ────────────────────────────────────────────────────────── */

.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: slideUp 0.8s ease 0.2s both;
}

.phone-frame {
  width: 280px;
  background: #1A0E0A;
  border-radius: 40px;
  padding: 16px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.3),
    0 0 0 2px rgba(255,255,255,0.1) inset;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--warm-white);
  border-radius: 28px;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.phone-header {
  background: white;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.phone-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

.phone-info { flex: 1; }

.phone-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.phone-status {
  font-size: 11px;
  color: var(--money);
  font-weight: 600;
}

.phone-icons { font-size: 14px; color: var(--coral); }

.phone-messages {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--warm-white);
}

.msg {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13px;
  max-width: 80%;
  opacity: 0;
  animation: msgAppear 0.4s ease forwards;
  animation-delay: var(--delay);
}

.msg-received {
  background: white;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.msg-sent {
  background: var(--gradient);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px var(--shadow-coral);
}

.msg-money {
  background: linear-gradient(135deg, var(--money), #059669);
  color: white;
  align-self: flex-start;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  padding: 14px 16px;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.money-icon { font-size: 24px; margin-bottom: 4px; }
.money-amount { font-size: 20px; font-weight: 800; }
.money-note { font-size: 12px; opacity: 0.8; }

.phone-input {
  padding: 10px 12px;
  background: white;
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--border);
}

.phone-input-bar {
  flex: 1;
  background: var(--warm-white);
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-light);
  border: 1px solid var(--border);
}

.phone-send {
  width: 32px; height: 32px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  box-shadow: 0 4px 8px var(--shadow-coral);
}

.phone-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,107,0.2) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: glowPulse 3s ease infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* ── STATS ──────────────────────────────────────────────────────────────── */

.stats-bar {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── SECTIONS COMMON ────────────────────────────────────────────────────── */

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

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

.section-tag {
  display: inline-block;
  background: rgba(255, 107, 107, 0.1);
  color: var(--coral);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ── FEATURES GRID ──────────────────────────────────────────────────────── */

.features { background: var(--warm-white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease calc(var(--i, 0) * 0.1s),
              transform 0.5s ease calc(var(--i, 0) * 0.1s),
              box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px var(--shadow-coral);
}

.feature-card-highlight {
  background: var(--gradient);
  border-color: transparent;
}

.feature-card-highlight h3,
.feature-card-highlight p {
  color: white !important;
}

.feature-card-highlight .feature-icon {
  background: rgba(255,255,255,0.2) !important;
}

.feature-icon {
  width: 56px; height: 56px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── PAYMENTS ───────────────────────────────────────────────────────────── */

.payments-section {
  background: white;
  overflow: hidden;
}

.payments-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.payment-card-stack {
  position: relative;
  height: 360px;
}

.pay-card {
  position: absolute;
  width: 300px;
  border-radius: 24px;
  padding: 24px;
  transition: transform var(--transition);
}

.pay-card:hover { transform: translateY(-4px) !important; }

.pay-card-1 {
  background: var(--gradient);
  color: white;
  top: 0; left: 0;
  box-shadow: 0 20px 40px rgba(255,107,107,0.3);
  z-index: 3;
}

.pay-card-2 {
  background: var(--money);
  color: white;
  top: 100px; left: 60px;
  box-shadow: 0 20px 40px rgba(16,185,129,0.3);
  z-index: 2;
}

.pay-card-3 {
  background: white;
  border: 1px solid var(--border);
  top: 200px; left: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  z-index: 1;
}

.pay-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 13px;
}

.pay-badge {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pay-card-number {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.pay-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.9;
}

.pay-received {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pay-received-icon { font-size: 28px; }
.pay-received-amount { font-size: 20px; font-weight: 800; }
.pay-received-from { font-size: 12px; opacity: 0.8; }

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--warm-white);
  padding: 8px 12px;
  border-radius: 10px;
}

.payments-text { padding-left: 20px; }

.payments-text h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
  margin-top: 16px;
}

.payments-text p {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.pay-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pay-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.check {
  width: 24px; height: 24px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── DOWNLOAD ───────────────────────────────────────────────────────────── */

.download-section {
  position: relative;
  overflow: hidden;
  background: var(--warm-white);
  text-align: center;
}

.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.download-blob {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,107,0.12) 0%, transparent 70%);
  border-radius: 50%;
  top: -200px; left: 50%;
  transform: translateX(-50%);
}

.download-inner {
  position: relative;
  z-index: 1;
  padding: 120px 24px;
}

.download-inner h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.download-inner p {
  font-size: 18px;
  color: var(--text-mid);
  margin-bottom: 48px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.download-note {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */

.footer {
  background: var(--text);
  color: white;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand .nav-logo {
  color: white;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--coral); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── ANIMATIONS ─────────────────────────────────────────────────────────── */

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes msgAppear {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-phone { order: -1; }
  .hero-title { font-size: 52px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .payments-inner { grid-template-columns: 1fr; }
  .payment-card-stack { height: 280px; }
  .pay-card-1 { width: 240px; }
  .pay-card-2 { top: 80px; left: 50px; }
  .pay-card-3 { top: 160px; left: 10px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-content { padding: 60px 24px; }
  .hero-title { font-size: 44px; }
  .hero-trust { gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { min-width: 40%; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-store, .hero-buttons .btn-web { justify-content: center; }
  .payments-text { padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .download-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
}
