:root {
    --ink: #0d0d1a;
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --cream: #faf8f3;
    --white: #ffffff;
    --muted: #6b6b7a;
    --border: #e4e0d6;
    --card-bg: #ffffff;
    --hero-dark: #0a0a14;
    --primary-black: #02021a;
    --primary-green: #1d9e43;
    --primary-purple: #6e45e9;
    --color-light-black: #0e0f23;
    --color-white: #fff;
    --color-light-white: rgb(205 205 205 / 90%);
    --color-blue: #005e6a;
    --color-deep-blue: white;
    --color-text-heading: #031811;
    --color-text-body: #005e6a;
    --sidebar-width: 220px;
    --header-height: 50px;
    --primary: #6576ff;
    --primary-dim: #e8eaff;
    --warning: #f4bd0e;
    --info: #09c2de;
    --secondary: #8094ae;
    --success: #1ee0ac;
    --danger: #e85347;
    --text-dark: #364a63;
    --text-soft: #526484;
    --text-muted: #8094ae;
    --border: #dbdfea;
    --bg-light: #f5f6fa;
    --bg-white: #ffffff;
    --sidebar-bg: url(../siteimages/p6.webp);
    --header-bg: #f5f6fa;
    --overline: #8094ae;
    --back-color: #f5f6fa;
    --shadow: 0 3px 12px rgba(54, 74, 99, .1);
    --shadow-lg: 0 8px 28px rgba(54, 74, 99, .15);
}


/* ══════════════════════════════════════════════
   PRICING SECTION
══════════════════════════════════════════════ */
.pricing {
    padding: 100px 6%;
    background: var(--cream);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Base card ── */
.pricing-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    /* Cubic-bezier matches the site's .price-box hover */
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Animated gradient border layer (hidden by default) */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(115deg,
            rgba(201, 168, 76, 0.35) 11%,
            rgba(255, 255, 255, 0) 50%,
            rgba(201, 168, 76, 0.35) 92%);
    opacity: 0;
    transition: opacity 0.4s linear;
    pointer-events: none;
    z-index: 0;
}

/* All direct children sit above the pseudo-layer */
.pricing-card>* {
    position: relative;
    z-index: 1;
}

/* ── Base card hover ── */
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.10);
    border-color: var(--gold);
}

.pricing-card:hover::before {
    opacity: 1;
}

/* Rotate the badge on hover — mirrors .price-box:hover .price-plan */
.pricing-card:hover .pricing-badge {
    animation: pricingBadgeSpin 0.5s ease forwards;
}

@keyframes pricingBadgeSpin {
    0% {
        transform: rotateX(0deg);
    }

    100% {
        transform: rotateX(360deg);
    }
}

/* ── CTA button fill on hover ── */
.pricing-card:hover .btn-outline {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.pricing-card:hover .btn-primary {
    background: var(--gold-light);
}

/* ── Featured (dark) card ── */
.pricing-card--featured {
    background: var(--ink);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.pricing-card--featured::before {
    background: linear-gradient(115deg,
            rgba(201, 168, 76, 0.25) 11%,
            rgba(255, 255, 255, 0.04) 50%,
            rgba(201, 168, 76, 0.25) 92%);
}

.pricing-card--featured:hover {
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
    border-color: var(--gold-light);
}

/* ── Typography ── */
.pricing-badge {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    line-height: 0;
    transition: transform 0.4s linear;
    font-size: 22px;
}

.pricing-price {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
    animation: priceFade 0.7s alternate linear forwards;
}

@keyframes priceFade {
    0% {
        transform: scale(0.88);
    }

    100% {
        transform: scale(1);
    }
}

.pricing-card--featured .pricing-price {
    color: var(--white);
}

.pricing-price span {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
}

.pricing-card--featured .pricing-price span {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

.pricing-card--featured .pricing-desc {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding-bottom: 0.55rem;
    transition: color 0.2s;
}

.pricing-card:hover .pricing-features li::before {
    background: var(--ink);
}

.pricing-card--featured .pricing-features li {
    color: rgba(255, 255, 255, 0.75);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.pricing-card--featured .pricing-features li::before {
    background: var(--gold);
}

.pricing-card--featured:hover .pricing-features li::before {
    background: var(--gold-light);
}

.wordToggle {
    display: flex;
    align-items: center;
    background: #ddd;
    border-radius: 999px;
    padding: 4px;
    position: relative;
    user-select: none;
}

.wordToggle .pill {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    bottom: 4px;
    background: white;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: left 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.wordToggle.right .pill {
    left: 50%;
}

.wordToggle .label {
    position: relative;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #aaa;
    transition: color 0.3s;
    z-index: 1;
    width: 50%;
    cursor: pointer;
    text-align: center;
}

.wordToggle .label:hover {
    color: #555;
}

.wordToggle .label.active {
    color: #111;
    cursor: default;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: 'Cabin', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 8px rgba(120, 88, 2, 0.5);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: #4e62f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(101, 118, 255, .35);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-soft);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
}

.btn-icon:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.big-btn {
    padding: 8px 20px;
    font-size: 16px;
}

.btn-project {
    background: var(--primary);
    color: #fff;
}

.btn-project:hover {
    background: #4e62f5;
    box-shadow: 0 4px 12px rgba(101, 118, 255, .3);
}

.btn-script {
    background: var(--warning);
    color: #fff;
}

.btn-script:hover {
    background: #e0ad00;
    box-shadow: 0 4px 12px rgba(244, 189, 14, .3);
}