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

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Fira Mono", monospace;
    /*
    * Created with https://www.css-gradient.com
    * Gradient link: https://www.css-gradient.com/?c1=fafafa&c2=d8cfbf&gt=r&gd=dtl
    */
    background: #FAFAFA;
    background: radial-gradient(at left top, #FAFAFA, #D8CFBF);
    background-image: url('bulb_bg_overlay.png');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: cover;
    background-blend-mode: multiply;
    color: #000;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    background: transparent;
}

/* Background ambient light effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 220, 120, 0.1) 0%,
            rgba(255, 220, 120, 0.08) 40%,
            rgba(255, 220, 120, 0.06) 60%,
            rgba(255, 220, 120, 0.03) 80%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.container {
    text-align: left;
    width: 100%;
    position: relative;
    z-index: 10;
}

.title {
    font-family: "Figtree", sans-serif;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    transition: filter 0.1s ease-out, box-shadow 0.1s ease-out;
}

.subtitle {
    font-family: "Fira Mono", monospace;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    transition: filter 0.1s ease-out, box-shadow 0.1s ease-out;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    width: 100%;
    transition: filter 0.1s ease-out, box-shadow 0.1s ease-out;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    background: transparent;
}

input[type="email"] {
    padding: 1rem;
    border: 1px solid #000000;
    background: #FAFAFA;
    font-family: "Fira Mono", monospace;
    font-size: 1rem;
    color: #000000;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

input[type="email"]::placeholder {
    color: #666666;
}

input[type="email"]:focus {
    outline: none;
}

button {
    padding: 1rem;
    border: 1px solid #000000;
    background: #FAFAFA;
    color: #000000;
    font-family: "Fira Mono", monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

button:hover {
    background: #000000;
    color: #ffffff;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.message {
    font-family: "Fira Mono", monospace;
    font-size: 0.875rem;
    display: none;
    margin-top: 1rem;
}

.message.success {
    color: #000000;
    display: block;
}

.message.error {
    color: #000000;
    display: block;
}

.btn-loading {
    display: none;
}

button.loading .btn-text {
    display: none;
}

button.loading .btn-loading {
    display: inline;
}

/* Shadow canvas for ray-traced shadows */
.shadow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Individual shadow polygons with noise/grain texture */
.shadow-polygon {
    position: absolute;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
    transform-origin: 0 0;
    transform: scale(0);
}

/* Global soft illumination canvas */
.global-illumination {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1.5;
    mix-blend-mode: overlay;
}

.footer {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

.footer a {
    color: #000000;
    text-decoration: none;
    font-family: "Fira Mono", monospace;
    font-size: 0.875rem;
    font-weight: 300;
}

.footer a:hover {
    opacity: 0.7;
}

.privacy-link {
    margin-top: 1rem;
    text-align: left;
}

a {
    color: #000000;
    text-decoration: none;
    font-family: "Fira Mono", monospace;
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

a:-webkit-any-link {
    color: #000000;
    text-decoration: none;
    font-family: "Fira Mono", monospace;
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

a:-moz-any-link {
    color: #000000;
    text-decoration: none;
    font-family: "Fira Mono", monospace;
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.privacy-link a {
    color: #000000;
    text-decoration: none;
    font-family: "Fira Mono", monospace;
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.privacy-link a:hover {
    opacity: 1;
}

.privacy-link-text {
    color: #000000;
    text-decoration: none;
    font-family: "Fira Mono", monospace;
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.privacy-link-text:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .title {
        font-size: clamp(4rem, 25vw, 8rem);
        margin-bottom: 0.5rem;
    }

    .subtitle {
        font-size: 0.875rem;
        margin-bottom: 2rem;
    }

    .subscribe-form {
        max-width: 250px;
    }

    .footer {
        bottom: 1rem;
        right: 1rem;
    }
}