/* ============================================================
   RainBank Jakarta — Clean Editorial Stylesheet
   White + Navy Blue only. No teal. No gradients.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --blue:    #0D47A1;
  --blue-mid:#1565C0;
  --blue-lt: #E8F0FE;
  --blue-soft:#8FAADA;
  --dark:    #0A0F1E;
  --grey:    #475569;
  --grey-lt: #F1F5F9;
  --border:  #E2E8F0;
  --white:   #FFFFFF;
  --text:    #0F172A;
  --nav-h:   72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Page Transition ── */
.page-overlay {
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(232,240,254,0.92), rgba(255,255,255,0.98) 42%, rgba(241,245,249,0.98) 100%);
  backdrop-filter: blur(18px);
  z-index: 8000;
  pointer-events: none;
  overflow: hidden;
  animation: overlayFade 0.55s ease 1.65s forwards;
}
.page-overlay::before,
.page-overlay::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(140px, 18vw, 220px);
  aspect-ratio: 1;
  background: url('../assets/logo.svg') center/contain no-repeat;
  transform: translate(-50%, -50%) scale(0.98);
}
.page-overlay::before {
  filter: grayscale(1);
  opacity: 0.2;
  animation: logoBreath 1.6s ease-in-out infinite;
}
.page-overlay::after {
  clip-path: circle(0% at 50% 50%);
  filter: drop-shadow(0 20px 40px rgba(13,71,161,0.18));
  animation: logoColorLoad 1.45s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes logoColorLoad {
  to { clip-path: circle(74% at 50% 50%); }
}
@keyframes logoBreath {
  50% { opacity: 0.32; transform: translate(-50%, -50%) scale(1.01); }
}
@keyframes overlayFade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ── Progress Bar ── */
.progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--blue);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  z-index: 1000;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
nav.scrolled .nav-logo img { filter: none; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--white); font-weight: 700; letter-spacing: -0.2px;
}
nav.scrolled .nav-logo-text { color: var(--text); }
.nav-logo-text span { color: var(--blue); }
nav.scrolled .nav-logo-text span { color: var(--blue); }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; color: rgba(255,255,255,0.8);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s; position: relative;
}
nav.scrolled .nav-links a { color: var(--grey); }
.nav-links a:hover { color: var(--white); }
nav.scrolled .nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--white); font-weight: 600; }
nav.scrolled .nav-links a.active { color: var(--blue); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 20px; border-radius: 4px; font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-mid) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }
nav.scrolled .hamburger span { background: var(--text); }
.mobile-menu {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: var(--white); flex-direction: column;
  align-items: center; justify-content: center; gap: 28px; z-index: 999;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--text); font-size: 1.3rem; font-family: 'Playfair Display', serif; }
.mobile-menu a:hover { color: var(--blue); }

/* ── Hero ── */
.hero {
  position: relative; height: 92vh; min-height: 620px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  opacity: 0.75;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,15,30,0.9) 0%, rgba(10,15,30,0.78) 42%, rgba(10,15,30,0.46) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 80px; max-width: 760px; }
.hero-tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--blue-mid); font-weight: 600;
  margin-bottom: 20px; opacity: 0; transform: translateY(16px);
  white-space: nowrap;
  background: rgba(13,71,161,0.15); padding: 5px 12px; border-radius: 2px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.7rem, 5.2vw, 4.65rem); font-weight: 900;
  color: var(--white); line-height: 1.05; margin-bottom: 24px;
  opacity: 0; transform: translateY(24px);
}
.hero-title .blue { color: #7BAAF7; }
.hero-sub {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem); color: rgba(255,255,255,0.74);
  line-height: 1.65; max-width: 560px; margin-bottom: 34px;
  opacity: 0; transform: translateY(16px); font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(16px); }
.scroll-hint { display: none; }
.scroll-hint-line { width: 36px; height: 1px; background: rgba(255,255,255,0.3); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 3px;
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  letter-spacing: 0.2px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-mid); box-shadow: 0 4px 20px rgba(13,71,161,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-dark { background: var(--text); color: var(--white); }
.btn-dark:hover { background: var(--blue); }
.btn-blue-outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-blue-outline:hover { background: var(--blue); color: var(--white); }

/* ── Sections ── */
.section { padding: 82px 80px; }
.section-white { background: var(--white); }
.section-light { background: var(--grey-lt); }
.section-dark  { background: var(--dark); }
.section-dark2 { background: #0F172A; }
.section-blue  { background: var(--blue); }

/* Auto text colors for dark sections — no manual .light class needed */
.section-dark  .section-tag,
.section-dark2 .section-tag { color: rgba(255,255,255,0.45); }

.section-dark  .section-title,
.section-dark2 .section-title { color: var(--white); }

.section-dark  .section-sub,
.section-dark2 .section-sub { color: rgba(255,255,255,0.55); }

.section-dark  .divider,
.section-dark2 .divider { background: rgba(255,255,255,0.2); }

.section-dark  p,
.section-dark2 p { color: rgba(255,255,255,0.55); }

/* But don't override card/stat text inside dark sections */
.section-dark  .card p,
.section-dark2 .card p,
.section-dark  .stat-card p,
.section-dark2 .stat-card p { color: inherit; }

.section-tag {
  font-size: 0.68rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); font-weight: 700; margin-bottom: 12px; display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem); font-weight: 700;
  line-height: 1.16; margin-bottom: 16px; color: var(--text);
  max-width: 980px;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 0.98rem; line-height: 1.68; max-width: 640px;
  margin-bottom: 42px; color: var(--grey); font-weight: 400;
}

.divider { width: 36px; height: 2px; background: var(--blue); margin: 14px 0 30px; }

/* ── Stats ── */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.stat-card { padding: 34px 30px; background: var(--white); }
.stat-number { font-family: 'Playfair Display', serif; font-size: clamp(2rem,3.8vw,3.15rem); font-weight: 900; color: var(--blue); line-height: 1; margin-bottom: 10px; }
.stat-label  { font-size: 0.88rem; color: #334155; line-height: 1.55; }
.stat-source { font-size: 0.7rem; color: #64748B; margin-top: 8px; }
/* Dark section stats */
.section-dark  .stats-row,
.section-dark2 .stats-row { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.07); }
.section-dark  .stat-card,
.section-dark2 .stat-card { background: rgba(255,255,255,0.04); }
.section-dark  .stat-number,
.section-dark2 .stat-number { color: #7BAAF7; }
.section-dark  .stat-label,
.section-dark2 .stat-label { color: rgba(255,255,255,0.72); }
.section-dark  .stat-source,
.section-dark2 .stat-source { color: rgba(255,255,255,0.48); }

/* ── Cards ── */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.card { padding: 32px 28px; background: var(--white); transition: background 0.2s; }
.card:hover { background: var(--grey-lt); }
.card.dark { background: rgba(255,255,255,0.04); border: none; }
.card.dark:hover { background: rgba(255,255,255,0.08); }
/* Cards on dark sections auto-style */
.section-dark  .cards-grid,
.section-dark2 .cards-grid { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.07); }
.section-dark  .card,
.section-dark2 .card { background: rgba(255,255,255,0.04); }
.section-dark  .card:hover,
.section-dark2 .card:hover { background: rgba(255,255,255,0.08); }
.card-num { font-family: 'Playfair Display', serif; font-size: 2.25rem; font-weight: 900; color: var(--blue-soft); line-height: 1; margin-bottom: 12px; }
.card-icon { font-size: 1.6rem; margin-bottom: 16px; display: block; }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); letter-spacing: -0.1px; }
.card-text { font-size: 0.88rem; line-height: 1.62; color: var(--grey); }
.section-dark  .card-title,
.section-dark2 .card-title { color: var(--white); }
.section-dark  .card-text,
.section-dark2 .card-text { color: rgba(255,255,255,0.7); }
.section-dark  .card p,
.section-dark2 .card p { color: rgba(255,255,255,0.7); }

/* Cause-effect flow */
.logic-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.logic-step {
  position: relative;
  min-height: 136px;
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}
.logic-step span {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 900;
  color: var(--blue-soft);
  margin-bottom: 16px;
}
.logic-step p {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}
.logic-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -12px;
  width: 12px;
  height: 1px;
  background: var(--border);
}
.logic-step:last-child::after { display: none; }
.logic-step.accent {
  border-color: rgba(13,71,161,0.35);
  background: #F3F7FF;
}
.logic-step.accent p { color: var(--blue); }
.logic-arrow { display: none; }

.plain-list-item {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.plain-list-item:last-child { border-bottom: none; }

/* ── Dark section generic text inheritance ── */
.section-dark  h2, .section-dark  h3, .section-dark  h4,
.section-dark2 h2, .section-dark2 h3, .section-dark2 h4 { color: var(--white); }
.section-dark  strong,
.section-dark2 strong { color: var(--white); }
/* Don't override card/form elements */
.section-dark  .join-card h3,
.section-dark2 .join-card h3 { color: var(--white); }

/* ── Two Col ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ── Image ── */
.img-wrap { overflow: hidden; border-radius: 4px; }
.img-wrap img { width: 100%; display: block; }

/* ── Exploded System Scroll Story ── */
.exploded-system-section {
  padding-top: 88px;
  padding-bottom: 104px;
}
.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}
.exploded-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(360px, 0.82fr);
  gap: 38px;
  align-items: start;
  min-height: 158vh;
}
.exploded-visual-wrap {
  position: sticky;
  top: 110px;
}
.exploded-stage {
  position: relative;
  width: 100%;
  min-height: 700px;
  aspect-ratio: 1672 / 941;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.exploded-stage::before {
  display: none;
}
.exploded-stage::after {
  display: none;
}
.exploded-layer {
  position: absolute;
  inset: -6% -7%;
  width: 114%;
  height: 114%;
  object-fit: contain;
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 20px 28px rgba(15,23,42,0.14));
}
.exploded-layer.is-active-layer {
  filter:
    drop-shadow(0 18px 24px rgba(15,23,42,0.14))
    drop-shadow(0 0 14px rgba(13,71,161,0.18));
  z-index: 4;
}
.layer-reference {
  opacity: 0.08;
  filter: grayscale(1) drop-shadow(0 18px 22px rgba(15,23,42,0.08));
  z-index: 0;
}
.layer-roof { z-index: 1; }
.layer-gutter { z-index: 2; }
.layer-tank { z-index: 2; }
.layer-filter { z-index: 3; }
.layer-tap { z-index: 3; }
.water-flow-line {
  position: absolute;
  left: 21%;
  top: 47%;
  width: 53%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(13,71,161,0.45), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left center;
}
.exploded-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 18vh;
}
.exploded-step {
  min-height: 198px;
  padding: 26px 28px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 30px rgba(15,23,42,0.04);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.exploded-step.is-active {
  border-color: rgba(13,71,161,0.42);
  background: #F7FAFF;
  box-shadow: 0 18px 42px rgba(13,71,161,0.1);
  transform: translateY(-2px);
}
.exploded-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  color: var(--blue-soft);
  margin-bottom: 16px;
}
.exploded-step h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
  margin-bottom: 9px;
}
.exploded-step p {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.62;
}
.exploded-system-section.is-static .exploded-layer {
  opacity: 1;
  transform: none;
}
.exploded-system-section.is-static .layer-reference {
  opacity: 0;
}

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.step { padding: 30px 28px; border-right: 1px solid var(--border); background: var(--white); }
.step:last-child { border-right: none; }
.step-num { font-family: 'Playfair Display', serif; font-size: 2.65rem; font-weight: 900; color: var(--blue-soft); line-height: 1; margin-bottom: 10px; }
.step-line { width: 24px; height: 2px; background: var(--blue); margin-bottom: 14px; }
.step-title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-text  { font-size: 0.86rem; line-height: 1.62; color: var(--grey); }
/* Auto dark steps */
.section-dark  .steps,
.section-dark2 .steps { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.07); }
.section-dark  .step,
.section-dark2 .step { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.07); }
.section-dark  .step-title,
.section-dark2 .step-title { color: var(--white); }
.section-dark  .step-text,
.section-dark2 .step-text { color: rgba(255,255,255,0.7); }
.section-dark  .step-line,
.section-dark2 .step-line { background: rgba(255,255,255,0.3); }

/* ── Before / After ── */
.before-after { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.before-col { padding: 36px 32px; background: #FEF2F2; border-right: 1px solid var(--border); }
.after-col  { padding: 36px 32px; background: #EFF6FF; }
.ba-label { font-size: 0.68rem; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; display: block; }
.before-col .ba-label { color: #DC2626; }
.after-col  .ba-label { color: var(--blue); }
.ba-item { display: flex; gap: 12px; margin-bottom: 18px; }
.ba-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.ba-item strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ba-item p { font-size: 0.82rem; line-height: 1.5; color: #475569; }

/* ── Revenue Grid ── */
.revenue-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.revenue-block { padding: 30px 28px; background: var(--white); }
.revenue-block .revenue-num { font-family: 'Playfair Display', serif; font-size: 2.25rem; font-weight: 900; color: var(--blue-soft); line-height: 1; margin-bottom: 10px; }
.revenue-block h3 { color: var(--text); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.revenue-block .revenue-amount { font-size: 1.35rem; font-weight: 700; color: var(--blue); margin-bottom: 10px; display: block; font-family: 'Playfair Display', serif; }
.revenue-block p { font-size: 0.86rem; color: var(--grey); line-height: 1.6; }
.revenue-block .revenue-share { display: inline-block; margin-top: 12px; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); font-weight: 700; }

/* ── Cost Rows ── */
.cost-table { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.cost-row { display: flex; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 0.88rem; color: var(--grey); background: var(--white); }
.cost-row:last-child { border-bottom: none; }
.cost-row.total { font-weight: 700; color: var(--text); background: var(--grey-lt); }
/* Dark version (model page uses this on section-dark) */
.cost-row.on-dark { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.07); color: rgba(255,255,255,0.55); }
.cost-row.on-dark.total { background: rgba(255,255,255,0.07); color: var(--white); }

/* ── Timeline ── */
.timeline { display: flex; position: relative; margin: 48px 0; }
.timeline::before { content: ''; position: absolute; top: 18px; left: 0; right: 0; height: 1px; background: var(--border); }
.timeline-item { flex: 1; padding-top: 44px; position: relative; padding-right: 16px; }
.timeline-dot { width: 10px; height: 10px; background: var(--blue); border-radius: 50%; position: absolute; top: 13px; left: 0; }
.timeline-date { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 6px; }
.timeline-item h3 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.timeline-item p { font-size: 0.82rem; color: #475569; line-height: 1.55; }

/* ── Yunus Grid ── */
.yunus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.yunus-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px 28px; background: var(--white); }
.yunus-item:last-child { grid-column: 1 / -1; }
.yunus-check { min-width: 34px; height: 24px; padding: 0 7px; background: #EFF6FF; border: 1px solid #B8CCF2; border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.62rem; color: var(--blue); font-weight: 800; margin-top: 1px; letter-spacing: 0.5px; }
.yunus-item h4 { color: var(--text); font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.yunus-item p  { font-size: 0.84rem; color: #475569; line-height: 1.55; }

/* ── Join Cards ── */
.join-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.join-card { border-radius: 6px; overflow: hidden; border: 1px solid var(--border); background: var(--white); transition: box-shadow 0.2s, transform 0.2s; }
.join-card:hover { box-shadow: 0 12px 40px rgba(13,71,161,0.1); transform: translateY(-4px); }
.join-card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.join-card-top { padding: 32px 28px; background: var(--blue); }
.join-card.featured .join-card-top { background: var(--dark); }
.join-card-badge { display: inline-block; background: rgba(255,255,255,0.15); color: var(--white); font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 2px; margin-bottom: 12px; }
.join-card-icon {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-bottom: 10px;
}
.join-card-top h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--white); margin-bottom: 6px; }
.join-card-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.4; }
.join-card-body { padding: 24px 28px; }
.join-card-body > p { font-size: 0.86rem; color: var(--grey); line-height: 1.62; margin-bottom: 18px; }
.join-list { list-style: none; padding: 0; margin-bottom: 20px; }
.join-list li { font-size: 0.82rem; color: #475569; padding: 7px 0; border-bottom: 1px solid var(--border); }
.join-list li::before { content: none; }

/* ── Contact Form ── */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form .form-group label { font-size: 0.75rem; letter-spacing: 0.5px; text-transform: uppercase; color: var(--grey); font-weight: 600; display: block; margin-bottom: 6px; }
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  background: var(--white); border: 1px solid var(--border); border-radius: 4px;
  padding: 11px 14px; color: var(--text); font-family: 'Inter', sans-serif;
  font-size: 0.9rem; width: 100%; outline: none; transition: border-color 0.2s;
}
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,71,161,0.08); }
.contact-form .form-group textarea { resize: vertical; min-height: 130px; }
.form-status {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #B8CCF2;
  border-radius: 4px;
  background: var(--blue-lt);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}
.form-status.visible { display: block; }

/* ── Highlight Block ── */
.highlight-block {
  border-left: 3px solid var(--blue);
  padding: 20px 24px;
  background: var(--blue-lt);
  border-radius: 0 4px 4px 0;
}
.highlight-block p { font-size: 0.9rem; color: var(--text); line-height: 1.7; }

/* ── Quote ── */
blockquote {
  border-left: 2px solid var(--blue);
  padding: 16px 20px;
  background: var(--grey-lt);
  border-radius: 0 4px 4px 0;
  margin-top: 20px;
}
blockquote p { font-style: italic; color: var(--grey); font-size: 0.9rem; line-height: 1.7; }
blockquote cite { display: block; margin-top: 8px; font-size: 0.75rem; color: var(--blue); font-style: normal; font-weight: 600; }

/* ── Footer ── */
footer { background: var(--dark); padding: 56px 80px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 260px; margin-top: 12px; }
.footer-col h4 { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.3); font-weight: 600; margin-bottom: 14px; }
.footer-col a { display: block; text-decoration: none; color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }

/* ── Component List (solution page) ── */
.components-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.comp-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-bottom: 1px solid var(--border); background: var(--white); transition: background 0.15s; }
.comp-item:last-child { border-bottom: none; }
.comp-item:hover { background: var(--grey-lt); }
.comp-num { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 900; color: var(--blue-soft); line-height: 1; flex-shrink: 0; width: 32px; margin-top: 2px; }
.comp-item strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.comp-item p { font-size: 0.84rem; color: #475569; line-height: 1.55; }

/* ── Section Navigation ── */
.section-indicator { display: none; }
.sec-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(13,71,161,0.2); border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.sec-dot:hover  { background: rgba(13,71,161,0.5); transform: scale(1.4); }
.sec-dot.active { background: var(--blue); transform: scale(1.5); }

.section-label { display: none; }
.section-label.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

.key-hint { display: none; }
.key-hint-key {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px; padding: 3px 9px; font-size: 0.7rem;
  color: rgba(255,255,255,0.5); font-family: 'Inter', sans-serif;
}
@keyframes hint-in  { to { opacity: 1; } }
@keyframes hint-out { to { opacity: 0; } }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .section { padding: 72px 48px; }
  .hero-content { padding: 0 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cards-grid, .stats-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .revenue-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .exploded-layout { grid-template-columns: 1fr; gap: 32px; min-height: auto; }
  .exploded-visual-wrap { position: relative; top: auto; }
  .exploded-stage { min-height: auto; }
  .exploded-content { padding-bottom: 0; }
  .join-cards { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; gap: 28px; }
  .timeline::before { display: none; }
  .timeline-item { padding-top: 0; padding-left: 24px; }
  .timeline-dot { top: 3px; left: 0; }
  .logic-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logic-step::after { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 60px 24px; }
  .hero-content { padding: 0 24px; }
  .hero-tag { white-space: normal; line-height: 1.55; letter-spacing: 2px; }
  .hero-title { font-size: clamp(2.35rem, 12vw, 3.3rem); }
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .cards-grid, .stats-row, .steps, .join-cards, .yunus-grid, .revenue-grid { grid-template-columns: 1fr; }
  .before-after, .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .scroll-hint { left: 24px; }
  .section-indicator, .section-label, .key-hint { display: none; }
  .logic-flow { grid-template-columns: 1fr; }
  .logic-step { min-height: auto; }
  .exploded-system-section { padding-top: 64px; padding-bottom: 72px; }
  .exploded-stage::before { inset: 14px; }
  .exploded-stage::after { display: none; }
  .exploded-step { min-height: auto; padding: 24px; }
}
