/* =====================================================
   PRICING PAGE STYLES - GreyBox LLC
   Matching the modern design system
   ===================================================== */

:root {
    --neo-bg: #0a0a0a;
    --neo-text: #eaeaea;
    --neo-muted: #b9bcc6;
    --neo-orange: #fc7a10;
}

/* ===================== HERO SECTION ===================== */
.pricing-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(252, 122, 16, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.pricing-hero .hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--neo-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.pricing-hero .hero-eyebrow::before {
    content: '+';
    margin-right: 8px;
    font-size: 16px;
    font-weight: 400;
}

.pricing-hero .hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--neo-text);
    margin-bottom: 28px;
}

.pricing-hero .hero-text {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(185, 188, 198, 0.9);
    max-width: 650px;
    margin: 0 auto;
}

.color1 {
    color: var(--neo-orange);
}

/* ===================== BILLING TOGGLE ===================== */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.toggle-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--neo-muted);
}

.save-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--neo-orange);
    border-radius: 12px;
    margin-left: 8px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: var(--neo-orange);
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: rgba(252, 122, 16, 0.2);
    border-color: var(--neo-orange);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* ===================== PRICING SECTION ===================== */
.pricing-section {
    position: relative;
    padding: 100px 0;
    background: var(--neo-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================== PRICING CARDS ===================== */
.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.pricing-card.popular {
    background: rgba(252, 122, 16, 0.05);
    border-color: var(--neo-orange);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--neo-orange);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-header {
    margin-bottom: 24px;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--neo-text);
    margin-bottom: 12px;
}

.plan-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--neo-muted);
}

.card-pricing {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--neo-text);
    margin-right: 4px;
}

.price {
    font-size: 56px;
    font-weight: 700;
    color: var(--neo-text);
    line-height: 1;
}

.price-custom {
    font-size: 42px;
    font-weight: 700;
    color: var(--neo-text);
}

.period {
    font-size: 18px;
    color: var(--neo-muted);
    margin-left: 4px;
}

.billing-note {
    font-size: 14px;
    color: var(--neo-muted);
}

.card-features {
    flex: 1;
    margin-bottom: 32px;
}

.features-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--neo-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--neo-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-icon {
    color: var(--neo-orange);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: var(--neo-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.plan-btn.primary {
    color: #fff;
    background: var(--neo-orange);
    border-color: var(--neo-orange);
}

.plan-btn.primary:hover {
    background: #ff8c2e;
    box-shadow: 0 8px 24px rgba(252, 122, 16, 0.35);
}

/* ===================== COMPARISON TABLE ===================== */
.comparison-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--neo-bg) 0%, #0f0f0f 100%);
}

.sec-title {
    text-align: center;
    margin-bottom: 60px;
}

.sec-title .title {
    font-size: 42px;
    font-weight: 700;
    color: var(--neo-text);
    margin-bottom: 16px;
}

.sec-title .subtitle {
    font-size: 18px;
    color: var(--neo-muted);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.comparison-table th {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--neo-text);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th.feature-col {
    text-align: left;
    width: 30%;
}

.comparison-table th.popular-col {
    background: rgba(252, 122, 16, 0.1);
    color: var(--neo-orange);
}

.comparison-table td {
    padding: 18px 20px;
    font-size: 15px;
    color: var(--neo-muted);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table td.feature-name {
    font-weight: 500;
    color: var(--neo-text);
    text-align: left;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.yes-icon {
    color: var(--neo-orange);
    font-size: 20px;
    font-weight: 700;
}

.no-icon {
    color: rgba(255, 255, 255, 0.2);
    font-size: 20px;
}

/* ===================== PRICING FAQ ===================== */
.pricing-faq {
    position: relative;
    padding: 100px 0;
    background: var(--neo-bg);
}

.faq-grid {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--neo-text);
    margin: 0;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: var(--neo-orange);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--neo-orange);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    padding: 0 30px;
    opacity: 0;
    visibility: hidden;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 24px 30px;
    opacity: 1;
    visibility: visible;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--neo-muted);
    margin: 0;
}

/* ===================== CTA SECTION ===================== */
.pricing-cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--neo-bg) 0%, #0f0f0f 100%);
}

.pricing-cta .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--neo-text);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--neo-muted);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    color: #fff;
    background: var(--neo-orange);
}

.cta-btn.primary:hover {
    background: #ff8c2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(252, 122, 16, 0.35);
}

.cta-btn.secondary {
    color: var(--neo-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-btn .icon-img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* ===================== RESPONSIVE DESIGN ===================== */
@media (max-width: 1200px) {
    .pricing-grid {
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .pricing-hero {
        padding: 160px 0 80px;
    }

    .pricing-hero .hero-title {
        font-size: 48px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .sec-title .title {
        font-size: 36px;
    }

    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .pricing-hero {
        padding: 140px 0 60px;
    }

    .pricing-hero .hero-title {
        font-size: 36px;
    }

    .pricing-hero .hero-text {
        font-size: 17px;
    }

    .billing-toggle {
        flex-direction: column;
        gap: 12px;
    }

    .price {
        font-size: 48px;
    }

    .comparison-table-wrapper {
        overflow-x: scroll;
    }

    .comparison-table {
        min-width: 600px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .sec-title .title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}
