/* ===== SMBInvoicing Landing Pages — Blue Theme ===== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #e8f0fe;
  line-height: 1.6;
  background: #0a1628;
}

a { color: #60a5fa; text-decoration: none; }
a:hover { color: #93c5fd; }

img { max-width: 100%; display: block; }

/* ===== Header / Nav ===== */

.site-header {
  background: #0d1f3c;
  border-bottom: 1px solid #1a3a6a;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-logo span { color: #60a5fa; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav-links .btn-nav {
  background: #2563eb;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-links .btn-nav:hover { background: #1d4ed8; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0d1f3c;
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid #1a3a6a;
  }
  .nav-links.open { display: flex; }
}

/* ===== Hero ===== */

.hero {
  background: linear-gradient(135deg, #0f2847 0%, #1a3a6a 50%, #1e40af 100%);
  padding: 5rem 2rem;
  text-align: center;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.3);
  border: 1px solid #2563eb;
  color: #93c5fd;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: #60a5fa;
}

.hero p {
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero { padding: 3rem 1.5rem; }
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #60a5fa;
  border: 2px solid #2563eb;
}

.btn-secondary:hover {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ===== Sections ===== */

.section {
  padding: 5rem 2rem;
}

.section-dark {
  background: #0a1628;
}

.section-mid {
  background: #0d1f3c;
}

.section-gradient {
  background: linear-gradient(180deg, #0d1f3c 0%, #0a1628 100%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: #94a3b8;
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .section { padding: 3rem 1.5rem; }
  .section-header h2 { font-size: 1.75rem; }
}

/* ===== Feature Cards ===== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: #111d35;
  border: 1px solid #1a3a6a;
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: #2563eb;
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #94a3b8;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ===== Pain Points / Benefits Two-Column ===== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.two-col-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.two-col-text p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
}

.check-list li {
  padding: 0.5rem 0;
  color: #cbd5e1;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-list li::before {
  content: "\2713";
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== Pricing ===== */

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: #111d35;
  border: 1px solid #1a3a6a;
  border-radius: 12px;
  padding: 2.5rem;
  min-width: 280px;
  flex: 1;
  max-width: 400px;
  text-align: center;
}

.pricing-card.featured {
  border-color: #2563eb;
  position: relative;
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 1rem 0;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #94a3b8;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-card ul li {
  padding: 0.4rem 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

.pricing-card ul li::before {
  content: "\2713";
  color: #22c55e;
  margin-right: 0.5rem;
  font-weight: 700;
}

/* ===== Testimonial / Quote ===== */

.testimonial-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-block blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: #cbd5e1;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-block cite {
  color: #60a5fa;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
}

/* ===== CTA Section ===== */

.cta-section {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #bfdbfe;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background: #fff;
  color: #1e40af;
}

.cta-section .btn-primary:hover {
  background: #e0e7ff;
  color: #1e40af;
}

/* ===== Industry Page Specific ===== */

.industry-problems {
  max-width: 800px;
  margin: 0 auto;
}

.problem-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #1a3a6a;
  align-items: flex-start;
}

.problem-item:last-child { border-bottom: none; }

.problem-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.problem-item h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.problem-item p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ===== How It Works ===== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step-card p {
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ===== Industries Grid (homepage) ===== */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.industry-link {
  display: block;
  background: #111d35;
  border: 1px solid #1a3a6a;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.industry-link:hover {
  border-color: #2563eb;
  transform: translateY(-2px);
}

.industry-link .industry-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.industry-link h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.industry-link p {
  color: #94a3b8;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .industries-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .industries-grid { grid-template-columns: 1fr; }
}

/* ===== Industry Inquiry Modal ===== */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  background: #111d35;
  border: 1px solid #1a3a6a;
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover { color: #fff; }

.modal-card h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-card > p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.modal-field {
  margin-bottom: 1rem;
}

.modal-field label {
  display: block;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.modal-field input,
.modal-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #1a3a6a;
  border-radius: 6px;
  background: #0a1628;
  color: #e8f0fe;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.modal-field input:focus,
.modal-field textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.modal-card .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.inquiry-status {
  font-size: 0.9rem;
  min-height: 1.25rem;
  margin-top: 0.5rem;
}

.inquiry-success { color: #22c55e; }
.inquiry-error { color: #ef4444; }

@media (max-width: 480px) {
  .modal-card { padding: 1.5rem; }
}

/* ===== Footer ===== */

.site-footer {
  background: #070e1a;
  border-top: 1px solid #1a3a6a;
  padding: 3rem 2rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li { margin-bottom: 0.4rem; }

.footer-col ul li a {
  color: #64748b;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #93c5fd; }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #1a3a6a;
  text-align: center;
  color: #475569;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-content { grid-template-columns: 1fr; }
}
