/* ============================================================
   Plans Page — Dedicated Layout Overrides & Enhancements
   ============================================================ */

/* ---- PLANS GRID: BASIC full-width row + 3-col row for others ---- */
.plans-section {
    padding: 48px 24px 56px;
    max-width: 1200px;
    margin: 0 auto;
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* BASIC no longer takes the entire row since there are only 3 tiers now */

@media (min-width: 769px) and (max-width: 1024px) {
    .plans-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .plans-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ---- CARD: color-coded top stripe + glassmorphism ---- */
.plan-card {
    border-radius: 22px;
    border: none;
    overflow: visible;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06);
    position: relative;
}

/* Colored top bar */
.plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    z-index: 2;
}

.plan-basic::after {
    background: var(--saffron-gradient);
}

.plan-digital::after {
    background: var(--gold-gradient);
}

.plan-bookings::after {
    background: var(--sacred-gradient);
}

.plan-complete::after {
    background: linear-gradient(90deg, #C9A84C, #E07B30);
}

/* ---- BASIC CARD: Distinct "Foundation" styling ---- */
@media (min-width: 769px) {
    .plan-basic {
        border: 2px solid rgba(255, 153, 51, 0.15);
        background: var(--ivory);
    }
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.1);
}

/* ---- HEADER: larger icon, gradient bg ---- */
.plan-header {
    padding: 32px 24px 22px;
    text-align: center;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.plan-basic .plan-header {
    background: linear-gradient(180deg, var(--sandal-cream) 0%, var(--ivory) 100%);
}

.plan-digital .plan-header {
    background: linear-gradient(180deg, var(--temple-white) 0%, var(--ivory) 100%);
}

.plan-bookings .plan-header {
    background: linear-gradient(180deg, var(--sandal-cream) 0%, var(--ivory) 100%);
}

.plan-complete .plan-header {
    background: linear-gradient(180deg, var(--temple-white) 0%, var(--ivory) 100%);
}

/* Icon — larger, floating */
.plan-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    margin: 0 auto 16px;
    position: relative;
}

.plan-icon-wrap .material-symbols-outlined {
    font-size: 32px;
}

.plan-card:hover .plan-icon-wrap {
    transform: scale(1.15) rotate(-6deg);
}

/* Plan name */
.plan-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Price label — bigger */
.price-label {
    font-size: 26px;
}

/* ---- BODY ---- */
.plan-body {
    padding: 20px 24px 12px;
    flex: 1;
}

/* Feature group — slight left border accent */
.plan-feature-group {
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 3px solid transparent;
    transition: border-color 0.3s;
}

.plan-basic .plan-feature-group {
    border-left-color: rgba(199, 62, 29, 0.12);
}

.plan-digital .plan-feature-group {
    border-left-color: rgba(155, 41, 21, 0.12);
}

.plan-bookings .plan-feature-group {
    border-left-color: rgba(107, 29, 42, 0.12);
}

.plan-complete .plan-feature-group {
    border-left-color: rgba(201, 168, 76, 0.12);
}

.plan-card:hover .plan-feature-group {
    border-left-color: rgba(199, 62, 29, 0.3);
}

.plan-digital:hover .plan-feature-group {
    border-left-color: rgba(155, 41, 21, 0.3);
}

.plan-bookings:hover .plan-feature-group {
    border-left-color: rgba(107, 29, 42, 0.3);
}

.plan-complete:hover .plan-feature-group {
    border-left-color: rgba(201, 168, 76, 0.3);
}

.feature-group-title {
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    margin-bottom: 10px;
}

.feature-group-title .material-symbols-outlined {
    font-size: 20px;
}

/* Feature list — gradient dot instead of ✓ */
.feature-list {
    padding-left: 24px;
}

.feature-list li {
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.55;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--saffron-gradient);
    box-shadow: 0 0 4px rgba(255, 153, 51, 0.25);
}

.plan-digital .feature-list li::before {
    background: linear-gradient(135deg, #9B2915, #C73E1D);
    box-shadow: 0 0 4px rgba(155, 41, 21, 0.25);
}

.plan-bookings .feature-list li::before {
    background: linear-gradient(135deg, #6B1D2A, #9B2915);
    box-shadow: 0 0 4px rgba(107, 29, 42, 0.25);
}

.plan-complete .feature-list li::before {
    background: linear-gradient(135deg, #C9A84C, #E07B30);
    box-shadow: 0 0 4px rgba(201, 168, 76, 0.25);
}

/* Includes badge */
.plan-includes {
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 18px;
}

/* ---- CTA BUTTONS ---- */
.plan-cta {
    padding: 14px 24px 26px;
}

.plan-cta-btn {
    border-radius: 14px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ---- BOOKINGS CARD: highlighted ---- */
.plan-bookings {
    border: 2px solid rgba(193, 39, 45, 0.15);
    box-shadow: 0 8px 32px rgba(193, 39, 45, 0.08);
}

.plan-bookings:hover {
    border-color: rgba(193, 39, 45, 0.3);
    box-shadow: 0 20px 56px rgba(193, 39, 45, 0.12);
}

/* Popular badge */
.plan-popular-badge {
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, var(--maroon), var(--primary-dark));
    padding: 5px 14px;
    font-size: 10px;
    border-radius: 50px;
    box-shadow: 0 3px 12px rgba(128, 24, 24, 0.25);
}

/* ---- FEATURED SECTION ---- */
.featured-section {
    padding: 60px 24px;
    background: var(--sandal-cream);
    border-top: none;
    position: relative;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C9A84C, #C73E1D, #C9A84C, transparent);
}

.featured-header {
    margin-bottom: 36px;
}

.featured-icon {
    font-size: 52px;
    background: var(--sacred-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    display: block;
}

.featured-header h2 {
    font-size: 30px;
    font-weight: 800;
}

.featured-header p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Pricing cards — bigger, numbered */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

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

.pricing-card {
    padding: 28px 16px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle corner decoration */
.pricing-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at bottom right, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-card.popular {
    transform: scale(1.06);
    border-color: #C9A84C;
    box-shadow: 0 8px 28px rgba(201, 168, 76, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.1) translateY(-4px);
}

.pricing-amount {
    font-size: 36px;
}

/* ---- NOTES SECTION ---- */
.notes-section {
    padding: 32px 24px 48px;
    max-width: 900px;
    margin: 0 auto;
}

.notes-container {
    border-radius: 18px;
    padding: 22px 26px;
    border-left-width: 4px;
    border-left-color: var(--kumkum-red);
    background: var(--ivory);
}

.notes-header {
    margin-bottom: 14px;
}

.notes-list li {
    font-size: 13px;
    line-height: 1.65;
}

/* ---- RESPONSIVE FINE TUNE ---- */
@media (max-width: 640px) {
    .plans-hero {
        padding: 56px 16px 44px;
    }

    .plans-hero-title {
        font-size: 32px;
    }

    .plan-icon-wrap {
        width: 58px;
        height: 58px;
    }

    .plan-name {
        font-size: 16px;
    }

    .price-label {
        font-size: 22px;
    }

    .pricing-amount {
        font-size: 30px;
    }

    .featured-section {
        padding: 40px 16px;
    }

    .notes-section {
        padding: 24px 16px 36px;
    }

    .pricing-grid {
        gap: 14px;
    }
}