/* ════════════════════════════════════════════════
   PRICING — Premium redesign
   Replaces both pricing.css and pricing_fx.css
═══════════════════════════════════════════════════ */

.pricing-page { background: #F5F4F0; }

/* ── HERO ────────────────────────────────── */
.pricing-hero {
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
    color: #fff;
    padding: 90px 24px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pricing-hero::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 400px;
    background: radial-gradient(ellipse at center, rgba(255,107,0,0.16) 0%, transparent 70%);
    pointer-events: none;
    animation: pricingHeroGlow 12s ease-in-out infinite;
}
@keyframes pricingHeroGlow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
    50%      { transform: translateX(-50%) scale(1.15); opacity: 0.7; }
}

.pricing-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.pricing-hero-label {
    font-size: 10px;
    color: #FF6B00;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: 'Syne', sans-serif;
    opacity: 0;
    animation: pricingFadeUp 0.5s ease 0.1s forwards;
}
.pricing-hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.05;
    margin: 0 0 18px 0;
    color: #fff;
    opacity: 0;
    animation: pricingFadeUp 0.7s ease 0.2s forwards;
}
.text-orange { color: #FF6B00; }

.pricing-hero-sub {
    font-size: 17px;
    color: #999;
    line-height: 1.55;
    margin: 0 auto 32px;
    max-width: 600px;
    opacity: 0;
    animation: pricingFadeUp 0.6s ease 0.35s forwards;
}

/* Hero stat strip */
.pricing-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 14px 28px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: pricingFadeUp 0.6s ease 0.5s forwards;
}
.pricing-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
.pricing-hero-stat-icon {
    color: #FF6B00;
    font-size: 14px;
}
.pricing-hero-stat strong {
    color: #fff;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
}

/* ── PLANS SECTION ────────────────────── */
.pricing-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 24px 40px;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
    margin-bottom: 24px;
}

.plan-card {
    background: #fff;
    border: 1px solid #E0E0E0;
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: translateY(20px);
}
.plan-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.plan-card:hover {
    border-color: #1A1A1A;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -16px rgba(0,0,0,0.15);
}

/* FEATURED — scaled + orange border + glow */
.plan-card--featured {
    border: 1.5px solid #FF6B00;
    transform: scale(1.04) translateY(20px);
    z-index: 2;
    box-shadow:
        0 20px 50px -15px rgba(255, 107, 0, 0.25),
        0 0 0 1px rgba(255, 107, 0, 0.1);
}
.plan-card--featured.is-revealed {
    transform: scale(1.04);
}
.plan-card--featured:hover {
    border-color: #FF6B00;
    transform: scale(1.04) translateY(-4px);
    box-shadow:
        0 28px 60px -15px rgba(255, 107, 0, 0.35),
        0 0 0 1px rgba(255, 107, 0, 0.2);
}

/* Top popular badge */
.plan-badge-popular {
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    background: #FF6B00;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Syne', sans-serif;
    padding: 7px 12px;
    text-align: center;
    line-height: 1.4;
}
.plan-card--featured { padding-top: 64px; }

/* Tier label */
.plan-tier {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 16px;
}
.plan-card--featured .plan-tier { color: #FF6B00; }

/* Price */
.plan-price-block {
    margin-bottom: 18px;
    min-height: 60px;
}
.plan-price {
    font-family: 'Syne', sans-serif;
    /* FIX: was clamp(32px, 3.6vw, 46px) - too big, "1000.00" overflowed the card on desktop */
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 800;
    color: #1A1A1A;
    letter-spacing: -0.6px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.05em;
    white-space: nowrap;
    max-width: 100%;
}
.plan-currency {
    font-family: 'Syne', sans-serif;
    font-size: 0.5em;
    font-weight: 800;
    margin-top: 0.18em;
    color: #888;
    letter-spacing: 0;
}
.plan-card--featured .plan-currency { color: #FF6B00; }
.plan-price-note {
    font-size: 11px;
    color: #888;
    margin-top: 8px;
    letter-spacing: 0.3px;
}

/* Description */
.plan-description {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 18px 0;
    min-height: 42px;
}

.plan-divider {
    height: 1px;
    background: #eee;
    margin-bottom: 18px;
}

/* Features list */
.plan-includes-label {
    font-size: 10px;
    color: #888;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    margin-bottom: 12px;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.plan-feature-item {
    font-size: 13px;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}
.plan-check {
    color: #FF6B00;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 12px;
}
.plan-feature-item--count strong { color: #FF6B00; font-weight: 800; }

/* Lessons toggle */
.plan-lessons-toggle {
    background: transparent;
    border: none;
    color: #888;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Syne', sans-serif;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.plan-lessons-toggle:hover { color: #FF6B00; }
.plan-lessons-toggle svg { transition: transform 0.25s; }
.plan-lessons-toggle.open svg { transform: rotate(180deg); }
.plan-lessons-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.plan-lessons-list.open { max-height: 600px; }
.plan-lesson-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 12px;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
}
.plan-lesson-item:last-child { border-bottom: none; }
.plan-lesson-num {
    font-family: 'Syne', sans-serif;
    font-size: 10px;
    font-weight: 800;
    color: #FF6B00;
    letter-spacing: 0.5px;
    background: rgba(255, 107, 0, 0.08);
    padding: 2px 6px;
    flex-shrink: 0;
}

/* CTA */
.plan-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;             /* FIX: center wrapped text inside flex item */
    gap: 8px;
    width: 100%;
    min-height: 48px;
    height: auto;                    /* FIX: allow growth when text wraps to 2 lines */
    padding: 10px 16px;
    background: transparent;
    color: #1A1A1A;
    text-decoration: none;
    border: 2px solid #1A1A1A;
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;           /* FIX: slightly tighter so long names fit better */
    line-height: 1.4;
    text-transform: uppercase;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.plan-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s;
}
.plan-cta:hover {
    background: #1A1A1A;
    color: #FF6B00;
}
.plan-cta:hover::before { left: 100%; }
.plan-cta-arrow { transition: transform 0.25s; flex-shrink: 0; }
.plan-cta:hover .plan-cta-arrow { transform: translateX(4px); }

.plan-cta--featured {
    background: #FF6B00;
    color: #fff;
    border-color: #FF6B00;
}
.plan-cta--featured:hover {
    background: #1A1A1A;
    color: #FF6B00;
    border-color: #1A1A1A;
}

/* Owned state */
.plan-cta--owned {
    background: #22c55e;
    color: #fff;
    border-color: #22c55e;
    cursor: default;
}
.plan-cta--owned:hover {
    background: #22c55e;
    color: #fff;
    border-color: #22c55e;
}

/* Guarantee badge */
.plan-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 10.5px;
    color: #22c55e;
    letter-spacing: 0.2px;
    font-weight: 600;
}
.plan-guarantee-icon { font-size: 11px; }

/* Mini-testimonial only on featured */
.plan-testimonial {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-top: 14px;
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.15);
}
.plan-testimonial-avatar {
    width: 32px;
    height: 32px;
    background: #FF6B00;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.plan-testimonial-text {
    font-size: 11px;
    line-height: 1.4;
    color: #555;
    text-align: left;
}
.plan-testimonial-text strong { color: #1A1A1A; font-weight: 700; }
.plan-testimonial-text em {
    color: #22c55e;
    font-style: normal;
    font-weight: 800;
}

/* Pricing guarantee strip */
.pricing-guarantee {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px;
    text-align: center;
    font-size: 13px;
    color: #555;
    letter-spacing: 0.3px;
}
.pricing-guarantee strong { color: #1A1A1A; font-weight: 700; }
.guarantee-icon { color: #22c55e; margin-right: 4px; }

/* ── COMPARISON TABLE ─────────────────── */
.pricing-compare {
    max-width: 1300px;
    margin: 60px auto 40px;
    padding: 0 24px;
}
.compare-header {
    text-align: center;
    margin-bottom: 32px;
}
.compare-eyebrow {
    font-size: 11px;
    color: #FF6B00;
    letter-spacing: 2.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: 'Syne', sans-serif;
}
.compare-heading {
    font-family: 'Syne', sans-serif;
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    letter-spacing: -0.6px;
    margin: 0;
}

.compare-table-wrap {
    background: #fff;
    border: 1px solid #E0E0E0;
    overflow-x: auto;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}
.compare-table th,
.compare-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #444;
    background: #FAFAFA;
    min-width: 200px;
}
.compare-table thead th {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1A1A1A;
    padding: 18px 16px;
    background: #FAFAFA;
    border-bottom: 2px solid #E0E0E0;
}
.compare-table thead th.is-featured {
    background: rgba(255, 107, 0, 0.06);
    color: #FF6B00;
    position: relative;
}
.compare-table thead th.is-featured::after {
    content: '★';
    display: block;
    color: #FF6B00;
    font-size: 10px;
    margin-top: 3px;
}
.compare-table td.is-featured-col {
    background: rgba(255, 107, 0, 0.04);
}
.compare-yes {
    color: #FF6B00;
    font-size: 16px;
    font-weight: 800;
}
.compare-no {
    color: #ccc;
    font-size: 14px;
}
.compare-row-name {
    font-weight: 700;
    color: #1A1A1A;
}
.compare-row-hint {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
    font-weight: 400;
}
.compare-price-row td {
    padding: 22px 16px;
    background: #fff;
}
.compare-price-row td:first-child { background: #FAFAFA; }
.compare-price-row td.is-featured-col { background: rgba(255, 107, 0, 0.06); }
.compare-price-row .compare-price {
    font-family: 'Syne', sans-serif;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 800;
    color: #1A1A1A;
    letter-spacing: -0.4px;
    font-variant-numeric: tabular-nums;
}
.compare-price-row .is-featured-col .compare-price { color: #FF6B00; }

/* ── TRUST SECTION ─────────────────── */
.trust-section {
    padding: 64px 24px;
    background: #FAFAFA;
    margin-top: 30px;
}
.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.trust-heading-row {
    text-align: center;
    margin-bottom: 40px;
}
.trust-label {
    font-size: 11px;
    color: #FF6B00;
    letter-spacing: 2.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: 'Syne', sans-serif;
}
.trust-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin: 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.trust-card {
    background: #fff;
    border: 1px solid #E0E0E0;
    padding: 28px 22px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}
.trust-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.trust-card:hover {
    border-color: #1A1A1A;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -12px rgba(0,0,0,0.15);
}
.trust-card-icon { font-size: 26px; margin-bottom: 12px; }
.trust-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}
.trust-card-text {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

/* ── BOTTOM CTA ────────────────────── */
.pricing-bottom {
    background: #1A1A1A;
    color: #fff;
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pricing-bottom::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse at center, rgba(255,107,0,0.12) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}
.pricing-bottom-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.pricing-bottom-quote {
    font-style: italic;
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
    margin-bottom: 14px;
    position: relative;
}
.pricing-bottom-quote::before {
    content: '\201C';
    font-family: 'Syne', sans-serif;
    font-size: 50px;
    color: #FF6B00;
    line-height: 0.5;
    margin-right: 6px;
    opacity: 0.5;
    vertical-align: -0.05em;
}
.pricing-bottom-author {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 32px;
}
.pricing-bottom-author strong { color: #FF6B00; }
.pricing-bottom-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin: 0 0 14px 0;
}
.pricing-bottom-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}
.pricing-bottom-btn {
    display: inline-block;
    background: #FF6B00;
    color: #fff;
    padding: 0 36px;
    height: 56px;
    line-height: 52px;
    text-decoration: none;
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid #FF6B00;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.pricing-bottom-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}
.pricing-bottom-btn:hover {
    background: #fff;
    color: #1A1A1A;
    border-color: #fff;
}
.pricing-bottom-btn:hover::before { left: 100%; }

/* ── ANIMATIONS ─────────────────── */
@keyframes pricingFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ────────────────── */
@media (max-width: 1100px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-card--featured { transform: scale(1) translateY(20px); }
    .plan-card--featured.is-revealed { transform: scale(1); }
    .plan-card--featured:hover { transform: scale(1) translateY(-4px); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .pricing-hero { padding: 70px 20px 56px; }
    .pricing-hero-sub { font-size: 15px; }
    .pricing-hero-stats { gap: 16px; padding: 12px 18px; }
    .pricing-hero-stat { font-size: 11px; }
    .plans-grid { grid-template-columns: 1fr; gap: 12px; }
    .plan-price { font-size: clamp(28px, 9vw, 38px); }
    .compare-table th,
    .compare-table td { padding: 12px 10px; font-size: 12px; }
    .compare-table th:first-child,
    .compare-table td:first-child { min-width: 160px; }
    .trust-grid { grid-template-columns: 1fr; }
}