* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #1e3a2c #06100b;
}

body {
    font-family: "Inter", sans-serif;
    background: #06100b;
    color: #e2f5ea;
    position: relative;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #1e3a2c #06100b;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: #06100b;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background-color: #1e3a2c;
    border-radius: 999px;
    border: 2px solid #06100b;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background-color: #10b981;
}

/* ---------- Background ---------- */

.tech-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(circle at 12% 10%, rgba(16, 185, 129, 0.16), transparent 42%),
        radial-gradient(circle at 88% 30%, rgba(52, 211, 153, 0.12), transparent 40%),
        radial-gradient(circle at 50% 92%, rgba(250, 204, 21, 0.07), transparent 38%),
        linear-gradient(180deg, #050b08 0%, #0a1712 100%);
}

.tech-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.5;
}

.floating-elements {
    position: absolute;
    inset: 0;
}

.floating-elements span {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0) 70%);
    animation: float 16s ease-in-out infinite;
    pointer-events: none;
}

.floating-elements span:nth-child(1) {
    width: 160px;
    height: 160px;
    top: 10%;
    left: 6%;
}

.floating-elements span:nth-child(2) {
    width: 200px;
    height: 200px;
    right: 8%;
    top: 40%;
    animation-delay: 2.5s;
}

.floating-elements span:nth-child(3) {
    width: 140px;
    height: 140px;
    left: 30%;
    bottom: 8%;
    animation-delay: 4.5s;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.22) 0%, rgba(250, 204, 21, 0) 70%);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* ---------- Shared layout ---------- */

.landing-nav, .hero, .features, .landing-footer {
    position: relative;
    z-index: 1;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #eafff3;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
}

.landing-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* ---------- Navbar ---------- */

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(6, 16, 11, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1e3a2c;
}

.landing-nav__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-nav__links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.landing-nav__links a {
    color: #8fb9a3;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.landing-nav__links a:hover {
    color: #34d399;
}

.btn-nav-signin {
    padding: 0.55rem 1.15rem !important;
    border-radius: 999px;
    background: linear-gradient(90deg, #064e3b 0%, #10b981 100%);
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: transform 0.15s ease, box-shadow 0.2s ease !important;
}

.btn-nav-signin:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.3);
    color: #ffffff !important;
}

.btn-nav-signup {
    padding: 0.54rem 1.1rem !important;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(250, 204, 21, 0.4);
    color: #fde68a !important;
    font-weight: 600 !important;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease !important;
}

.btn-nav-signup:hover {
    transform: translateY(-1px);
    background: rgba(250, 204, 21, 0.1);
    border-color: #facc15;
    color: #fde68a !important;
}

/* ---------- Hero ---------- */

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6.5rem 1.5rem 5rem;
    min-height: 62vh;
}

.hero__content {
    max-width: 760px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.3);
    color: #fde68a;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.text-accent {
    color: #facc15;
}

.typewriter-cursor {
    display: inline-block;
    color: #facc15;
    font-weight: 300;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.15;
    font-weight: 800;
    color: #eafff3;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.hero p {
    color: #9dc4b0;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.2rem;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.6rem;
    border-radius: 11px;
    background: linear-gradient(90deg, #064e3b 0%, #10b981 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

.btn-hero-secondary {
    padding: 0.9rem 1.6rem;
    border-radius: 11px;
    border: 1px solid #234233;
    color: #cdece0;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-hero-secondary:hover {
    border-color: #10b981;
    color: #34d399;
}

/* ---------- Features ---------- */

.features {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}

.features__heading {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 2.8rem;
}

.features__heading h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: #eafff3;
    margin-bottom: 0.6rem;
}

.features__heading p {
    color: #7fa895;
    font-size: 0.98rem;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: #0c1a14;
    border: 1px solid #1e3a2c;
    border-radius: 16px;
    padding: 1.8rem 1.4rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #10b981;
    box-shadow: 0 10px 26px rgba(250, 204, 21, 0.08);
}

.feature-card__icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #eafff3;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #8fb9a3;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ---------- Footer ---------- */

.landing-footer {
    border-top: 1px solid #1e3a2c;
    padding: 2.2rem 1.5rem;
}

.landing-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.landing-footer__inner p a {
    color: #34d399;
    text-decoration: none;
    font-weight: 600;
}

.landing-footer__inner p a:visited {
    color: #34d399;
}

.landing-footer__inner p a:hover {
    color: #6ee7b7;
    text-decoration: underline;
}

.landing-footer__inner p {
    color: #5f8570;
    font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 992px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .landing-nav__links {
        gap: 0.8rem;
    }

    .landing-nav__links a:not(.btn-nav-signin):not(.btn-nav-signup) {
        display: none;
    }

    .btn-nav-signup {
        padding: 0.5rem 0.85rem !important;
    }

    .landing-brand span {
        display: none;
    }

    .hero {
        padding: 4.5rem 1.25rem 3.5rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .features {
        padding: 1rem 1.25rem 4rem;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .landing-footer__inner {
        flex-direction: column;
        text-align: center;
    }
}
