/* AI Accounting Article Styles */
:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --accent: #e74c3c;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --success: #27ae60;
  --warning: #f39c12;
  --text: #333;
  --text-light: #777;
  --border: #ddd;
  --bg-light: #f9f9f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 40px;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--secondary);
}

.cta-nav {
  background: var(--secondary);
  color: white !important;
  padding: 8px 15px;
  border-radius: 4px;
}

.lang-switch {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 4px;
  padding: 10px 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 8px 15px;
  color: var(--dark);
  text-decoration: none;
}

.dropdown-content a:hover {
  background: var(--light);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.ai-accounting-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 0;
}

.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.breadcrumb span {
  color: white;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-category {
  background: rgba(255,255,255,0.2);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-family: 'Montserrat', sans-serif;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin: 15px 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.article-tags {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.tag {
  background: rgba(255,255,255,0.2);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* Article Content */
.article-content {
  padding: 60px 0;
}

.content-wrapper {
  display: flex;
  gap: 40px;
}

.main-content {
  flex: 2;
}

.sidebar {
  flex: 1;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--dark);
}

.executive-summary {
  background: var(--bg-light);
  border-left: 4px solid var(--secondary);
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 0 4px 4px 0;
}

.executive-summary h3 {
  color: var(--secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-nav {
  margin-bottom: 40px;
}

.quick-nav h3 {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.nav-card {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--dark);
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.nav-card i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 10px;
  display: block;
}

.content-section {
  margin-bottom: 60px;
}

.content-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.context-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.context-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.context-card:hover {
  transform: translateY(-5px);
}

.context-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.context-icon i {
  font-size: 1.5rem;
  color: var(--secondary);
}

.context-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.compliance-requirements {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}

.compliance-requirements h3 {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--success);
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.application-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.application-card:hover {
  transform: translateY(-5px);
}

.app-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.app-icon i {
  font-size: 1.5rem;
  color: var(--secondary);
}

.application-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.application-card ul {
  margin-top: 15px;
  padding-left: 20px;
}

.application-card li {
  margin-bottom: 5px;
}

.uae-specific-tips {
  margin: 40px 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tip-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tip-item i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 15px;
  display: block;
}

.tip-item h4 {
  margin-bottom: 10px;
  color: var(--primary);
}

.auditing-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.comparison {
  padding: 25px;
  border-radius: 8px;
}

.comparison.traditional {
  background: #ffe6e6;
  border: 1px solid #ffcccc;
}

.comparison.ai-enabled {
  background: #e6ffe6;
  border: 1px solid #ccffcc;
}

.comparison h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.comparison ul {
  list-style: none;
}

.comparison li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison.traditional i {
  color: var(--accent);
}

.comparison.ai-enabled i {
  color: var(--success);
}

.audit-applications {
  margin: 40px 0;
}

.applications-list {
  margin-top: 20px;
}

.app-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.app-item h4 {
  margin-bottom: 10px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-item i {
  color: var(--secondary);
}

.tax-applications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.tax-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tax-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.tax-icon i {
  font-size: 1.5rem;
  color: var(--secondary);
}

.tax-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.progress-bar {
  height: 25px;
  background: var(--light);
  border-radius: 15px;
  margin: 15px 0;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--secondary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
}

.progress-bar span {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  z-index: 1;
}

.tax-compliance {
  margin: 40px 0;
}

.checklist {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.checklist-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-item input {
  margin-right: 15px;
}

.roadmap {
  margin: 30px 0;
}

.roadmap-phase {
  position: relative;
  padding-left: 80px;
  margin-bottom: 30px;
}

.phase-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.phase-number {
  position: absolute;
  left: 0;
  width: 60px;
  height: 60px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.phase-header h3 {
  margin: 0;
  color: var(--primary);
}

.phase-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.phase-content ul {
  padding-left: 20px;
}

.phase-content li {
  margin-bottom: 5px;
}

.implementation-tips {
  margin: 40px 0;
}

.success-factors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.factor {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.factor i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 15px;
  display: block;
}

.factor h4 {
  margin-bottom: 10px;
  color: var(--primary);
}

.case-studies {
  margin: 30px 0;
}

.case-study {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.case-header {
  padding: 20px;
  background: var(--bg-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.case-tag {
  background: var(--secondary);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
}

.case-content {
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.case-details .detail {
  margin-bottom: 15px;
}

.detail .label {
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 5px;
}

.case-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 15px;
  background: var(--bg-light);
  border-radius: 8px;
}

.stat .number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat .label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.tool-category {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tool-category h3 {
  margin-bottom: 15px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-category ul {
  padding-left: 20px;
}

.tool-category li {
  margin-bottom: 8px;
}

.conclusion {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
}

.key-takeaways {
  margin: 30px 0;
}

.key-takeaways ul {
  padding-left: 20px;
}

.key-takeaways li {
  margin-bottom: 15px;
}

.next-steps {
  margin: 30px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.step {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: bold;
}

.cta-box {
  background: var(--primary);
  color: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 30px;
}

.cta-box h3 {
  color: white;
  margin-bottom: 15px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.btn-primary, .btn-secondary {
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--secondary);
  color: white;
}

.btn-primary:hover {
  background: #2980b9;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
}

/* Sidebar Styles */
.sidebar-widget {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.sidebar-widget h3 {
  margin-bottom: 15px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-links {
  list-style: none;
}

.download-links li {
  margin-bottom: 10px;
}

.download-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  transition: color 0.3s;
}

.download-links a:hover {
  color: var(--secondary);
}

.download-links i {
  color: var(--accent);
}

.event-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.event-item:last-child {
  border-bottom: none;
}

.event-item h4 {
  margin-bottom: 5px;
  color: var(--primary);
}

.event-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.event-link {
  font-size: 0.9rem;
  color: var(--secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.related-article {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.related-article:last-child {
  border-bottom: none;
}

.related-article h4 {
  margin-bottom: 5px;
}

.related-article a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.related-article a:hover {
  color: var(--secondary);
}

.related-meta {
  font-size: 0.9rem;
  color: var(--text-light);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.newsletter-form button {
  padding: 12px;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #2980b9;
}

/* Footer Styles */
.footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 15px;
}

.footer-description {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

.footer-social a:hover {
  background: var(--secondary);
}

.footer-section h3 {
  margin-bottom: 20px;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }
  
  .content-wrapper {
    flex-direction: column;
  }
  
  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 5px;
  }
  
  .quick-nav-grid {
    grid-template-columns: 1fr;
  }
  
  .context-cards, .applications-grid, .tax-applications {
    grid-template-columns: 1fr;
  }
  
  .auditing-comparison {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .content-section h2 {
    font-size: 1.5rem;
  }
  
  .roadmap-phase {
    padding-left: 60px;
  }
  
  .phase-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}