/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6 !important;
  color: #1d3666 !important;
  background-color: #f0f7ff !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1 {
  font-size: 3rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
}

h2 {
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 1rem !important;
  text-align: center !important;
}

h3 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
}

h4 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
}

p {
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
}

.section-subtitle {
  font-size: 1.2rem !important;
  color: #1d3666 !important;
  opacity: 0.8 !important;
  text-align: center !important;
  margin-bottom: 3rem !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 200px;
}

.cta-button.primary {
  background-color: #fadce3;
  color: #1d3666;
}

.cta-button.primary:hover {
  background-color: #f8c8d4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 220, 227, 0.4);
}

.cta-button.secondary {
  background-color: transparent;
  color: #1d3666;
  border: 2px solid #1d3666;
}

.cta-button.secondary:hover {
  background-color: #1d3666;
  color: #f0f7ff;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.3rem !important;
  color: #1d3666 !important;
  opacity: 0.8 !important;
  margin-bottom: 2rem !important;
  line-height: 1.6 !important;
}

.hero-visual {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Billing Interface Mockup */
.billing-interface {
  background: white !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(29, 54, 102, 0.15) !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 500px !important;
}

.interface-header {
  background: #1d3666 !important;
  padding: 16px 20px !important;
}

.interface-nav {
  display: flex !important;
  gap: 20px !important;
}

.nav-item {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-item.active {
  background: rgba(250, 220, 227, 0.2);
  color: white;
}

.nav-item:hover {
  background: rgba(250, 220, 227, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.interface-content {
  padding: 30px;
  min-height: 300px;
}

/* Tab Content */
.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

/* Revenue Dashboard Content */
.revenue-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.revenue-card {
  background: #f8faff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.revenue-label {
  font-size: 0.9rem;
  color: #1d3666;
  opacity: 0.7;
  margin-bottom: 8px;
}

.revenue-amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1d3666;
  margin-bottom: 4px;
}

.revenue-change {
  font-size: 0.8rem;
  font-weight: 600;
}

.revenue-change.positive {
  color: #10b981;
}

.claims-status {
  background: #f8faff;
  padding: 20px;
  border-radius: 12px;
}

.status-header {
  font-weight: 600;
  color: #1d3666;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #1d3666;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.approved {
  background: #10b981;
}

.status-dot.pending {
  background: #f59e0b;
}

/* Claims Processing Content */
.claims-processing {
  background: #f8faff;
  padding: 20px;
  border-radius: 12px;
}

.processing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.processing-header h4 {
  color: #1d3666;
  margin: 0;
  font-size: 1rem;
}

.queue-stats {
  display: flex;
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1d3666;
}

.stat-label {
  font-size: 0.8rem;
  color: #1d3666;
  opacity: 0.7;
}

.claims-list {
  margin-bottom: 20px;
}

.claim-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(29, 54, 102, 0.1);
}

.claim-item:last-child {
  border-bottom: none;
}

.claim-info {
  flex: 1;
}

.claim-id {
  font-weight: 600;
  color: #1d3666;
  font-size: 0.9rem;
}

.claim-patient {
  font-size: 0.8rem;
  color: #1d3666;
  opacity: 0.7;
  margin: 2px 0;
}

.claim-amount {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d3666;
}

.claim-status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.claim-status.processing {
  background: #fef3c7;
  color: #92400e;
}

.claim-status.ready {
  background: #d1fae5;
  color: #065f46;
}

.claim-status.review {
  background: #fecaca;
  color: #991b1b;
}

.automation-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #d1fae5;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #065f46;
}

.automation-icon {
  color: #10b981;
}

/* Reports Content */
.reports-dashboard {
  background: #f8faff;
  padding: 20px;
  border-radius: 12px;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.report-header h4 {
  color: #1d3666;
  margin: 0;
  font-size: 1rem;
}

.report-period {
  font-size: 0.8rem;
  color: #1d3666;
  opacity: 0.7;
  background: white;
  padding: 4px 8px;
  border-radius: 4px;
}

.report-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.metric-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.metric-label {
  font-size: 0.8rem;
  color: #1d3666;
  opacity: 0.7;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1d3666;
  margin-bottom: 2px;
}

.metric-trend {
  font-size: 0.7rem;
  font-weight: 600;
}

.metric-trend.positive {
  color: #10b981;
}

.report-chart {
  background: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.chart-header {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d3666;
  margin-bottom: 15px;
}

.chart-visual {
  height: 80px;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 60px;
  margin-bottom: 8px;
}

.chart-bar {
  flex: 1;
  background: #fadce3;
  border-radius: 2px 2px 0 0;
  min-height: 20%;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #1d3666;
  opacity: 0.7;
}

.report-actions {
  display: flex;
  gap: 10px;
}

.report-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  background: white;
  color: #1d3666;
  border: 1px solid rgba(29, 54, 102, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.report-btn:hover {
  background: #fadce3;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background: #f8faff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(29, 54, 102, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(29, 54, 102, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: #fadce3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #1d3666;
}

.feature-card h3 {
  margin-bottom: 16px;
  color: #1d3666;
}

.feature-card p {
  color: #1d3666;
  opacity: 0.8;
  line-height: 1.6;
}

/* Related Products Section */
.related-products-simple {
  padding: 80px 0;
  background: #f8faff;
}

.simple-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.simple-product-card {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(29, 54, 102, 0.1);
}

.simple-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(29, 54, 102, 0.1);
}

.simple-product-icon {
  width: 60px;
  height: 60px;
  background: #fadce3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #1d3666;
}

.simple-product-card h4 {
  margin-bottom: 12px;
  color: #1d3666;
  font-size: 1.2rem;
}

.simple-product-card p {
  color: #1d3666;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.simple-product-btn {
  padding: 10px 20px;
  background-color: #1d3666;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.simple-product-btn:hover {
  background-color: #2a4a7a;
  transform: translateY(-2px);
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: #fadce3;
}

.benefits-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.benefits h2 {
  text-align: left;
  margin-bottom: 40px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  background: #1d3666;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 4px;
}

.benefit-item h4 {
  margin-bottom: 8px;
  color: #1d3666;
}

.benefit-item p {
  color: #1d3666;
  opacity: 0.8;
  margin: 0;
}

.benefits-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat-box {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(29, 54, 102, 0.1);
}

.stat-box .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d3666;
  margin-bottom: 8px;
}

.stat-box .stat-label {
  font-size: 1rem;
  color: #1d3666;
  opacity: 0.7;
}

/* Enterprise Security Section */
.enterprise-security {
  padding: 100px 0;
  background: white;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.security-card {
  background: #f8faff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(29, 54, 102, 0.1);
}

.security-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(29, 54, 102, 0.1);
}

.security-icon {
  width: 80px;
  height: 80px;
  background: #fadce3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #1d3666;
}

.security-card h3 {
  margin-bottom: 16px;
  color: #1d3666;
}

.security-card p {
  color: #1d3666;
  opacity: 0.8;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1d3666 0%, #2a4a7a 100%);
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .cta-button.primary {
  background-color: #fadce3;
  color: #1d3666;
}

.cta-section .cta-button.secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-section .cta-button.secondary:hover {
  background-color: white;
  color: #1d3666;
}

/* SEO Content Section */
.seo-content {
  padding: 100px 0;
  background: white;
}

.faq-container {
  max-width: 800px;
  margin: 60px auto 0;
}

.faq-item {
  background: #f8faff;
  border: 1px solid rgba(29, 54, 102, 0.1);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(29, 54, 102, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8faff;
}

.faq-question:hover {
  background: #f0f4ff;
}

.faq-item.active .faq-question {
  background: #fadce3;
  border-bottom: 1px solid rgba(29, 54, 102, 0.1);
}

.faq-question h3 {
  color: #1d3666 !important;
  margin: 0 !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  flex: 1;
  padding-right: 20px !important;
}

.faq-icon {
  color: #1d3666 !important;
  transition: transform 0.3s ease !important;
  flex-shrink: 0;
}

.faq-icon svg {
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.faq-answer p {
  padding: 24px 30px;
  margin: 0;
  color: #1d3666;
  opacity: 0.8;
  line-height: 1.7;
  font-size: 1.05rem;
}

.faq-item.active .faq-answer {
  border-top: 1px solid rgba(29, 54, 102, 0.1);
}

/* Implementation Process Section */
.implementation-process {
  padding: 100px 0;
  background: #f8faff;
}

.process-timeline {
  max-width: 900px;
  margin: 60px auto 80px;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fadce3;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #1d3666;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step-content {
  margin-left: 40px;
  flex: 1;
}

.step-content h3 {
  color: #1d3666;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.step-content p {
  color: #1d3666;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 12px;
}

.step-duration {
  color: #1d3666;
  font-weight: 600;
  font-size: 0.9rem;
  background: #fadce3;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
}

.implementation-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.highlight-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(29, 54, 102, 0.1);
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  background: #fadce3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #1d3666;
}

.highlight-card h4 {
  color: #1d3666;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.highlight-card p {
  color: #1d3666;
  opacity: 0.8;
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .features,
  .benefits,
  .enterprise-security,
  .implementation-process,
  .cta-section,
  .seo-content,
  .related-products-simple {
    padding: 60px 0;
  }

  .features-grid,
  .security-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .benefits-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .benefits-stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .stat-box {
    flex: 1;
    margin: 0 10px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .interface-nav {
    gap: 10px;
  }

  .nav-item {
    font-size: 0.8rem;
    padding: 6px 8px;
  }

  .revenue-overview {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .report-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .queue-stats {
    gap: 15px;
  }

  .integration-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 14px 24px;
    font-size: 1rem;
    min-width: 180px;
  }

  .feature-card,
  .security-card {
    padding: 30px 20px;
  }

  .benefits-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-box {
    margin: 0;
  }

  .interface-content {
    padding: 20px;
  }

  .interface-nav {
    gap: 5px;
  }

  .nav-item {
    font-size: 0.75rem;
    padding: 4px 6px;
  }

  .processing-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .report-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .report-actions {
    flex-direction: column;
    gap: 8px;
  }

  .report-btn {
    width: 100%;
  }
}

/* Responsive for simple products */
@media (max-width: 768px) {
  .related-products-simple {
    padding: 60px 0;
  }

  .simple-products-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .simple-product-card {
    padding: 25px 20px;
  }
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-question {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 1.1rem;
    padding-right: 15px;
  }

  .faq-answer p {
    padding: 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 16px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 16px;
  }
}

/* Responsive Implementation Process */
@media (max-width: 768px) {
  .process-timeline::before {
    left: 20px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .step-content {
    margin-left: 30px;
  }

  .step-content h3 {
    font-size: 1.2rem;
  }

  .implementation-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .highlight-card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .process-timeline::before {
    left: 15px;
  }

  .step-number {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .step-content {
    margin-left: 20px;
  }

  .step-content h3 {
    font-size: 1.1rem;
  }

  .step-duration {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus States for Accessibility */
.cta-button:focus,
.nav-item:focus,
.report-btn:focus,
.simple-product-btn:focus,
.integration-button:focus {
  outline: 2px solid #fadce3;
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .feature-card,
  .security-card,
  .faq-item,
  .highlight-card,
  .simple-product-card {
    border: 2px solid #1d3666;
  }
}
