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

html {
    scroll-behavior: smooth;
}

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

body.loading {
    opacity: 0;
}

/* Loading Animation */
.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2F4A8B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #9AFF5B, #7ED321);
    color: #333;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(154, 255, 91, 0.3);
}

.btn-secondary {
    background: #9AFF5B;
    color: #333;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
}

.btn-secondary:hover {
    background: #7ED321;
    transform: translateY(-1px);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.cookie-content h3 {
    color: #2F4A8B;
    margin-bottom: 15px;
    font-size: 18px;
}

.cookie-content p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #666;
}

.cookie-content a {
    color: #2F4A8B;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-accept {
    background: #9AFF5B;
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    font-size: 12px;
}

.btn-refuse {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    font-size: 12px;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: #2F4A8B;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2F4A8B, #4A6BA8);
    border-radius: 8px;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 3px;
}

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

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.nav-list a:hover {
    color: #2F4A8B;
}

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

.burger-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.burger-btn.active span:first-child {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:last-child {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2F4A8B, #4A6BA8);
    color: #fff;
    padding: 120px 0 80px;
    margin-top: 80px;
}

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

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-brain {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(154, 255, 91, 0.2), rgba(126, 211, 33, 0.3));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.ai-brain::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: linear-gradient(45deg, #9AFF5B, transparent);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

.hero p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
}

.hero-form input {
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.hero-form input::placeholder {
    color: #999;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.about h2 {
    font-size: 36px;
    color: #2F4A8B;
    margin-bottom: 25px;
    font-weight: 700;
}

.about p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
}

.advantages {
    margin-top: 30px;
}

.advantages h3 {
    color: #2F4A8B;
    margin-bottom: 20px;
    font-size: 20px;
}

.advantage-item {
    margin-bottom: 20px;
}

.advantage-item strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.advantage-item p {
    margin: 0;
    font-size: 14px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-visualization {
    width: 350px;
    height: 250px;
    background: linear-gradient(135deg, #2F4A8B, #4A6BA8);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.chart-visualization::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 80px;
    background: linear-gradient(to top, #9AFF5B, transparent);
    border-radius: 5px;
    opacity: 0.7;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    color: #2F4A8B;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon.analysis {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.service-icon.optimization {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

.service-icon.detection {
    background: linear-gradient(135deg, #45B7D1, #96C93D);
}

.service-icon.automation {
    background: linear-gradient(135deg, #96CEB4, #FFECD2);
}

.service-icon.audit {
    background: linear-gradient(135deg, #A8EDEA, #FED6E3);
}

.service-card h3 {
    color: #2F4A8B;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

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

/* Work Stages Section */
.work-stages {
    padding: 80px 0;
    background: #f8f9fa;
}

.work-stages h2 {
    text-align: center;
    font-size: 36px;
    color: #2F4A8B;
    margin-bottom: 10px;
    font-weight: 700;
}

.stages-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}

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

.stage-item {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.stage-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9AFF5B, #7ED321);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 15px;
}

.stage-item h3 {
    color: #2F4A8B;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.stage-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.stages-visual {
    display: flex;
    justify-content: center;
}

.ai-network {
    width: 400px;
    height: 200px;
    background: linear-gradient(135deg, #2F4A8B, #4A6BA8);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* Numbers Section */
.numbers {
    padding: 80px 0;
    background: linear-gradient(135deg, #2F4A8B, #4A6BA8);
    color: #fff;
    text-align: center;
}

.numbers h2 {
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.number-card {
    text-align: center;
}

.number {
    font-size: 48px;
    font-weight: 700;
    color: #9AFF5B;
    display: block;
    margin-bottom: 10px;
}

.number-card p {
    font-size: 16px;
    opacity: 0.9;
}

.numbers-image {
    display: flex;
    justify-content: center;
}

.robot-hands {
    width: 300px;
    height: 150px;
    background: rgba(154, 255, 91, 0.2);
    border-radius: 15px;
    position: relative;
}

/* History Section */
.history {
    padding: 80px 0;
}

.history h2 {
    text-align: center;
    font-size: 36px;
    color: #2F4A8B;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.founder-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 15px;
    position: relative;
}

.history-text h3 {
    color: #2F4A8B;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.history-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    color: #2F4A8B;
    margin-bottom: 50px;
    font-weight: 700;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #2F4A8B;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #2F4A8B, #4A6BA8);
    color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact p {
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 400px;
    margin: 0 auto;
}

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

.contact-form input {
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.contact-form input::placeholder {
    color: #999;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 18px;
}

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

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

.footer-links a:hover {
    color: #9AFF5B;
}

.footer-copyright {
    color: #999;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .history-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        text-align: center;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        height: 100%;
        justify-content: flex-start;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .ai-brain {
        width: 200px;
        height: 200px;
    }
    
    .services-grid,
    .stages-grid {
        grid-template-columns: 1fr;
    }
    
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-content {
        margin: 10px;
        padding: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .about,
    .services,
    .work-stages,
    .numbers,
    .history,
    .faq,
    .contact {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 28px !important;
    }
    
    .service-card,
    .stage-item {
        padding: 20px;
    }
}

.thank-you{
     padding-block: 100px;
}