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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Colors */
:root {
    --primary-blue: #4A9EFF;
    --secondary-blue: #E3F2FD;
    --primary-green: #4CAF50;
    --secondary-green: #E8F5E8;
    --primary-orange: #FF9800;
    --secondary-orange: #FFF3E0;
    --primary-red: #F44336;
    --primary-purple: #9C27B0;
    --text-dark: #333;
    --text-light: #666;
    --background-light: #F8F9FA;
    --white: #FFFFFF;
}

/* Buttons */
.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary:hover {
    background: #3A8EEF;
    transform: translateY(-2px);
}

.btn-register {
    background: var(--primary-green);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 100%;
}

.btn-register:hover {
    background: #45A049;
    transform: translateY(-2px);
}

.btn-accept {
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}

.btn-refuse {
    background: transparent;
    color: white;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}

.btn-return {
    background: var(--primary-blue);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-blue);
}

.logo-icon {
    font-size: 24px;
}

.nav {
    display: flex;
    gap: 30px;
}

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

.nav a:hover {
    color: var(--primary-blue);
}

.nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.mobile-nav.active {
    display: flex;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #E8F4FD 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-left h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.registration-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.registration-form input,
.registration-form select {
    width: 100%;
    padding: 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    padding-right: 0px;
}

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

.phone-input {
    display: flex;
    gap: 10px;
}

.phone-input select {
    flex: 0 0 100px;
    margin-bottom: 20px;
}

.phone-input input {
    flex: 1;
    margin-bottom: 20px;
}

/* Why AI Section */
.why-ai {
    padding: 80px 0;
    background: white;
}

.why-ai h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

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

.feature {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.feature-icon.blue {
    background: var(--secondary-blue);
    color: var(--primary-blue);
}

.feature-icon.green {
    background: var(--secondary-green);
    color: var(--primary-green);
}

.feature-icon.orange {
    background: var(--secondary-orange);
    color: var(--primary-orange);
}

.feature h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
}

.stats {
    background: var(--secondary-blue);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

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

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--background-light);
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

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

.step {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 32px;
}

.step-icon.blue {
    background: var(--secondary-blue);
    color: var(--primary-blue);
}

.step-icon.green {
    background: var(--secondary-green);
    color: var(--primary-green);
}

.step-icon.orange {
    background: var(--secondary-orange);
    color: var(--primary-orange);
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Modules Section */
.modules {
    padding: 80px 0;
    background: white;
}

.modules h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.module {
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.module:hover {
    transform: translateY(-5px);
}

.module.blue {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #E0F2FF 100%);
}

.module.red {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
}

.module.green {
    background: linear-gradient(135deg, var(--secondary-green) 0%, #E0F7E0 100%);
}

.module.orange {
    background: linear-gradient(135deg, var(--secondary-orange) 0%, #FFE0B2 100%);
}

.module.purple {
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
}

.module-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.module h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.module p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--background-light);
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-header {
    margin-bottom: 20px;
}

.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.badge.orange {
    background: var(--primary-orange);
}

.badge.green {
    background: var(--primary-green);
}

.badge.blue {
    background: var(--primary-blue);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.testimonial-author strong {
    display: block;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-icon.blue {
    background: var(--secondary-blue);
    color: var(--primary-blue);
}

.contact-icon.green {
    background: var(--secondary-green);
    color: var(--primary-green);
}

.contact-icon.orange {
    background: var(--secondary-orange);
    color: var(--primary-orange);
}

.contact-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

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

/* Footer */
.footer {
    background: #1A1A1A;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-left .logo {
    color: white;
    margin-bottom: 15px;
}

.footer-left p {
    color: #CCCCCC;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: #CCCCCC;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #CCCCCC;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #2C3E50 100%);
    color: white;
    padding: 30px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

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

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

.cookie-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cookie-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.cookie-content p {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #CCCCCC;
}

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

/* Thank You Message */
.thank-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.thank-message.show {
    opacity: 1;
    visibility: visible;
}

.thank-content {
    background: white;
    padding: 60px;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.thank-content .logo {
    justify-content: center;
    margin-bottom: 30px;
}

.thank-content h2 {
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-left h1 {
        font-size: 40px;
    }
    
    .registration-form {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-left h1 {
        font-size: 32px;
    }
    
    .hero-left p {
        font-size: 16px;
    }
    
    .registration-form {
        padding: 30px;
    }
    
    .features-grid,
    .steps-grid,
    .modules-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-input {
        flex-direction: column;
        gap: 0;
    }
    
    .phone-input select {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-left h1 {
        font-size: 28px;
    }
    
    .registration-form {
        padding: 20px;
    }
    
    .module,
    .step,
    .testimonial {
        padding: 30px 20px;
    }
    
    .thank-content {
        padding: 40px 30px;
    }
    
    .cookie-consent {
        padding: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}