/* ═══════════════════════════════════════════════════════════
   DALOR LANDING PAGE — MAIN STYLESHEET
   Brand: Navy #1a2f5b · Gold #fbad37 · Teal #00d4aa
   Font: Plus Jakarta Sans
═══════════════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1a2f5b;
  --navy-deep: #0f1e3d;
  --gold: #fbad37;
  --gold-light: #fec758;
  --teal: #00d4aa;
  --teal-mid: #00b894;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-400: #9ca3af;
  --gray-600: #4a5568;
  --gray-800: #1f2937;
  --body-font: 'Poppins', sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 8px 40px rgba(26, 47, 91, .12);
  --shadow-lg: 0 20px 60px rgba(26, 47, 91, .20);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ── UTILITIES ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold), #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-gold {
  color: var(--gold);
}

.light {
  color: var(--white) !important;
  opacity: 0.85;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(251, 173, 55, .40);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(251, 173, 55, .55);
}

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1rem;
  padding: 14px 28px;
}

.btn-sm {
  font-size: .875rem;
  padding: 10px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  object-fit: contain;
  transition: var(--transition);
}

.logo-light {
  display: none;
}

.navbar:not(.scrolled) .logo-light {
  display: block;
}

.navbar:not(.scrolled) .logo-img:not(.logo-light) {
  display: none;
}

.navbar.scrolled .logo-light {
  display: none;
}

.navbar.scrolled .logo-img:not(.logo-light) {
  display: block;
}

.nav-links {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.nav-link {
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  color: rgba(255, 255, 255, .8);
  min-width: 110px;
  text-align: center;
}

.navbar.scrolled .nav-link {
  color: var(--gray-600);
}

.nav-link:hover {
  color: var(--gold);
}

.nav-actions {
  margin-left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  font-size: .9rem;
  padding: 10px 22px;
  min-width: 180px;
  justify-content: center;
}

/* ── LANGUAGE SWITCHER ── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
}

.lang-link {
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, .5);
  transition: var(--transition);
}

.navbar.scrolled .lang-link {
  color: var(--gray-400);
}

.lang-link:hover,
.lang-link.active {
  color: var(--white);
}

.navbar.scrolled .lang-link:hover,
.navbar.scrolled .lang-link.active {
  color: var(--navy);
}

.lang-sep {
  color: rgba(255, 255, 255, .2);
  font-size: .9rem;
}

.navbar.scrolled .lang-sep {
  color: rgba(0, 0, 0, .15);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--navy);
}

/* ── HAMBURGER ANIMATION (X STATE) ── */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 60%, #1e3a6e 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: pulse 6s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--teal);
  bottom: 0;
  left: -80px;
  animation-delay: 2s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: #3b82f6;
  bottom: 20%;
  right: 20%;
  animation-delay: 4s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: var(--white);
  max-width: 600px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-launch {
  animation: fadeSlideIn .6s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: blink 2s ease infinite;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeSlideIn .7s .1s ease both;
  word-break: break-word;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .75);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeSlideIn .7s .2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeSlideIn .7s .3s ease both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeSlideIn .7s .4s ease both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .75);
}

.trust-icon {
  width: 16px;
  height: 16px;
}

.trust-sep {
  color: rgba(255, 255, 255, .3);
}

/* ── HERO VISUAL: PREMIUM PHONE FRAME ───────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  animation: fadeSlideIn .8s .2s ease both;
}

.phone-mockup {
  position: relative;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 32px 56px rgba(0, 0, 0, .55));
}

/* Titanium-style outer bezel */
.phone-chassis {
  position: relative;
  background: linear-gradient(160deg, #2e2e32 0%, #1a1a1d 50%, #2e2e32 100%);
  border-radius: 38px;
  padding: 14px 10px 10px;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, .15),
    0 0 0 3px rgba(0, 0, 0, .8),
    0 0 0 3.5px rgba(255, 255, 255, .06),
    0 50px 80px rgba(0, 0, 0, .5),
    inset 0 1px 0 rgba(255, 255, 255, .2),
    inset 0 -1px 0 rgba(0, 0, 0, .5);
}

/* App screen SVG — dictates its own size, has built-in rx=18 corners */
.phone-screen-wrapper {
  border-radius: 28px;
  overflow: hidden;
  display: block;
  line-height: 0;
  background: #fff;
}

.app-screen-img {
  width: 280px;
  height: auto;
  display: block;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 18px;
}

/* ── DYNAMIC ISLAND ── */
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.notch-pill {
  background: #111;
  border-radius: 20px;
  width: 100px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 2px 8px rgba(0, 0, 0, .4);
}

.notch-camera {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1c1c20;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .05), 0 0 4px rgba(0, 212, 170, .25);
}

.notch-speaker {
  width: 44px;
  height: 5px;
  border-radius: 4px;
  background: #1c1c20;
}

/* ── HOME INDICATOR ── */
.phone-home-indicator {
  display: flex;
  justify-content: center;
  padding: 8px 0 6px;
}

.home-bar {
  width: 110px;
  height: 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .18);
}

/* ── PHYSICAL BUTTONS ── */
.phone-btn {
  position: absolute;
  background: linear-gradient(180deg, #3c3c40, #28282c);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(0, 0, 0, .4);
}

.btn-silent {
  left: -4px;
  top: 72px;
  width: 4px;
  height: 26px;
  border-radius: 2px 0 0 2px;
}

.btn-vol-up {
  left: -4px;
  top: 110px;
  width: 4px;
  height: 50px;
  border-radius: 2px 0 0 2px;
}

.btn-vol-dn {
  left: -4px;
  top: 170px;
  width: 4px;
  height: 50px;
  border-radius: 2px 0 0 2px;
}

.btn-power {
  right: -4px;
  top: 130px;
  width: 4px;
  height: 68px;
  border-radius: 0 2px 2px 0;
}

/* ── GLOW & GLARE ── */
.phone-glow {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold);
  filter: blur(44px);
  opacity: .25;
  z-index: -1;
  pointer-events: none;
}

.phone-glare {
  position: absolute;
  top: 18px;
  left: 14px;
  width: 45%;
  height: 42%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .06) 0%, transparent 60%);
  border-radius: 36px 4px 4px 36px;
  pointer-events: none;
  z-index: 10;
}

/* ── FLOATING BADGES ── */
.float-badge {
  position: absolute;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .8);
  animation: floatBadge 4s ease-in-out infinite;
}

.badge-earn {
  top: 80px;
  right: -30px;
  animation-delay: -1s;
}

.badge-eco {
  bottom: 110px;
  left: -36px;
  animation-delay: -2.5s;
}

.badge-emoji {
  font-size: 1.4rem;
}

.badge-val {
  font-size: .9rem;
  font-weight: 800;
  color: var(--navy);
}

.badge-sub {
  font-size: .7rem;
  color: var(--gray-400);
}


.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeSlideIn 1s 1s ease both;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  animation: scrollBounce 2s ease infinite;
}

/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee-bar {
  background: var(--navy);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── FEATURES ───────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(251, 173, 55, .0), rgba(0, 212, 170, .0));
  transition: var(--transition);
  opacity: 0;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(251, 173, 55, .3);
}

.feature-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(251, 173, 55, .04), rgba(0, 212, 170, .04));
}

.card-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  grid-column: span 1;
}

.card-highlight .feature-title {
  color: var(--white);
}

.card-highlight .feature-desc {
  color: rgba(255, 255, 255, .72);
}

.feature-icon-wrap {
  margin-bottom: 20px;
}

.feature-icon {
  font-size: 2rem;
  display: inline-block;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  background: rgba(251, 173, 55, .15);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(251, 173, 55, .3);
}

/* ── AI SECTION ─────────────────────────────────────────── */
.ai-section {
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(251, 173, 55, .06) 1px, transparent 1px);
  background-size: 30px 30px;
}

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ai-content .section-label {
  color: var(--teal);
}

.ai-content .section-title {
  color: var(--white);
}

.ai-desc {
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.ai-examples {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ai-example {
  display: none;
}

.ai-example.active {
  display: block;
  animation: fadeSlideIn .4s ease;
}

.example-prompt {
  font-size: .95rem;
  color: rgba(255, 255, 255, .5);
  font-style: italic;
  margin-bottom: 12px;
}

.example-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.item-chip {
  background: rgba(251, 173, 55, .15);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(251, 173, 55, .3);
}

.ai-dots {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  cursor: pointer;
  transition: var(--transition);
}

.ai-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* AI Phone */
.ai-phone {
  width: 280px;
  margin: 0 auto;
  background: #0d1428;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .1);
  border: 2px solid rgba(255, 255, 255, .1);
  overflow: hidden;
}

.ai-screen {
  padding: 24px 16px 16px;
}

.ai-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: .82rem;
  line-height: 1.5;
}

.user-bubble {
  background: var(--navy);
  color: rgba(255, 255, 255, .9);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ai-bubble {
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .1);
  border-bottom-left-radius: 4px;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-self: flex-start;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  animation: typingDot 1.4s ease infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: .2s;
}

.chat-typing span:nth-child(3) {
  animation-delay: .4s;
}

.ai-response-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}

.ai-response-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.ai-item {
  font-size: .78rem;
  color: rgba(255, 255, 255, .8);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.ai-item:last-child {
  border: none;
}

.ai-total {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(251, 173, 55, .12);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(251, 173, 55, .25);
  text-align: center;
}

/* ── HOW IT WORKS ───────────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: var(--gray-100);
}

.how-it-works .section-title {
  color: var(--navy);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(26, 47, 91, .07);
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(251, 173, 55, .3);
}

.step-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold);
  opacity: .15;
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.step-connector {
  position: absolute;
  top: 50%;
  right: -20px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  display: none;
}

/* Lender banner */
.lender-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.lender-banner .section-label {
  color: var(--teal);
}

.lender-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.lender-desc {
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.lender-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lender-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  color: rgba(255, 255, 255, .8);
}

.lender-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lender-stat-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, .07);
  border-radius: 18px;
  padding: 20px 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  min-width: 140px;
}

.stat-accent {
  background: rgba(251, 173, 55, .12);
  border-color: rgba(251, 173, 55, .3);
}

.stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: .75rem;
  color: rgba(255, 255, 255, .5);
  margin-top: 4px;
}

/* ── SUSTAINABILITY ──────────────────────────────────────── */
.sustainability {
  padding: 100px 0;
  background: var(--white);
}

.sus-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sustainability .section-label {
  color: var(--teal);
}

.sustainability .section-title {
  color: var(--navy);
  text-align: left;
}

.sus-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 36px;
}

.sus-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 36px;
}

.sus-val {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
}

.sus-label {
  font-size: .8rem;
  color: var(--gray-400);
}

.green-points-box {
  background: linear-gradient(135deg, rgba(0, 212, 170, .08), rgba(0, 212, 170, .02));
  border: 1.5px solid rgba(0, 212, 170, .25);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.gp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.gp-icon {
  font-size: 1.5rem;
}

.gp-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.gp-desc {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Earth animation */
.sus-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.earth-ring {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.earth-core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a6b4a, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 40px rgba(34, 197, 94, .3);
  animation: pulse 3s ease-in-out infinite;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
}

.ring-1 {
  width: 140px;
  height: 140px;
  border-color: rgba(0, 212, 170, .25);
  animation: spin 8s linear infinite;
}

.ring-2 {
  width: 210px;
  height: 210px;
  border-color: rgba(251, 173, 55, .2);
  animation: spin 14s linear infinite reverse;
}

.ring-3 {
  width: 290px;
  height: 290px;
  border-color: rgba(59, 130, 246, .15);
  animation: spin 20s linear infinite;
}

.orbit-dot {
  position: absolute;
  font-size: 1.4rem;
  animation: orbitItem 8s linear infinite;
  transform-origin: 0 0;
  /* will be positioned via JS */
}

.dot-1 {
  animation-duration: 8s;
  top: 0;
  left: 50%;
}

.dot-2 {
  animation-duration: 12s;
  animation-delay: -3s;
  top: 50%;
  right: 0;
}

.dot-3 {
  animation-duration: 10s;
  animation-delay: -2s;
  bottom: 0;
  left: 50%;
}

.dot-4 {
  animation-duration: 14s;
  animation-delay: -5s;
  top: 50%;
  left: 0;
}

/* ── WAITLIST / CTA ─────────────────────────────────────── */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .15;
}

.cta-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--gold);
  top: -200px;
  right: -200px;
  animation: pulse 8s ease-in-out infinite;
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--teal);
  bottom: -100px;
  left: -100px;
  animation: pulse 10s ease-in-out infinite 2s;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-block;
  background: rgba(251, 173, 55, .15);
  color: var(--gold);
  border: 1px solid rgba(251, 173, 55, .3);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: .05em;
}

.cta-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 48px;
}

.waitlist-form {
  max-width: 650px;
  margin: 0 auto 36px;
}

.form-group {
  display: flex;
  gap: 12px;
}

.form-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--body-font);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, .4);
}

.form-input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, .12);
}

.form-btn {
  flex-shrink: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

/* ── AGB CHECKBOX ── */
.form-agb {
  margin-top: 16px;
  text-align: left;
}

.agb-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

#agb-checkbox {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.agb-text {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.4;
}

.agb-text a {
  color: var(--gold);
  text-decoration: underline;
  transition: var(--transition);
}

.agb-text a:hover {
  color: var(--white);
}

.form-note {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  margin-top: 12px;
}

/* ── SUCCESS MODAL ─────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 30, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
}

.modal-card {
  position: relative;
  z-index: 10001;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  padding: 48px 44px 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  color: var(--white);
  box-shadow:
    0 8px 60px rgba(251, 173, 55, .12),
    0 0 80px rgba(0, 212, 170, .06),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: scale(0.85) translateY(30px);
  opacity: 0;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .4s ease;
}

.modal-overlay.show .modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Shimmer border glow */
.modal-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg,
      rgba(251, 173, 55, .35),
      rgba(0, 212, 170, .25),
      rgba(59, 130, 246, .2),
      rgba(251, 173, 55, .35));
  background-size: 300% 300%;
  z-index: -1;
  filter: blur(6px);
  opacity: 0.5;
  animation: shimmerBorder 4s ease infinite;
}

@keyframes shimmerBorder {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-emoji {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: emojiBounce .7s .3s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes emojiBounce {
  0% {
    transform: scale(0) rotate(-20deg);
    opacity: 0;
  }

  60% {
    transform: scale(1.2) rotate(5deg);
    opacity: 1;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--white) 30%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-body strong {
  color: var(--gold);
  font-weight: 700;
}

.modal-badge {
  display: inline-block;
  background: rgba(251, 173, 55, 0.12);
  color: var(--gold);
  border: 1px solid rgba(251, 173, 55, 0.3);
  font-size: .85rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: .03em;
}

/* Mobile modal */
@media (max-width: 600px) {
  .modal-card {
    padding: 36px 24px 32px;
    border-radius: 22px;
  }

  .modal-emoji {
    font-size: 3rem;
  }

  .modal-title {
    font-size: 1.3rem;
  }
}

.cta-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.cta-badge-item {
  transition: var(--transition);
}

.cta-badge-item:hover {
  transform: translateY(-2px);
}

.store-badge {
  height: 40px;
}

.store-note {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo {
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: .88rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, .1);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .3);
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: .18;
    transform: scale(1);
  }

  50% {
    opacity: .25;
    transform: scale(1.05);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--teal);
  }

  50% {
    opacity: .4;
    box-shadow: 0 0 3px var(--teal);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: .4;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

@keyframes typingDot {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: .4;
  }

  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

@keyframes orbitCircle {
  from {
    transform: rotate(var(--start-angle));
  }

  to {
    transform: rotate(calc(var(--start-angle) + 360deg));
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ai-visual {
    order: -1;
  }

  .lender-banner {
    grid-template-columns: 1fr;
  }

  .sus-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sus-visual {
    order: -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: 0;
  }

  .nav-logo,
  .nav-actions {
    position: relative;
    z-index: 1001;
  }

  /* Keep navbar elements visible when menu is open */
  .navbar.menu-open {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .navbar.menu-open .logo-light {
    display: block !important;
  }

  .navbar.menu-open .logo-img:not(.logo-light) {
    display: none !important;
  }

  .navbar.menu-open .hamburger span {
    background: var(--white) !important;
  }

  .navbar.menu-open .lang-link {
    color: rgba(255, 255, 255, 0.5) !important;
  }

  .navbar.menu-open .lang-link.active {
    color: var(--white) !important;
  }

  .navbar.menu-open .lang-sep {
    color: rgba(255, 255, 255, 0.2) !important;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open .nav-link {
    font-size: 1.5rem;
    color: var(--white);
  }

  .lang-switch {
    margin-right: 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .lender-banner {
    padding: 32px;
  }

  .lender-stat-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sus-stats {
    flex-direction: column;
    gap: 20px;
  }

  .form-group {
    flex-direction: column;
  }

  .form-btn {
    font-size: 0.95rem;
    /* Let it wrap if needed, or just shrink font */
    padding: 14px 16px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .float-badge {
    display: none;
  }

  .cta-badges {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}