:root {
    --hx-green: #97f01d;
    --hx-blue: #00A8FF;
    --hx-bg: #0E1114;
    --hx-text: #C8D0D4;
    --hx-white: #F2F5F7;
}

body {
    margin: 0;
    padding: 0;
    background: var(--hx-bg);
    color: var(--hx-text);
    font-family: Inter, Arial, sans-serif;
}

a {
    color: var(--hx-green);
    text-decoration: none;
}
a:hover {
    opacity: 0.8;
}

/* NAVBAR */
nav {
    width: 100%;
    padding: 20px 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav img {
    height: 50px;
}

.nav-links a {
    margin-left: 30px;
    font-size: 25px;
    color: var(--hx-white);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--hx-green);
}

/* HERO */
.hero {
    height: 650px;
    width: 90%;
    max-width: 100vw;
    overflow-x: hidden;

    background-image: url("assets/images/HYDEX SOCIAL TEMP 4.jpg");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;

    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    padding-left: 40px;
    padding-right: clamp(80px, 10vw, 200px);
    padding-top: 120px;
}

.hero-text {
    max-width: 620px;
    text-align: center;
}

.hero-text h1 {
    font-size: 54px;
    font-weight: 700;
    text-align: center;
    color: var(--hx-white);
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.hero-text p {
    font-size: 18px;
    color: var(--hx-text);
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-button {
    padding: 14px 34px;
    background: linear-gradient(135deg, var(--hx-green), var(--hx-blue));
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    display: inline-block;
    transition: 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.2s;
    text-align: center;

    box-shadow: 0 0 6px rgba(0, 255, 102, 0.05);
}

.feature-card:hover {
    border-color: var(--hx-green);
    transform: translateY(-6px);
    box-shadow:
        0 0 18px rgba(0, 255, 102, 0.45),
        0 0 32px rgba(0, 255, 102, 0.25);
}

.feature-card h3 {
    color: var(--hx-white);
    margin-bottom: 12px;
}

.feature-card p {
    opacity: 0.8;
    font-size: 15px;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 50px 0 20px;
    opacity: 0.5;
    font-size: 14px;
}

/* SOCIALS */
.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.socials img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    opacity: 0.75;
}

.socials img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {

    /* Smaller logo */
    nav img.logo {
        height: 36px;   /* adjust if needed */
    }

    /* Navbar links */
    nav .nav-links a {
        font-size: 14px;
        margin-left: 12px;
        white-space: nowrap;
    }

    /* Hero title */
    .hero h1 {
        font-size: 36px;
        line-height: 1.15;
        text-align: center;
        padding: 0 10px;
    }

    /* Hero subtitle */
    .hero p {
        font-size: 16px;
        text-align: center;
        background: rgba(0, 0, 0, 0.45); /* semi-transparent black */
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        padding: 12px 16px;
        border-radius: 6px;
        display: inline-block;
        margin-top: 10px;
        line-height: 1.4;
    }

    /* Center the button + reduce size */
    .hero .cta-button {
        font-size: 16px;
        padding: 10px 24px;
        margin: 20px auto 0 auto;
        display: block;
    }

    /* Reduce spacing above/below hero */
    .hero {
        padding: 80px 0 60px 0;
        text-align: center;
        padding: 0 20px;
        background-position: left center;
        background-size: cover;
    }
}