/* Static Pages Styles */

.static-page {
  min-height: 100vh;
  background: #f8fafc;
}

/* Header Styling for Static Pages */
.header-modern {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

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

.brand-logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #64748b;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 10px 16px;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.nav-links a:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.nav-links a.active {
  background: rgba(37,99,235,.1);
  color: #2563eb;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}

.btn-secondary {
  background: white;
  color: #475569;
  border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
  border-color: #2563eb;
  color: #2563eb;
}

/* Footer Styling for Static Pages */
.footer {
  background: #1e293b;
  color: white;
  margin-top: 80px;
}

.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;
  padding: 60px 0 40px;
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 14px;
}

.footer-section ul li a:hover {
  color: white;
  transform: translateX(-5px);
}

.footer-brand .brand-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  transform: translateY(-3px);
}

.footer-copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #cbd5e1;
  font-size: 14px;
  margin-top: 20px;
}

/* Page Header */
.static-page-header {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: white;
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.static-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.08) 0%, transparent 50%);
  pointer-events: none;
}

.static-page-header-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.static-page-header h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.1);
}

.static-page-header p {
  font-size: 18px;
  opacity: 0.95;
  margin: 0;
  line-height: 1.6;
}

.static-page-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 24px;
  border: 2px solid rgba(255,255,255,.3);
}

/* Breadcrumb */
.static-breadcrumb {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 20px;
}

.static-breadcrumb-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
}

.static-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.static-breadcrumb a:hover {
  color: var(--primary);
}

.static-breadcrumb i {
  font-size: 12px;
}

/* Main Content */
.static-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

/* Sidebar Navigation */
.static-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav li {
  margin: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #64748b;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.sidebar-nav a:hover {
  background: #f1f5f9;
  color: var(--primary);
  transform: translateX(-4px);
}

.sidebar-nav a.active {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(37,99,235,.2);
}

.sidebar-nav i {
  width: 20px;
  text-align: center;
}

/* Table of Contents */
.toc-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  margin-top: 20px;
}

.toc-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-list li {
  margin: 8px 0;
}

.toc-list a {
  display: block;
  padding: 8px 12px;
  color: #64748b;
  text-decoration: none;
  border-right: 3px solid transparent;
  transition: all 0.3s ease;
  font-size: 13px;
}

.toc-list a:hover {
  color: var(--primary);
  border-right-color: var(--primary);
  background: #f8fafc;
}

.toc-list a.active {
  color: var(--primary);
  border-right-color: var(--primary);
  font-weight: 600;
}

/* Main Article */
.static-article {
  background: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  line-height: 1.8;
}

.static-article h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  margin: 48px 0 24px 0;
  padding-top: 24px;
  border-top: 2px solid #e2e8f0;
}

.static-article h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.static-article h3 {
  font-size: 24px;
  font-weight: 700;
  color: #334155;
  margin: 32px 0 16px 0;
}

.static-article h4 {
  font-size: 18px;
  font-weight: 600;
  color: #475569;
  margin: 24px 0 12px 0;
}

.static-article p {
  font-size: 16px;
  color: #475569;
  margin: 16px 0;
  line-height: 1.8;
}

.static-article ul,
.static-article ol {
  margin: 16px 0;
  padding: 0 0 0 24px;
}

.static-article li {
  font-size: 16px;
  color: #475569;
  margin: 12px 0;
  line-height: 1.7;
}

.static-article strong {
  color: #1e293b;
  font-weight: 600;
}

.static-article a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(37,99,235,.3);
  transition: all 0.3s ease;
}

.static-article a:hover {
  color: #1e40af;
  border-bottom-color: #1e40af;
}

/* Info Boxes */
.info-box {
  background: #f0f9ff;
  border: 1px solid #bfdbfe;
  border-right: 4px solid #2563eb;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 16px;
}

.info-box-icon {
  width: 40px;
  height: 40px;
  background: #2563eb;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.info-box-content h4 {
  margin: 0 0 8px 0;
  color: #1e40af;
  font-size: 16px;
}

.info-box-content p {
  margin: 0;
  color: #1e40af;
  font-size: 14px;
}

.info-box.warning {
  background: #fef3c7;
  border-color: #fcd34d;
  border-right-color: #f59e0b;
}

.info-box.warning .info-box-icon {
  background: #f59e0b;
}

.info-box.warning .info-box-content h4,
.info-box.warning .info-box-content p {
  color: #92400e;
}

.info-box.success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  border-right-color: #10b981;
}

.info-box.success .info-box-icon {
  background: #10b981;
}

.info-box.success .info-box-content h4,
.info-box.success .info-box-content p {
  color: #065f46;
}

/* Last Updated */
.last-updated {
  background: #f8fafc;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 40px 0 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #64748b;
}

.last-updated i {
  color: #94a3b8;
}

/* Contact CTA */
.contact-cta {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  color: white;
  margin-top: 40px;
}

.contact-cta h3 {
  margin: 0 0 12px 0;
  font-size: 24px;
}

.contact-cta p {
  margin: 0 0 24px 0;
  opacity: 0.9;
}

.contact-cta .btn {
  background: white;
  color: #2563eb;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.contact-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

/* Responsive */
@media (max-width: 992px) {
  .static-page-content {
    grid-template-columns: 1fr;
  }
  
  .static-sidebar {
    position: static;
    order: 2;
  }
  
  .static-article {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .static-page-header h1 {
    font-size: 36px;
  }
  
  .static-page-header p {
    font-size: 16px;
  }
  
  .static-article h2 {
    font-size: 24px;
  }
  
  .static-article h3 {
    font-size: 20px;
  }
  
  .contact-cta {
    padding: 32px 24px;
  }
  
  /* Header responsive */
  .header-main {
    flex-wrap: wrap;
  }
  
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    gap: 4px;
  }
  
  .nav-links a {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .brand-name {
    font-size: 1.1rem;
  }
  
  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 30px;
  }
  
  .footer-section h3 {
    font-size: 1rem;
  }
}
