/* ----------------------------------------------------
   GLOBAL
---------------------------------------------------- */

body {
    margin: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: #e6e9ef;
    background: #0a0f1a;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ----------------------------------------------------
   HEADER
---------------------------------------------------- */

.header {
    background: #0d1324;
    border-bottom: 1px solid rgba(0, 200, 255, 0.15);
    padding: 14px 0;
    box-shadow: 0 0 16px rgba(0, 200, 255, 0.05);
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 56px;
    filter: drop-shadow(0 0 6px rgba(0, 200, 255, 0.4));
}

nav a {
    margin-left: 16px;
    text-decoration: none;
    color: #c9d1e0;
    font-weight: 500;
    transition: 0.25s;
}

nav a:hover {
    color: #00c8ff;
}

nav .cta {
    padding: 6px 12px;
    background: #00c8ff;
    color: #0a0f1a;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.5);
}

/* ----------------------------------------------------
   SECTION SPACING (DESKTOP)
---------------------------------------------------- */

.hero,
.features,
.about,
.contact {
    padding: 70px 0;
}

/* ----------------------------------------------------
   HERO
---------------------------------------------------- */

.hero {
    text-align: center;
    background: radial-gradient(circle at top, #11203b, #0a0f1a);
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: auto;
    color: #c9d1e0;
}

.btn-primary {
    display: inline-block;
    padding: 12px 22px;
    background: #00c8ff;
    color: #0a0f1a;
    border-radius: 8px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(0, 200, 255, 0.6);
    transition: 0.25s;
    margin-top: 24px;
}

.btn-primary:hover {
    background: #4de3ff;
    box-shadow: 0 0 24px rgba(0, 200, 255, 0.8);
}

/* ----------------------------------------------------
   FEATURES
---------------------------------------------------- */

.features h3 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: #121a2c;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 200, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.05);
    transition: 0.25s;
}

.feature-card:hover {
    border-color: #00c8ff;
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.2);
}

.feature-card h4 {
    color: #00c8ff;
    margin-bottom: 8px;
}

/* ----------------------------------------------------
   ABOUT & CONTACT
---------------------------------------------------- */

.about h3,
.contact h3 {
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
}

.about p,
.contact p {
    color: #c9d1e0;
    max-width: 600px;
    margin: auto;
}

.contact {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: #1f2a40;
    color: #00c8ff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
    transition: 0.25s;
    margin-top: 24px;
}

.btn-secondary:hover {
    background: #2c3b57;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */

.footer {
    background: #0d1324;
    color: #8fa3c5;
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid rgba(0, 200, 255, 0.15);
}

/* ----------------------------------------------------
   MOBILE — TIGHT SPACING (FINAL FIX)
---------------------------------------------------- */

@media (max-width: 768px) {

    /* Header */
    .header-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    nav a {
        margin-left: 0;
        margin-right: 12px;
    }

    /* Section spacing */
    .hero,
    .features,
    .about,
    .contact {
        padding: 40px 0;
    }

    /* Footer spacing */
    .footer {
        padding: 18px 0;
    }

    /* Hero */
    .hero h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    /* Scoped text rhythm */
    .hero p,
    .about p,
    .contact p,
    .feature-card p {
        margin-bottom: 18px;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 10px 18px;
        font-size: 15px;
        margin-top: 18px;
    }

    /* Features grid → 1 column */
    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
