/* Reset and Base Styles */
html {
    font-size: 10px;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: #1a1a1a;
    color: #fff;
    padding: 2rem;
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-content p {
    font-size: 1.4rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: #007bff;
    color: #fff;
}

.cookie-btn.accept:hover {
    background: #0056b3;
}

.cookie-btn.decline {
    background: transparent;
    color: #fff;
    border: 0.1rem solid #fff;
}

.cookie-btn.decline:hover {
    background: #fff;
    color: #1a1a1a;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 120rem;
    margin: 0 auto;
}

.nav-brand h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #007bff;
}

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

.nav-toggle span {
    width: 2.5rem;
    height: 0.3rem;
    background: #333;
    margin: 0.3rem 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: url("img/main.png");
    color: #fff;
    padding: 12rem 2rem 8rem;
    text-align: center;
    margin-top: 7rem;
}

.hero-content h2 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    background: #007bff;
    color: #fff;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 0.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-0.2rem);
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: #f8f9fa;
}

.services-grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 30rem;
    background: #1967d9;
    padding: 3rem;
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-0.5rem);
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #eeebeb;
    line-height: 1.3;
}

.service-card p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #f8f8f8;
}

/* Understanding Section */
.understanding {
    padding: 8rem 0;
    background: #fff;
}

.understanding-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.understanding-text {
    flex: 1;
    min-width: 30rem;
}

.understanding-text h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.understanding-text p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.understanding-image {
    flex: 1;
    min-width: 30rem;
}

.understanding-image img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
}

/* Who Section */
.who-section {
    padding: 8rem 0;
    background: #f8f9fa;
}

.who-section h2 {
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

.who-grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.who-card {
    flex: 1;
    min-width: 30rem;
    background: #fff;
    padding: 3rem;
    border-radius: 0.8rem;
    box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.who-card:hover {
    transform: translateY(-0.5rem);
}

.who-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.who-card p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #666;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: #fff;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    flex-shrink: 0;
}

.icon-circle {
    width: 6rem;
    height: 6rem;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle img {
    width: 3rem;
    height: 3rem;
}

.feature-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-content p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #666;
}

/* Automation Role Section */
.automation-role {
    padding: 8rem 0;
    background: #1a1a1a;
    color: #fff;
}

.automation-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.automation-text {
    flex: 1;
    min-width: 30rem;
}

.automation-text h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.automation-text p {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.automation-image {
    flex: 1;
    min-width: 30rem;
}

.automation-image img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
}

/* Recommendations Section */
.recommendations {
    padding: 8rem 0;
    background: #f8f9fa;
}

.recommendations h2 {
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

.recommendation-item {
    background: #fff;
    padding: 3rem;
    border-radius: 0.8rem;
    margin-bottom: 3rem;
    box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.recommendation-item:hover {
    transform: translateY(-0.3rem);
}

.recommendation-item:last-child {
    margin-bottom: 0;
}

.recommendation-item h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.recommendation-item p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: #fff;
}

.contact-content {
    display: flex;
    align-items: flex-start;
    gap: 5rem;
    flex-wrap: wrap;
}

.contact-text {
    flex: 1;
    min-width: 30rem;
}

.contact-text h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 30rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border: 0.1rem solid #ddd;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    resize: vertical;
    min-height: 12rem;
}

.submit-btn {
    background: #007bff;
    color: #fff;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 0.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.submit-btn:hover {
    background: #0056b3;
    transform: translateY(-0.2rem);
}

.contact-image {
    flex: 1;
    min-width: 30rem;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 7rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 7rem);
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 4rem;
        box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-0.5rem, 0.6rem);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-0.5rem, -0.6rem);
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.6rem;
    }

    .services-grid {
        flex-direction: column;
    }

    .service-card {
        min-width: auto;
    }

    .understanding-content {
        flex-direction: column;
    }

    .understanding-text,
    .understanding-image {
        min-width: auto;
    }

    .who-grid {
        flex-direction: column;
    }

    .who-card {
        min-width: auto;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .automation-content {
        flex-direction: column-reverse;
    }

    .automation-text,
    .automation-image {
        min-width: auto;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-text,
    .contact-form-wrapper,
    .contact-image {
        min-width: auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-popup {
        left: 1rem;
        right: 1rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav {
        padding: 1.5rem;
    }

    .hero {
        padding: 10rem 1.5rem 6rem;
    }

    .hero-content h2 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .understanding-text h2,
    .automation-text h2,
    .recommendations h2,
    .contact-text h2,
    .who-section h2 {
        font-size: 2.8rem;
    }

    .service-card,
    .who-card,
    .recommendation-item {
        padding: 2rem;
    }

    .services,
    .understanding,
    .who-section,
    .features,
    .automation-role,
    .recommendations,
    .contact {
        padding: 6rem 0;
    }
}

/* Success Page Styles */
.success-section {
    padding: 12rem 2rem 8rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-content {
    text-align: center;
    max-width: 60rem;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.success-content h1 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.success-content p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 4rem;
}

.success-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1.5rem 3rem;
    border-radius: 0.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    display: inline-block;
}

.btn-primary {
    background: #007bff;
    color: #fff;
    border: 0.2rem solid #007bff;
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-0.2rem);
}

.btn-secondary {
    background: transparent;
    color: #007bff;
    border: 0.2rem solid #007bff;
}

.btn-secondary:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-0.2rem);
}

@media (max-width: 768px) {
    .success-content h1 {
        font-size: 2.8rem;
    }

    .success-content p {
        font-size: 1.6rem;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 30rem;
    }
}