@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --emerald: #00D09C;
  --emerald-dim: rgba(0,208,156,0.12);
  --emerald-glow: rgba(0,208,156,0.25);
  --navy: #0A1220;
  --navy2: #0D1A2E;
  --card: #111827;
  --card2: #162032;
  --border: rgba(255,255,255,0.07);
  --silver: #A9B1C3;
  --white: #FFFFFF;
  --gold: #D97706;
  --profit: #16A34A;
  --loss: #DC2626;
  --blue: #2563EB;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 40px rgba(0,208,156,0.15);
  --font-main: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: cubic-bezier(0.16,1,0.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--emerald-dim); border-radius: 99px; }

/* ── HEADER / NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 70px;
  background: rgba(10,18,32,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 250ms var(--transition);
}
#navbar.scrolled { background: rgba(10,18,32,0.97); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text .leca { font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: 2px; }
.nav-logo-text .capital { font-size: 9px; font-weight: 500; color: var(--emerald); letter-spacing: 3px; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 7px 14px; border-radius: var(--radius-sm);
  color: var(--silver); font-size: 13.5px; font-weight: 500;
  text-decoration: none; transition: all 200ms;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switcher { display: flex; gap: 4px; background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); padding: 3px; }
.lang-btn {
  padding: 4px 10px; border-radius: 4px; border: none;
  background: transparent; color: var(--silver); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 150ms;
}
.lang-btn.active { background: var(--emerald); color: var(--navy); }
.btn-login {
  padding: 8px 18px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: transparent;
  color: var(--white); font-size: 13.5px; font-weight: 500;
  cursor: pointer; text-decoration: none; transition: all 200ms;
}
.btn-login:hover { background: rgba(255,255,255,0.08); }
.btn-cta {
  padding: 8px 20px; border-radius: var(--radius-md);
  background: var(--emerald); color: var(--navy);
  font-size: 13.5px; font-weight: 700; cursor: pointer;
  text-decoration: none; border: none; transition: all 200ms;
}
.btn-cta:hover { background: #00bfad; transform: translateY(-1px); box-shadow: 0 6px 20px var(--emerald-glow); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 250ms; }

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none; position: fixed; inset: 70px 0 0 0; z-index: 99;
  background: rgba(10,18,32,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 40px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 22px; font-weight: 600; color: var(--white);
  text-decoration: none; padding: 10px 30px; border-radius: var(--radius-md);
  width: 100%; text-align: center; transition: all 200ms;
}
.mobile-menu a:hover { background: var(--emerald-dim); color: var(--emerald); }
.mobile-menu .lang-switcher { margin-top: 20px; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding: 120px 80px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0,208,156,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 40% 80% at 0% 50%, rgba(37,99,235,0.05) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 99px;
  border: 1px solid rgba(0,208,156,0.3);
  background: rgba(0,208,156,0.08);
  color: var(--emerald); font-size: 11px; font-weight: 600; letter-spacing: 2px;
  margin-bottom: 28px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

.hero-title { font-size: clamp(36px,5vw,62px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.hero-title .accent { color: var(--emerald); }

.hero-desc { font-size: 16px; color: var(--silver); line-height: 1.75; max-width: 480px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 28px; border-radius: var(--radius-md);
  background: var(--emerald); color: var(--navy);
  font-size: 15px; font-weight: 700; cursor: pointer;
  text-decoration: none; border: none; transition: all 250ms var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--emerald-glow); background: #00bfad; }
.btn-secondary {
  padding: 14px 28px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06); color: var(--white);
  font-size: 15px; font-weight: 500; cursor: pointer;
  text-decoration: none; border: 1px solid var(--border);
  transition: all 250ms; display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ── DASHBOARD CARD ── */
.hero-visual { position: relative; z-index: 1; }
.dashboard-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dash-label { font-size: 12px; color: var(--silver); font-weight: 500; }
.dash-value { font-size: 34px; font-weight: 800; font-family: var(--font-mono); letter-spacing: -1px; margin-bottom: 6px; }
.dash-change { display: inline-flex; align-items: center; gap: 4px; color: var(--profit); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.chart-area { height: 120px; position: relative; margin-bottom: 20px; overflow: hidden; border-radius: var(--radius-md); }
.chart-area canvas { width: 100% !important; height: 100% !important; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dash-stat { padding: 14px; background: rgba(255,255,255,0.04); border-radius: var(--radius-md); border: 1px solid var(--border); }
.dash-stat label { font-size: 11px; color: var(--silver); display: block; margin-bottom: 6px; }
.dash-stat .val { font-size: 22px; font-weight: 700; font-family: var(--font-mono); }
.dash-stat .val.pos { color: var(--profit); }
.dash-stat .val.neg { color: var(--loss); }
.alloc-list { display: flex; flex-direction: column; gap: 6px; }
.alloc-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.alloc-dot { width: 8px; height: 8px; border-radius: 50%; }
.alloc-pct { font-family: var(--font-mono); font-weight: 600; }

/* ── PILLARS STRIP ── */
.pillars-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.pillar-item {
  background: var(--navy2); padding: 28px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: background 250ms;
}
.pillar-item:hover { background: var(--card); }
.pillar-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--emerald-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--emerald); }
.pillar-title { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--emerald); margin-bottom: 3px; }
.pillar-desc { font-size: 13px; color: var(--silver); }

/* ── SECTIONS ── */
section { padding: 100px 80px; }
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--emerald); text-transform: uppercase; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--emerald); border-radius: 2px; }
.section-title { font-size: clamp(28px,3.5vw,44px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--silver); line-height: 1.7; max-width: 600px; }

/* ── HOW IT WORKS ── */
#how-it-works { background: var(--navy2); text-align: center; }
#how-it-works .section-eyebrow { justify-content: center; }
#how-it-works .section-desc { margin: 0 auto 64px; }
.steps-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; }
.steps-row::before {
  content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  z-index: 0;
}
.step-item { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--card); border: 2px solid var(--emerald);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald); transition: all 300ms;
}
.step-item:hover .step-num { background: var(--emerald); color: var(--navy); transform: scale(1.1); box-shadow: 0 0 30px var(--emerald-glow); }
.step-badge {
  position: absolute; top: 0; right: calc(50% - 42px);
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--emerald); color: var(--navy);
  font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--silver); line-height: 1.6; }

/* ── PERFORMANCE ── */
#performance { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: center; }
.perf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  transition: all 300ms; position: relative; overflow: hidden;
}
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--emerald); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--transition); }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-label { font-size: 12px; color: var(--silver); margin-bottom: 10px; font-weight: 500; }
.stat-value { font-size: 32px; font-weight: 800; font-family: var(--font-mono); margin-bottom: 6px; }
.stat-value.pos { color: var(--profit); }
.stat-value.neg { color: var(--loss); }
.stat-mini-chart { height: 40px; }
.perf-note { font-size: 11.5px; color: var(--silver); margin-top: 20px; opacity: 0.7; line-height: 1.6; }
.perf-chart-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; }
.perf-chart-box h3 { font-size: 15px; font-weight: 600; margin-bottom: 20px; color: var(--silver); }
.perf-chart-box canvas { width: 100% !important; }

/* ── TRUST ── */
#trust { background: var(--navy2); }
.trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.trust-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-badge {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  transition: all 250ms;
}
.trust-badge:hover { border-color: rgba(0,208,156,0.3); transform: translateY(-4px); }
.trust-badge-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--emerald-dim); display: flex; align-items: center; justify-content: center; color: var(--emerald); }
.trust-badge h4 { font-size: 12px; color: var(--silver); font-weight: 500; }
.trust-badge p { font-size: 15px; font-weight: 700; }

/* ── WHY LECA ── */
#why { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  transition: all 300ms;
}
.why-card:hover { border-color: rgba(0,208,156,0.25); background: var(--card2); transform: translateY(-3px); }
.why-card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--emerald-dim); display: flex; align-items: center; justify-content: center; color: var(--emerald); margin-bottom: 14px; }
.why-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--silver); line-height: 1.65; }

/* ── CTA BANNER ── */
#cta-banner {
  background: linear-gradient(135deg, var(--card) 0%, var(--card2) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: 80px;
  position: relative; overflow: hidden;
}
#cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(0,208,156,0.1) 0%, transparent 70%);
}
#cta-banner .inner { position: relative; z-index: 1; }
#cta-banner h2 { font-size: clamp(24px,3vw,40px); font-weight: 800; max-width: 640px; margin: 0 auto 16px; }
#cta-banner p { color: var(--silver); margin-bottom: 40px; font-size: 16px; }
#cta-banner .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--card); border-top: 1px solid var(--border);
  padding: 64px 80px 32px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--silver); line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--silver); text-decoration: none; transition: all 200ms;
}
.social-link:hover { background: var(--emerald-dim); color: var(--emerald); border-color: rgba(0,208,156,0.3); }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--emerald); margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13.5px; color: var(--silver); text-decoration: none; transition: color 150ms; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.footer-disclaimer { font-size: 11.5px; color: var(--silver); opacity: 0.6; max-width: 600px; line-height: 1.6; }
.footer-copy { font-size: 12px; color: var(--silver); opacity: 0.5; white-space: nowrap; }

/* ── FADE-IN ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 600ms var(--transition), transform 600ms var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  #hero { grid-template-columns: 1fr; padding: 100px 40px 60px; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  #performance { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  #why { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  section { padding: 64px 24px; }
  #hero { padding: 90px 24px 48px; }
  #cta-banner { padding: 60px 24px; }
  footer { padding: 48px 24px 24px; }
  #navbar { padding: 0 20px; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .pillars-strip { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 32px; }
  .steps-row::before { display: none; }
  .perf-stats { grid-template-columns: 1fr 1fr; }
  .trust-badges { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .pillars-strip { grid-template-columns: 1fr; }
  .perf-stats { grid-template-columns: 1fr; }
  .trust-badges { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}
