:root {
    --bg-color: #051010;
    --accent-cyan: #00E676;
    --accent-blue: #00C853;
    --glass-bg: #071410;
    --glass-border: rgba(180, 255, 210, 0.14);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 0;
    background-image: radial-gradient(circle at 50% 42%, #00C853 0%, rgba(0, 200, 83, 0.55) 22%, #051010 68%);
    overflow: hidden;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    display: block;
}

.container {
    max-width: 800px;
    padding: 1.5rem 2rem 1.15rem;
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10;
    margin: 12px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 230, 118, 0.1);
    color: #00E676;
    border: 1px solid #00E676;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 0.65rem;
    background: linear-gradient(to right, #F8FAFC, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.cf-turnstile {
    display: flex;
    justify-content: center;
    width: 100%;
}

input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(0, 200, 83, 0.2);
}

button {
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    background: #00C853;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-blue);
}

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

.consent-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.15rem;
    text-align: left;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.consent-wrapper a {
    color: var(--accent-cyan);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.consent-wrapper a:hover {
    border-color: var(--accent-cyan);
}

input[type="checkbox"] {
    margin-top: 0.15rem;
    accent-color: var(--accent-blue);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

#status-message {
    font-size: 0.875rem;
    min-height: 0;
    font-weight: 500;
}

#status-message:empty {
    display: none;
}

.features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.85rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 0.7rem;
}

.feature-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: monospace;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.2rem;
}

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; }
    .input-group { flex-direction: column; align-items: stretch; gap: 0.5rem; }
    button { width: 100%; }
    .features { flex-direction: column; gap: 1.5rem; }
}
