:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

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

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

.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navigation-bar {
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.site-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-primary);
    color: var(--bg-white);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.hero-section {
    background: var(--gradient-primary);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    width: 100%;
    padding: 80px 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--bg-white);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 36px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-cta {
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    display: inline-block;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.features-section,
.latest-posts,
.blog-posts-section,
.about-content-section,
.team-section,
.values-section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 48px;
    color: var(--text-dark);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 36px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-white);
}

.feature-card h3 {
    margin-bottom: 14px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
}

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

.post-preview {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
}

.post-preview:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.post-content {
    padding: 28px;
}

.post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.post-date,
.post-category {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-content h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: var(--text-dark);
}

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

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-speed);
}

.read-more:hover {
    gap: 10px;
}

.cta-section {
    background: var(--gradient-primary);
    padding: 80px 20px;
    text-align: center;
    color: var(--bg-white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.btn-cta {
    background: var(--bg-white);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.site-footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.registration-info {
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-contacts li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contacts i {
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--primary-color);
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.cookie-btn.accept-all {
    background: var(--gradient-primary);
    color: var(--bg-white);
}

.cookie-btn.customize {
    background: var(--bg-light);
    color: var(--text-dark);
}

.cookie-btn.decline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.page-header-section {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

.post-header {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 100px 0 60px;
    text-align: center;
}

.post-title-main {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta-info {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    opacity: 0.95;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-content-section {
    padding: 80px 0;
}

.post-content-wrapper {
    max-width: 880px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 52px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}

.post-featured-image {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 42px;
}

.post-content-wrapper h2 {
    font-size: 2rem;
    margin: 38px 0 20px;
    color: var(--text-dark);
}

.post-content-wrapper h3 {
    font-size: 1.6rem;
    margin: 32px 0 18px;
    color: var(--text-dark);
}

.post-content-wrapper p {
    margin-bottom: 22px;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.1rem;
}

.post-content-wrapper ul {
    margin: 24px 0;
    padding-left: 28px;
}

.post-content-wrapper li {
    margin-bottom: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

.related-posts {
    padding: 60px 0;
    background: var(--bg-light);
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.team-member {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-speed);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 14px;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.7;
}

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

.value-card {
    background: var(--bg-white);
    padding: 36px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-speed);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-white);
}

.value-card h3 {
    margin-bottom: 14px;
    font-size: 1.4rem;
}

.value-card p {
    color: var(--text-light);
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        transition: left var(--transition-speed);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .post-title-main {
        font-size: 2.2rem;
    }

    .post-content-wrapper {
        padding: 32px 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}