html {
    scroll-behavior: smooth;
}

/* ... existing code continues below ... *//* --- Global Styles --- */
:root {
    --primary-color: #0F172A; /* Deep Navy Blue (Trust) */
    --accent-color: #10B981;  /* Money Green (Action) */
    --text-color: #334155;    /* Dark Gray (Readability) */
    --bg-color: #F8FAFC;      /* Light Gray/White (Clean) */
    --card-bg: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- Navigation --- */
.navbar {
    background: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.logo .highlight { color: var(--accent-color); }

.navbar nav a {
    margin-left: 20px;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s;
}

.navbar nav a:hover { color: var(--accent-color); }

/* --- Hero Section --- */
.hero {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 20px; }
.hero .highlight { color: var(--accent-color); }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px auto; opacity: 0.9; }

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.2s;
}

.btn-primary:hover { transform: translateY(-2px); background-color: #059669; }

/* --- Blog Grid --- */
.section-title { text-align: center; margin: 50px 0 30px; font-size: 2rem; color: var(--primary-color); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #ddd; /* Placeholder color if image is missing */
}

.card-content { padding: 20px; }

.tag {
    background-color: #E0F2FE;
    color: #0284C7;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card h3 { margin: 15px 0 10px; font-size: 1.25rem; }
.blog-card h3 a:hover { color: var(--accent-color); text-decoration: underline; }
.blog-card p { font-size: 0.95rem; color: #64748B; }

/* --- Footer --- */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

.disclaimer { opacity: 0.6; font-size: 0.8rem; margin-top: 10px; }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .blog-grid { grid-template-columns: 1fr; }
}

/* --- Single Blog Post Styles --- */
.blog-post-container {
    max-width: 800px; /* Narrower for better reading experience */
    margin: 40px auto;
    padding: 0 20px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 20px;
}

.breadcrumb a { color: var(--accent-color); font-weight: 600; }

.post-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-meta {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 30px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 20px;
}

.post-content {
    font-size: 1.15rem; /* Larger text for readability */
    color: #334155;
    line-height: 1.8;
}

.post-content h2 {
    color: var(--primary-color);
    margin-top: 40px;
    font-size: 1.8rem;
}

.post-content p { margin-bottom: 20px; }

.post-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content li { margin-bottom: 10px; }

/* Call to Action Box inside posts */
.cta-box {
    background-color: #F0FDFA;
    border-left: 5px solid var(--accent-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.cta-box h3 { margin-top: 0; color: #065F46; }













/* --- OPTIN.HTML --- */


/* --- IMPROVED Landing Page Styles --- */
.optin-body {
    background-color: #F8FAFC;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}

.optin-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 60px; /* Reduced top padding for mobile */
}

/* New: Full Width Headline container */
.headline-container {
    max-width: 800px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.headline-container h1 {
    font-size: 2.8rem; /* Big on desktop */
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.headline-container .sub-head {
    font-size: 1.25rem;
    color: #475569;
}

/* The Grid for Form vs Bullets */
.optin-container {
    max-width: 1000px;
    width: 100%;
    display: flex; /* Changed to Flex for better mobile ordering */
    flex-direction: row;
    gap: 50px;
    align-items: flex-start; /* Aligns form and text to top */
    justify-content: center;
}

/* Left Side: Benefits */
.optin-benefits {
    flex: 1;
    padding-top: 20px;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    font-size: 1.15rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.benefit-list li::before {
    content: "✓";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 26px; /* Fixed width so it doesn't squish */
    height: 26px;
    background-color: #DCFCE7;
    color: var(--accent-color);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.9rem;
    font-weight: 800;
}

/* Right Side: Form */
.form-card {
    flex: 1;
    max-width: 450px; /* Limits form width */
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
}

.form-header { text-align: center; margin-bottom: 20px; }
.form-header h3 { margin: 0; font-size: 1.4rem; color: var(--primary-color); }
.form-header p { margin: 5px 0 0; font-size: 0.9rem; color: #64748B; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 700; color: #334155; margin-bottom: 6px; }
.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.4);
}

.trust-badges { margin-top: 20px; text-align: center; border-top: 1px solid #E2E8F0; padding-top: 15px; }
.payment-icons span { display: inline-block; background: #F1F5F9; color: #64748B; padding: 3px 6px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; margin: 0 2px; }

/* --- MOBILE OPTIMIZATION (The Fix) --- */
@media (max-width: 768px) {
    /* 1. Make text smaller */
    .headline-container h1 { font-size: 1.8rem; margin-bottom: 5px; }
    .headline-container .sub-head { font-size: 1rem; padding: 0 10px; }
    
    /* 2. Stack elements: Form goes ON TOP of bullets */
    .optin-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    /* 3. Reorder: Form first, Bullets second */
    .form-card { order: 1; width: 100%; padding: 25px 20px; }
    .optin-benefits { order: 2; width: 100%; padding-top: 0; }
    
    /* 4. Center bullets on mobile */
    .benefit-list { display: inline-block; text-align: left; }
    .optin-benefits { text-align: center; }
}

/* --- CONVERSION BOOSTERS (Animations) --- */

/* 1. Blinking Dot Animation */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.live-badge {
    background-color: #DCFCE7;
    color: #166534;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #86EFAC;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #166534;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1.5s infinite;
}

/* 2. Scarcity Progress Bar */
.scarcity-container {
    margin-bottom: 20px;
}

.scarcity-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 5px;
    font-weight: 600;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background-color: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 85%; /* 85% full */
    background: linear-gradient(90deg, #F59E0B, #EF4444); /* Orange to Red */
    border-radius: 4px;
}

/* 3. Review Card (Social Proof) */
.review-card {
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
    max-width: 350px;
}

.stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 5px; }
.review-text { font-size: 0.9rem; color: #334155; font-style: italic; line-height: 1.5; }
.review-author { font-size: 0.8rem; font-weight: 700; color: #64748B; margin-top: 8px; display: block; }

/* 4. Pulsing Button */
@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-pulse {
    animation: pulse-green 2s infinite;
}


/*---thankyou---*/
/* --- THANK YOU / BRIDGE PAGE STYLES --- */
.bridge-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    /* Fixed Animation Syntax */
    animation: pop-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

@keyframes pop-in {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.step-indicator {
    background: #E2E8F0;
    border-radius: 50px;
    padding: 5px;
    display: inline-block;
    margin-bottom: 30px;
    font-weight: 700;
    color: #64748B;
    font-size: 0.9rem;
}

.step-indicator span {
    background: white;
    padding: 5px 15px;
    border-radius: 50px;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.instruction-box {
    background: #FFF7ED; /* Light orange warning bg */
    border: 2px dashed #FDBA74;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: left;
}

.instruction-box h4 {
    margin: 0 0 15px;
    color: #C2410C;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

/* Fixed List Styling (Removes the green checkmarks from previous page) */
.instruction-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instruction-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #431407;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

/* Adds a small orange dot instead of green checkmark */
.instruction-list li::before {
    content: "•";
    color: #F97316;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1rem;
}

.btn-bridge {
    background-color: #EF4444; /* Red for Urgency */
    color: white;
    font-size: 1.3rem;
    padding: 20px 30px;
    width: 100%;
    border-radius: 8px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.4);
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

.btn-bridge:hover {
    transform: translateY(-3px);
    background-color: #DC2626;
}

.timer {
    font-weight: 700;
    color: #EF4444;
}

/* --- LOADING SCREEN STYLES --- */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F8FAFC;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #E2E8F0;
    border-top: 5px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.loading-status {
    font-size: 0.9rem;
    color: #64748B;
    margin-top: 10px;
    min-height: 20px; /* Prevents jumping */
}

/* Fade In Animation for the Main Content */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}