/* Newsletter Styles */

/* FORCE HIGH CONTRAST FOR ALL ELEMENTS */
.hero *:not(.hero-pretitle):not(.subscribe-button), 
.section *:not(.subscribe-button), 
.newsletter-form-container *:not(.subscribe-button):not(button):not(.privacy-label),
.benefits-section *:not(.subscribe-button),
.author-section-bg *:not(.author-title-tag):not(.subscribe-button) {
    color: var(--dark) !important;
}

.hero .hero-pretitle,
.hero-pretitle {
    color: white !important;
}

.author-title-tag {
    color: white !important;
}

.hero .hero-title .highlight,
.hero-title .highlight {
    color: var(--primary) !important;
}

.newsletter-form-container label a,
.privacy-label a {
    color: var(--primary) !important;
}

.newsletter-form-container .subscribe-button,
.subscribe-button {
    color: var(--light) !important;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(255, 107, 151, 0.1), 
        rgba(138, 79, 189, 0.08), 
        rgba(0, 217, 198, 0.1)
    );
    position: relative;
    overflow: hidden;
    color: var(--dark) !important;
}

.retro-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to bottom, rgba(247, 240, 250, 0.9), rgba(255, 255, 255, 0.95)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff6b97' fill-opacity='0.06'%3E%3Cpath d='M30 30c0-16.569-13.431-30-30-30v30h30zM0 30v30h30c0-16.569-13.431-30-30-30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark) !important;
}

.hero-content * {
    color: var(--dark) !important;
}

.hero-pretitle {
    font-size: 14px;
    color: white !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    color: var(--dark) !important;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.4);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--primary) !important;
}

.hero-description {
    font-size: 20px;
    color: var(--dark) !important;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 600;
}

/* Newsletter Form */
.newsletter-form-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 6px 6px 0 rgba(45, 15, 69, 0.08);
    border-top: 4px solid var(--primary);
}

.newsletter-form-container label {
    color: var(--dark) !important;
    font-weight: 600;
}

.newsletter-form-container label span {
    color: var(--dark) !important;
}

.newsletter-form-container label a {
    color: var(--primary) !important;
    text-decoration: underline;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 151, 0.1);
}

.subscribe-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light) !important;
    padding: 12px 28px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 4px 4px 0 rgba(45, 15, 69, 0.2);
    text-shadow: 0 0 5px rgba(255, 107, 151, 0.5);
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    margin-top: 10px;
}

.subscribe-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    transition: left 0.3s;
    z-index: -1;
}

.subscribe-button:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 0 rgba(45, 15, 69, 0.2), 0 0 15px rgba(255, 107, 151, 0.4);
}

.subscribe-button:hover::after {
    left: 0;
    opacity: 1;
}

.subscribe-button:active {
    transform: translateY(0);
    box-shadow: rgba(45, 15, 69, 0.2) 2px 2px 0px;
}

.social-proof {
    text-align: center;
    font-size: 16px;
    color: var(--dark);
    margin-top: 20px;
    font-weight: 600;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.benefits-section {
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--dark);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light);
    border-radius: 15px;
    border-left: 5px solid var(--secondary);
    box-shadow: 6px 6px 0 rgba(45, 15, 69, 0.08);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card:nth-child(even) {
    border-left-color: var(--primary);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin: 0 auto 25px;
}

.benefit-card:nth-child(even) .benefit-icon {
    color: var(--secondary);
}

.benefit-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.benefit-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
}

/* Author Section */
.author-section-bg {
    background: linear-gradient(135deg, rgba(247, 240, 250, 0.8), rgba(255, 255, 255, 0.9));
}

.author-card {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 6px 6px 0 rgba(45, 15, 69, 0.08);
}

.author-image-wrapper {
    flex-shrink: 0;
}

.author-image-wrapper img {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-details h3 {
    font-size: 28px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.author-title-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.author-details p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
}

/* Message Box */
.message-box {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.message-box.show {
    opacity: 1;
    transform: translateX(0);
}

.message-box.success {
    background: var(--success);
    color: white;
}

.message-box.error {
    background: var(--error);
    color: white;
}

.message-box.info {
    background: var(--primary);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 240, 250, 0.9));
    margin-top: 60px;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 4px 4px 0 rgba(45, 15, 69, 0.1), 0 0 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    border-top: 4px solid var(--primary);
    text-align: center;
}

.newsletter-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.newsletter-subtitle {
    font-size: 18px;
    color: var(--medium);
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.newsletter-inputs-row {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 151, 0.1);
}

.newsletter-button {
    padding: 15px 30px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--light);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
    max-width: 300px;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 151, 0.3);
}

.newsletter-disclaimer {
    font-size: 14px;
    color: var(--medium);
    line-height: 1.5;
}

/* Newsletter Landing Page Specific */
.newsletter-landing-hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(255, 107, 151, 0.1), 
        rgba(138, 79, 189, 0.08), 
        rgba(0, 217, 198, 0.1)
    );
    position: relative;
    overflow: hidden;
}

.newsletter-landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to bottom, rgba(247, 240, 250, 0.9), rgba(255, 255, 255, 0.95)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff6b97' fill-opacity='0.06'%3E%3Cpath d='M30 30c0-16.569-13.431-30-30-30v30h30zM0 30v30h30c0-16.569-13.431-30-30-30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.newsletter-landing-content {
    position: relative;
    z-index: 1;
}

.newsletter-hero-title {
    font-size: 48px;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.4);
    font-family: 'Orbitron', sans-serif;
}

.newsletter-hero-subtitle {
    font-size: 22px;
    color: var(--medium);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.4;
}

.newsletter-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.newsletter-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 2px solid rgba(138, 79, 189, 0.1);
    box-shadow: 4px 4px 0 rgba(45, 15, 69, 0.08);
}

.newsletter-stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
}

.newsletter-stat-label {
    font-size: 14px;
    color: var(--medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Newsletter Benefits */
.newsletter-benefits {
    padding: 80px 0;
    background: var(--light);
}

.benefits-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefit-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--light);
    border-radius: 15px;
    border-left: 5px solid var(--secondary);
    box-shadow: 6px 6px 0 rgba(45, 15, 69, 0.08);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-item:nth-child(even) {
    border-left-color: var(--primary);
}

.benefit-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 25px;
}

.benefit-item:nth-child(even) .benefit-icon {
    color: var(--secondary);
}

.benefit-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.benefit-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
}

/* Author Preview Card */
.author-preview {
    background: linear-gradient(135deg, rgba(247, 240, 250, 0.8), rgba(255, 255, 255, 0.9));
    padding: 40px;
    border-radius: 15px;
    margin: 60px 0;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 6px 6px 0 rgba(45, 15, 69, 0.08);
}

.author-preview-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.author-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.author-preview-content {
    flex-grow: 1;
}

.author-preview-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
}

.author-preview-title {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-preview-bio {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
}

/* Newsletter Message Boxes */
.newsletter-message {
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.newsletter-message.success {
    background: linear-gradient(135deg, rgba(0, 217, 198, 0.1), rgba(0, 217, 198, 0.2));
    border: 2px solid var(--secondary);
    color: var(--secondary);
    display: block;
}

.newsletter-message.error {
    background: linear-gradient(135deg, rgba(255, 107, 151, 0.1), rgba(255, 107, 151, 0.2));
    border: 2px solid var(--primary);
    color: var(--primary);
    display: block;
}

/* Confirmation Page Specific */
.confirmation-hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(0, 217, 198, 0.1), 
        rgba(255, 107, 151, 0.08)
    );
}

.confirmation-icon {
    font-size: 80px;
    color: var(--secondary);
    margin-bottom: 30px;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.confirmation-title {
    font-size: 42px;
    color: var(--dark);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.confirmation-message {
    font-size: 20px;
    color: var(--medium);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.confirmation-next-steps {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 4px 4px 0 rgba(45, 15, 69, 0.08);
}

.next-steps-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.next-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(138, 79, 189, 0.1);
    font-size: 16px;
    color: var(--dark);
    position: relative;
    padding-left: 30px;
}

.next-steps-list li:last-child {
    border-bottom: none;
}

.next-steps-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-container {
        padding: 40px 30px;
    }
    
    .newsletter-title {
        font-size: 24px;
    }
    
    .newsletter-inputs-row {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-input {
        width: 100%;
        max-width: 100%;
    }
    
    .newsletter-button {
        width: 100%;
        max-width: 100%;
    }
    
    .newsletter-hero-title {
        font-size: 32px;
    }
    
    .newsletter-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .author-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .confirmation-title {
        font-size: 28px;
    }
    
    .confirmation-icon {
        font-size: 60px;
    }
}

/* FORCE WHITE TEXT FOR SUBSCRIBE BUTTON - HIGHEST PRIORITY */
.newsletter-form-container .subscribe-button,
.hero .newsletter-form-container .subscribe-button,
.hero .subscribe-button,
button.subscribe-button,
input.subscribe-button,
.subscribe-button,
*[class*="subscribe-button"] {
    color: white !important;
    color: var(--light) !important;
}

/* ULTIMATE OVERRIDE FOR SUBSCRIBE BUTTON */
.subscribe-button {
    color: #FFFFFF !important;
}