/**
 * OPT-IN PAGE STYLES
 * Main content visible without scroll, footer below fold
 */

.optin-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem 0 1rem;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background Gradient */
.optin-page::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(107, 76, 154, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(199, 125, 186, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--color-midnight) 0%, var(--color-deep-purple) 100%);
    animation: gradientShift 20s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5%, 5%) rotate(5deg); }
    66% { transform: translate(-5%, 5%) rotate(-5deg); }
}

.optin-container {
    max-width: 600px;
    width: 100%;
    z-index: 1;
}

@media (min-width: 768px) {
    .optin-page {
        padding: 2rem 1.5rem 0 1.5rem;
    }
    .optin-container {
        max-width: 650px;
    }
}

@media (min-width: 1024px) {
    .optin-container {
        max-width: 700px;
    }
}

.optin-header {
    text-align: center;
    margin-bottom: 1rem;
}

.optin-headline {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--color-pearl), var(--color-lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .optin-headline {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .optin-headline {
        font-size: 2.8rem;
    }
}

.optin-subheadline {
    font-size: 1rem;
    color: var(--color-lavender);
    font-weight: 300;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .optin-subheadline {
        font-size: 1.15rem;
        line-height: 1.5;
    }
}

.optin-benefits {
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
}

.optin-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--color-pearl);
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .optin-benefits li {
        padding: 0.6rem 0;
        padding-left: 2rem;
        font-size: 1.05rem;
    }
}

.optin-benefits li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .optin-benefits li::before {
        font-size: 1.2rem;
    }
}

.optin-form-container {
    margin-top: 1.25rem;
}

/* AWeber Form Placeholder */
#aweber-form {
    /* AWeber form will be injected here */
    /* Default form styling below applies if you create a custom form */
}

/* Custom Form Styles (if not using AWeber embed) */
.custom-optin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.85rem;
    color: var(--color-lavender);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--color-pearl);
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: var(--glow-gold);
}

.form-input::placeholder {
    color: rgba(248, 246, 240, 0.4);
}

.form-submit {
    margin-top: 0.5rem;
}

/* Social Proof */
.social-proof {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-top: 1px solid var(--glass-border);
}

.social-proof-text {
    font-size: 0.85rem;
    color: rgba(248, 246, 240, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-proof-stars {
    color: var(--color-gold);
    font-size: 1rem;
}

/* Mystical Accent Elements */
.mystical-accent {
    posit
    
/* Remove any container constraints that might limit footer width */
body {
    margin: 0;
    padding: 0;
}

/* Ensure optin page doesn't have bottom padding that creates gap */
.optin-page {
    padding-bottom: 0;
}

/* Wrapper for optin content only - footer stays outside */
.optin-page-wrapper {
    width: 100%;
}

.optin-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem 0 1rem;
    position: relative;
    overflow-x: hidden;
}