/* Accounting & Finance Page Styles */

/* Hero */
.hero-section {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  padding: 120px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="%23ffffff" opacity="0.1"/></svg>');
  animation: af-float 20s infinite linear;
}
@keyframes af-float { 0% { transform: translateX(-100px);} 100% { transform: translateX(100px);} }
.hero-content { position: relative; z-index: 2; }
.hero-title { font-size: 48px; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.hero-subtitle { font-size: 20px; color: #cbd5e1; margin-bottom: 30px; line-height: 1.6; }
.hero-bullets { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.hero-bullet { display: flex; align-items: center; color: #94a3b8; }
.hero-bullet i { color: #10b981; margin-right: 10px; font-size: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 15px; }

/* Glass card (hero form) */
.af-glass-card {
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.af-glass-card h3 { color: #fff; margin-bottom: 30px; text-align: center; font-size: 24px; font-weight: 600; }

/* Form */
.af-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  outline: none;
}
.af-input::placeholder { color: #e2e8f0; opacity: .9; }
.af-input:focus { border-color: rgba(59,130,246,0.8); background: rgba(255,255,255,0.25); }
.af-submit {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 18px 20px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(16,185,129,0.3);
}
.af-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16,185,129,0.35); }
.af-sr-only { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }

/* Sections */
.af-section-light { background: #f8fafc; padding: 80px 0; }
.af-section-white { background: #fff; padding: 80px 0; }
.af-section-slate { background: #f1f5f9; padding: 80px 0; }
.cta-section { background: linear-gradient(135deg, #1e293b 0%, #475569 100%); padding: 80px 0; color: #fff; text-align: center; margin: 0; }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 36px; font-weight: 700; color: #1e293b; margin-bottom: 20px; }
.section-title p { font-size: 18px; color: #64748b; }

/* Services grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px,1fr)); gap: 30px; margin: 50px 0; }
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: all .3s ease;
  border: 1px solid #e2e8f0;
  height: 100%;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.icon-box { width: 60px; height: 60px; border-radius: 12px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #fff; font-size: 24px; }
.service-card h3 { font-size: 22px; font-weight: 700; color: #1e293b; margin-bottom: 15px; }
.service-card p { color: #64748b; margin-bottom: 20px; line-height: 1.6; }
.service-card ul { color: #64748b; padding-left: 20px; margin: 0; }

/* Process */
.process-step { display: flex; align-items: flex-start; margin-bottom: 30px; padding: 25px; background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.step-number { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; margin-right: 20px; flex-shrink: 0; }
.process-step h3 { font-size: 20px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.process-step p { color: #64748b; margin: 0; line-height: 1.6; }

/* Benefits */
.benefit-card { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); border-radius: 12px; padding: 25px; text-align: center; border: 2px solid #cbd5e1; transition: all .3s ease; }
.benefit-card:hover { border-color: #3b82f6; box-shadow: 0 8px 25px rgba(59,130,246,0.15); }

/* Pricing */
.pricing-card { background: #fff; border-radius: 16px; padding: 30px; margin-bottom: 30px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); border: 2px solid #e2e8f0; text-align: center; position: relative; transition: all .3s ease; }
.pricing-card.featured { border-color: #3b82f6; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.pricing-ribbon { position: absolute; top: 15px; right: -10px; background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; padding: 5px 15px; font-size: 12px; font-weight: 600; border-radius: 20px; text-transform: uppercase; }
.pricing-card h3 { font-size: 24px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.pricing-price { margin-bottom: 20px; }
.pricing-price .amount { font-size: 36px; font-weight: 700; color: #3b82f6; }
.pricing-price .period { color: #64748b; }
.pricing-card p { color: #64748b; margin-bottom: 30px; }
.pricing-card ul { list-style: none; padding: 0; margin-bottom: 30px; }
.pricing-card ul li { padding: 8px 0; color: #64748b; }
.pricing-card ul li i { color: #10b981; margin-right: 10px; }

/* Buttons */
.btn-modern { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 600; display: inline-block; margin: 10px; transition: all .3s ease; border: none; box-shadow: 0 4px 15px rgba(59,130,246,0.3); }
.btn-modern:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59,130,246,0.4); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid #60a5fa; color: #60a5fa; }

/* Testimonials */
.testimonial-card { background: #fff; border-radius: 12px; padding: 25px; margin: 20px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border-left: 4px solid #3b82f6; }

/* FAQ cards */
.faq-card { background: #fff; border-radius: 12px; padding: 30px; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.faq-card h4 { color: #1e293b; margin-bottom: 15px; }
.faq-card p { color: #64748b; margin: 0; }

/* Custom dropdown (from database-management) */
.custom-dropdown-db { position: relative; width: 100%; }
.dropdown-selected-db { width: 100%; padding: 16px 20px; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; transition: all 0.3s ease; min-height: 20px; box-sizing: border-box; }
.dropdown-selected-db:hover { border-color: rgba(96,165,250,0.8); background: rgba(255,255,255,0.25); }
.dropdown-selected-db:focus { outline: none; border-color: rgba(96,165,250,0.8); background: rgba(255,255,255,0.25); }
.selected-text-db { color: #ffffff; font-size: 16px; font-weight: 500; }
.dropdown-arrow-db { color: #6b7280; font-size: 12px; transition: transform 0.3s ease, color 0.3s ease; margin-left: 8px; }
.custom-dropdown-db.open .dropdown-arrow-db { transform: rotate(180deg); color: #60a5fa; }
.dropdown-options-db { position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.95); border: 2px solid rgba(255,255,255,0.3); border-top: none; border-radius: 0 0 12px 12px; max-height: 200px; overflow-y: auto; z-index: 1000; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.custom-dropdown-db.open .dropdown-options-db { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-option-db { padding: 12px 20px; cursor: pointer; color: #1a202c; font-size: 16px; transition: background-color 0.2s ease, color 0.2s ease; border-bottom: 1px solid rgba(0,0,0,0.1); }
.dropdown-option-db:hover { background-color: rgba(96, 165, 250, 0.1); color: #1a202c; }
.dropdown-option-db.selected { background-color: rgba(96, 165, 250, 0.2); color: #1a202c; font-weight: 600; }

/* CTA section tweaks */
.cta-section h2 { font-size: 36px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.cta-section p { font-size: 18px; color: #cbd5e1; margin-bottom: 40px; }

/* Utilities */
section:last-child { margin-bottom: 0 !important; }
/* spacing utilities */
.m-0 { margin: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-25 { margin-bottom: 25px !important; }
.mb-40 { margin-bottom: 40px !important; }
.pl-18 { padding-left: 18px !important; }
.mr-10 { margin-right: 10px !important; }
.mb-10 { margin-bottom: 10px !important; }
.text-center { text-align: center !important; }
.text-primary-600 { color: #3b82f6 !important; }
.text-muted-600 { color: #64748b !important; }
/* extra spacing utility */
.mb-50 { margin-bottom: 50px !important; }

/* Small heading utility used in benefits */
.h4-sm { font-size: 18px; font-weight: 600; }

/* Metric heading size */
.h4-metric { font-size: 24px; font-weight: 700; margin-bottom: 5px; }

/* Author line under testimonial */
.testimonial-card .author { font-weight: 600; color: #1e293b; }

/* Section title helpers */
.section-title-text { font-size: 36px; font-weight: 700; color: #1e293b; margin-bottom: 20px; }
.section-subtitle { font-size: 18px; color: #64748b; margin-bottom: 60px; }

/* Right metrics card in benefits */
.benefits-right-card { background: #ffffff; border-radius: 16px; padding: 40px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
