:root {
    --primary: #8B1A1A; /* Deep Red */
    --primary-hover: #701414;
    --bg-warm: #FDFBF7; /* Warm off-white */
    --text-dark: #2A2A2A;
    --text-muted: #666666;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    min-height: 100vh;
    background-color: var(--bg-warm);
    position: relative;
    overflow-x: hidden;
}

/* Background image with a warm gradient overlay to keep text readable */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.page-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(253, 251, 247, 0.95) 0%, rgba(253, 251, 247, 0.85) 100%);
    z-index: -1;
}

/* Layout */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 600px; /* Mobile first, constrained width on desktop */
    margin: 0 auto;
    padding: 1.5rem;
}

/* Header */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

.brand {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.lang-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.lang-toggle button.active {
    color: var(--primary);
}

.lang-toggle span {
    color: #ccc;
}

/* Hero Content */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    flex: 1;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(139, 26, 26, 0.1);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.main-heading {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.sub-heading {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.sub-heading b {
    color: var(--primary);
}

/* Form */
.email-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

input[type="email"] {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

input[type="email"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 26, 26, 0.1);
}

#submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(139, 26, 26, 0.3);
}

#submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(139, 26, 26, 0.4);
}

#submit-btn svg {
    transition: transform 0.3s ease;
}

#submit-btn:hover svg {
    transform: translateX(5px);
}

.privacy-note {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-top: 1rem;
}

.form-status {
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    display: none;
}
.form-status.success { display: block; color: #10B981; }
.form-status.error { display: block; color: var(--primary); }

/* About Section */
.about-section {
    margin-top: 1rem;
}

.about-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.avatar img {
    border-radius: 50%;
    width: 56px;
    height: 56px;
    border: 2px solid var(--bg-warm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-header h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
}

.about-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.about-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tiktok-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: #000000;
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.tiktok-btn:hover {
    background: #333333;
    transform: translateY(-2px);
}

/* Desktop Enhancements */
@media (min-width: 601px) {
    .wrapper {
        max-width: 700px;
        padding: 4rem 2rem;
    }
    
    .main-heading {
        font-size: 3rem;
    }

    .input-wrapper {
        flex-direction: row;
        align-items: stretch;
    }

    input[type="email"] {
        flex: 1;
        border-radius: 12px 0 0 12px;
        border-right: none;
    }

    #submit-btn {
        width: auto;
        border-radius: 0 12px 12px 0;
        padding: 1.2rem 2rem;
    }

    input[type="email"]:focus {
        border-color: var(--primary);
        border-right: 2px solid var(--primary);
        box-shadow: 0 0 0 4px rgba(139, 26, 26, 0.1);
        z-index: 1;
    }
}
