/* Accounting Apps 2026 Specific Styles */

/* Hero Section */
.accounting-hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
}

/* Methodology Grid */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.methodology-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-top: 4px solid #2c5f96;
}

.methodology-icon {
  width: 70px;
  height: 70px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #2c5f96;
  font-size: 28px;
}

.methodology-card h3 {
  color: #2c5f96;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.methodology-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.methodology-card li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
  color: #555;
}

.methodology-card li:last-child {
  border-bottom: none;
}

/* App Cards */
.app-card {
  background: white;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border-left: 5px solid #2c5f96;
  position: relative;
}

.app-rank {
  position: absolute;
  top: 20px;
  left: -15px;
  background: #2c5f96;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(44, 95, 150, 0.3);
  z-index: 2;
}

.app-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.app-logo i {
  font-size: 2.5rem;
  color: #2c5f96;
  background: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.app-logo h3 {
  margin: 0;
  font-size: 1.8rem;
  color: #1e293b;
}

.app-subtitle {
  display: block;
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 5px;
  font-weight: 500;
}

.app-score {
  text-align: right;
}

.score {
  font-size: 2rem;
  font-weight: 700;
  color: #2c5f96;
  display: block;
}

.stars {
  color: #fbbf24;
  margin-top: 5px;
}

.app-content {
  padding: 30px;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e2e8f0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: #f8fafc;
  border-radius: 8px;
}

.feature i {
  color: #10b981;
  font-size: 1.1rem;
}

.app-details h4 {
  color: #1e293b;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.app-details p {
  line-height: 1.7;
  color: #475569;
  margin-bottom: 20px;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 25px 0;
}

.pros, .cons {
  padding: 20px;
  border-radius: 8px;
}

.pros {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.cons {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.pros h5, .cons h5 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 15px;
}

.pros h5 {
  color: #059669;
}

.cons h5 {
  color: #dc2626;
}

.pros ul, .cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros li, .cons li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}

.pros li:last-child, .cons li:last-child {
  border-bottom: none;
}

.compliance-badge {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.compliance-badge i {
  color: #3b82f6;
  font-size: 1.5rem;
}

.compliance-badge span {
  font-weight: 500;
  color: #1e40af;
}

/* Remaining Apps Summary */
.remaining-apps {
  background: #f8fafc;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  border-left: 4px solid #2c5f96;
}

.apps-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.summary-app-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  border-top: 3px solid #2c5f96;
}

.summary-rank {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #2c5f96;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.summary-app-card h4 {
  margin: 10px 0 5px;
  color: #1e293b;
  font-size: 1.1rem;
}

.summary-app-card p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #64748b;
}

.note {
  font-style: italic;
  color: #64748b;
  margin-top: 20px;
  font-size: 0.9rem;
}

.note a {
  color: #2c5f96;
  font-weight: 500;
}

/* Comparison Table */
.comparison-table-container {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.comparison-table th {
  background: #2c5f96;
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.comparison-table td {
  padding: 15px;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}

.comparison-table tr:nth-child(even) {
  background: #f8fafc;
}

.comparison-table tr:hover {
  background: #f1f5f9;
}

.success {
  color: #10b981;
}

.warning {
  color: #f59e0b;
}

.info {
  color: #3b82f6;
}

.table-note {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 10px;
  font-style: italic;
}

/* Checklist */
.checklist-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.checklist-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #2c5f96;
}

.checklist-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 20px;
  color: #2c5f96;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checklist-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #2c5f96;
}

.checklist-item label {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
  cursor: pointer;
}

.checklist-cta {
  background: #f0f7ff;
  border-radius: 10px;
  padding: 25px;
  margin-top: 30px;
  border-left: 4px solid #2c5f96;
}

.checklist-cta p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Implementation Steps */
.implementation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.step {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  border-top: 4px solid #2c5f96;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 25px;
  background: #2c5f96;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.step-content h3 {
  margin-top: 10px;
  margin-bottom: 15px;
  color: #1e293b;
  font-size: 1.2rem;
}

.step-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-content li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #475569;
}

.step-content li:last-child {
  border-bottom: none;
}

.warning-box {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 10px;
  padding: 25px;
  margin-top: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.warning-box i {
  color: #d97706;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.warning-box h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #92400e;
}

.warning-box p {
  margin: 0;
  color: #78350f;
  line-height: 1.6;
}

/* Recommendations */
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.recommendation-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-top: 4px solid #2c5f96;
  transition: transform 0.3s ease;
}

.recommendation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.rec-icon {
  width: 70px;
  height: 70px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #2c5f96;
  font-size: 28px;
}

.recommendation-card h3 {
  color: #1e293b;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.recommendation-card p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.rec-budget {
  background: #f0f7ff;
  color: #2c5f96;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 10px;
}

/* Disclaimer Section */
.disclaimer-section {
  background: #fef2f2;
  border-radius: 10px;
  padding: 30px;
  border-left: 4px solid #dc2626;
}

.disclaimer-content p {
  line-height: 1.7;
  color: #475569;
}

.disclaimer-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.disclaimer-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Sidebar Quiz */
.software-quiz {
  background: #f8fafc;
  border-radius: 8px;
  padding: 20px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.quiz-option:hover {
  background: #f0f7ff;
}

.quiz-option input[type="radio"] {
  accent-color: #2c5f96;
}

.quiz-submit {
  width: 100%;
  padding: 12px;
  background: #2c5f96;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.quiz-submit:hover {
  background: #1e4a7e;
}

.quiz-result {
  margin-top: 15px;
  padding: 15px;
  background: white;
  border-radius: 6px;
  display: none;
}

.quiz-result.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Print Button */
.print-article-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #2c5f96;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin: 20px 0;
  transition: background 0.3s;
}

.print-article-btn:hover {
  background: #1e4a7e;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .pros-cons {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .app-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .app-logo {
    flex-direction: column;
    text-align: center;
  }
  
  .apps-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .recommendation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .methodology-grid {
    grid-template-columns: 1fr;
  }
  
  .app-features {
    grid-template-columns: 1fr;
  }
  
  .checklist-container {
    grid-template-columns: 1fr;
  }
  
  .implementation-steps {
    grid-template-columns: 1fr;
  }
  
  .apps-summary-grid {
    grid-template-columns: 1fr;
  }
  
  .recommendation-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .app-rank {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    left: -12px;
    top: 15px;
  }
  
  .app-logo i {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .app-logo h3 {
    font-size: 1.5rem;
  }
  
  .score {
    font-size: 1.7rem;
  }
  
  .warning-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .app-card,
  .methodology-card,
  .checklist-card,
  .step,
  .recommendation-card,
  .summary-app-card {
    background: #1e293b;
    color: #cbd5e1;
  }
  
  .app-header {
    background: #0f172a;
  }
  
  .app-logo h3,
  .app-details h4,
  .checklist-card h3,
  .step-content h3,
  .recommendation-card h3,
  .summary-app-card h4 {
    color: #e2e8f0;
  }
  
  .feature {
    background: #0f172a;
  }
  
  .pros {
    background: #064e3b;
    border-color: #047857;
  }
  
  .cons {
    background: #7f1d1d;
    border-color: #b91c1c;
  }
  
  .compliance-badge {
    background: #1e3a8a;
    border-color: #3b82f6;
  }
  
  .disclaimer-section {
    background: #7f1d1d;
  }
}