/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.company-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.company-tagline {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

.year-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Hero section */
.hero {
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Company info section */
.company-info {
    padding: 4rem 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #2563eb;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-card p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.activity-list {
    list-style: none;
    padding: 0;
}

.activity-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
    line-height: 1.6;
}

.activity-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission-card, .vision-card {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.mission-card h3, .vision-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.mission-card p, .vision-card p {
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Documents section */
.documents {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
}

.documents-header {
    text-align: center;
    margin-bottom: 3rem;
}

.documents-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.documents-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.document-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.document-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.document-card.featured {
    border: 2px solid #2563eb;
    position: relative;
}

.document-card.featured::after {
    content: 'Новий';
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.document-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.document-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.document-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.download-btn {
    background: #f1f5f9;
    color: #2563eb;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.download-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-1px);
}

.download-btn.primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.download-btn.primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Contact info section */
.legal-info {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.legal-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.legal-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.legal-card.primary {
    border: 2px solid #2563eb;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.legal-card h3 {
    color: #2563eb;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-card h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #2563eb;
    border-radius: 2px;
}

.legal-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.legal-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-item strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.legal-item p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.legal-item p.highlight-code {
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

.highlight-code {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    letter-spacing: 0.5px;
}

.amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.management-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.management-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.management-section h3 {
    color: white;
    position: relative;
    z-index: 1;
}

.management-section h3::before {
    background: rgba(255, 255, 255, 0.3);
}

.management-section .legal-item {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.management-section .legal-item strong {
    color: white;
}

.management-section .legal-item p {
    color: rgba(255, 255, 255, 0.9);
}

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

.powers-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.powers-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: bold;
}

.activities-section {
    margin-top: 2rem;
}

.activities-section h3 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.activity-group {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.activity-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.activity-group h4 {
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.activity-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-group li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.code {
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.contact-info {
    padding: 4rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-card h3 {
    color: #2563eb;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.address-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.address-item strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.5rem;
}

.address-item p {
    color: #4b5563;
    line-height: 1.6;
}

.update-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.update-info small {
    color: #9ca3af;
    font-style: italic;
}

.management-section {
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        text-align: center;
    }
    
    .company-name {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .company-info,
    .documents,
    .contact-info {
        padding: 2rem 0;
    }
    
    .legal-info {
        padding: 2rem 0;
    }
    
    .info-card,
    .contact-card,
    .document-card,
    .legal-card {
        padding: 1.5rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 1.5rem;
    }
}