/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgb(140, 245, 150);
    color: rgb(0, 51, 0);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, rgb(0, 180, 0), rgb(0, 255, 0));
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: flex-end;
}

.btn-action {
    padding: 10px 20px;
    background-color: rgb(0, 120, 0);
    color: white;
    border: 2px solid rgb(237, 2, 2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background-color: rgb(0, 150, 0);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-action:active {
    transform: translateY(0);
}

/* Comments Section */
.comments-section {
    background-color: rgb(200, 255, 200);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 2px solid rgb(237, 2, 2);
    transition: all 0.3s ease;
}

.comments-section.hidden {
    display: none;
}

.comments-section h3 {
    color: rgb(0, 51, 0);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 24px;
}

#commentsList {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.comment-item {
    background-color: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid rgb(237, 2, 2);
}

.comment-item strong {
    color: rgb(0, 51, 0);
    font-weight: bold;
}

.comment-item p {
    color: rgb(0, 51, 0);
    margin-top: 5px;
}

.comment-item small {
    color: rgb(0, 100, 0);
    font-style: italic;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-form input,
.comment-form textarea {
    padding: 12px;
    border: 2px solid rgb(237, 2, 2);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background-color: white;
    color: rgb(0, 51, 0);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: rgb(0, 120, 0);
    box-shadow: 0 0 5px rgba(0, 120, 0, 0.3);
}

.btn-submit {
    padding: 12px 24px;
    background-color: rgb(0, 150, 0);
    color: white;
    border: 2px solid rgb(237, 2, 2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: rgb(0, 180, 0);
    transform: scale(1.05);
}

/* Theory Section */
.theory-section {
    background-color: rgb(255, 255, 240);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border: 3px solid rgb(237, 2, 2);
    transition: all 0.5s ease;
}

.theory-section.hidden {
    display: none;
}

.theory-section h3 {
    color: rgb(0, 51, 0);
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
}

.theory-section h4 {
    color: rgb(0, 51, 0);
    font-weight: bold;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 12px;
    border-bottom: 2px solid rgb(0, 120, 0);
    padding-bottom: 5px;
}

.theory-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.theory-content p {
    color: rgb(0, 51, 0);
    font-weight: bold;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.theory-content table {
    margin: 15px 0;
}

.theory-content ul {
    margin: 15px 0;
}

.summary-box {
    background-color: rgb(255, 255, 200);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px solid rgb(0, 120, 0);
}

.summary-box h4 {
    margin-top: 0;
}

.summary-box p {
    margin-bottom: 10px;
}

.final-note {
    background-color: rgb(200, 255, 200);
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid rgb(0, 120, 0);
    margin-top: 20px;
}

/* Funnel Stages */
.funnel-stage {
    display: none;
    animation: fadeIn 0.6s ease;
}

.funnel-stage.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.funnel-stage h1 {
    text-align: center;
    color: rgb(0, 51, 0);
    font-weight: bold;
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.funnel-stage h2 {
    color: rgb(0, 51, 0);
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 15px;
}

.funnel-stage h3 {
    color: rgb(0, 51, 0);
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 12px;
}

.stage-content {
    background-color: rgb(140, 245, 150);
    padding: 30px;
    border-radius: 12px;
    border: 3px solid rgb(237, 2, 2);
}

.stage-content p {
    color: rgb(0, 51, 0);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
    border: 3px solid rgb(237, 2, 2);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background-color: rgb(0, 120, 0);
}

thead th {
    color: white;
    font-weight: bold;
    padding: 15px;
    text-align: left;
    font-size: 16px;
    border: 2px solid rgb(237, 2, 2);
}

tbody td {
    padding: 12px 15px;
    color: rgb(0, 51, 0);
    font-weight: bold;
    border: 2px solid rgb(237, 2, 2);
}

tbody tr:nth-child(even) {
    background-color: rgb(220, 255, 220);
}

tbody tr:hover {
    background-color: rgb(200, 255, 200);
}

tfoot td {
    padding: 15px;
    font-weight: bold;
    background-color: rgb(180, 255, 180);
    color: rgb(0, 51, 0);
    border: 2px solid rgb(237, 2, 2);
}

.benefits-table,
.features-table,
.order-summary,
.next-steps,
.upsell-table {
    margin: 20px 0;
}

/* Lists */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    color: rgb(0, 51, 0);
    font-weight: bold;
    padding: 12px;
    margin-bottom: 10px;
    background-color: white;
    border-left: 5px solid rgb(237, 2, 2);
    border-radius: 5px;
    font-size: 16px;
}

/* Forms */
.lead-form,
.checkout-form {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border: 3px solid rgb(237, 2, 2);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid rgb(237, 2, 2);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background-color: rgb(250, 255, 250);
    color: rgb(0, 51, 0);
    font-weight: bold;
}

input:focus {
    outline: none;
    border-color: rgb(0, 120, 0);
    box-shadow: 0 0 8px rgba(0, 120, 0, 0.3);
}

.card-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

/* Buttons */
.btn-primary {
    padding: 18px 40px;
    background: linear-gradient(135deg, rgb(0, 180, 0), rgb(0, 220, 0));
    color: white;
    border: 3px solid rgb(237, 2, 2);
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 10px 5px;
    text-align: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgb(0, 220, 0), rgb(0, 255, 0));
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-large {
    width: 100%;
    padding: 22px 40px;
    font-size: 22px;
}

.btn-secondary {
    padding: 15px 30px;
    background-color: rgb(100, 200, 100);
    color: rgb(0, 51, 0);
    border: 2px solid rgb(237, 2, 2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 10px 5px;
}

.btn-secondary:hover {
    background-color: rgb(120, 220, 120);
    transform: translateY(-2px);
}

/* Special Boxes */
.offer-box,
.success-box,
.upsell-box,
.urgency-box {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    border: 3px solid rgb(237, 2, 2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.urgency-box {
    background-color: rgb(255, 255, 200);
    text-align: center;
}

.cta-text {
    font-size: 20px;
    color: rgb(0, 51, 0);
    font-weight: bold;
    text-align: center;
    margin: 25px 0;
}

/* Pricing */
.price {
    text-align: right;
    color: rgb(0, 120, 0);
    font-weight: bold;
    font-size: 18px;
}

.price-strike {
    text-decoration: line-through;
    color: rgb(150, 150, 150);
    font-size: 18px;
    font-weight: bold;
}

.price-special {
    color: rgb(237, 2, 2);
    font-size: 24px;
    font-weight: bold;
}

.price-big {
    font-size: 48px;
    color: rgb(0, 150, 0);
}

/* Testimonials */
.testimonials {
    margin: 25px 0;
}

blockquote {
    background-color: white;
    padding: 20px;
    border-left: 5px solid rgb(0, 180, 0);
    margin: 15px 0;
    font-style: italic;
    color: rgb(0, 51, 0);
    font-weight: bold;
    border-radius: 8px;
}

/* Security and Other Elements */
.privacy-note,
.security-badges {
    text-align: center;
    color: rgb(0, 100, 0);
    font-size: 14px;
    margin: 15px 0;
    font-weight: bold;
}

.highlight-row {
    background-color: rgb(255, 255, 150) !important;
}

.final-message {
    background-color: rgb(200, 255, 200);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    border: 2px solid rgb(0, 120, 0);
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        padding: 0;
    }
    
    .action-buttons,
    .comments-section {
        display: none !important;
    }
    
    .container {
        box-shadow: none;
        padding: 10px;
        max-width: 100%;
    }
    
    .funnel-stage {
        display: block !important;
        page-break-after: always;
        page-break-inside: avoid;
    }
    
    .theory-section {
        display: block !important;
        page-break-inside: avoid;
    }
    
    button {
        display: none !important;
    }
    
    table {
        page-break-inside: avoid;
    }
    
    .stage-content {
        border: 2px solid rgb(237, 2, 2);
    }
    
    h1, h2, h3, h4 {
        page-break-after: avoid;
    }
    
    .progress-container {
        display: none;
    }
    
    /* Ensure colors print correctly */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .funnel-stage h1 {
        font-size: 28px;
    }
    
    .funnel-stage h2 {
        font-size: 22px;
    }
    
    .stage-content {
        padding: 20px;
    }
    
    .card-details {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    table {
        font-size: 14px;
    }
    
    thead th,
    tbody td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .funnel-stage h1 {
        font-size: 24px;
    }
    
    .btn-primary,
    .btn-large {
        font-size: 16px;
        padding: 15px 20px;
    }
}