        :root {
            --blue: #1DA1F2;
            --purple: #8A2BE2;
            --dark-bg: #15202B;
            --light-bg: #FFFFFF;
            --dark-text: #0F1419;
            --light-text: #F7F9F9;
            --border-color: #EFF3F4;
            --border-dark: #38444d;
            --subtle-bg: #F7F9FA;
            --green-accent: #17BF63;
        }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            background-color: var(--light-bg);
            color: var(--dark-text);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }
        section {
            padding: 100px 0;
            text-align: center;
        }
        .cta-button {
            background-color: var(--blue);
            color: white;
            text-decoration: none;
            padding: 12px 24px;
            border-radius: 99px;
            font-weight: 600;
            transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
            display: inline-block;
        }
        .cta-button:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4); }
        .section-title { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
        .section-subtitle { font-size: 18px; color: #536471; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }
        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border: 1.5px solid transparent;
            border-radius: 99px;
            font-size: 14px;
            font-weight: 600;
            background-clip: padding-box, border-box;
            background-origin: padding-box, border-box;
            background-image: linear-gradient(to right, var(--light-bg), var(--light-bg)), linear-gradient(90deg, var(--purple), var(--blue));
            color: var(--dark-text);
            margin-bottom: 20px;
        }
        .section-tag.dark {
            background-image: linear-gradient(to right, var(--dark-bg), var(--dark-bg)), linear-gradient(90deg, var(--purple), var(--blue));
            color: var(--light-text);
        }
        .section-tag svg { width: 16px; height: 16px; stroke-width: 2.5; }

        /* --- Header --- */
        header { padding: 20px 0; border-bottom: 1px solid var(--border-color); background-color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 100; }
        header .container { display: flex; justify-content: space-between; align-items: center; }
        .logo { display: flex; align-items: center; text-decoration: none; color: var(--dark-text); }
        .logo img { height: 32px; margin-right: 12px; }
        .logo span { font-weight: 700; font-size: 20px; }

        /* --- Hero Section --- */
        .hero { padding-top: 100px; padding-bottom: 120px; }
        .hero h1 { font-size: 56px; font-weight: 800; line-height: 1.1; margin: 0 auto 20px; max-width: 800px; }
        .hero h1 span { color: var(--blue); }
        .hero p { font-size: 20px; line-height: 1.6; color: #536471; margin: 0 auto 30px; max-width: 600px; }
        .hero-mockup { max-width: 900px; margin-top: 50px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); border: 1px solid var(--border-color); width: 100%; }
        
        /* --- Features Section --- */
        .features { background-color: var(--dark-bg); color: var(--light-text); }
        .features .section-title, .features .section-subtitle { color: var(--light-text); }
        .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; text-align: left; }
        .feature-item { background: #253341; padding: 30px; border-radius: 12px; border: 1px solid var(--border-dark); transition: transform 0.2s, background-color 0.2s; }
        .feature-item:hover { transform: translateY(-5px); background-color: #2c3c4b; }
        .feature-item .icon { color: var(--blue); margin-bottom: 20px; }
        .feature-item h3 { font-size: 20px; margin-top: 0; margin-bottom: 10px; color: var(--light-text); }
        .feature-item p { color: #8899a6; line-height: 1.6; margin: 0; }

        /* --- Comparison Section --- */
        .comparison { background-color: var(--subtle-bg); }
        .comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; margin-top: 60px; }  
        .comparison-card { background-color: var(--light-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); }
        .comparison-card h3 { font-size: 24px; margin-top: 0; }
        .comparison-card h3 span { font-weight: 400; font-size: 20px; color: #e0245e; }
        .comparison-card .reply { margin-top: 20px; border-radius: 8px; line-height: 0; /* Prevents extra space under the image */ overflow: hidden; /* Ensures image corners don't poke out */ /* REMOVED: background, padding, font-size, border */ }
        .comparison-card.splashy h3 span { color: var(--green-accent); }
        /* NEW RULE: Style the image itself */
        .comparison-card .reply img {
            width: 100%;
            height: auto;
            display: block;
        }
        .comparison-card.splashy h3 span { color: var(--green-accent); }
        /* --- Testimonials Section --- */
        .testimonials { background-color: var(--dark-bg); color: var(--light-text); }
        .testimonials .section-title, .testimonials .section-subtitle { color: var(--light-text); }
        .testimonial-slider-container { max-width: 750px; margin: 0 auto; position: relative; }
        .testimonial-slider { overflow: hidden; }
        .testimonial-track { display: flex; transition: transform 0.5s ease-in-out; }
        .testimonial-card { min-width: 100%; box-sizing: border-box; background-color: #253341; padding: 40px; border-radius: 16px; border: 1px solid var(--border-dark); }
        .testimonial-card p { font-size: 22px; line-height: 1.6; font-style: italic; color: var(--light-text); margin: 0 0 30px 0; }
        .testimonial-author { display: flex; align-items: center; justify-content: center; text-align: left; }
        .testimonial-author img { width: 60px; height: 60px; border-radius: 50%; margin-right: 20px; border: 2px solid var(--blue); }
        .author-info strong { display: block; font-size: 18px; font-weight: 600; color: var(--light-text); }
        .author-info span { font-size: 16px; color: #8899a6; }
        .carousel-controls { margin-top: 30px; }
        .carousel-btn { background: #38444d; border: none; color: white; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; transition: background-color 0.2s; margin: 0 10px; }
        .carousel-btn:hover { background-color: var(--blue); }
        .carousel-btn:disabled { background-color: #253341; cursor: not-allowed; opacity: 0.5; }

        /* --- FAQ Section --- */
        .faq { background-color: var(--subtle-bg); }
        .faq-container { max-width: 800px; margin: 0 auto; text-align: left; }
        .faq-item { border-bottom: 1px solid var(--border-color); }
        .faq-question { width: 100%; background: none; border: none; text-align: left; padding: 24px 0; font-size: 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
        .faq-question::after { content: '+'; font-size: 28px; color: var(--blue); transition: transform 0.3s; }
        .faq-item.active .faq-question::after { transform: rotate(45deg); }
        .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
        .faq-answer p { padding-bottom: 24px; margin: 0; line-height: 1.7; color: #536471; }
        
        /* --- Pricing Section --- */
        .pricing {
            background-color: var(--dark-bg);
            color: var(--light-text);
        }
        .pricing .section-title, .pricing .section-subtitle {
            color: var(--light-text);
        }
        .pricing .section-tag {
            background-image: linear-gradient(to right, var(--dark-bg), var(--dark-bg)), linear-gradient(90deg, var(--purple), var(--blue));
            color: var(--light-text);
        }
        .pricing-toggle {
            display: inline-flex;
            background-color: #253341;
            border-radius: 99px;
            padding: 6px;
            margin-bottom: 50px;
            border: 1px solid var(--border-dark);
        }
        .pricing-toggle-btn {
            background: transparent;
            border: none;
            color: #8899a6;
            padding: 10px 24px;
            border-radius: 99px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            align-items: center;
        }
        .pricing-toggle-btn.active {
            background-color: var(--light-bg);
            color: var(--dark-text);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        .save-badge {
            background-color: var(--blue);
            color: white;
            font-size: 12px;
            padding: 3px 10px;
            border-radius: 99px;
            margin-left: 10px;
            font-weight: 600;
        }
.pricing-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: stretch; /* Ensures grid items stretch to fill the cell height */
    max-width: 960px; 
    margin: 0 auto; 
}
.pricing-box { 
    background: #253341;
    border-radius: 16px; 
    border: 1px solid var(--border-dark);
    display: flex; /* Key to equal height children */
    flex-direction: column; /* Stacks children vertically */
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative; /* For the popular badge */
    padding: 0; /* Padding moved to inner elements */
}
        .pricing-box h3 { 
            font-size: 24px; 
            margin-top: 0; 
            margin-bottom: 8px;
            color: var(--light-text);
        }
        .pricing-box .subtitle { 
            color: #8899a6; 
            margin-bottom: 24px;
            min-height: 1.5em; /* reserve space */
        }
.pricing-box .plan-header,
.pricing-box .plan-body,
.pricing-box .plan-footer {
    padding: 0 40px; /* Consistent horizontal padding */
}

.pricing-box .plan-header {
    padding-top: 40px;
}
.pricing-box .plan-footer {
    padding-bottom: 40px;
}
        /* Wrapper to enforce alignment of prices */
.price-wrapper {
    min-height: 130px; /* Adjust as needed to fit content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
}
 .price { 
    font-size: 52px; 
    font-weight: 800; 
    color: var(--light-text);
    line-height: 1; /* Tighter line height for the price text */
}
        .price #price-value {
            font-size: 52px;
            font-weight: 800;
            color: var(--light-text);
        }
        .price #price-period { 
            font-size: 18px; 
            font-weight: 600; 
            color: #8899a6; 
        }
.plan-body {
    flex-grow: 1; 
}

.plan-features { 
    list-style: none; 
    padding: 0; 
    margin: 30px 0; 
}
        .plan-features li { 
            margin-bottom: 15px; 
            display: flex; 
            align-items: center; 
            color: var(--light-text);
        }
.plan-features li::before { 
    content: '✓';
    color: white;
    background-color: var(--green-accent);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}
        .pricing-box .cta-button { 
            margin-top: auto; 
            background-color: #38444d;
            text-align: center;
        }
        .pricing-box .cta-button:hover {
            background-color: var(--blue);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4);
        }

        .pricing-grid { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 40px; 
            align-items: stretch; 
            max-width: 960px; 
            margin: 0 auto; 
        }
.pricing-box { 
    background: #253341;
    border-radius: 16px; 
    border: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    padding: 0;
}
.pricing-box.pro-plan {
    border: 2px solid var(--blue);
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.3);
}
        .pro-plan .popular-badge {
            background: var(--blue);
            color: white;
            padding: 6px 12px;
            border-radius: 99px;
            font-size: 14px;
            font-weight: 700;
            position: absolute;
            top: -18px;
            left: 50%;
            transform: translateX(-50%);
        }
        .pricing-box h3 { font-size: 24px; margin-top: 0; margin-bottom: 8px; color: var(--light-text); }
        .pricing-box .subtitle { color: #8899a6; margin-bottom: 24px; min-height: 1.5em; }
        .price { font-size: 52px; font-weight: 800; color: var(--light-text); margin: 0 0 20px 0; }
        .plan-features { flex-grow: 1; list-style: none; padding: 0; margin: 30px 0; }
        .plan-features li { margin-bottom: 15px; display: flex; align-items: center; color: var(--light-text); }
        .plan-features li::before { /* ... same as before ... */ }
        .pricing-box .cta-button { margin-top: auto; text-align: center; width: 100%; box-sizing: border-box; }
        .money-back-guarantee {
            font-size: 14px;
            color: #8899a6;
            text-align: center;
            margin-top: 20px;
        }
        .price-slider-container { margin: 20px 0; }
        .price-slider-container input[type="range"] { width: 100%; cursor: pointer; }
        .price-slider-container .slider-label { display: flex; justify-content: space-between; font-size: 14px; color: #8899a6; margin-top: 8px; }
        #pro-price-display { font-size: 52px; font-weight: 800; color: white; line-height: 1; }
        #pro-replies-display { color: #8899a6; font-weight: 600; margin-top: 5px; }
.pricing-box .input-field {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
    font-size: 16px;
    box-sizing: border-box;
    background: #15202B;
    color: white;
    text-align: center;
}
.pricing-box .input-field:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(29, 161, 242, 0.5);
}

/* NEW: Prominent CTA button style for pricing */
.pricing-cta {
    background: linear-gradient(90deg, var(--purple) 0%, var(--blue) 100%);
    color: white;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 24px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    border: none;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.pricing-cta:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
    cursor: pointer;
}

/* --- NEW: Placeholder Spacers for Alignment --- */
.placeholder-spacer {
    visibility: hidden; /* Makes the element invisible but it still occupies space */
    pointer-events: none; /* Ensures it cannot be interacted with */
}

/* This spacer mimics the height and margin of the email input in the Pro plan */
.email-spacer {
    /* The .input-field is ~45px tall + 15px margin-bottom = 60px total vertical space */
    height: 60px;
}

/* 
  This spacer mimics the height and margin of the slider container.
  The .price-slider-container has a 20px top/bottom margin and its content is ~40px tall.
  Total vertical space is ~80px.
*/
.slider-spacer {
    height: 80px;
}

/* Minor adjustment to price-wrapper to handle the new spacers */
.price-wrapper {
    min-height: 80px; /* Reduced height, as it holds less content now */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin-bottom: 20px;
}

/* --- NEW: BEAUTIFUL SLIDER STYLES --- */

.slider-control-wrapper {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between buttons and slider */
}

.slider-btn {
    background-color: transparent;
    border: 1.5px solid #dcdfe3;
    color: #536471;
    font-size: 20px;
    font-weight: bold;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0; /* Prevents buttons from shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.slider-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: scale(1.1);
}
.slider-btn:active {
    background-color: #f0f2f5;
}

/* --- Cross-Browser Custom Range Input Styling --- */
input[type=range].slider {
    -webkit-appearance: none; /* Hides the default slider appearance */
    appearance: none;
    width: 100%;
    height: 8px;
    background: #e9ecef; /* Fallback for track color */
    border-radius: 99px;
    outline: none;
    padding: 0;
    margin: 0;
}

/* Thumb (the draggable handle) Styling for Webkit (Chrome, Safari) */
input[type=range].slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--blue);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    margin-top: -8px; /* Vertically center the thumb on the track */
    transition: transform 0.2s ease;
}
input[type=range].slider:hover::-webkit-slider-thumb {
    transform: scale(1.1);
}

/* Track Styling for Webkit */
input[type=range].slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    border-radius: 99px;
    background: #e9ecef;
}

/* Label Styling */
.slider-label {
    color: #8a8d91;
    font-weight: 600;
}

/* --- NEW CSS FOR PRO MODAL ELEMENTS --- */
#pro-modal-price-display { font-size: 42px; font-weight: 800; color: var(--dark-text); line-height: 1; text-align: center; }
#pro-modal-replies-display { color: #536471; font-weight: 600; text-align: center; margin-bottom: 20px; margin-top: 5px; }
.price-slider-container { margin-bottom: 30px; }
.price-slider-container input[type="range"] { width: 100%; cursor: pointer; }
.price-slider-container .slider-label { display: flex; justify-content: space-between; font-size: 14px; color: #536471; margin-top: 8px; }

/* --- NEW STYLES for Quick Select Buttons & Divider --- */
.quick-select-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-select-btn {
    flex: 1;
    background-color: #f0f2f5;
    border: 1.5px solid #ccd0d5;
    color: var(--dark-text);
    padding: 15px 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.quick-select-btn:hover {
    border-color: #8a8d91;
}

.quick-select-btn.active {
    border-color: var(--blue);
    background-color: #e8f5fe;
    color: var(--blue);
}

.popular-badge-inline {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--purple), var(--blue));
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: bold;
    white-space: nowrap;
}

.or-divider {
    text-align: center;
    color: #ccd0d5;
    margin: 25px 0;
    font-size: 14px;
    font-weight: bold;
}

/* --- NEW: Modal Styles --- */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.89);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }
        .modal-overlay.visible {
            opacity: 1;
            visibility: visible;
        }
        .modal-content {
            background: var(--light-bg);
            padding: 40px;
            border-radius: 12px;
            max-width: 500px;
            width: 90%;
            text-align: center;
            position: relative;
        }
        .modal-content h3 { font-size: 24px; margin-bottom: 15px; }
        .modal-content p { color: #536471; margin-bottom: 30px; }
.modal-form input {
    background-color: #f0f2f5;
    border: 1px solid #ccd0d5;
    border-radius: 8px;
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--dark-text);
}
.modal-form input::placeholder { color: #8a8d91; }
.modal-form input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(29, 161, 242, 0.3);
}
        #api-key-display {
            background: var(--subtle-bg);
            padding: 15px;
            border-radius: 8px;
            font-family: monospace;
            word-break: break-all;
            margin-bottom: 20px;
            border: 1px dashed var(--border-color);
        }
        .modal-error { color: #e0245e; margin-top: -15px; margin-bottom: 15px; font-weight: 600; }

        /* --- CTA Footer Section --- */
        .cta-footer { background-color: var(--dark-bg); color: var(--light-text); padding: 80px 0; }
        .cta-footer .section-title { font-size: 48px; }
        .cta-footer p { font-size: 18px; color: #8899a6; margin: 0 auto 30px; max-width: 500px; }

        /* --- Footer --- */
        footer { background: var(--dark-bg); color: #8899a6; padding: 40px 0; text-align: center; border-top: 1px solid var(--border-dark); }
        footer .logo { justify-content: center; color: var(--light-text); margin-bottom: 20px; }
        
        .footer-links {
            margin-bottom: 20px;
        }
        .footer-links a {
            color: #8899a6;
            text-decoration: none;
            margin: 0 15px;
            transition: color 0.2s;
        }
        .footer-links a:hover {
            color: var(--blue);
        }

        @media (max-width: 992px) {
            .pricing-grid { 
                grid-template-columns: 1fr; 
                gap: 120px; /* Add a mobile-friendly gap for stacking */
            }
            /* .feature-grid { grid-template-columns: 1fr 1fr; } */
            .pricing-box.pro-plan { 
                transform: none; /* Remove scale effect on mobile */
                box-shadow: none;
                border: 1px solid var(--border-dark); /* Reset border */
            }
        }


        @media (max-width: 768px) {
            section { padding: 60px 0; }
            .hero { padding-top: 60px; padding-bottom: 80px; }
            .hero h1 { font-size: 40px; }
            .hero p { font-size: 18px; }
            .section-title { font-size: 32px; }
            .section-subtitle { font-size: 16px; }

            .logo span { display: none; } /* Hide text logo on mobile */

            .comparison-grid, .feature-grid { grid-template-columns: 1fr; }
            .comparison-card { padding: 20px; }
            .comparison-card h3 { font-size: 20px; }
            .comparison-card h3 span { font-size: 16px; }
            .testimonial-card { padding: 30px; }
            .testimonial-card p { font-size: 18px; }
            .faq-question { font-size: 18px; }
        }