/* Expense Pulse – Custom styles for static marketing site */
:root {
  --ep-primary: #0d9488;
  --ep-primary-dark: #0f766e;
  --ep-primary-light: #14b8a6;
  --ep-accent: #0891b2;
  --ep-bg: #f8fafc;
  --ep-card-bg: #ffffff;
  --ep-text: #1e293b;
  --ep-text-muted: #64748b;
  --ep-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --ep-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --ep-radius: 0.75rem;
  --ep-radius-lg: 1rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ep-text);
  background-color: var(--ep-bg);
  line-height: 1.6;
}

/* Sticky header */
.navbar {
  background: var(--ep-card-bg) !important;
  box-shadow: var(--ep-shadow);
  padding: 0.75rem 0;
}
.navbar-brand {
  font-weight: 700;
  color: var(--ep-primary-dark) !important;
  font-size: 1.25rem;
}
.navbar-brand img {
  border-radius: 12px;
  object-fit: cover;
}
.nav-link {
  color: var(--ep-text) !important;
  font-weight: 500;
  padding: 0.5rem 0.75rem !important;
  border-radius: var(--ep-radius);
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover {
  color: var(--ep-primary) !important;
  background: rgba(13, 148, 136, 0.08);
}
.btn-app-store {
  background: linear-gradient(180deg, var(--ep-primary) 0%, var(--ep-primary-dark) 100%);
  color: #fff !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--ep-radius);
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-app-store:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--ep-shadow-lg);
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 1) 0%, rgba(241, 245, 249, 1) 100%);
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ep-text);
  line-height: 1.2;
}
.hero .lead {
  color: var(--ep-text-muted);
  font-size: 1.1rem;
}
.hero-cta .btn {
  border-radius: var(--ep-radius);
  font-weight: 600;
  padding: 0.6rem 1.25rem;
}
.hero-mockup {
  background: linear-gradient(145deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: 1.5rem;
  aspect-ratio: 9/19;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ep-text-muted);
  font-size: 0.9rem;
  box-shadow: var(--ep-shadow-lg);
}
.hero-mockup-img {
  overflow: hidden;
  padding: 0;
}
.hero-mockup-img-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1.5rem;
}

/* Sections */
section {
  padding: 3.5rem 0;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ep-text);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--ep-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Feature cards */
.feature-card {
  background: var(--ep-card-bg);
  border-radius: var(--ep-radius-lg);
  padding: 1.5rem;
  height: 100%;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ep-shadow-lg);
}
.feature-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--ep-radius);
  background: linear-gradient(135deg, var(--ep-primary-light) 0%, var(--ep-primary) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ep-text);
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--ep-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* How it works */
.step-card {
  text-align: center;
  padding: 1.25rem;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ep-primary);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.step-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ep-text);
}

/* Screenshot section */
.screenshot-wrap {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--ep-shadow);
  aspect-ratio: 9/19;
  background: #e2e8f0;
}
.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Why choose */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.why-list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--ep-text);
}
.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ep-primary);
  font-weight: 700;
}

/* FAQ accordion */
.accordion-button {
  font-weight: 600;
  color: var(--ep-text);
  background: var(--ep-card-bg) !important;
  border: 1px solid #e2e8f0;
}
.accordion-button:not(.collapsed) {
  color: var(--ep-primary-dark);
  box-shadow: none;
  border-bottom-color: transparent;
}
.accordion-body {
  color: var(--ep-text-muted);
  border: 1px solid #e2e8f0;
  border-top: none;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-primary-dark) 100%);
  color: #fff;
  padding: 3.5rem 0;
  border-radius: var(--ep-radius-lg);
}
.cta-section h2 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.cta-section p {
  opacity: 0.95;
  margin-bottom: 1.5rem;
}
.cta-section .btn-light {
  font-weight: 600;
  border-radius: var(--ep-radius);
  padding: 0.6rem 1.5rem;
}

/* Footer */
.footer {
  background: var(--ep-text);
  color: #94a3b8;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
.footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: #fff;
}
.footer-brand {
  color: #fff !important;
  font-weight: 700;
}
.footer-copy {
  font-size: 0.875rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #334155;
}

/* Page headers (FAQ, Privacy, Contact) */
.page-header {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 1) 0%, transparent 100%);
}
.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ep-text);
}

/* Contact form */
.form-control, .form-select {
  border-radius: var(--ep-radius);
  border: 1px solid #e2e8f0;
  padding: 0.6rem 0.9rem;
}
.form-control:focus {
  border-color: var(--ep-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.btn-primary {
  background: var(--ep-primary);
  border-color: var(--ep-primary);
  border-radius: var(--ep-radius);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
}
.btn-primary:hover {
  background: var(--ep-primary-dark);
  border-color: var(--ep-primary-dark);
}

/* Privacy policy content */
.privacy-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ep-text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.privacy-content p, .privacy-content ul {
  color: var(--ep-text-muted);
  margin-bottom: 1rem;
}
.privacy-content ul {
  padding-left: 1.5rem;
}

/* Utility */
.text-primary-custom {
  color: var(--ep-primary) !important;
}
