* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.pricing-hero {
    padding: 140px 5% 60px;
    background: linear-gradient(135deg, var(--bg-gray) 0%, #eafcf8 100%);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto 40px;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.toggle-label {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: var(--primary-color);
}

.plan-subtitle {
    font-size: 0.875rem;
    color: #666;
    margin-top: 5px;
    margin-bottom: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent-color);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--accent-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.card-body {
    flex-grow: 1;
}

.pricing-section {
    padding: 60px 5% 100px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}


.pricing-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.pricing-card button,
.pricing-card .card-footer {
    margin-top: auto;
}


.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}


.pricing-card.popular {
    border: 2px solid var(--accent-color);
    position: relative;
}


.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
}


.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 18px;
    font-size: 0.75rem;
    border-radius: 20px;
    font-weight: 700;
}

.card-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.price-box {
    font-size: 3rem;
    font-weight: 700;
    margin: 15px 0;
}

.price-box .superscript {
    font-size: 1.5rem;
    vertical-align: super;
}

.discount-note {
    font-size: 0.875rem;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
}

.pricing-card .card-footer {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    margin: 20px -25px -25px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    font-size: 0.875rem;
    line-height: 1.6;
}

.pricing-card .card-footer p {
    margin: 0;
}


.feature-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 1rem;
}

.payment-main {
    display: flex;
    justify-content: center;
}

.payment-container {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    margin-bottom: 40px;
}

.payment-header {

    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.payment-header h2 {
    font-size: 18px;
    color: #111827;
    font-weight: 700;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #059669;

    background: #ecfdf5;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 25px;
}


.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.half {
    flex: 1;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}


.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.icon {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 18px;
    color: #9ca3af;
}

input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    /* Space for icon */
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    color: #1f2937;
    transition: all 0.2s ease;
}


#expiry,
#name,
#zip {
    padding-left: 12px;
}

input:focus {
    outline: none;
    border-color: #2563eb;

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

input::placeholder {
    color: #d1d5db;
}


.card-logos {
    position: absolute;
    right: 12px;
    display: flex;
    gap: -5px;
}

.logo-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.red {
    background: #eb001b;
    opacity: 0.8;
}

.orange {
    background: #f79e1b;
    opacity: 0.8;
    margin-left: -6px;
}


.tooltip-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #e5e7eb;
    color: #6b7280;
    border-radius: 50%;
    text-align: center;
    line-height: 14px;
    font-size: 10px;
    margin-left: 4px;
    cursor: help;
}

.pay-button {
    width: 100%;
    background: #2563eb;

    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.pay-button:hover {
    background: #1d4ed8;
}

.footer-text {
    text-align: center;
    margin-top: 15px;
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

@media (max-width: 480px) {
    .payment-container {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

.guarantee-section {
    padding: 80px 5%;
    background: #052024;
    color: #fff;
    text-align: center;
}


@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        transform: none;
    }
}


@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-hero {
        padding-top: 110px;
    }

    .hero-content p {
        font-size: 1rem;
    }
}