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

:root {
  --bg: #F5F8FC;
  --glass: rgba(255, 255, 255, 0.60);
  --glass-border: rgba(255, 255, 255, 0.90);
  --text: #0C1824;
  --muted: #4A6278;
  --accent: #1A6DB5;
  --accent-2: #0D9E78;
  --accent-warm: #E8A030;
  --radius: 22px;
  --shadow: 0 8px 32px rgba(12, 24, 36, 0.08);
  --shadow-lg: 0 24px 64px rgba(12, 24, 36, 0.13);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── Gradient mesh background ─── */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.blob-1 {
  width: 750px; height: 750px;
  background: radial-gradient(circle at 40% 40%, #BFDBFE, #E0F2FE 70%);
  top: -240px; left: -200px;
  opacity: 0.55;
  animation: float1 22s ease-in-out infinite;
}

.blob-2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle at 50% 50%, #6EE7B7, #D1FAE5 70%);
  top: 38%; right: -160px;
  opacity: 0.48;
  animation: float2 28s ease-in-out infinite;
}

.blob-3 {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 60% 40%, #FDE68A, #FEF9C3 70%);
  bottom: 8%; left: 18%;
  opacity: 0.42;
  animation: float3 19s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(50px, 30px) scale(1.04); }
  66%       { transform: translate(-20px, 50px) scale(0.97); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-50px, -60px) scale(1.06); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(40px, -35px) scale(0.94); }
}

nav, section, footer, .hero { position: relative; z-index: 1; }

/* ─── Container ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 36px; }

/* ─── Glass util ─── */
.glass {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 18px 0;
  background: rgba(245, 248, 252, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
}

.logo-dot { color: var(--accent); }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 9px 22px;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover { background: var(--accent); color: #fff; }

/* ─── Hero ─── */
.hero { padding: 120px 0 80px; text-align: center; }

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(13, 158, 120, 0.1);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 36px;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 68px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 28px rgba(26, 109, 181, 0.32);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(26, 109, 181, 0.42);
}

.hero-note {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ─── Placeholder images ─── */
.placeholder-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px dashed rgba(26, 109, 181, 0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.placeholder-img.tall   { aspect-ratio: 4 / 5; }
.placeholder-img.square { aspect-ratio: 1 / 1; }

/* ─── Sections ─── */
.section { padding: 100px 0; }

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 56px;
}

/* ─── Feature cards ─── */
.features { text-align: center; }
.features .section-title { max-width: 600px; margin-left: auto; margin-right: auto; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  padding: 44px 36px;
  border-radius: var(--radius);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }

.card-icon {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 22px;
  line-height: 1;
}

.card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p { font-size: 0.93rem; color: var(--muted); line-height: 1.72; }

/* ─── How it works ─── */
.hiw-layout {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: center;
}

.steps { display: flex; flex-direction: column; gap: 38px; }

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

.step-num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(26, 109, 181, 0.28);
}

.step-text strong { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.step-text p      { font-size: 0.9rem; color: var(--muted); line-height: 1.68; }

/* ─── Stats ─── */
.stats-section { padding: 60px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  padding: 56px 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.stat-item:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stat-item:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }

.stats-wrapper {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.stat-label { font-size: 0.88rem; color: var(--muted); font-weight: 500; line-height: 1.5; }

/* ─── CTA ─── */
.cta-section { padding: 80px 0 120px; }

.cta-box {
  border-radius: var(--radius);
  padding: 88px 60px;
  text-align: center;
}

.cta-box h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.cta-box h2 em { font-style: italic; color: var(--accent); }

.cta-box p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

/* ─── Footer ─── */
.footer {
  padding: 44px 0;
  border-top: 1px solid rgba(12, 24, 36, 0.07);
  text-align: center;
}

.footer .logo { margin-bottom: 14px; }
.footer p { font-size: 0.84rem; color: var(--muted); margin-bottom: 4px; }
.footer a { color: var(--accent); text-decoration: none; }

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal-delay-4 { transition-delay: 0.46s; }

/* ─── Responsive ─── */
@media (max-width: 820px) {
  .hiw-layout { grid-template-columns: 1fr; gap: 48px; }
  .hiw-image  { order: -1; }

  .stats-wrapper { grid-template-columns: 1fr; }
  .stat-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .stat-item:last-child  { border-radius: 0 0 var(--radius) var(--radius); }

  .cta-box { padding: 56px 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero { padding: 80px 0 60px; }
  .section { padding: 72px 0; }
}
