/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1E293B;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #F8FAFC;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}
.lang-option {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}
.lang-option:hover {
  background: #E2E8F0;
}
.lang-option.active {
  color: #2563EB;
  background: #EFF6FF;
}
.lang-separator {
  color: #CBD5E1;
  font-size: 12px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: #2563EB;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #1D4ED8; }

.btn-login {
  color: #1E293B;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}
.btn-login:hover { background: #F1F5F9; }

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: #1E293B;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  transition: border-color 0.2s;
}
.btn-demo:hover { border-color: #2563EB; }
.demo-icon {
  width: 32px; height: 32px;
  background: #2563EB;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #F1F5F9;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: #1E293B;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  flex: 1;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: #475569;
  transition: color 0.2s;
}
.nav-links a:hover { color: #2563EB; }
.chevron { font-size: 12px; }
.nav-actions {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F4FF 50%, #EEF2FF 100%);
  padding: 60px 0 70px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-left { flex: 1; max-width: 520px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1px solid #BFDBFE;
  color: #2563EB;
  font-size: 12px; font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #0F172A;
  margin-bottom: 18px;
}
.hero-title-blue { color: #2563EB; }
.hero-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 440px;
}
.hero-btns {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.hero-cta { font-size: 15px; padding: 12px 26px; }
.hero-tags {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.hero-tags span {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: #64748B; font-weight: 500;
}

/* ===== DASHBOARD CARD ===== */
.hero-right { flex: 1; max-width: 420px; }
.dashboard-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(37,99,235,0.10), 0 2px 8px rgba(0,0,0,0.06);
  padding: 22px 24px 18px;
}
.dash-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.dash-title { font-size: 16px; font-weight: 700; color: #0F172A; }
.dash-date { font-size: 13px; color: #64748B; cursor: pointer; }
.dash-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.stat-item {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 12px 10px;
}
.stat-label { font-size: 11px; color: #64748B; margin-bottom: 4px; font-weight: 500; }
.stat-label.risk { color: #EF4444; }
.stat-value { font-size: 15px; font-weight: 700; color: #0F172A; margin-bottom: 4px; }
.stat-value.risk { font-size: 22px; color: #0F172A; }
.stat-change { font-size: 11px; font-weight: 600; }
.stat-change.up { color: #10B981; }
.stat-link { font-size: 11px; color: #EF4444; font-weight: 600; cursor: pointer; }
.chart-section {}
.chart-title-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.chart-label { font-size: 13px; font-weight: 600; color: #0F172A; }
.chart-legend {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: #64748B;
}
.legend-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 3px;
}
.legend-dot.income { background: #2563EB; }
.legend-dot.expenses { background: #10B981; }
.legend-dot.netcf { background: #94A3B8; }
.chart-area { width: 100%; }

/* ===== CAPABILITIES ===== */
.capabilities {
  padding: 70px 0;
  background: #fff;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 40px;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cap-card {
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
  min-height: 320px;
}
.cap-card:hover { box-shadow: 0 6px 24px rgba(37,99,235,0.08); }
.cap-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.cap-title-wrap {
  display: flex; flex-direction: column;
}
.cap-subtitle {
  font-size: 13px; font-weight: 500; color: #64748B;
}
.cap-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cap-icon.blue { background: #EFF6FF; }
.cap-icon.green { background: #ECFDF5; }
.cap-icon.purple { background: #F5F3FF; }
.cap-content {
  position: relative;
}
.cap-content h3 {
  font-size: 15px; font-weight: 700; color: #0F172A;
  line-height: 1.4;
}
.cap-content h3 span { font-weight: 500; color: #64748B; }
.cap-content p { font-size: 13px; color: #64748B; margin-bottom: 14px; }
.cap-list-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.cap-content ul li {
  font-size: 13px; color: #475569;
  padding: 3px 0;
  padding-left: 18px;
  position: relative;
}
.cap-content ul li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #2563EB; font-weight: 700; font-size: 12px;
}
.cap-chart-mini {
  position: absolute;
  right: 16px;
  bottom: 16px;
}
.cap-chart-mini img {
  width: 120px;
  height: auto;
  object-fit: contain;
}
.cap-lines-mini {
  position: absolute; right: 16px; bottom: 16px;
}
.cap-lines-mini img {
  width: 120px;
  height: auto;
  object-fit: contain;
}
.mini-line {
  height: 6px; border-radius: 3px;
  background: #E2E8F0; width: 60px;
}
.mini-line.short { width: 40px; }
.mini-line.medium { width: 50px; }
.cap-invoice-mini {
  position: absolute; right: 16px; bottom: 16px;
}
.cap-invoice-mini img {
  width: 160px;
  height: auto;
  object-fit: contain;
}
.invoice-mini-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 14px;
  min-width: 110px;
}
.inv-num { font-size: 10px; color: #64748B; margin-bottom: 4px; }
.inv-amount { font-size: 14px; font-weight: 700; color: #0F172A; margin-bottom: 6px; }
.inv-badge {
  display: inline-block;
  background: #DCFCE7; color: #16A34A;
  font-size: 10px; font-weight: 600;
  padding: 2px 8px; border-radius: 10px;
}

/* ===== TRUSTED ===== */
.trusted {
  padding: 50px 0;
  background: #F8FAFC;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
  overflow: hidden;
}
.industry-carousel {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 16px;
  animation: scroll 35s linear infinite;
  width: max-content;
}
.carousel-track:not(.carousel-track-reverse):not(:first-child) {
  margin-top: 16px;
}
.carousel-track:hover {
  animation-play-state: paused;
}
.industry-item {
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
  transition: all 0.2s;
}
.industry-item:hover {
  border-color: #2563EB;
  color: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scroll-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.carousel-track-reverse {
  animation: scroll-reverse 40s linear infinite;
  margin-top: 16px;
}
.carousel-track-reverse:hover {
  animation-play-state: paused;
}

/* ===== STEPS ===== */
.steps {
  padding: 70px 0;
  background: #fff;
}
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step-item {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 0 20px;
}
.step-icon {
  width: 72px; height: 72px;
  background: #EFF6FF;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}
.step-item h4 { font-size: 14px; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.step-item p { font-size: 13px; color: #64748B; line-height: 1.6; }
.step-arrow {
  color: #CBD5E1;
  font-size: 14px;
  letter-spacing: 2px;
  padding-top: 32px;
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  padding: 24px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-inner p { font-size: 13px; color: #94A3B8; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: #64748B; transition: color 0.2s; }
.footer-links a:hover { color: #2563EB; }

/* ===== LOGIN PAGE ===== */
.login-page {
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.login-navbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid #F1F5F9;
  background: #fff;
}
.lang-switcher {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: #475569; cursor: pointer;
  border: 1px solid #E2E8F0;
  padding: 6px 14px; border-radius: 8px;
}
.login-main {
  flex: 1;
  display: flex;
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F4FF 60%, #EEF2FF 100%);
}
.login-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F4FF 60%, #EEF2FF 100%);
}
.login-left::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
}
.login-left::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 50%;
}
.login-left .bg-pattern {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.5;
}
.login-welcome-text {
  text-align: left;
  margin-bottom: 16px;
  padding-left: 40px;
}
.login-welcome-text h3 {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 16px;
}
.login-welcome-text p {
  font-size: 15px;
  color: #64748B;
  max-width: 380px;
  line-height: 1.6;
}
.login-illustration {
  width: 100%;
  max-width: 460px;
  position: relative;
  margin-bottom: 48px;
}
.login-illustration img {
  width: 100%;
  height: auto;
  display: block;
}
/* Phone mockup wrapper */
.phone-mockup-wrap {
  position: relative;
  width: 380px;
  height: 420px;
  margin: 0 auto;
}
/* Phone mockup */
.phone-mockup {
  width: 200px;
  height: 380px;
  background: #1E293B;
  border-radius: 32px;
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}
.phone-screen {
  width: 180px;
  height: 355px;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  gap: 8px;
}
.phone-bar {
  height: 5px; border-radius: 3px;
  background: #E2E8F0;
}
.phone-bar.blue { background: #2563EB; width: 60%; }
.phone-bar.short { width: 40%; }
.phone-chart-mini {
  flex: 1;
  background: #F8FAFC;
  border-radius: 8px;
  display: flex; align-items: flex-end;
  padding: 10px 8px 6px;
  gap: 5px;
}
.phone-bar-chart {
  flex: 1; border-radius: 4px 4px 0 0;
  background: #BFDBFE;
}
.phone-bar-chart.tall { height: 65%; background: #2563EB; }
.phone-bar-chart.medium { height: 42%; }
.phone-bar-chart.short-bar { height: 26%; }
/* WhatsApp bubble */
.wa-bubble {
  position: absolute;
  left: 10px; top: 60px;
  width: 64px; height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 5;
}
/* File cards floating */
.file-cards {
  position: absolute;
  right: 0; top: 30px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 5;
}
.file-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  display: flex; align-items: center; gap: 10px;
  min-width: 168px;
}
.file-icon {
  width: 32px; height: 32px;
  background: #EFF6FF;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.file-info .file-name { font-size: 12px; font-weight: 600; color: #0F172A; }
.file-info .file-status { font-size: 11px; color: #10B981; }
/* Robot */
.robot-wrap {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
}
.robot-body {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #fff 0%, #EFF6FF 100%);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 6px 24px rgba(37,99,235,0.18);
  display: flex; align-items: center; justify-content: center;
}
.robot-face {
  width: 48px; height: 48px;
  background: #1E293B;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.robot-eyes { display: flex; gap: 10px; }
.robot-eye {
  width: 9px; height: 9px;
  background: #60A5FA;
  border-radius: 50%;
}
.robot-mouth {
  width: 18px; height: 4px;
  background: #60A5FA;
  border-radius: 2px;
}
/* Feature icons row */
.login-features {
  display: flex; gap: 40px;
  justify-content: center;
}
.login-feature {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.login-feature-icon {
  width: 52px; height: 52px;
  background: #2563EB;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.login-feature-title { font-size: 13px; font-weight: 700; color: #0F172A; }
.login-feature-desc { font-size: 12px; color: #64748B; max-width: 110px; }

/* ===== LOGIN FORM ===== */
.login-right {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 48px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.04);
}
.login-right form {
  width: 100%;
  max-width: 320px;
}
.login-welcome { font-size: 28px; font-weight: 800; color: #0F172A; margin-bottom: 8px; }
.login-sub { font-size: 14px; color: #64748B; margin-bottom: 36px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 8px; }
.form-input-wrap {
  display: flex; align-items: center;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}
.form-input-wrap:focus-within { border-color: #2563EB; }
.input-icon {
  width: 44px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: #94A3B8;
  flex-shrink: 0;
}
.form-input-wrap input {
  flex: 1;
  height: 48px;
  border: none; outline: none;
  font-size: 14px; color: #1E293B;
  background: transparent;
  font-family: 'Inter', sans-serif;
}
.form-input-wrap input::placeholder { color: #CBD5E1; }
.input-suffix {
  width: 44px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: #94A3B8; cursor: pointer;
}
/* Captcha row */
.captcha-row {
  display: flex; gap: 12px; align-items: stretch;
}
.captcha-row .form-input-wrap { flex: 1; }
.captcha-image {
  width: 100px; height: 48px;
  background: #F1F5F9;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  letter-spacing: 4px;
  color: #475569;
  font-family: 'Courier New', monospace;
  user-select: none;
  cursor: pointer;
  flex-shrink: 0;
}
.btn-login-submit {
  width: 100%;
  height: 50px;
  background: #16A34A;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 8px;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}
.btn-login-submit:hover { background: #15803D; }
.login-footer {
  border-top: 1px solid #F1F5F9;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.login-footer p { font-size: 12px; color: #94A3B8; }
.login-footer-links { display: flex; gap: 20px; }
.login-footer-links a { font-size: 12px; color: #64748B; }
.login-footer-links a:hover { color: #2563EB; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-right { max-width: 100%; width: 100%; }
  .cap-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 10px 0; }
  .login-left { display: none; }
  .login-right { width: 100%; padding: 40px 24px; }
}
