/* ═══════════════════════════════════════════════════════════
   PLANS PAGE — TIER DETAIL CARDS
   ═══════════════════════════════════════════════════════════ */
.tier-details {
    padding: 6rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tier-detail {
    background: linear-gradient(145deg, var(--navy-mid), var(--navy));
    border: 1px solid var(--white-faint);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.tier-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--copper), var(--copper-light), var(--copper));
    opacity: 0;
}

.tier-detail.featured {
    border-color: rgba(184, 115, 51, 0.3);
}

.tier-detail.featured::before {
    opacity: 1;
}

.tier-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tier-detail-header h2 {
    font-size: 2rem;
    font-weight: 800;
}

.tier-detail-header .tier-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--copper-light), var(--copper));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-detail-tagline {
    font-size: 1.1rem;
    color: var(--copper-light);
    font-weight: 500;
    margin-bottom: 2rem;
}

.tier-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.tier-detail h3 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 1rem;
}

.tier-detail p {
    color: var(--white-dim);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
}

.tier-detail ul {
    list-style: none;
    padding: 0;
}

.tier-detail ul li {
    color: var(--white-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tier-detail ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background: var(--copper);
    border-radius: 50%;
}

.tier-detail-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--white-faint);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tier-detail-footer p {
    font-size: 0.9rem;
    max-width: 500px;
}

/* ═══════════════════════════════════════════════════════════
   PLANS PAGE — COMPARISON TABLE
   ═══════════════════════════════════════════════════════════ */
.comparison {
    padding: 4rem 3rem 8rem;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 3rem;
}

.comparison-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid var(--white-faint);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--white-faint);
}

.comparison-table th {
    background: var(--navy-mid);
    font-weight: 700;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr {
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(184, 115, 51, 0.05);
}

/* Highlight Growth column */
.comparison-table th:nth-child(3) {
    color: var(--copper-light);
}

.comparison-table td:nth-child(3) {
    color: var(--white);
    font-weight: 500;
}

.comparison-table td {
    color: var(--white-dim);
}

.check {
    color: var(--copper-light);
    font-weight: 600;
}

.dash {
    color: var(--white-faint);
}

/* ═══════════════════════════════════════════════════════════
   PLANS PAGE — FAQ ACCORDION
   ═══════════════════════════════════════════════════════════ */
.faq {
    padding: 4rem 3rem 8rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 3rem;
}

.faq-item {
    border-bottom: 1px solid var(--white-faint);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--copper-light);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--copper-light);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--white-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   PLANS PAGE — TIER PRE-FILL HIGHLIGHT
   When a tier CTA is clicked, the interest dropdown gets a brief
   copper pulse so the user notices the form was pre-filled.
   ═══════════════════════════════════════════════════════════ */
@keyframes fieldPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(184, 115, 51, 0);
        border-color: rgba(240, 237, 232, 0.1);
    }
    30%, 70% {
        box-shadow: 0 0 0 4px rgba(184, 115, 51, 0.45);
        border-color: var(--copper);
    }
}

.field-highlight {
    animation: fieldPulse 1.25s ease-in-out 2;
}

/* ═══════════════════════════════════════════════════════════
   PLANS PAGE — RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .tier-details {
        padding: 4rem 1.5rem;
    }

    .tier-detail {
        padding: 2rem;
    }

    .tier-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tier-detail-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison, .faq {
        padding: 3rem 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   PLANS PAGE — LIGHT THEME
   ═══════════════════════════════════════════════════════════ */
[data-theme="light"] .tier-detail {
    background: #FFFFFF;
    border-color: rgba(13, 27, 42, 0.08);
    box-shadow: 0 2px 20px rgba(13, 27, 42, 0.06);
}

[data-theme="light"] .tier-detail p,
[data-theme="light"] .tier-detail ul li {
    color: rgba(13, 27, 42, 0.65);
}

[data-theme="light"] .tier-detail-footer {
    border-top-color: rgba(13, 27, 42, 0.1);
}

[data-theme="light"] .comparison-wrapper {
    border-color: rgba(13, 27, 42, 0.1);
}

[data-theme="light"] .comparison-table th {
    background: rgba(13, 27, 42, 0.04);
    color: #0D1B2A;
}

[data-theme="light"] .comparison-table td {
    color: rgba(13, 27, 42, 0.65);
    border-bottom-color: rgba(13, 27, 42, 0.08);
}

[data-theme="light"] .comparison-table td:nth-child(3) {
    color: #0D1B2A;
}

[data-theme="light"] .comparison-table tbody tr:hover {
    background: rgba(184, 115, 51, 0.04);
}

[data-theme="light"] .faq-item {
    border-bottom-color: rgba(13, 27, 42, 0.1);
}

[data-theme="light"] .faq-question {
    color: #0D1B2A;
}

[data-theme="light"] .faq-answer p {
    color: rgba(13, 27, 42, 0.65);
}
