/* Watermark Accounting - Professional Landing Page Styles */

:root {
  --primary-blue: #003D6B;
  --primary-blue-dark: #002947;
  --accent-teal: #00A9A5;
  --accent-teal-dark: #008B88;
  --bg-light: #F8F9FB;
  --bg-white: #FFFFFF;
  --text-primary: #1A1D23;
  --text-secondary: #5A6270;
  --text-muted: #8B92A0;
  --border-light: #E5E8ED;
  --border-medium: #D1D6DF;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* add space so content does not hide behind fixed header */
body {
  padding-top: 60px; /* match the new, shorter header */
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 20px; /* smaller vertical padding for a thinner bar */
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.85;
}

header img.logo {
  max-width: 170px;
  height: auto;
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-image {
  width: 140px;
  height: auto;
  flex-shrink: 0;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
}

.logo-text-primary {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
}

.logo-text-secondary {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  height: 56px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-teal);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--accent-teal-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #F8F9FB 0%, #FFFFFF 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.hero-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 4px;
}

/* Section */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.benefit-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Services Section */
#services {
  background-color: var(--bg-white);
  padding: 64px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-blue);
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.service-card li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent-teal);
  border-radius: 50%;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 12px;
}

/* Why Section */
.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: 40px; /* more space between the two points on desktop */
}

.trust-point {
  display: block;
}

.trust-point h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.trust-point p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 120px;
  font-weight: 700;
  color: var(--accent-teal);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.author-info strong {
  font-size: 16px;
  color: var(--primary-blue);
  font-weight: 600;
}

.author-info div {
  font-size: 14px;
  color: var(--text-secondary);
}

.author-badge {
  font-size: 13px;
  color: var(--text-muted);
}

/* Pricing Section */
#pricing {
  background-color: var(--bg-white);
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.pricing-card {
  background: var(--bg-light);
  border: 2px solid var(--accent-teal);
  border-radius: 8px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s ease;
  flex: 0 1 360px;
}

.pricing-card.featured {
  background: var(--bg-light);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-sm);
  transform: none;
}

.pricing-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.pricing-amount {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-blue);
}

.pricing-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  height: 56px;
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  background: var(--bg-white);
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.form-group textarea {
  height: 120px;
  padding: 16px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-item {
  display: flex;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.info-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.info-content p,
.info-content a {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-content a {
  text-decoration: none;
}

.info-content a:hover {
  color: var(--accent-teal);
}

.map-embed {
  width: 100%;
  height: 250px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-top: 12px;
}

/* Footer */
footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* SVG Icons */
.icon-svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Additional Services Section */
.additional-services {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.additional-services p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.additional-services ul {
  margin: 0 0 12px 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px 24px;
}

.additional-services li {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Additional Services strip */

.additional-services-features {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  margin-top: 40px;
}

.additional-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 260px;
  flex: 0 1 260px;
}

.additional-service-icon {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  margin-right: auto;
}

.additional-service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-teal);
}

.additional-service-item h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 8px;
  text-align: center;
}

.additional-service-item p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 260px;
  margin: 0 auto;
  text-align: center;
}

.additional-service-item:nth-child(1) {
  animation-delay: 0s;
}

.additional-service-item:nth-child(2) {
  animation-delay: 0.05s;
}

.additional-service-item:nth-child(3) {
  animation-delay: 0.1s;
}

.additional-services-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 40px;
  }

  .benefits-grid,
  .services-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .top-bar-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 4px 12px 4px 0;
    gap: 8px;
  }

  header img.logo {
    width: 120px;
    max-width: none;
    height: auto;
  }

  .logo {
    margin-right: auto;
  }

  .logo-image {
    width: 150px;
    height: auto;
  }

  .top-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .top-bar-actions .btn-outline {
    display: none;
  }

  .phone-link {
    font-size: 18px;
    white-space: nowrap;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 18px;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .section-header p {
    font-size: 16px;
  }

  .benefits-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .pricing-card {
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
  }

  .why-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* spacing for Why section on mobile */
  .trust-points {
    gap: 36px;
    padding: 0 8px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .btn {
    width: auto;
    max-width: 100%;
  }

  .top-bar .btn {
    width: auto;
    padding: 0 24px;
  }

  /* Mobile layout for Additional Services */
  .additional-services-features {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .additional-service-item {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  /* Mobile spacing improvements for trust points */
  .trust-points {
    gap: 40px;
  }

  .trust-point h3 {
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .trust-point p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .top-bar-content {
    padding: 3px 10px 3px 0;
  }

  header img.logo {
    width: 105px;
    max-width: none;
    height: auto;
  }

  .logo-image {
    width: 150px;
    height: auto;
  }

  .logo-text-container {
    display: none;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .benefit-card,
  .service-card,
  .pricing-card {
    padding: 24px 20px;
  }

  .trust-points {
    gap: 32px;
  }

  .trust-point p {
    font-size: 14px;
    line-height: 1.55;
  }
}
