
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --success-color: #38a169;
    --warning-color: #d69e2e;
    --danger-color: #e53e3e;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --border-color: #cbd5e0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.container-header,
.container-hero,
.container-grid,
.container-archive,
.container-testimonials,
.container-disclaimer,
.container-footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 24px 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.3);
}

.brand-identity h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tagline {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 300;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}

.main-navigation a:hover,
.main-navigation a.active {
    background-color: rgba(255,255,255,0.15);
}

.hero-diagnostic {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
    padding: 64px 0;
}

.container-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.system-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-tertiary);
    padding: 16px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
}

.status-label {
    font-weight: 600;
    color: var(--text-primary);
}

.status-value {
    font-weight: 700;
    font-size: 18px;
}

.status-value.operational {
    color: var(--success-color);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.diagnostic-panel-grid {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 56px;
}

.diagnostic-zones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.diagnostic-zone {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.diagnostic-zone:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.zone-icon {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.diagnostic-zone h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.health-gauge {
    background-color: var(--bg-tertiary);
    height: 16px;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), var(--accent-color));
    border-radius: 8px;
    transition: width 0.6s ease;
}

.stability-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 24px auto;
}

.stability-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: var(--bg-tertiary);
    stroke-width: 8;
}

.ring-progress {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 8;
    stroke-linecap: round;
}

.ring-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.diagnostic-grid-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 20px 0;
}

.grid-cell {
    aspect-ratio: 1;
    border-radius: 4px;
    background-color: var(--bg-tertiary);
}

.grid-cell.active {
    background-color: var(--success-color);
}

.grid-cell.moderate {
    background-color: var(--warning-color);
}

.balance-indicator {
    margin: 24px 0;
}

.balance-scale {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    height: 120px;
}

.balance-left,
.balance-right {
    width: 48px;
    background: linear-gradient(to top, var(--accent-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
}

.stress-visual {
    margin: 20px 0;
}

.stress-bar {
    display: flex;
    height: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.stress-level {
    height: 100%;
}

.stress-low {
    background-color: var(--success-color);
}

.stress-moderate {
    background-color: var(--warning-color);
}

.stress-high {
    background-color: var(--danger-color);
}

.zone-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 16px 0;
    line-height: 1.6;
}

.zone-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
}

.metric {
    font-size: 14px;
    color: var(--text-secondary);
}

.metric strong {
    color: var(--primary-color);
    font-weight: 700;
}

.cta-diagnostic {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 12px;
}

.cta-diagnostic:hover {
    background-color: var(--secondary-color);
}

.diagnostic-archive {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.archive-item {
    background-color: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.archive-item:hover {
    transform: translateY(-4px);
}

.archive-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.archive-content {
    padding: 24px;
}

.archive-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.archive-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.archive-content h3 a:hover {
    color: var(--accent-color);
}

.archive-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.archive-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.archive-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.archive-link:hover {
    text-decoration: underline;
}

.user-testimonials {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.disclaimer-section {
    padding: 60px 0;
    background-color: var(--bg-tertiary);
}

.disclaimer-box {
    background-color: var(--bg-primary);
    border-left: 4px solid var(--warning-color);
    padding: 32px;
    border-radius: 8px;
}

.disclaimer-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.disclaimer-box p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.disclaimer-box strong {
    color: var(--primary-color);
}

.main-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-column p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-tagline {
    font-style: italic;
    margin-top: 8px;
}

.registration-number {
    margin-top: 12px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-legal {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.9;
}

.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    font-size: 13px;
    opacity: 0.8;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 24px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
}

.cookie-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.cookie-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-content a {
    color: white;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cookie-btn.accept {
    background-color: var(--success-color);
    color: white;
}

.cookie-btn.necessary {
    background-color: var(--accent-color);
    color: white;
}

.cookie-btn.reject {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .container-hero {
        grid-template-columns: 1fr;
    }
    
    .diagnostic-zones {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container-header {
        flex-direction: column;
    }
    
    .main-navigation ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-navigation a {
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

