:root {
    --primary-color: #007bff; /* Light Blue */
    --secondary-color: #15511d; /* Green */
    --text-color: #333;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

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

header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 20px 12px;
    background: #fff;
}

.logo img {
    display: block;
    width: min(360px, 40vw);
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero_left,
.hero_right {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    box-sizing: border-box;
}

.hero_right {
    text-align: left;
}

.hero_right .container {
    max-width: 560px;
    padding: 0;
    margin: 0;
}

.hero_right h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero_right p {
    margin-bottom: 24px;
}

.hero_left .logo {
    width: 100%;
    background: transparent;
    padding: 0;
}

.hero_left .logo img {
    width: min(520px, 96%);
    max-width: 100%;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 18px rgba(0, 123, 255, 0.18);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #0066d6, #21963c);
}

.section-padding {
    padding: 60px 0;
}

h2 {
    text-align: center;
}

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

.feature-card, .price-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.price-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.price {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 20px 0;
}

.price_info {
    text-align: center;
    margin-top: -2rem;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.form-consent input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.form-consent a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-consent a:hover {
    text-decoration: underline;
}

footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
}

.modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.modal-panel {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(80vh, 900px);
    overflow: auto;
    background: #fff;
    color: var(--text-color);
    border-radius: 8px;
    padding: 28px 28px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal-panel h2 {
    text-align: left;
    margin-top: 0;
}

.modal-panel h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.modal-panel p:last-child {
    margin-bottom: 0;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 36px 0;
    }

    .hero_left,
    .hero_right {
        flex: 1 1 auto;
        width: 100%;
        text-align: center;
        padding: 16px 16px;
    }

    .hero_right .container {
        max-width: 100%;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .hero_right h1 {
        font-size: 2rem;
    }

    .hero_left .logo img {
        width: min(360px, 86vw);
    }

    .price-card.featured {
        transform: scale(1);
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 28px;
    }

    .feature-card,
    .price-card {
        padding: 22px;
    }
}

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

    .hero_right h1 {
        font-size: 1.7rem;
    }

    .hero_right p {
        font-size: 0.98rem;
    }

    .hero_left .logo img {
        width: min(300px, 88vw);
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        padding: 7px 10px;
        font-size: 0.95rem;
    }

    .section-padding {
        padding: 44px 0;
    }

    .form-consent {
        font-size: 0.92rem;
    }

    .modal {
        padding: 14px;
    }

    .modal-panel {
        padding: 22px 18px 18px;
        max-height: 86vh;
    }
}
