/* Base */
:root {
  --bg-hero-start: #f1f5ff;
  --bg-hero-end: #ffffff;
  --primary: #2563eb;
}

* {
  box-sizing: border-box
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: #0f172a;
  background: #fff;
}

/* Navbar */
.navbar {
  padding: .85rem 0;
  backdrop-filter: saturate(1.4) blur(6px);
}

/* Ensure anchored sections account for sticky navbar */
section[id] {
  scroll-margin-top: 90px;
}

.navbar .navbar-brand {
  font-weight: 800;
  letter-spacing: .2px;
}

.logo-icon {
  width: 26px;
  height: 26px;
  background: linear-gradient(180deg, #2b5fff, #96b5ff);
  display: inline-block;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .35);
}

/* Hero */
.hero {
  position: relative;
  padding: 48px 0 0 0;
  background: radial-gradient(1200px 600px at 50% -180px, #e3e9ff, transparent 60%), linear-gradient(180deg, var(--bg-hero-start), var(--bg-hero-end) 65%);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.hero .badge {
  font-weight: 600
}

.fw-extrabold {
  font-weight: 900
}

.hero .btn-lg {
  font-weight: 600
}

.hero .check {
  width: 16px;
  height: 16px;
  border: 2px solid #c7d2fe;
  border-radius: 50%;
  display: inline-block;
  margin-right: .4rem;
  position: relative;
  top: 3px;
}

.hero .check::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  font-size: 12px;
  line-height: 1;
  color: #4f46e5;
  font-weight: 800
}

.hero-checks {
  opacity: .9
}

/* App mock */
.app-shot {
  border-radius: 22px;
  margin-top: 1rem;
  position: relative;
}

.app-topbar {
  background: #f8fafc;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.app-topbar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  display: inline-block
}

.placeholder-line {
  height: 12px;
  background: linear-gradient(90deg, #eff3ff, #f7f7ff);
  border-radius: 999px
}

.progress-track .track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #94a3b8, #cbd5e1)
}

.mini-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06)
}

/* Floating bubbles */
.bubble {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #4f46e5;
  box-shadow: 0 14px 30px rgba(2, 6, 23, .15);
  font-weight: 800;
  color: #fff;
}

.bubble-left {
  left: -36px;
  top: 14%;
  transform: rotate(-12deg);
  opacity: 0.8;
}

.bubble-right {
  right: -36px;
  top: 14%;
  color: #fff;
  width: 140px;
  height: 140px;
  opacity: 0.8;
  transform: rotate(12deg);
}

/* Fade below screenshot */
.hero-gradient-fade {
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 90%);
  margin-top: -70px;
}

/* Logos row */
.logo-row .logo-badge {
  padding: .6rem 1rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  color: #64748b;
  box-shadow: 0 4px 10px rgba(2, 6, 23, .04);
}

/* Cards */
.tax-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
}

.icon-doc {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: linear-gradient(180deg, #f6f8ff, #ffffff);
  box-shadow: 0 6px 18px rgba(37, 99, 235, .06);
}

.howitworks {
  background: linear-gradient(180deg, #fbfbff, #ffffff)
}

.step-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06)
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: #a5b4fc
}

/* Buttons + accents */
.btn-primary {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .25);
}

.btn-outline-secondary {
  border: 1px solid #cbd5e1
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .hero {
    padding-bottom: 4rem
  }

  .bubble-left,
  .bubble-right {
    display: none
  }

  .display-5 {
    font-size: 2rem
  }

  .display-6 {
    font-size: 1.8rem
  }
}