/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --blue: #1a56db;
  --blue-light: #3b82f6;
  --blue-pale: #eff6ff;
  --dark: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --bg: #f1f5fb;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(26, 86, 219, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 86, 219, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Sora', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #dbeafe 0%, #eff6ff 45%, #f0f7ff 70%, #e0f2fe 100%);
  overflow: hidden;
  padding: 120px 20px 80px;
}

.noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
}

.blob1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #bfdbfe, #93c5fd);
  top: -120px;
  left: -160px;
  animation: drift 12s ease-in-out infinite alternate;
}

.blob2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #c7d2fe, #a5b4fc);
  bottom: -100px;
  right: -100px;
  animation: drift 15s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.08); }
}

/* NAV */
.nav {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 4px 12px rgba(26,86,219,0.3));
}

.logo-icon.small {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 1.2rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-text strong {
  color: var(--blue);
}

/* HERO CONTENT */
.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.9s ease both;
}

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

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.accent {
  color: var(--blue-light);
  position: relative;
  display: inline-block;
}

.accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-light), #60a5fa);
  border-radius: 99px;
  opacity: 0.5;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
  max-width: 420px;
  margin: 0 auto 32px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--blue);
  border-radius: 99px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,0.25);
}

/* Wave divider */
.wave-divider {
  display: block;
  line-height: 0;
  background: linear-gradient(165deg, #dbeafe 0%, #eff6ff 45%, #f0f7ff 70%, #e0f2fe 100%);
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ===========================
   HOW IT WORKS
=========================== */
.how {
  padding: 60px 20px 60px;
  background: linear-gradient(180deg, #e8f1fd 0%, var(--bg) 100%);
  position: relative;
}

.container {
  max-width: 720px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

/* STEPS CARD */
.steps {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
  animation: fadeUp 0.7s ease both;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

.step:last-child {
  border-bottom: none;
}

.step:hover {
  background: var(--blue-pale);
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(26,86,219,0.25);
}

.step-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.step-body p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  font-family: 'Inter', sans-serif;
}

/* ===========================
   CTA / FB BUTTON
=========================== */
.cta-section {
  padding: 0px 20px 56px;
  display: flex;
  justify-content: center;
  background: var(--bg);
}

.btn-fb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: #1877f2;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 99px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 6px 24px rgba(24, 119, 242, 0.35);
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
  font-family: 'Sora', sans-serif;
}

.btn-fb:hover {
  background: #1464d0;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(24, 119, 242, 0.45);
}

.btn-fb:active {
  transform: translateY(0);
}

.fb-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===========================
   REVIEWS
=========================== */
.reviews {
  padding: 60px 20px 80px;
  background: linear-gradient(180deg, var(--bg) 0%, #dbeafe22 100%);
}

.reviews .container {
  text-align: center;
}

.reviews h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.reviews-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 44px;
  font-family: 'Inter', sans-serif;
}

.chat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}

.chat-card {
  background: #0f172a;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.7s ease both;
}

.chat-card:nth-child(2) { animation-delay: 0.15s; }
.chat-card:nth-child(3) { animation-delay: 0.3s; }

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.chat-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
}

.chat-time {
  font-size: 0.75rem;
  color: #64748b;
  font-family: 'Inter', sans-serif;
}

.chat-badge {
  margin-left: auto;
  background: rgba(16,185,129,0.15);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(52,211,153,0.25);
}

.chat-bubble {
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  max-width: 90%;
}

.chat-bubble.left {
  background: #1e293b;
  color: #cbd5e1;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-bubble.right {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  text-align: right;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .chat-grid {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 18px 16px;
  }
}
