/* ================================
   CSS VARIABLES
================================ */
:root {
    --primary: #0a0a0a;
    --secondary: #fafafa;
    --muted: #cbd5f5;
    --accent: #fb5b21;
    --accent-dim: #d94d1a;
    --gradient-1: #fb5b21;
    --gradient-2: #ff8c42;
    --shadow: rgba(251, 91, 33, 0.35);
}

/* ================================
   PAGE RESET (SCOPED)
================================ */
#uc-front-page {
    font-family: 'JetBrains Mono', monospace;
    background: var(--primary);
    color: var(--secondary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

#uc-front-page *,
#uc-front-page *::before,
#uc-front-page *::after {
    box-sizing: border-box;
    font-family: inherit;
    color: inherit;
}

/* ================================
   BACKGROUND EFFECTS
================================ */
#uc-front-page .bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

#uc-front-page .orb {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    z-index: 0;
}

#uc-front-page .orb-1 {
    background: var(--gradient-1);
    top: -120px;
    left: -120px;
}

#uc-front-page .orb-2 {
    background: var(--gradient-2);
    bottom: -150px;
    right: -100px;
}

#uc-front-page .orb-3 {
    background: var(--accent);
    top: 30%;
    right: -200px;
}

/* ================================
   MAIN CONTAINER
================================ */
#uc-front-page .container {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    text-align: center;
}

/* ================================
   LOGO & STATUS
================================ */
#uc-front-page .logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

#uc-front-page .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(251, 91, 33, 0.15);
    font-size: 0.75rem;
    margin-bottom: 32px;
}

#uc-front-page .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

/* ================================
   HEADINGS & TEXT
================================ */
#uc-front-page h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

#uc-front-page .highlight {
    color: var(--accent);
}

#uc-front-page .description {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ================================
   PROGRESS BAR
================================ */
#uc-front-page .progress-container {
    margin-bottom: 40px;
}

#uc-front-page .progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 8px;
    color: var(--muted);
}

#uc-front-page .progress-bar {
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    overflow: hidden;
}

#uc-front-page .progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(
        90deg,
        var(--gradient-1),
        var(--gradient-2)
    );
    box-shadow: 0 0 20px var(--shadow);
    transition: width 1.5s ease;
}

/* ================================
   EMAIL FORM
================================ */
#uc-front-page .notify-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

#uc-front-page .email-input {
    flex: 1;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: var(--secondary);
    outline: none;
}

#uc-front-page .email-input::placeholder {
    color: rgba(255,255,255,0.4);
}

#uc-front-page .submit-btn {
    padding: 14px 22px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(
        90deg,
        var(--gradient-1),
        var(--gradient-2)
    );
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 8px 30px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#uc-front-page .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--shadow);
}

/* ================================
   SUCCESS MESSAGE
================================ */
#uc-front-page .success-message {
    display: none;
    font-size: 0.85rem;
    color: #7CFFB2;
    margin-top: 12px;
}

.success-message.visible {     
    display: block;
}

/* ================================
   SOCIAL LINKS
================================ */
#uc-front-page .social-links {
    margin-top: 32px;
}

#uc-front-page .social-link {
    margin: 0 10px;
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--muted);
    transition: color 0.2s ease;
}

#uc-front-page .social-link:hover {
    color: var(--accent);
}

/* ================================
   FOOTER
================================ */
#uc-front-page .footer {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    padding-bottom: 24px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 640px) {
    #uc-front-page .notify-form {
        flex-direction: column;
    }
}

/* ================================
   WPFORMS - Full Width Fields
================================ */

/* Form container */
form#wpforms-form-207 {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

/* Field wrapper full width */
form#wpforms-form-207 .wpforms-field {
    flex: 1 1 auto !important;  /* override WPForms width */
    width: auto !important;
    min-width: 0;  

}

/* Inputs, selects, textareas full width */
form#wpforms-form-207 input,
form#wpforms-form-207 select,
form#wpforms-form-207 textarea {
    width: 100%;
    flex: 1 1 100%;
    box-sizing: border-box;
}

/* Specific styling for field #1 (email) */
input#wpforms-207-field_1 {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
    outline: none;
}

/* Submit container */
.wpforms-submit-container {
    flex-shrink: 0;
    margin-top: 0 !important;
    display: flex;
    align-items: center;
}

/* Submit button styling */
button#wpforms-submit-207 {
    padding: 14px 22px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 8px 30px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button#wpforms-submit-207:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--shadow);
}

/* Optional: Responsive layout for multiple fields side by side */
@media (min-width: 768px) {
    /* Example: two fields side by side */
    form#wpforms-form-207 .wpforms-field-half {
        flex: 1 1 calc(50% - 10px);
    }
    /* Example: three fields side by side */
    form#wpforms-form-207 .wpforms-field-third {
        flex: 1 1 calc(33.33% - 13.33px);
    }
}
