/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Neon Effects */
.neon-text {
    text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor, 0 0 20px #ff00ff;
    animation: neonFlicker 2s infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.neon-btn {
    padding: 12px 30px;
    border: 2px solid;
    background: transparent;
    color: inherit;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.neon-btn:hover::before {
    left: 100%;
}

.neon-btn.primary {
    border-color: #ff00ff;
    color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.neon-btn.primary:hover {
    background: #ff00ff;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
}

.neon-btn.secondary {
    border-color: #00ffff;
    color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.neon-btn.secondary:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.neon-btn.tertiary {
    border-color: #00ff00;
    color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.neon-btn.tertiary:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid #ff00ff;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

.cookie-buttons .neon-btn {
    padding: 8px 20px;
    font-size: 14px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #ff00ff;
    z-index: 999;
    padding: 10px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px #ff00ff);
}

.brand-text {
    font-size: 24px;
    font-weight: bold;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    background: rgba(0, 255, 255, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ff00ff;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 10px #ff00ff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 60px;
    background: radial-gradient(circle at 30% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #00ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonPulse 3s infinite;
}

@keyframes neonPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cccccc;
    line-height: 1.8;
}

.cta-button {
    font-size: 1.1rem;
    padding: 15px 40px;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 0, 255, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #ff00ff;
    text-shadow: 0 0 20px #ff00ff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #00ffff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #00ffff;
}

.about-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #cccccc;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #ffffff;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff00;
}

.course-image {
    width: 100%;
    max-width: 300px;
    filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.5));
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #00ff00, #ff00ff);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0.1;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(255, 0, 255, 0.5));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.service-card p {
    color: #cccccc;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.05) 0%, rgba(0, 255, 0, 0.05) 100%);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    border-left: 4px solid #00ff00;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 0, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    color: #ffffff;
    line-height: 1.8;
}

.testimonial-author strong {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.testimonial-author span {
    display: block;
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
}

.blog-card h3 a {
    color: #00ffff;
    text-decoration: none;
    font-size: 1.3rem;
    text-shadow: 0 0 10px #00ffff;
    transition: all 0.3s ease;
}

.blog-card h3 a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.blog-card p {
    margin: 15px 0;
    color: #cccccc;
    line-height: 1.6;
}

.blog-date {
    color: #00ff00;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #00ff00;
}

/* Article Sections */
.article-section {
    display: none;
    background: rgba(0, 0, 0, 0.8);
    min-height: 100vh;
    padding-top: 120px;
}

.article-section.active {
    display: block;
}

.article-section h2 {
    font-size: 2.5rem;
    color: #ff00ff;
    margin-bottom: 30px;
    text-shadow: 0 0 20px #ff00ff;
}

.article-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cccccc;
}

.back-link {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 0 10px #00ffff;
    display: inline-block;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

/* Subscription Section */
.subscription {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
    text-align: center;
}

.subscription-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 50px;
}

.subscription-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.subscription-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 0, 255, 0.5);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.subscription-form input:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.subscription-form input::placeholder {
    color: #888888;
}

.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
    text-shadow: 0 0 5px #ff4444;
}

/* Legal Section */
.legal-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.legal-link {
    background: none;
    border: none;
    color: #00ffff;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: underline;
    text-shadow: 0 0 10px #00ffff;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 5% auto;
    padding: 40px;
    border: 2px solid #ff00ff;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(255, 0, 255, 0.5);
}

.modal-content h2 {
    color: #ff00ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff00ff;
}

.modal-content p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 15px;
}

.close {
    color: #ff00ff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0 0 10px #ff00ff;
}

.close:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    border-top: 2px solid #ff00ff;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: #ff00ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff00ff;
}

.footer-section p, .footer-section li {
    color: #cccccc;
    margin-bottom: 10px;
}

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

.footer-section a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.social-link img {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 10px #00ffff);
}

.social-link:hover img {
    filter: drop-shadow(0 0 15px #ff00ff);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 255, 0.3);
    color: #888888;
}

/* Thanks Page */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
}

.thanks-animation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.neon-circle {
    width: 50px;
    height: 50px;
    border: 3px solid #ff00ff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    animation: pulse 2s infinite;
}

.neon-circle:nth-child(2) {
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation-delay: 0.5s;
}

.neon-circle:nth-child(3) {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.thanks-title {
    font-size: 3rem;
    color: #ff00ff;
    text-shadow: 0 0 20px #ff00ff;
    margin-bottom: 20px;
}

.thanks-message {
    font-size: 1.3rem;
    color: #00ffff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #00ffff;
}

.thanks-submessage {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 40px;
}

.thanks-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 15, 35, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        border-top: 2px solid #ff00ff;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    
    .subscription-form {
        padding: 0 10px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .neon-btn {
        border-width: 3px;
    }
    
    .hero-title {
        text-shadow: 2px 2px 4px #000000;
    }
    
    .section-title {
        text-shadow: 2px 2px 4px #000000;
    }
}
