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

:root {
    --primary-neon: #00ffff;
    --secondary-neon: #ff00ff;
    --accent-neon: #00ff00;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --border-glow: rgba(0, 255, 255, 0.3);
}

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

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

.main-header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    border-bottom: 2px solid var(--border-glow);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

.navbar {
    padding: 1.2rem 0;
}

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

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

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-neon);
    box-shadow: 0 0 15px var(--primary-neon);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-neon);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-neon);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--primary-neon);
}

.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--card-bg) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1), transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.glowing-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon), var(--accent-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--primary-neon), 0 0 30px var(--primary-neon);
    }
    to {
        text-shadow: 0 0 30px var(--secondary-neon), 0 0 40px var(--secondary-neon);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary-neon);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title .icon {
    margin-right: 10px;
}

.terminology-section {
    padding: 80px 0;
    background: var(--card-bg);
}

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

.term-card {
    background: var(--darker-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-glow);
    transition: all 0.3s ease;
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    border-color: var(--primary-neon);
}

.term-card h3 {
    color: var(--primary-neon);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.term-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.features-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-neon);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-neon);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

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

.latest-posts {
    padding: 80px 0;
    background: var(--card-bg);
}

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

.post-preview {
    background: var(--darker-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-glow);
    transition: all 0.3s ease;
}

.post-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.3);
}

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

.post-content {
    padding: 25px;
}

.post-content h3 {
    color: var(--primary-neon);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

.read-more {
    color: var(--secondary-neon);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

.main-footer {
    background: var(--darker-bg);
    padding: 60px 0 20px;
    border-top: 2px solid var(--border-glow);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h4 {
    color: var(--primary-neon);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-neon);
    padding-left: 5px;
}

.registration {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-glow);
    color: var(--text-secondary);
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--darker-bg) 100%);
    border-top: 2px solid var(--primary-neon);
    padding: 25px;
    z-index: 10000;
    box-shadow: 0 -5px 30px rgba(0, 255, 255, 0.3);
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text h4 {
    color: var(--primary-neon);
    margin-bottom: 10px;
}

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

.cookie-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-actions button {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--primary-neon);
    color: var(--dark-bg);
}

.btn-accept:hover {
    box-shadow: 0 0 20px var(--primary-neon);
    transform: translateY(-2px);
}

.btn-customize {
    background: transparent;
    color: var(--primary-neon);
    border: 2px solid var(--primary-neon);
}

.btn-customize:hover {
    background: var(--primary-neon);
    color: var(--dark-bg);
}

.btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--text-secondary);
}

.btn-decline:hover {
    background: var(--text-secondary);
    color: var(--dark-bg);
}

.cookie-link {
    color: var(--secondary-neon);
    text-decoration: none;
    margin-left: 10px;
}

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

.page-header {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--card-bg) 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: var(--primary-neon);
    margin-bottom: 15px;
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.blog-posts-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-glow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.3);
}

.blog-image {
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-neon);
    color: var(--dark-bg);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

.blog-info {
    padding: 30px;
}

.blog-info h2 {
    color: var(--primary-neon);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.blog-read-more {
    color: var(--secondary-neon);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

.about-story {
    padding: 80px 0;
    background: var(--dark-bg);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    color: var(--primary-neon);
    font-size: 2rem;
    margin-bottom: 25px;
}

.story-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.team-section {
    padding: 80px 0;
    background: var(--card-bg);
}

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

.team-card {
    background: var(--darker-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-glow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-neon);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.team-card img {
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--primary-neon);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.team-card h3 {
    color: var(--primary-neon);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.team-role {
    color: var(--secondary-neon);
    font-weight: bold;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.values-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

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

.value-item {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--secondary-neon);
    transform: translateY(-8px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-item h3 {
    color: var(--primary-neon);
    margin-bottom: 15px;
}

.value-item p {
    color: var(--text-secondary);
}

.contact-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    color: var(--primary-neon);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-glow);
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--primary-neon);
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
}

.info-item h3 {
    color: var(--primary-neon);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form-wrapper h2 {
    color: var(--primary-neon);
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-glow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--darker-bg);
    border: 2px solid var(--border-glow);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-neon);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    color: var(--dark-bg);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--primary-neon);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    position: relative;
    max-width: 500px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-neon);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-content h2 {
    color: var(--primary-neon);
    margin-bottom: 15px;
}

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

.modal-btn {
    padding: 12px 40px;
    background: var(--primary-neon);
    color: var(--dark-bg);
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    box-shadow: 0 0 20px var(--primary-neon);
}

.post-article {
    background: var(--dark-bg);
}

.post-header-section {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--card-bg) 100%);
}

.post-category-tag {
    display: inline-block;
    background: var(--primary-neon);
    color: var(--dark-bg);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.post-main-title {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta-info {
    display: flex;
    gap: 25px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.post-featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content-wrapper {
    padding: 60px 0;
}

.post-body {
    max-width: 900px;
    margin: 0 auto;
}

.post-body h2 {
    color: var(--primary-neon);
    font-size: 2rem;
    margin: 40px 0 20px;
}

.post-body p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 25px;
}

.post-footer {
    max-width: 900px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 2px solid var(--border-glow);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.tag {
    background: var(--card-bg);
    color: var(--primary-neon);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-glow);
}

.post-navigation {
    text-align: center;
}

.back-to-blog {
    color: var(--secondary-neon);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        border-top: 2px solid var(--border-glow);
    }

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

    .burger-menu {
        display: flex;
    }

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

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

    .features-grid,
    .posts-grid,
    .blog-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-actions button {
        width: 100%;
    }

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

    .post-meta-info {
        flex-direction: column;
        gap: 10px;
    }
}

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

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

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