/* EcoClaim Pricing Page Styles */

.elementor-kit-6 button,
.elementor-kit-6 button:hover,
.elementor-kit-6 button:focus {
    background: none;
    color: inherit;
}

.ecoclaim-pricing-wrapper {
    min-height: 100vh;
    background-color: #ffffff;
    font-family: Lato, sans-serif;
}

/* Header */
.ec-header {
    background-color: #002C5E;
    color: white;
}

.ec-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.ec-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ec-logo-text {
    font-size: 1.875rem;
    font-weight: bold;
}

.ec-logo-eco {
    color: white;
}

.ec-logo-claim {
    color: #9CDF16;
}

.ec-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.ec-nav-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.ec-nav-link:hover {
    opacity: 0.8;
}

.ec-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.ec-btn:hover {
    transform: scale(1.05);
}

.ec-btn-login {
    background-color: #9CDF16;
    color: #1B4D3E;
}

.ec-btn-primary {
    background-color: #9CDF16!important;
    color: #1B4D3E!important;
    padding: 1.25rem 2.5rem!important;
    font-size: 1.125rem!important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ec-btn-secondary {
    background-color: white!important;
    color: #1B4D3E!important;
    padding: 1.25rem 2.5rem!important;
    font-size: 1.125rem!important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ec-header-border {
    background-color: #9CDF16;
    height: 4px;
}

/* Hero Section */
.ec-hero {
    background-color: white;
    padding: 4rem 1.5rem;
    text-align: center;
}

.ec-container {
    max-width: 1280px;
    margin: 0 auto;
}

.ec-container-narrow {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ec-hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #002C5E;
    margin-bottom: 1.5rem;
}

.ec-hero-text {
    font-size: 1.25rem;
    color: #374151;
    max-width: 768px;
    margin: 0 auto;
}

/* Main Toggle */
.ec-toggle-wrapper {
    display: flex;
    justify-content: center;
    padding-bottom: 3rem;
    background-color: white;
}

.ec-toggle-container {
    position: relative;
    background-color: white;
    border-radius: 9999px;
    padding: 0.375rem;
    padding-right: 0.9rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ec-toggle-slider {
    position: absolute;
    height: calc(100% - 0.75rem);
    width: calc(50% - 0.375rem);
    border-radius: 9999px;
    background-color: #9CDF16;
    transition: all 0.5s ease-in-out;
    left: 0.375rem;
    top: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ec-toggle-slider.pro {
    left: calc(50% - 0.1rem);
    background-color: #002C5E;
}

.ec-toggle-buttons {
    position: relative;
    display: flex;
}

.ec-toggle-btn {
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    color: #6B7280;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.ec-toggle-btn:hover {
    color: #6B7280;
}

.ec-toggle-btn.active {
    font-weight: bold;
}

.ec-toggle-btn.active:hover.express {
    color: #1B4D3E;
}

.ec-toggle-btn.active:hover.pro {
    color: white;
}

.ec-toggle-btn.active.express {
    color: #1B4D3E;
}

.ec-toggle-btn.active.pro {
    color: white;
}

.ec-toggle-btn.pro {
    color: #6B7280;
}

.ec-toggle-btn.express {
    color: #6B7280;
}

.ec-toggle-title {
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    text-align: center;
    color: inherit;
}

.ec-toggle-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
    display: block;
    text-align: center;
    color: inherit;
}

/* Comparison Section */
.ec-comparison-section {
    margin-bottom: 5rem;
}

.ec-comparison-box {
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background-color: #F3F4F6;
}

.ec-comparison-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #002C5E;
    text-align: center;
    margin-bottom: 2.5rem;
}

.ec-comparison-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

/* Mini Toggle */
.ec-mini-toggle-wrapper {
    position: absolute;
    left: 45%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.ec-mini-toggle {
    position: relative;
    background-color: #FFFFFF!important;
    border-radius: 9999px!important;
    padding: 0.5rem!important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1)!important;
    width: 180px!important;
    height: 60px!important;
    border: none!important;
    cursor: pointer!important;
    transition: box-shadow 0.3s!important;
}

.ec-mini-toggle:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.ec-mini-toggle-slider {
    position: absolute;
    height: calc(100% - 0.8rem);
    width: calc(50% - 0.4rem);
    border-radius: 9999px;
    background-color: #9CDF16;
    transition: all 0.5s ease-in-out;
    left: 0.4rem;
    top: 0.4rem;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.ec-mini-toggle-slider.pro {
    left: calc(50% + 0.1rem);
    background-color: #002C5E;
}

.ec-mini-toggle-labels {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0;
}

.ec-mini-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    transition: all 0.3s;
    text-align: center;
    flex: 1;
    line-height: 1.2;
    z-index: 10;
    position: relative;
    background-color: transparent;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    margin: 0;
}

.ec-mini-label.active {
    font-weight: bold;
}

.ec-mini-label.active.express {
    color: #1B4D3E;
}

.ec-mini-label.active.pro {
    color: white;
}

/* Choice Boxes */
.ec-choice-box {
    text-align: left;
    border: 2px solid #E5E7EB;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
    background-color: white;
    cursor: pointer;
    opacity: 0.7;
}

.ec-choice-box:hover {
    opacity: 0.9;
}

.ec-choice-box.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.ec-choice-box.active.express {
    background-color: #F0FDF4;
    border-color: #9CDF16;
}

.ec-choice-box.active.pro {
    background-color: #EFF6FF;
    border-color: #002C5E;
}

.ec-choice-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    color: #9CA3AF;
}

.ec-choice-box.active.express .ec-choice-icon {
    color: #297255;
}

.ec-choice-box.active.pro .ec-choice-icon {
    color: #002C5E;
}

.ec-choice-title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #6B7280;
}

.ec-choice-box.active .ec-choice-title {
    color: #002C5E;
}

.ec-choice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #9CA3AF;
}

.ec-choice-box.active.express .ec-choice-list {
    color: #1B4D3E;
}

.ec-choice-box.active.pro .ec-choice-list {
    color: #002C5E;
}

.ec-choice-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ec-check {
    color: #16A34A;
}

/* Pricing Cards */
.ec-pricing-section {
    padding-bottom: 5rem;
}

.ec-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ec-pricing-card {
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: white;
    transition: transform 0.3s;
}

.ec-pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #9CDF16;
}

.ec-pricing-card.featured.pro {
    border-color: #002C5E;
}

.ec-card-header {
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.ec-card-header.express-primary {
    background-color: #297255;
}

.ec-card-header.express-featured {
    background-color: #9CDF16;
    color: #1B4D3E;
}

.ec-card-header.express-secondary {
    background-color: #002C5E;
}

.ec-card-header.pro-primary,
.ec-card-header.pro-featured {
    background-color: #002C5E;
}

.ec-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.ec-card-badge {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.ec-card-body {
    padding: 2rem;
}

.ec-card-type {
    text-align: center;
    font-size: 0.875rem;
    font-style: italic;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.ec-card-price {
    text-align: center;
    margin-bottom: 1rem;
}

.ec-price-amount {
    font-size: 3rem;
    font-weight: bold;
    color: #002C5E;
}

.ec-price-unit {
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.ec-card-savings {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #16A34A;
}

.ec-quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    height: 3rem;
}

.ec-quantity-input {
    width: 5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    text-align: center;
}

.ec-quantity-label {
    font-size: 0.875rem;
    color: #6B7280;
}

.ec-card-button {
    width: 100%;
    padding: 1rem;
    border-radius: 9999px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.ec-card-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ec-card-button.express-primary {
    background-color: #9CDF16;
    color: #1B4D3E;
}

.ec-card-button.express-featured {
    background-color: #1B4D3E;
    color: white;
}

.ec-card-button.express-secondary {
    background-color: #EFF6FF;
    color: #002C5E;
}

.ec-card-button.pro-primary {
    background-color: #EFF6FF;
    color: #002C5E;
}

.ec-card-button.pro-featured {
    background-color: #002C5E;
    color: white;
}

.ec-card-features {
    border-top: 1px solid #F3F4F6;
    padding-top: 1.5rem;
}

.ec-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ec-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #6B7280;
}

.ec-feature-check {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #16A34A;
}

.ec-feature-check.blue {
    color: #2563EB;
}

/* Features Table */
.ec-features-section {
    padding-bottom: 5rem;
}

.ec-features-toggle {
    width: 100%;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background-color: #1B4D3E;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: box-shadow 0.3s;
}

.ec-features-toggle:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.ec-chevron {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s;
}

.ec-chevron.rotated {
    transform: rotate(180deg);
}

.ec-features-table-wrapper {
    margin-top: 1.5rem;
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ec-features-table {
    width: 100%;
    border-collapse: collapse;
}

.ec-features-table thead tr {
    background-color: #1B4D3E;
}

.ec-features-table th {
    padding: 1.25rem 2rem;
    color: white;
    font-weight: bold;
}

.ec-features-table th.text-left {
    text-align: left;
}

.ec-features-table th.text-center {
    text-align: center;
}

.ec-features-table td {
    padding: 1rem 2rem;
}

.ec-features-table td.text-center {
    text-align: center;
}

.ec-features-table .feature-name {
    color: #374151;
    font-weight: 500;
}

.ec-features-table .alt-row {
    background-color: #F9FAFB;
}

.ec-features-table .highlight {
    color: #297255;
    font-weight: 500;
}

/* CTA Section */
.ec-cta {
    background-color: #1B4D3E;
    padding: 4rem 1.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.ec-cta-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.ec-cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.ec-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Footer */
.ec-footer {
    background-color: #002C5E;
    color: white;
    padding: 3rem 1.5rem;
}

.ec-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.ec-footer-title {
    font-weight: bold;
    font-size: 1.125rem;
    color: #9CDF16;
    margin-bottom: 1rem;
}

.ec-footer-text {
    color: #D1D5DB;
    line-height: 1.5;
    font-size: 0.875rem;
}

.ec-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ec-footer-links li {
    margin-bottom: 0.75rem;
}

.ec-footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.ec-footer-links a:hover {
    color: white;
}

.ec-footer-highlight {
    color: #9CDF16 !important;
}

.ec-footer-highlight:hover {
    text-decoration: underline;
}

.ec-footer-bottom {
    border-top: 1px solid #4B5563;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.ec-footer-legal {
    margin-top: 0.75rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.ec-footer-legal a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.ec-footer-legal a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .ec-nav {
        display: none;
    }

    .ec-hero-title {
        font-size: 2rem;
    }

    .ec-comparison-grid {
        grid-template-columns: 1fr;
    }

    .ec-mini-toggle-wrapper {
        position: static;
        transform: none;
        margin-bottom: 2rem;
        text-align: center;
    }

    .ec-pricing-grid {
        grid-template-columns: 1fr;
    }

    .ec-footer-grid {
        grid-template-columns: 1fr;
    }

    .ec-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Modal Popup */
.ec-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ec-modal-overlay.active {
    display: flex;
}

.ec-modal-popup {
    position: relative;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 9999;
    animation: ec-modal-fade-in 0.3s ease-out;
}

@keyframes ec-modal-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ec-modal-header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid #E5E7EB;
    position: relative;
}

.ec-modal-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #002C5E;
    margin: 0;
}

.ec-modal-subtitle {
    font-size: 1rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.ec-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6B7280;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.ec-modal-close:hover {
    background-color: #F3F4F6;
    color: #002C5E;
}

.ec-modal-body {
    padding: 2rem;
}

.ec-modal-form-wrapper {
    min-height: 400px;
}

/* Responsive - Modal specific */
@media (max-width: 768px) {
    .ec-modal-popup {
        max-height: 95vh;
        margin: 0.5rem;
    }

    .ec-modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .ec-modal-title {
        font-size: 1.5rem;
    }

    .ec-modal-body {
        padding: 1.5rem;
    }
}
