@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;700&display=swap');

body {
    font-family: "League Spartan", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1f1f52;
}

/* ── Header & nav ─────────────────────────────────── */
header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 2em;
    height: 80px;
    text-align: left;
    position: relative;
}
.logo {
    width: 50px;
    border-radius: 5%;
    margin: 0;
    display: block;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2em;
    position: absolute;
    right: 1em;
    top: 1.5em;
    cursor: pointer;
    z-index: 10;
}
nav {
    display: flex;
    gap: 1em;
    align-items: center;
    margin: 0 auto;
    justify-content: flex-end;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
}
nav a {
    color: #2d2d7b;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    padding: 0.3em 0.7em;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
    font-family: Arial, sans-serif;
}
nav a:hover,
nav a:focus,
nav a.active {
    background: #2d2d7b;
    color: #fff;
    text-decoration: none;
}

/* ── Hero banner ──────────────────────────────────── */
.hero {
    width: 100%;
    max-width: 100vw;
    height: 55vh;
    min-height: 260px;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-text {
    background-color: rgba(31, 31, 82, 0.65);
    padding: 2em 2.5em;
    border-radius: 10px;
    max-width: 90%;
    width: 640px;
    color: white;
    box-shadow: 0 0 14px rgba(0,0,0,0.35);
    text-align: center;
}
.hero-text h3 {
    margin: 0 0 0.5em 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: #f1f1ff;
}
.hero-text p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
    color: #e8e8ff;
}

/* ── Services section ─────────────────────────────── */
.services-section {
    background-color: #1f1f52;
    padding: 3em 1.5em 4em;
}
.services-inner {
    max-width: 960px;
    margin: 0 auto;
}
.section-title {
    color: #f1f1ff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 1.5em 0;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ── Service cards grid ───────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2em;
    margin-bottom: 2.5em;
}
.service-card {
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 1.4em 1.6em;
}
.service-card h4 {
    margin: 0 0 0.6em 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}
.service-card p {
    margin: 0 0 0.4em 0;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    color: #c8c8ee;
}
.service-card ul {
    margin: 0.4em 0 0 0;
    padding-left: 1.2em;
    color: #c8c8ee;
}
.service-card li {
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0.2em 0;
}

/* ── Hosting block ────────────────────────────────── */
.hosting-block {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #4a4ab8;
    border-radius: 0 10px 10px 0;
    padding: 1.2em 1.6em;
    margin-bottom: 1.8em;
}
.hosting-block h3 {
    margin: 0 0 0.5em 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #f1f1ff;
}
.hosting-block p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    color: #c8c8ee;
}
.hosting-block strong {
    color: #ffffff;
}

/* ── Pricing block ────────────────────────────────── */
.pricing-block {
    background-color: rgba(45, 45, 123, 0.5);
    border-radius: 10px;
    padding: 1.6em 2em;
    text-align: center;
}
.pricing-block h3 {
    margin: 0 0 0.6em 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #f1f1ff;
}
.pricing-block p {
    margin: 0 0 0.8em 0;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.5;
    color: #d0d0f0;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}
.cta-link {
    display: inline-block;
    background-color: #2d2d7b;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75em 1.6em;
    border-radius: 7px;
    transition: background 0.2s, transform 0.15s;
    margin-top: 0.4em;
}
.cta-link:hover,
.cta-link:focus {
    background-color: #3d3da0;
    transform: translateY(-2px);
    outline: none;
}

/* ── Mobile ≤ 700px ──────────────────────────────── */
@media (max-width: 700px) {
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 80px;
        padding: 0 1em;
        position: relative;
    }
    .logo {
        margin: 0;
    }
    .menu-toggle {
        display: block;
        position: static;
        margin-left: auto;
        z-index: 30;
    }
    nav {
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 80px;
        left: 10%;
        width: 80%;
        box-shadow: 0 2px 10px rgba(16, 15, 15, 0.1);
        border-radius: 0 0 10px 10px;
        transform: translateY(-30px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(.4,2,.6,1), opacity 0.3s;
        z-index: 20;
        margin: 0;
        display: flex;
        visibility: hidden;
    }
    nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    .hero {
        height: 45vh;
        min-height: 220px;
    }
    .hero-text {
        width: 88%;
        padding: 1.2em 1.4em;
    }
    .hero-text h3 {
        font-size: 1.4rem;
    }
    .hero-text p {
        font-size: 0.9rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-section {
        padding: 2em 1em 3em;
    }
    .pricing-block {
        padding: 1.4em 1.2em;
    }
}

/* ── Mobile ≤ 450px ──────────────────────────────── */
@media (max-width: 450px) {
    .hero {
        height: auto;
        min-height: 200px;
        padding: 2em 0;
    }
    .hero-text {
        width: 92%;
        padding: 1em;
    }
    .hero-text h3 {
        font-size: 1.2rem;
    }
    .hero-text p {
        font-size: 0.85rem;
    }
    .service-card {
        padding: 1em 1.1em;
    }
    .hosting-block,
    .pricing-block {
        padding: 1em;
    }
}
