/* ================================
   GLOBAL
================================ */
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  color: #111827;
}

p {
  margin: 0;
  color: #4b5563;
}

a {
  text-decoration: none;
}

/* ================================
   NAVBAR
================================ */
.nav {
  max-width: 1200px;
  margin: auto;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111827;
}

.logo span {
  color: #4f46e5; /* FlowBill accent color */
}

.nav-btn {
  padding: 10px 18px;
  background: #4f46e5;
  color: white;
  border-radius: 8px;
  font-size: 15px;
  transition: background 0.2s ease;
}

.nav-btn:hover {
  background: #4338ca;
}

/* ================================
   HERO SECTION
================================ */
.hero {
  padding: 80px 20px 100px;
  text-align: center;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.hero-content {
  max-width: 700px;
  margin: auto;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.subtext {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 26px;
  background: #4f46e5;
  color: white;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background: #4338ca;
  transform: translateY(-2px);
}

/* HERO LAYOUT WITH MOCKUP */
.hero-layout {
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-mockup {
  display: flex;
  justify-content: center;
}

.mockup-window {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #f3f4f6;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot.red { background: #f97373; }
.dot.yellow { background: #facc15; }
.dot.green { background: #4ade80; }

.mockup-body {
  display: grid;
  grid-template-columns: 90px 1fr;
  min-height: 220px;
}

.mockup-sidebar {
  background: #0f172a;
}

.mockup-content {
  padding: 16px 18px;
  background: #ffffff;
}

.mockup-line {
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  margin-bottom: 10px;
  width: 70%;
}

.mockup-line.wide {
  width: 90%;
  margin-bottom: 14px;
}

.mockup-table {
  margin-top: 16px;
  height: 90px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

/* RESPONSIVE HERO */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-mockup {
    order: -1;
  }
}

/* ================================
   FEATURES SECTION
================================ */
.features {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.features h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* ================================
   HOW IT WORKS
================================ */
.how {
  padding: 80px 20px;
  background: #f9fafb;
  text-align: center;
}

.how h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.steps {
  max-width: 800px;
  margin: auto;
  display: grid;
  gap: 30px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.step-number {
  background: #4f46e5;
  color: white;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ================================
   FOOTER
================================ */
.footer {
  padding: 30px 20px;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.footer p {
  color: #6b7280;
  font-size: 14px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 32px;
  }

  .subtext {
    font-size: 16px;
  }

  .cta-btn {
    font-size: 16px;
    padding: 12px 22px;
  }
}
