:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #ff3b3b; /* Passionate Red */
    --accent-glow: rgba(255, 59, 59, 0.5);
    --secondary-text: #cccccc;
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header */
header {
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    text-transform: uppercase;
}

/* Main Content */
main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align left for dramatic effect */
}

.content {
    max-width: 800px;
    animation: fadeIn 1.5s ease-out;
}

.badge {
    display: inline-block;
    background: rgba(255, 59, 59, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 600;
}

h1 .highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-color);
    position: relative;
    display: inline-block;
}

h1 .highlight::before {
    content: 'IN FITNESS';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: var(--accent-color);
    overflow: hidden;
    border-right: 4px solid var(--accent-color);
    animation: typeReveal 3s ease-in-out infinite alternate;
    -webkit-text-stroke: 0;
}

p {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.6;
}

/* Form */
.input-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
}

input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

button {
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

button:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

button .arrow {
    transition: transform 0.3s ease;
}

button:hover .arrow {
    transform: translateX(5px);
}

/* Footer */
footer {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes typeReveal {
    0% { width: 0; }
    40% { width: 100%; }
    60% { width: 100%; }
    100% { width: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    button {
        width: 100%;
        justify-content: center;
    }
}
