:root {
    --bg-deep: #052e25;
    /* Deep Madina Green */
    --gold-primary: #CFA662;
    /* Metallic Gold */
    --gold-highlight: #E6CFA0;
    /* Light Gold */
    --gold-shadow: #8A6E30;
    /* Dark Gold */
    --text-white: #ECF0F1;
    --text-muted: #BDC3C7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles handled by Tailwind classes in pricing.php */

/* Typography */
h1,
h2,
h3,
.logo-text,
.cta-text {
    font-family: 'Cinzel', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 40px 20px; Conflicting with global footer */
    text-align: center;
}

/* Navigation Styles Removed - Using Global Header */

/* Header Styles Removed - Using Global Banner */

/* --- ORNATE FRAME & TABLE --- */
.pricing-section {
    margin-bottom: 80px;
    position: relative;
    padding: 20px;
}

/* The Frame Container - mimicking a metallic gold frame */
.ornate-frame-outer {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    /* Rich metallic border gradient */
    border: 4px solid transparent;
    border-image: linear-gradient(to right bottom, #8A6E30 0%, #E6CFA0 25%, #CFA662 50%, #E6CFA0 75%, #8A6E30 100%) 1;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    /* Deep shadow for lift */
    background: #021a16;
    /* Slightly darker than body for contrast */
}

/* Corner Accents (Simulated via Psuedo-elements for CSS-only solution) */
.ornate-frame-outer::before,
.ornate-frame-outer::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold-light);
    transition: all 0.3s;
    z-index: 2;
    pointer-events: none;
}

.ornate-frame-outer::before {
    top: -8px;
    left: -8px;
    border-right: none;
    border-bottom: none;
}

.ornate-frame-outer::after {
    bottom: -8px;
    right: -8px;
    border-left: none;
    border-top: none;
}

.ornate-frame-inner {
    padding: 2px;
    border: 1px solid rgba(207, 166, 98, 0.3);
}

/* Decoration Header above Table */
.frame-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    background: linear-gradient(90deg, transparent 0%, rgba(207, 166, 98, 0.1) 50%, transparent 100%);
    border-bottom: 1px solid var(--gold-primary);
}

.frame-title h2 {
    color: var(--gold-light);
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Table Styling - Matching the Image */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    /* Dark Green Header with Gold Accent Border (More Elegant/Less Overwhelming) */
    background: #021a16;
    border-bottom: 2px solid #CFA662;
}

th {
    padding: 16px 12px;
    color: #CFA662;
    /* Metallic Gold Text */
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-right: 1px solid rgba(207, 166, 98, 0.2);
    text-transform: uppercase;
}

th:last-child {
    border-right: none;
}

td {
    padding: 18px 12px;
    text-align: center;
    border: 1px solid #CFA662;
    /* Matching the gold border color */
    font-size: 1rem;
    color: var(--text-white);
}

/* Alternating Rows */
tbody tr:nth-child(odd) {
    background-color: rgba(6, 56, 48, 0.4);
}

tbody tr:nth-child(even) {
    background-color: rgba(3, 38, 32, 0.4);
}

/* Hover Effect */
tbody tr:hover {
    background-color: rgba(207, 166, 98, 0.1);
    transition: background 0.3s;
}

/* ---- Responsive Pricing: Desktop table / Mobile cards ---- */
.pricing-mobile {
    display: none;
}

/* ---- Mobile Card Styles ---- */
.pricing-card {
    border: 1px solid rgba(207, 166, 98, 0.35);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: rgba(2, 26, 22, 0.8);
}

.pricing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(90deg, transparent 0%, rgba(207, 166, 98, 0.12) 50%, transparent 100%);
    border-bottom: 1px solid rgba(207, 166, 98, 0.25);
}

.pricing-card-plan {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #CFA662;
}

.pricing-card-duration {
    font-size: 0.8rem;
    color: #B2BABB;
    background: rgba(207, 166, 98, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(207, 166, 98, 0.2);
}

.pricing-card-prices {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.pricing-card-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 4px;
    border-right: 1px solid rgba(207, 166, 98, 0.12);
}

.pricing-card-price:last-child {
    border-right: none;
}

.pricing-currency {
    font-size: 0.6rem;
    color: #CFA662;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-family: 'Cinzel', serif;
}

.pricing-amount {
    font-size: 0.95rem;
    color: #ECF0F1;
    font-weight: 700;
}

/* Policies Section */
.policies {
    max-width: 1000px;
    margin: 40px auto;
    text-align: left;
}

.policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.policy-box h3,
.policy-full h3 {
    color: var(--gold-primary);
    border-bottom: 1px solid var(--gold-dark);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.gold-diamond {
    font-size: 0.8rem;
    vertical-align: middle;
    margin: 0 5px;
    color: var(--gold-light);
}

.policy-box p,
.policy-full p {
    color: #B2BABB;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Bar */
.cta-bar {
    background: rgba(3, 38, 32, 0.95);
    border-top: 1px solid var(--gold-primary);
    border-bottom: 1px solid var(--gold-primary);
    padding: 30px 0;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.cta-text {
    font-size: 1.8rem;
    color: var(--gold-light);
}



.social-icons a {
    color: var(--gold-primary);
    font-size: 1.4rem;
    margin: 0 12px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #fff;
}

/* Footer Styles Removed - Using Global Footer */

/* Mobile: Swap table for cards */
@media (max-width: 768px) {
    .pricing-desktop {
        display: none;
    }
    .pricing-mobile {
        display: block;
        padding: 12px;
    }

    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .policy-grid {
        grid-template-columns: 1fr;
    }

    .cta-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .frame-title h2 {
        font-size: 1.1rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .pricing-section {
        padding: 10px;
    }

    .pricing-mobile {
        padding: 8px;
    }

    .frame-title h2 {
        font-size: 0.95rem;
        letter-spacing: 0;
    }

    .ornament-icon {
        display: none;
    }

    .pricing-card-plan {
        font-size: 0.85rem;
    }

    .pricing-card-header {
        padding: 10px 12px;
    }

    .pricing-card-price {
        padding: 10px 2px;
    }

    .pricing-amount {
        font-size: 0.85rem;
    }

    .pricing-currency {
        font-size: 0.55rem;
    }

    .cta-text {
        font-size: 1.3rem;
    }
}

/* Ultra-small phones */
@media (max-width: 375px) {
    .pricing-card-prices {
        grid-template-columns: repeat(5, 1fr);
    }

    .pricing-card-price {
        padding: 8px 1px;
    }

    .pricing-amount {
        font-size: 0.78rem;
    }

    .pricing-currency {
        font-size: 0.5rem;
    }

    .pricing-card-plan {
        font-size: 0.8rem;
    }

    .pricing-card-duration {
        font-size: 0.7rem;
        padding: 2px 8px;
    }

    .cta-text {
        font-size: 1.1rem;
    }
    .cta-bar {
        padding: 20px 15px;
        gap: 15px;
    }
}