:root {
    --primary-color: #00f0ff;
    --secondary-color: #7000ff;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --accent-gradient: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%);
    --neon-glow: 0 0 20px rgba(0, 240, 255, 0.5);
}

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

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

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

.main-navigation {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

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

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.glitch-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(112, 0, 255, 0.8)); }
}

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

.neon-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: var(--accent-gradient);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.neon-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.neon-button.large {
    padding: 1.3rem 3rem;
    font-size: 1.2rem;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3);
    border: 2px solid rgba(0, 240, 255, 0.3);
}

.features-grid {
    background: var(--darker-bg);
    padding: 6rem 2rem;
}

.container-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.five-things-section {
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.things-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
}

.thing-item {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.thing-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.2);
}

.thing-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.thing-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.cta-section {
    background: var(--card-bg);
    padding: 6rem 2rem;
    text-align: center;
}

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

.cta-section p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.main-footer {
    background: var(--darker-bg);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column p,
.footer-column li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

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

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

.footer-column a:hover {
    color: var(--primary-color);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    color: var(--text-secondary);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 2rem;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 2px solid var(--primary-color);
}

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

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

.cookie-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.cookie-btn.decline {
    background: transparent;
    color: var(--text-secondary);
}

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

.page-header {
    background: var(--card-bg);
    padding: 6rem 2rem 4rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.blog-posts-section {
    padding: 4rem 2rem;
}

.posts-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.post-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2);
}

.post-image-wrapper {
    position: relative;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image {
    transform: scale(1.1);
}

.post-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gradient);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.post-content {
    padding: 2rem;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more-btn:hover {
    gap: 1rem;
}

.about-story {
    padding: 4rem 2rem;
}

.about-story .container-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.story-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2);
}

.team-section {
    padding: 4rem 2rem;
    background: var(--darker-bg);
}

.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.member-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: var(--neon-glow);
}

.member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.member-role {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.7;
}

.values-section {
    padding: 4rem 2rem;
}

.values-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.value-item {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.value-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.contact-section {
    padding: 4rem 2rem;
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

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

.info-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

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

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-bg);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.map-section {
    padding: 4rem 2rem;
    background: var(--darker-bg);
}

.map-wrapper {
    max-width: 1400px;
    margin: 2rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 240, 255, 0.2);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--primary-color);
}

.modal-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

.post-header-single {
    background: var(--card-bg);
    padding: 4rem 2rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.post-meta-single {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-category-badge {
    background: var(--accent-gradient);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.post-date,
.post-reading-time {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-header-single h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.post-featured-image {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.post-featured-image img {
    width: 100%;
    margin-top: -3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3);
}

.post-content-wrapper {
    padding: 4rem 2rem;
}

.post-content-wrapper .container-main {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.post-content-single {
    color: var(--text-secondary);
    line-height: 1.9;
}

.lead-paragraph {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.post-content-single h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
}

.post-content-single h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.post-content-single p {
    margin-bottom: 1.5rem;
}

.post-cta {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 0;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.post-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.post-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.recent-posts-list {
    list-style: none;
}

.recent-posts-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.recent-posts-list li:last-child {
    border-bottom: none;
}

.recent-posts-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-posts-list a:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-story .container-main {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .post-content-wrapper .container-main {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container-main {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .post-header-single h1 {
        font-size: 2rem;
    }
}