﻿:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --bg: #f5faff;
    --shadow: 0 2px 16px 0 rgba(30,64,175,0.07);
    --radius: 1.5rem;
}

body {
    margin: 0;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: #222;
    line-height: 1.5;
}

.container {
    max-width: 1040px;
    margin: auto;
    padding: 0 1.2rem;
}

header {
    background: #fff;
    box-shadow: var(--shadow);
    padding: 1.3rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 2rem;
}

.logo {
    font-weight: bold;
    font-size: 1.55rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -1px;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    display: inline-block;
    background: var(--primary);
    border-radius: 0.4rem;
    margin-right: 0.25rem;
    position: relative;
}

    .logo-icon::before, .logo-icon::after {
        content: "";
        position: absolute;
        left: 0.38rem;
        right: 0.38rem;
        height: 0.3rem;
        background: #fff;
        border-radius: 1rem;
    }

    .logo-icon::before {
        top: 0.4rem;
    }

    .logo-icon::after {
        top: 1.1rem;
    }

nav a {
    color: #444;
    text-decoration: none;
    margin: 0 1.2rem;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.15s;
}

    nav a:hover {
        color: var(--primary);
    }

.btn {
    padding: 0.65rem 2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.11);
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

    .btn:hover {
        background: var(--primary-dark);
    }

.hero {
    text-align: center;
    padding: 3.5rem 0 2rem 0;
}

    .hero h1 {
        font-size: 2.4rem;
        font-weight: 800;
        margin-bottom: 1.1rem;
        color: var(--primary-dark);
        line-height: 1.1;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 1.15rem;
        color: #374151;
        margin-bottom: 1.7rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

.feature-card {
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 2.3rem 1.3rem;
    text-align: center;
}

    .feature-card .icon {
        font-size: 2.2rem;
        color: var(--primary);
        margin-bottom: 0.6rem;
        display: inline-block;
    }

    .feature-card h3 {
        margin: 0.5rem 0 0.6rem 0;
        font-weight: 700;
        color: var(--primary-dark);
        font-size: 1.13rem;
    }

    .feature-card p {
        color: #4b5563;
        font-size: 0.97rem;
    }

.section-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: bold;
    margin: 3.2rem 0 2rem 0;
    color: var(--primary-dark);
    letter-spacing: -1px;
}

.steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.8rem;
    margin: 2rem 0 0.5rem 0;
    text-align: center;
}

.step-number {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.step-title {
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 0.18rem;
}

.step-desc {
    color: #555;
    font-size: 0.98rem;
    margin-bottom: 0;
}

.pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.2rem 0 1.5rem 0;
}

.pricing-card {
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem 2.2rem 1.5rem;
    text-align: center;
    border: 2.5px solid transparent;
}

    .pricing-card.free {
        border-color: var(--primary);
    }

    .pricing-card .plan {
        color: var(--primary);
        font-weight: bold;
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .pricing-card .price {
        font-size: 2.3rem;
        font-weight: 900;
        margin-bottom: 0.5rem;
    }

    .pricing-card .period {
        font-size: 1.1rem;
        font-weight: 400;
        color: #666;
    }

    .pricing-card ul {
        text-align: left;
        display: inline-block;
        margin: 1.2rem auto 1.2rem auto;
        font-size: 1.04rem;
        color: #2563eb;
        list-style: none;
        padding: 0;
        font-weight: 400;
    }

        .pricing-card ul li::before {
            content: '✔ ';
            color: var(--primary);
            margin-right: 0.2rem;
            font-weight: 900;
        }

.about-section {
    background: #fff;
    border-radius: var(--radius);
    margin: 2.5rem auto 2.5rem auto;
    padding: 2.4rem 1.6rem;
    max-width: 650px;
    box-shadow: var(--shadow);
    text-align: center;
}

    .about-section h2 {
        color: var(--primary-dark);
        font-size: 1.3rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    .about-section p {
        color: #374151;
        font-size: 1.08rem;
    }

footer {
    background: var(--primary-dark);
    color: #fff;
    text-align: center;
    padding: 2.5rem 1rem 1rem 1rem;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-top: 2.5rem;
}

    footer .cta {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 1.3rem;
        display: block;
        color: #fff;
    }

    footer .btn {
        background: #fff;
        color: var(--primary-dark);
        font-size: 1.07rem;
        font-weight: bold;
        margin-bottom: 1.6rem;
    }

    footer .copyright {
        color: #c7d2fe;
        font-size: 0.95rem;
        margin-top: 1.6rem;
        letter-spacing: 0.05rem;
    }

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9999;
    overflow-y: auto;
}

.modal {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.3s ease;
    position: relative;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.modal input {
    width: 100%;
    padding: 0.85rem;
    margin-bottom: 1rem;
    border-radius: 0.8rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

    .modal input:focus {
        border-color: var(--primary);
        outline: none;
    }

.modal .btn {
    width: 100%;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.4rem;
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    cursor: pointer;
    color: #666;
}

.links {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

    .links a {
        color: var(--primary);
        cursor: pointer;
    }

@media (max-width: 920px) {
    .features, .steps, .pricing {
        grid-template-columns: 1fr;
    }

    .features, .steps, .pricing {
        gap: 1.1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav a {
        margin: 0 0.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .about-section {
        padding: 1.2rem 0.6rem;
    }

    .feature-card, .pricing-card {
        padding: 1.1rem 0.5rem;
    }

    .modal {
        padding: 1.2rem;
        border-radius: 1rem;
    }
}
