/* Pricing Section Styles */
.pricing-section {
    padding: 80px 0;
    background-color: #ffffff;
    /* Clean white background like Mailchimp/Apple */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1d1d1f;
}

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.pricing-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #111;
}

.pricing-section .section-subtitle {
    font-size: 1.25rem;
    color: #666;
    font-weight: 400;
}

/* Toggle Switch */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    font-size: 1rem;
    font-weight: 500;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.badge-save {
    background-color: #e5f4ea;
    color: #1e7e34;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* The switch box */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 32px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: #4273da;
    /* Vivid theme toggle */
}

input:focus+.slider {
    box-shadow: 0 0 1px #4273da;
}

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

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Card Wrapper */
.pricing-card-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 20px;
    margin-bottom: 60px;
}

.pricing-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

/* Single Pricing Card (Apple/Mailchimp Hybrid) */
.pricing-card.featured-apple {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    /* Padding for the inner content */
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured-apple.agency-card {
    border-color: var(--primary-color);
    margin-top: 0;
}

.pricing-card.featured-apple:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card-header {
    text-align: center;
    padding: 20px 0 30px;
    border-bottom: 1px solid #f5f5f5;
}

.trial-banner {
    display: inline-block;
    background: var(--primary-color);
    /* User's brand yellow */
    color: #1d1d1f;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.trial-banner.agency-banner {
    background: #e0e0e0;
    color: #555;
}

/* Custom Section */
.pricing-custom-section {
    text-align: center;
    padding: 40px 20px;
    background: #fdfdfd;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px dashed #ddd;
}

.pricing-custom-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.pricing-custom-section p {
    color: #666;
    margin-bottom: 20px;
}

.link-arrow {
    color: #4273da;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: margin 0.2s;
}

.link-arrow:hover {
    margin-left: 5px;
    text-decoration: underline;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .pricing-grid-new {
        grid-template-columns: 1fr;
    }
}

.pricing-card.featured-apple:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card-header {
    text-align: center;
    padding: 20px 0 30px;
    border-bottom: 1px solid #f5f5f5;
}

.trial-banner {
    display: inline-block;
    background: var(--primary-color);
    /* User's brand yellow */
    color: #1d1d1f;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.price-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
    color: #111;
}

.price-container .currency {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 8px;
    margin-right: 4px;
}

.price-container .amount {
    font-size: 4.5rem;
    /* Big, bold Apple style number */
    font-weight: 700;
    letter-spacing: -2px;
}

.price-container .period {
    font-size: 1.1rem;
    color: #666;
    align-self: flex-end;
    margin-bottom: 10px;
    margin-left: 4px;
}

.card-header .description {
    margin-top: 16px;
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

.card-features {
    padding: 30px 20px;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #444;
}

.card-features li i.icon-check {
    color: #4273da;
    background: var(--primary-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Icon Check Hack if font is missing */
.card-features li i.icon-check::before {
    content: "✓";
    font-weight: bold;
}

.card-footer {
    padding: 0 20px 20px;
    text-align: center;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    width: 100%;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: #4273da;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #315bb5;
    transform: none;
    /* Override default btn hover transform if any */
}

.no-card-required {
    font-size: 0.85rem;
    color: #888;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .pricing-section .section-title {
        font-size: 2.2rem;
    }

    .price-container .amount {
        font-size: 3.5rem;
    }
}