:root {
    --primary-energy: #FF6B35;
    --secondary-energy: #004E89;
    --accent-energy: #F7B801;
    --dark-energy: #1A1A2E;
    --light-energy: #F5F5F5;
    --text-primary: #333333;
    --text-secondary: #666666;
    --success-energy: #2ECC71;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
}

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

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

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

.energy-banner-top {
    background: linear-gradient(135deg, var(--secondary-energy), var(--dark-energy));
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
}

.energy-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.energy-header {
    background: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed);
}

.energy-header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--secondary-energy);
    margin-bottom: 4px;
}

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

.main-navigation {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: var(--primary-energy);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 20px;
}

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

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-speed);
    font-weight: 500;
}

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

.hero-energy {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-energy) 0%, var(--primary-energy) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-3d {
    position: relative;
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-speed);
    transform-style: preserve-3d;
    perspective: 1000px;
    border: none;
    cursor: pointer;
}

.btn-3d-face {
    display: block;
    transition: all var(--transition-speed);
}

.btn-3d-face.back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.btn-3d.primary {
    background: var(--accent-energy);
    color: var(--dark-energy);
    box-shadow: 0 6px 0 #D39E01, 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-3d.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #D39E01, 0 11px 25px rgba(0, 0, 0, 0.4);
}

.btn-3d.primary:hover .btn-3d-face.front {
    opacity: 0;
}

.btn-3d.primary:hover .btn-3d-face.back {
    opacity: 1;
}

.btn-3d.secondary {
    background: white;
    color: var(--secondary-energy);
    box-shadow: 0 6px 0 #E0E0E0, 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-3d.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 #E0E0E0, 0 11px 25px rgba(0, 0, 0, 0.4);
}

.btn-3d.secondary:hover .btn-3d-face.front {
    opacity: 0;
}

.btn-3d.secondary:hover .btn-3d-face.back {
    opacity: 1;
}

.btn-3d.light {
    background: white;
    color: var(--secondary-energy);
    box-shadow: 0 6px 0 rgba(255, 255, 255, 0.8), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-3d.light:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 rgba(255, 255, 255, 0.8), 0 11px 25px rgba(0, 0, 0, 0.4);
}

.stats-section {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--light-energy);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-speed);
}

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

.stat-icon {
    font-size: 48px;
    color: var(--primary-energy);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-energy);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--secondary-energy);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

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

.feature-box {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
}

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

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-energy), var(--accent-energy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 36px;
    color: white;
}

.feature-box h3 {
    font-size: 24px;
    color: var(--secondary-energy);
    margin-bottom: 16px;
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.latest-articles {
    padding: 80px 0;
    background: white;
}

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

.article-preview {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
}

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

.article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.article-preview:hover .article-image img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-energy);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.article-content {
    padding: 32px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-content h3 {
    font-size: 22px;
    color: var(--secondary-energy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.section-footer {
    text-align: center;
    margin-top: 60px;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-energy), var(--primary-energy));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -250px;
    right: -250px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.energy-footer {
    background: var(--dark-energy);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-energy);
}

.footer-column p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 16px;
}

.footer-registration {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-energy);
    padding-left: 8px;
}

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

.footer-contact li {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-contact a:hover {
    color: var(--accent-energy);
}

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

.cookie-consent {
    position: fixed;
    bottom: -500px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    z-index: 10000;
    transition: bottom 0.5s ease;
}

.cookie-consent.show {
    bottom: 0;
}

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

.cookie-text h4 {
    color: var(--secondary-energy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

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

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

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

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

.cookie-btn.accept:hover {
    background: #27AE60;
}

.cookie-btn.customize {
    background: var(--accent-energy);
    color: var(--dark-energy);
}

.cookie-btn.customize:hover {
    background: #D39E01;
}

.cookie-btn.reject {
    background: var(--light-energy);
    color: var(--text-primary);
}

.cookie-btn.reject:hover {
    background: #E0E0E0;
}

.cookie-link {
    color: var(--primary-energy);
    text-decoration: none;
    font-size: 14px;
}

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

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
}

.cookie-settings-content h3 {
    color: var(--secondary-energy);
    margin-bottom: 24px;
    font-size: 24px;
}

.cookie-option {
    margin-bottom: 24px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 4px;
}

.cookie-option span {
    font-weight: 600;
    color: var(--text-primary);
}

.cookie-option p {
    margin-left: 32px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.cookie-settings-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

@media (max-width: 968px) {
    .header-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: 20px;
    }

    .main-navigation.active .nav-menu {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 568px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}