/* Apple-Inspired Premium Pricing Section */
.pricing-section {
    position: relative;
    background: #fffbfa; /* very light warm white/powder pink */
    padding: 4.5rem 0 3rem;
    overflow: hidden;
    margin-top: 2.5rem;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -20%; left: -10%; right: -10%; bottom: -10%;
    background: radial-gradient(circle at 20% 40%, rgba(47, 111, 87, 0.05), transparent 50%),
                radial-gradient(circle at 80% 60%, rgba(47, 111, 87, 0.04), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.pricing-header-main {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.pricing-header-main h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #1A2238;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.pricing-header-main p {
    color: #6B7280;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Grid Layout */
.premium-pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
}

/* Base Pricing Card */
.premium-pricing-card {
    flex: 1;
    max-width: 400px;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 28px;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 40px rgba(26, 34, 56, 0.04), 
                inset 0 1px 0 rgba(255,255,255,1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(47, 111, 87, 0.06);
}

/* Pro Card Special Styling */
.premium-pricing-card.popular {
    border: 1.5px solid #2F6F57;
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.06);
    box-shadow: 0 30px 80px rgba(47, 111, 87, 0.12),
                inset 0 1px 0 rgba(255,255,255,1);
    z-index: 3;
}

.premium-pricing-card.popular:hover {
    transform: scale(1.06) translateY(-8px);
}

/* Best Value Badge */
.premium-popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2F6F57;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 16px rgba(47, 111, 87, 0.25);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Card Headers */
.card-icon-wrapper {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.card-title {
    text-align: center;
    font-size: 1.3rem;
    color: #1A2238;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.card-price {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #2F6F57;
    margin-bottom: 0.1rem;
    line-height: 1;
}

.card-price-small {
    font-size: 1.2rem;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.card-subtitle {
    text-align: center;
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 1rem;
    min-height: 2rem;
}

/* Feature List */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #1A2238;
    font-size: 0.75rem;
    line-height: 1.3;
}

.card-features li svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: #2F6F57;
    margin-top: 1px;
}

.device-login-pill {
    background: #E8F3EF;
    color: #2F6F57;
    padding: 8px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Buttons */
.btn-pricing {
    width: 100%;
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    margin-top: auto;
}

.btn-pricing-outline {
    background: #ffffff;
    color: #2F6F57;
    border: 1px solid rgba(47, 111, 87, 0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.btn-pricing-outline:hover {
    border-color: #2F6F57;
    box-shadow: 0 6px 16px rgba(47, 111, 87, 0.1);
}

.btn-pricing-solid {
    background: #2F6F57;
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px rgba(47, 111, 87, 0.25);
}

.btn-pricing-solid:hover {
    background: #255d48;
    box-shadow: 0 12px 24px rgba(47, 111, 87, 0.35);
}

/* Trust Bar */
.pricing-trust-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 1000px;
    margin: 3rem auto 2rem;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.pricing-trust-pill {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    padding: 12px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6B7280;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.pricing-trust-pill svg {
    color: #2F6F57;
}

/* Coffee Tagline */
.pricing-coffee-tagline {
    text-align: center;
    font-size: 0.95rem;
    color: #1A2238;
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.highlight-accent {
    color: #2F6F57;
    font-weight: 700;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .premium-pricing-grid {
        flex-wrap: wrap;
        gap: 3rem;
    }
    .premium-pricing-card {
        min-width: calc(50% - 2rem);
        transform: none !important;
        min-height: auto;
    }
    .premium-pricing-card.popular {
        transform: none !important;
    }
}

@media (max-width: 767px) {
    .premium-pricing-grid {
        flex-direction: column;
        gap: 3rem;
        padding: 1rem;
    }
    .premium-pricing-card {
        width: 100%;
        min-width: 100%;
        margin-bottom: 0.75rem;
    }
    .pricing-trust-pill {
        width: 100%;
        justify-content: center;
    }
    .pricing-coffee-tagline {
        flex-direction: column;
        gap: 6px;
    }
}
