/* Reset and Base 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;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff8c42, #ff6b1a);
    border-radius: 12px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
    margin: 0 auto;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.cookie-content h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cookie-content p {
    color: white;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

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

.btn-accept, .btn-preferences {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-accept {
    background: #6c5ce7;
    color: white;
}

.btn-accept:hover {
    background: #5a4fcf;
}

.btn-preferences {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-preferences:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

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

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff8c42;
}

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

.burger-menu span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

.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, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url(./img/bg.png);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: white;
}



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

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

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.registration-form input,
.registration-form select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

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

.country-select {
    flex: 0 0 80px;
}

.phone-input input {
    flex: 1;
}

.btn-register {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-register:hover {
    background: #5a4fcf;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.about-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.btn-intro {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-intro:hover {
    background: #5a4fcf;
}

.ai-illustration {
    width: 250px;
    height: 200px;
    background: linear-gradient(135deg, #6c5ce7, #a8e6cf);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ai-text {
    font-size: 48px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #6c5ce7;
    color: white;
}

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

.feature-card {
    padding: 30px 20px;
}

.feature-number {
    font-size: 24px;
    font-weight: 700;
    color: #ff8c42;
    margin-bottom: 15px;
}

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

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* System Section */
.system {
    padding: 100px 0;
    background: white;
}

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

.system-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.system-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.btn-method {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.btn-method:hover {
    background: #5a4fcf;
}

.brain-illustration {
    width: 250px;
    height: 200px;
    background: linear-gradient(135deg, #ff8c42, #ff6b1a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.neural-network {
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.7;
}

/* Analysis Section */
.analysis {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.analysis-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.analysis-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.btn-lecture {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.btn-lecture:hover {
    background: #5a4fcf;
}

.robot-illustration {
    width: 250px;
    height: 200px;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.robot-head {
    width: 80px;
    height: 80px;
    background: #718096;
    border-radius: 8px;
    position: relative;
}

.robot-eye {
    width: 12px;
    height: 12px;
    background: #00f5ff;
    border-radius: 50%;
    position: absolute;
    top: 25px;
    right: 25px;
    box-shadow: 0 0 10px #00f5ff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Approach Section */
.approach {
    padding: 100px 0;
    background: #f8f9fa;
}

.approach h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.approach-number {
    font-size: 24px;
    font-weight: 700;
    color: #6c5ce7;
    margin-bottom: 15px;
}

.approach-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.approach-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

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

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

.footer-contact p {
    margin-bottom: 5px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    font-size: 14px;
    opacity: 0.7;
}

/* Thank You Page Styles */
.thank-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 100px 20px 50px;
}

.thank-content {
    max-width: 600px;
}

.thank-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.thank-content p {
    font-size: 18px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-home {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 30px;
    text-decoration: none;
    display: inline-block;
}

.btn-home:hover {
    background: #5a4fcf;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }
    
    .about-content,
    .system-content,
    .analysis-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .approach-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        visibility: hidden;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-form {
        padding: 20px;
    }
    
    .phone-input {
        flex-direction: column;
        gap: 15px;
    }
    
    .country-select {
        flex: none;
    }
    
    .about-text h2,
    .system-text h2,
    .analysis-text h2 {
        font-size: 28px;
    }
    
    .approach h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .thank-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .about-text h2,
    .system-text h2,
    .analysis-text h2,
    .approach h2 {
        font-size: 24px;
    }
    
    .ai-illustration,
    .brain-illustration,
    .robot-illustration {
        width: 200px;
        height: 150px;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .approach-card {
        padding: 20px;
    }
    
    .thank-content h1 {
        font-size: 32px;
    }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6c5ce7;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a4fcf;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus States for Accessibility */
button:focus,
input:focus,
select:focus,
a:focus {
    outline: 2px solid #6c5ce7;
    outline-offset: 2px;
}

/* Hidden class for elements */
.hidden {
    display: none !important;
}