/* Finoforce Homepage — Premium Landing */

.home-nav .nav-cta {
  padding: 9px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--accent-grad);
  color: #fff;
  margin-left: 8px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-nav .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.35);
  color: #fff;
}

.home-nav .nav-inner { gap: 20px; }
.home-nav .nav-links { flex: 1; justify-content: center; min-width: 0; }
.home-nav .logo {
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(300px, 62vw);
  line-height: 0;
}
.home-nav .logo-img {
  width: clamp(240px, 14vw, 300px);
  max-width: 100%;
  max-height: 70px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}

/* ——— HERO ——— */
.home-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 0;
  box-sizing: border-box;
}

.home-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(99, 102, 241, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 30% at 60% 10%, rgba(212, 168, 83, 0.06), transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: center;
}

.home-hero-copy { max-width: 560px; }

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid rgba(56, 189, 248, 0.18);
  margin-bottom: 28px;
}

.home-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.home-hero h1 {
  font-size: clamp(2.75rem, 5.8vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.home-hero h1 .line-muted {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.55em;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.home-hero h1 .line-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
  max-width: 480px;
}

.home-hero-hindi {
  font-size: 0.88rem;
  color: var(--gold-light);
  opacity: 0.9;
  margin-bottom: 32px;
  font-style: italic;
  padding-left: 16px;
  border-left: 2px solid rgba(212, 168, 83, 0.4);
}

.home-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 0.95rem;
  border-radius: 12px;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost svg { opacity: 0.7; }

.home-trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.home-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-trust-item strong {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.home-trust-item span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero visual stack */
.home-hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.home-hero-main-img {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(59, 130, 246, 0.08);
}

.home-hero-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-main-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(7, 11, 20, 0.7) 100%);
}

.home-float-card {
  position: absolute;
  z-index: 3;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(12, 18, 32, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  animation: float-card 5s ease-in-out infinite;
}

.home-float-card:nth-child(2) { animation-delay: -1.5s; }
.home-float-card:nth-child(3) { animation-delay: -3s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.home-float-card.top-right {
  top: 24px;
  right: -20px;
  min-width: 180px;
}

.home-float-card.bottom-left {
  bottom: 48px;
  left: -24px;
  min-width: 200px;
}

.home-float-card.mid-right {
  top: 45%;
  right: -32px;
  padding: 12px 16px;
}

.float-label {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.float-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.float-value.gold { color: var(--gold-light); }

.float-trend {
  font-size: 0.75rem;
  color: #4ade80;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.home-float-card .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  margin-right: 6px;
  animation: pulse-dot 1.5s infinite;
}

/* Stats ribbon */
.home-stats-ribbon {
  position: relative;
  z-index: 3;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  background: rgba(12, 18, 32, 0.6);
  backdrop-filter: blur(12px);
}

.home-stats-ribbon .container {
  padding: 0;
  max-width: 1140px;
}

.home-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.home-stat-cell {
  background: var(--bg2);
  padding: 28px 24px;
  text-align: center;
  transition: background 0.2s;
}

.home-stat-cell:hover { background: rgba(255, 255, 255, 0.03); }

.home-stat-cell .stat-num {
  font-size: 2rem;
  margin-bottom: 6px;
}

/* Logo strip */
.home-logos {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.home-logos p {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.45;
}

.logo-strip span {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.gradient,
.section-title .gradient {
  background: linear-gradient(135deg, #fff 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bento grid */
.home-bento {
  padding: 100px 0;
  background: var(--bg);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 48px;
}

.bento-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  color: inherit;
  text-decoration: none;
}

.bento-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.bento-card.span-7 { grid-column: span 7; }
.bento-card.span-5 { grid-column: span 5; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-8 { grid-column: span 8; }

.bento-card.has-img {
  padding: 0;
  min-height: 280px;
}

.bento-card.has-img .bento-img {
  position: absolute;
  inset: 0;
}

.bento-card.has-img .bento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bento-card.has-img:hover .bento-img img { transform: scale(1.04); }

.bento-card.has-img .bento-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 11, 20, 0.92) 100%);
}

.bento-card.has-img .bento-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.bento-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Sora', sans-serif;
}

.bento-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 400px;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.2s;
}

.bento-card:hover .bento-link { gap: 10px; }

/* Showcase split */
.home-showcase {
  padding: 100px 0;
  background: var(--bg2);
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.showcase-visual {
  position: relative;
}

.showcase-img-main {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.showcase-img-main {
  aspect-ratio: 16 / 10;
}

.showcase-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 45%;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--bg2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.showcase-img-accent img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.showcase-features {
  list-style: none;
  margin-top: 28px;
}

.showcase-features li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.showcase-features li:last-child { border-bottom: none; }

.showcase-features .feat-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.showcase-features strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

/* How it works */
.home-process {
  padding: 100px 0;
  background: var(--bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  z-index: 0;
}

.process-card {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg2);
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.process-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.process-num {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.process-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-family: 'Sora', sans-serif;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Ecosystem gallery */
.home-ecosystem {
  padding: 100px 0;
  background: var(--bg2);
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.eco-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  display: block;
  color: inherit;
  text-decoration: none;
}

.eco-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.eco-card:hover img { transform: scale(1.06); }

.eco-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 20, 0.85) 100%);
  transition: opacity 0.3s;
}

.eco-card:hover::after {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, rgba(7, 11, 20, 0.9) 100%);
}

.eco-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
}

.eco-card h3 {
  font-size: 0.95rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}

.eco-card p {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Quote block */
.home-quote {
  padding: 100px 0;
  background: var(--bg);
  text-align: center;
}

.home-quote blockquote {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
}

.home-quote blockquote .highlight {
  color: var(--text);
  font-weight: 600;
}

.home-quote cite {
  display: block;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--cyan);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Premium CTA */
.home-cta {
  position: relative;
  margin: 0 24px 80px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.home-cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.home-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.75) 50%, rgba(59, 130, 246, 0.15) 100%);
}

.home-cta-inner {
  position: relative;
  z-index: 2;
  padding: 80px 48px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.home-cta h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.home-cta p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 1100px) {
  .home-nav .nav-cta { display: none; }

  .home-nav .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 12px;
    right: 12px;
    z-index: 1001;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 12px;
    margin: 0;
    background: rgba(7, 11, 20, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-height: calc(100vh - var(--nav-h) - 16px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }

  .home-nav .nav-links.open { display: flex; }

  .home-nav .nav-links li { width: 100%; list-style: none; }

  .home-nav .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    white-space: normal;
  }

  .home-nav .menu-toggle { display: flex; }

  .home-nav {
    padding: 10px 0;
  }

  .home-nav.scrolled {
    padding: 8px 0;
  }

  .home-nav .nav-inner {
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .home-nav .logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(240px, calc(100vw - 70px));
  }

  .home-nav .logo-img {
    width: clamp(210px, 56vw, 240px);
    max-width: 100%;
    max-height: 90px;
    height: auto;
  }
}

@media (max-width: 1024px) {
  .home-hero-grid,
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }

  .home-hero-visual {
    max-width: 460px;
    aspect-ratio: 4 / 3;
  }

  .home-float-card.top-right { right: 0; }
  .home-float-card.bottom-left { left: 0; }
  .home-float-card.mid-right { right: 0; }

  .bento-card.span-7,
  .bento-card.span-5,
  .bento-card.span-4,
  .bento-card.span-8 { grid-column: span 12; }

  .home-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-img-accent { display: none; }

  .home-bento,
  .home-showcase,
  .home-process,
  .home-ecosystem,
  .home-quote { padding: 72px 0; }
}

@media (max-width: 768px) {
  :root { --nav-h: 108px; }

  .home-hero {
    min-height: auto;
    justify-content: flex-start;
    padding: calc(var(--nav-h) + 32px) 0 48px;
  }

  .home-eyebrow {
    margin-bottom: 20px;
  }

  .home-nav {
    padding: 10px 0;
  }

  .home-nav.scrolled {
    padding: 8px 0;
  }

  .home-nav .logo {
    max-width: min(220px, calc(100vw - 64px));
  }

  .home-nav .logo-img {
    width: clamp(190px, 54vw, 220px);
    max-width: 100%;
    max-height: 82px;
  }

  .home-hero-visual {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
  .home-float-card { display: none; }
  .home-stats-inner { grid-template-columns: 1fr 1fr; }
  .home-stat-cell { padding: 20px 16px; }
  .home-stat-cell .stat-num { font-size: 1.65rem; }
  .home-cta { margin: 0 16px 48px; }
  .home-cta-inner { padding: 48px 20px; }
  .home-trust-row { gap: 16px; }
  .home-hero-hindi {
    font-size: 0.82rem;
    padding-left: 12px;
  }
  .home-stats-ribbon { margin-top: 40px; }

  .bento-grid { gap: 12px; }
  .bento-card { padding: 24px 20px; min-height: auto; }
  .bento-card.has-img { min-height: 220px; }

  .eco-grid { grid-template-columns: 1fr; }

  .home-bento,
  .home-showcase,
  .home-process,
  .home-ecosystem,
  .home-quote { padding: 56px 0; }

  .logo-strip { gap: 24px 32px; }
  .logo-strip span { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  :root { --nav-h: 100px; }

  .home-nav {
    padding: 10px 0;
  }

  .home-nav .logo {
    max-width: min(200px, calc(100vw - 58px));
  }

  .home-nav .logo-img {
    width: clamp(170px, 52vw, 200px);
    max-width: 100%;
    max-height: 76px;
  }

  .home-hero {
    padding: calc(var(--nav-h) + 28px) 0 40px;
  }

  .home-eyebrow {
    margin-bottom: 16px;
    font-size: 0.64rem;
    padding: 7px 12px 7px 10px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .home-hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .home-hero-lead { font-size: 0.95rem; }

  .home-stats-inner { grid-template-columns: 1fr; }
  .home-hero-actions { flex-direction: column; }
  .home-hero-actions .btn,
  .home-hero-actions .btn-ghost { width: 100%; justify-content: center; }

  .home-trust-row {
    flex-direction: column;
    gap: 12px;
  }

  .home-cta { margin: 0 12px 40px; border-radius: 16px; }
  .home-cta-inner { padding: 40px 16px; }
  .home-cta .cta-btns { flex-direction: column; }
  .home-cta .cta-btns .btn { width: 100%; }

  .showcase-features li {
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }

  .home-bento,
  .home-showcase,
  .home-process,
  .home-ecosystem,
  .home-quote { padding: 48px 0; }

  .home-logos { padding: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-float-card { animation: none; }
  .home-eyebrow-dot { animation: none; }
}
