:root {
    --primary-color: #b00b13;
    --secondary-color: #525252;
    --text-color: #fafafa;
    --text-muted: #a3a3a3;
    --bg-dark: #0a0a0a;
    --glass-background: rgba(20, 20, 20, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(176, 11, 19, 0.08);
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    /* Use the generated background image */
    background: url('../imgs/bg.png') no-repeat center center/cover fixed;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.6);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-card {
    background: var(--glass-background);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 4rem 3rem;
    width: 100%;
    text-align: center;
    transition: transform var(--transition-speed) ease;
    box-shadow: 0 8px 32px 0 rgba(176, 11, 19, 0.15);
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header/Logo Style */
.logo-section {
    margin-bottom: 2.5rem;
}

.logo-img {
    max-height: 100px;
    width: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Badge */
.badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Main Info Style */
.main-info h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -2px;
}

.main-info p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Progress-Bar */
.progress-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 3rem auto;
    position: relative;
}

.progress-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(176, 11, 19, 0.3);
    margin-bottom: 0.75rem;
    animation: growProgress 1.5s ease-out forwards;
}

@keyframes growProgress {
    from { width: 0%; }
    to { width: 75%; }
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Contact Section Style */
.contact-section {
    padding: 2.5rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
}

.contact-header {
    margin-bottom: 2rem;
}

.contact-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    background: var(--glass-highlight);
    padding: 1rem 1.5rem;
    border-radius: 1.25rem;
    text-align: left;
    border: 1px solid var(--glass-border);
    transition: background var(--transition-speed) ease, transform var(--transition-speed) ease;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    margin-right: 1rem;
    color: var(--primary-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-details .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
}

.contact-details .value {
    font-size: 0.9375rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Form Styles */
.subscribe-form {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.5rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.9375rem;
    outline: none;
    transition: border var(--transition-speed) ease;
}

.subscribe-form input:focus {
    border-color: var(--primary-color);
}

.subscribe-form button {
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-speed), background var(--transition-speed);
}

.subscribe-form button:hover {
    background: #8b0000;
    transform: translateY(-2px);
}

.subscribe-form button:active {
    transform: translateY(0px);
}

/* Footer / Socials */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-icon {
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--transition-speed);
}

.social-icon:hover {
    color: var(--primary-color);
}

/* Background Animated Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.shape-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    animation: move-1 20s infinite alternate;
}

.shape-2 {
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    animation: move-2 30s infinite alternate;
}

@keyframes move-1 {
    from { transform: translate(0, 0); }
    to { transform: translate(-100px, 100px); }
}

@keyframes move-2 {
    from { transform: translate(0, 0); }
    to { transform: translate(150px, -150px); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .content-card {
        padding: 3rem 1.5rem;
    }

    .main-info h2 {
        font-size: 2.25rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .subscribe-form {
        flex-direction: column;
    }
    
    .logo-text {
        font-size: 2.1rem;
    }
}
