:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --light-bg: #ecf0f1;
  --dark-text: #2c3e50;
  --light-text: #7f8c8d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.header .subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Navigation */
.nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--secondary-color);
  color: white;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section:nth-child(even) {
  background: var(--light-bg);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.card h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Architecture */
.architecture {
  text-align: center;
}

.architecture-diagram {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
}

/* Status */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.status-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--success-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.status-item.warning {
  border-left-color: var(--warning-color);
}

.status-item.error {
  border-left-color: var(--accent-color);
}

.status-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.status-value {
  font-size: 1.1rem;
  color: var(--light-text);
}

/* Technologies */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tech-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.tech-item:hover {
  transform: scale(1.05);
}

.tech-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success-color), var(--secondary-color));
  border-radius: 4px;
  transition: width 0.8s ease;
}

/* Professional Print Report Styles */
@media print {
    /* Hide navigation and footer */
    .nav, .footer {
        display: none !important;
    }
    
    /* Page setup */
    @page {
        margin: 20mm;
        size: A4;
    }
    
    /* Body styles for professional look */
    body {
        background: white !important;
        color: #333 !important;
        font-family: 'Times New Roman', serif !important;
        font-size: 11pt !important;
        line-height: 1.5 !important;
    }
    
    /* Header section - Company style */
    .header {
        background: none !important;
        color: #2c3e50 !important;
        text-align: center;
        border-bottom: 3px solid #3498db;
        padding-bottom: 15px !important;
        margin-bottom: 30px !important;
    }
    
    .header h1 {
        font-size: 28pt !important;
        font-weight: bold !important;
        margin: 0 !important;
        color: #2c3e50 !important;
    }
    
    .header .subtitle {
        font-size: 14pt !important;
        color: #7f8c8d !important;
        margin-top: 5px !important;
    }
    
    /* Section styling */
    .section {
        page-break-inside: avoid;
        margin-bottom: 25px !important;
        padding: 0 !important;
    }
    
    .section-title {
        font-size: 16pt !important;
        font-weight: bold !important;
        color: #2c3e50 !important;
        border-bottom: 2px solid #3498db !important;
        padding-bottom: 5px !important;
        margin-bottom: 15px !important;
        page-break-after: avoid;
    }
    
    /* Cards - Professional boxes */
    .cards {
        display: block !important;
    }
    
    .card {
        border: 1px solid #bdc3c7 !important;
        box-shadow: none !important;
        background: #f8f9fa !important;
        margin-bottom: 15px !important;
        padding: 15px !important;
        border-radius: 0 !important;
        page-break-inside: avoid;
    }
    
    .card h3 {
        color: #2c3e50 !important;
        font-size: 13pt !important;
        font-weight: bold !important;
        margin: 0 0 10px 0 !important;
    }
    
    .card p {
        margin: 5px 0 !important;
        font-size: 11pt !important;
        color: #555 !important;
    }
    
    /* Architecture diagram */
    .architecture {
        text-align: center !important;
        page-break-inside: avoid;
        margin: 20px 0 !important;
    }
    
    .architecture-diagram {
        max-width: 100% !important;
        height: auto !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    /* Technology grid - Convert to list for print */
    .tech-grid {
        display: block !important;
        columns: 2;
        column-gap: 20px;
    }
    
    .tech-grid .card {
        break-inside: avoid;
        width: 100% !important;
        margin-bottom: 10px !important;
        padding: 10px !important;
    }
    
    /* Status indicators */
    .status-badge {
        background: #f1f1f1 !important;
        color: #333 !important;
        border: 1px solid #ccc !important;
        padding: 2px 8px !important;
        border-radius: 3px !important;
        font-size: 10pt !important;
    }
    
    .status-badge.success {
        background: #d4edda !important;
        color: #155724 !important;
        border-color: #c3e6cb !important;
    }
    
    .status-badge.warning {
        background: #fff3cd !important;
        color: #856404 !important;
        border-color: #ffeaa7 !important;
    }
    
    /* Progress bars for print */
    .progress-bar {
        border: 1px solid #ddd !important;
        background: #f8f9fa !important;
        height: 12px !important;
    }
    
    .progress-fill {
        background: #6c757d !important;
        height: 100% !important;
    }
    
    /* Footer information */
    .print-footer {
        position: fixed;
        bottom: 10mm;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 9pt !important;
        color: #7f8c8d !important;
        border-top: 1px solid #bdc3c7;
        padding-top: 5px;
    }
    
    /* Page breaks */
    .page-break {
        page-break-before: always;
    }
    
    /* Force black text for better printing */
    * {
        color: #333 !important;
        text-shadow: none !important;
    }
    
    /* Links styling for print */
    a {
        color: #333 !important;
        text-decoration: underline !important;
    }
    
    /* Lists styling */
    ul, ol {
        margin: 10px 0 10px 20px !important;
    }
    
    li {
        margin-bottom: 3px !important;
        font-size: 11pt !important;
    }
}

/* Print-specific elements - hidden on screen, visible on print */
.print-info, .print-footer {
    display: none;
}

@media print {
    .print-info, .print-footer {
        display: block !important;
    }
    
    .print-info {
        margin-top: 10px !important;
        font-size: 12pt !important;
        color: #666 !important;
        text-align: center;
    }
}

/* Special class for enhanced print mode */
.printing-mode {
    background: white !important;
}

.printing-mode .nav,
.printing-mode .footer {
    display: none !important;
}

/* Professional print button styling */
.print-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.print-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}
 
 / *   P r i n t - s p e c i f i c   c l a s s e s   f o r   s c r e e n   s t y l i n g   * / 
 . p r i n t - i n f o   { 
         d i s p l a y :   n o n e ; 
         m a r g i n - t o p :   1 0 p x ; 
         f o n t - s i z e :   0 . 9 e m ; 
         c o l o r :   # 6 6 6 ; 
 } 
 
 . p r i n t - f o o t e r   { 
         d i s p l a y :   n o n e ; 
 } 
 
 . p r i n t - f o o t e r   p   { 
         f o n t - s i z e :   8 p t ; 
         m a r g i n - t o p :   2 p x ; 
 } 
 
 . a r c h i t e c t u r e - d e s c r i p t i o n   { 
         m a r g i n - t o p :   2 r e m ; 
         f o n t - s i z e :   1 . 1 r e m ; 
         c o l o r :   # 6 6 6 ; 
 } 
 
 . m i l e s t o n e s - s e c t i o n   { 
         t e x t - a l i g n :   c e n t e r ; 
         m a r g i n - t o p :   3 r e m ; 
 } 
 
 . m i l e s t o n e s - s e c t i o n   h 3   { 
         m a r g i n - b o t t o m :   1 r e m ; 
 } 
 
 . p r i n t - b u t t o n - s e c t i o n   { 
         m a r g i n - t o p :   1 r e m ; 
         t e x t - a l i g n :   c e n t e r ; 
 } 
 
 . p r i n t - p r o f e s s i o n a l - b t n   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 4 C A F 5 0 ,   # 4 5 a 0 4 9 ) ; 
         b o r d e r :   n o n e ; 
         c o l o r :   w h i t e ; 
         p a d d i n g :   0 . 8 r e m   2 r e m ; 
         b o r d e r - r a d i u s :   8 p x ; 
         c u r s o r :   p o i n t e r ; 
         f o n t - s i z e :   1 r e m ; 
         f o n t - w e i g h t :   6 0 0 ; 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 7 6 ,   1 7 5 ,   8 0 ,   0 . 3 ) ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
 } 
 
 . p r i n t - p r o f e s s i o n a l - b t n : h o v e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 4 5 a 0 4 9 ,   # 3 d 8 b 4 0 ) ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
         b o x - s h a d o w :   0   6 p x   1 6 p x   r g b a ( 7 6 ,   1 7 5 ,   8 0 ,   0 . 4 ) ; 
 }  
 