@font-face {
    font-family: "Inter";
    src: url("fonts/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/Inter-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("fonts/SpaceGrotesk-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("fonts/SpaceGrotesk-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

:root {
    --color-text: #ffffff;
    --color-muted: rgba(255,255,255,0.75);
    --color-bg: #000000;
    --color-dark: #0c0e14;
    --color-accent: #ffad1f;
    --color-footer-muted: #c2c6cc;
    --font-logo: "Space Grotesk";
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    position: absolute;
    inset: 0 0 auto 0;
    padding: 22px 24px;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
}

.logo {
    font-family: var(--font-logo);
    font-weight: 700;
    letter-spacing: 0.25em;
    font-size: 18px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 24px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background: linear-gradient(
        160deg,
        #0f1220 0%,
        #0a0d18 55%,
        #000000 100%
    );
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px 500px at 50% 40%,
        rgba(80,60,180,0.15),
        transparent 70%
    );
    z-index: -1;
}

.hero-inner {
    max-width: 640px;
    animation: fadeUp 1.2s ease-out both;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    line-height: 1.05;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 18px;
    color: var(--color-muted);
    margin-bottom: 36px;
}

form {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 520px;
    margin: 0 auto;
}

label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

input[type="email"] {
    min-width: 240px;
    max-width: 320px;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 15px;
}

input::placeholder {
    color: rgba(255,255,255,.6);
}

button {
    padding: 16px 26px;
    border-radius: 10px;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .25s ease;
}

button:hover {
    transform: translateY(-2px);
    background: #eaeaea;
}

@media (max-width: 500px) {
    form {
        flex-direction: column;
        gap: 12px;
    }

    input[type="email"],
    button {
        width: 100%;
        max-width: 100%;
    }
}

footer {
    background: var(--color-dark);
    padding: 60px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-family: var(--font-logo);
    font-size: 26px;
    letter-spacing: 0.28em;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-copy {
    font-size: 12px;
    color: var(--color-footer-muted);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.footer-nav h4 {
    margin-bottom: 18px;
}

.footer-nav li {
    list-style: none;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-nav a {
    color: var(--color-footer-muted);
    transition: color .2s ease;
}

.footer-nav a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}