/*
 * OpenExO Plans/Pricing Page Stylesheet
 */

/* ========================================
   Hero Section
   ======================================== */

.plans-hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #E8E9FE 0%, #F5F5FF 30%, #FFFFFF 60%);
    text-align: center;
}

.plans-hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.plans-hero .highlight {
    color: #6366F1;
}

.plans-hero p {
    font-size: 20px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   Billing Toggle
   ======================================== */

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
}

.billing-toggle-container {
    display: inline-flex;
    background: #000;
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}

.billing-option {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #fff;
    background: transparent;
    border: none;
    white-space: nowrap;
}

.billing-option.active {
    background: #fff;
    color: #000;
}

.billing-option .save-badge {
    background: #10B981;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing-section {
    padding: 60px 0 100px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
}

.pricing-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   Pricing Cards
   ======================================== */

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: #6366F1;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 3px solid #6366F1;
    background: linear-gradient(135deg, #1a1d2e 0%, #0f1117 100%);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.pricing-card.featured .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card.featured .card-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-card.featured .card-name,
.pricing-card.featured .card-description,
.pricing-card.featured .card-features,
.pricing-card.featured .card-features li {
    color: white;
}

.pricing-card.featured .price-amount {
    color: #FFE600;
}

.pricing-card.featured .price-period {
    color: #FFE600;
}

.pricing-card.featured .card-features li:before {
    color: #FFE600;
}

/* ========================================
   Card Components
   ======================================== */

.card-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f3f4f6;
}

.card-name {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.card-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    min-height: 48px;
}

.card-price {
    text-align: center;
    margin: 30px 0;
}

.price-amount {
    font-size: 56px;
    font-weight: 700;
    color: #6366F1;
    line-height: 1;
}

.price-period {
    font-size: 18px;
    color: #666;
    margin-top: 8px;
}

.price-billing-detail {
    font-size: 14px;
    color: #888;
    margin-top: 4px;
    font-weight: 500;
}

.price-crossed {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 18px;
    margin-right: 8px;
}

/* ========================================
   Discount Badge
   ======================================== */

.discount-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #10B981;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: none;
}

.discount-badge.show {
    display: block;
}

/* ========================================
   CTA Buttons
   ======================================== */

.card-cta {
    margin: 30px 0;
}

.cta-button {
    width: 100%;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
    font-family: inherit;
}

.cta-button.primary {
    background: #6366F1;
    color: white;
}

.cta-button.primary:hover {
    background: #4F46E5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: white;
    text-decoration: none;
}

.cta-button.secondary {
    background: white;
    color: #6366F1;
    border: 2px solid #6366F1;
}

.cta-button.secondary:hover {
    background: #f8f9ff;
    color: #6366F1;
    text-decoration: none;
}

.cta-button.yellow {
    background: #FFE600;
    color: #000;
}

.cta-button.yellow:hover {
    background: #FFD700;
    transform: translateY(-2px);
    color: #000;
    text-decoration: none;
}

.cta-button.gray {
    background: white;
    color: #6b7280;
    border: 2px solid #9ca3af;
}

.cta-button.gray:hover {
    background: #f3f4f6;
    color: #6b7280;
    text-decoration: none;
}

/* ========================================
   Card Features
   ======================================== */

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    padding: 12px 0;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.card-features li:before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.guarantee-badge {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.pricing-card.featured .guarantee-badge {
    background: rgba(99, 102, 241, 0.1);
}

/* ========================================
   Free Plan Card (Horizontal)
   ======================================== */

.free-plan-card {
    border: 2px solid #d1d5db;
    background: #f9fafb;
    border-radius: 16px;
    padding: 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 50px;
    align-items: center;
    margin-top: 60px;
}

.free-plan-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 8px;
}

.free-plan-info .tagline {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.free-plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.free-plan-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: #6b7280;
}

.free-plan-price .period {
    font-size: 14px;
    color: #9ca3af;
}

.free-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
}

.free-plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 15px;
}

.free-plan-features li:before {
    content: "✓";
    color: #10B981;
    font-size: 18px;
    font-weight: bold;
}

.free-plan-cta {
    text-align: center;
    min-width: 200px;
}

/* ========================================
   Reviews Section
   ======================================== */

.reviews-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.reviews-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: #666;
}

.reviews-header-image {
    text-align: center;
    margin-bottom: 60px;
}

.reviews-header-image img {
    max-height: 60px;
    margin-bottom: 12px;
}

.featured-reviews {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.featured-review {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #6366F1;
}

.review-stars {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 20px;
}

.review-text {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    font-size: 16px;
}

.review-title {
    color: #666;
    margin: 4px 0 8px 0;
    font-size: 14px;
}

.review-logo {
    max-height: 30px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.review-card .review-stars {
    font-size: 18px;
    margin-bottom: 12px;
}

.review-card .review-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.review-card .review-author {
    font-weight: 600;
    color: #6366F1;
    font-size: 14px;
}

/* ========================================
   Stats Bar
   ======================================== */

.stats-bar {
    margin-top: 80px;
    padding: 50px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #6366F1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 16px;
    color: #666;
}

/* ========================================
   Workshop Section
   ======================================== */

.workshop-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
}

.workshop-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.workshop-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.workshop-section > .container > p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.workshop-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.workshop-feature h3 {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
    color: white;
}

.workshop-feature ul {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.workshop-feature ul li {
    padding: 8px 0;
    font-size: 15px;
    opacity: 0.9;
}

.workshop-feature ul li:before {
    content: "•";
    margin-right: 8px;
    color: #FFE600;
}

/* ========================================
   Services Section
   ======================================== */

.services-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.services-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.service-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.service-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-content {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    background: #f0f1f3;
}

.faq-question {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-top: 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }
    
    .workshop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .free-plan-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .free-plan-features {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .free-plan-price {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .service-card {
        padding: 40px 30px;
    }
    
    .service-card h3 {
        font-size: 26px;
    }
}

@media (max-width: 968px) {
    .featured-reviews,
    .reviews-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-bar {
        padding: 40px 24px;
        margin-top: 50px;
    }
    
    .stat-item .stat-number {
        font-size: 36px;
    }
    
    .workshop-section h2 {
        font-size: 36px;
    }
    
    .workshop-section > .container > p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .plans-hero {
        padding: 50px 0 40px;
    }
    
    .plans-hero h1 {
        font-size: 32px;
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .plans-hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    /* Billing Toggle */
    .billing-toggle {
        margin-bottom: 30px;
    }
    
    .billing-option {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .billing-option .save-badge {
        padding: 2px 6px;
        font-size: 10px;
    }
    
    /* Pricing Section */
    .pricing-section {
        padding: 40px 0 60px;
    }
    
    .pricing-section .container {
        padding: 0 16px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-card {
        padding: 30px 24px;
        border-radius: 20px;
    }
    
    .pricing-card.featured {
        box-shadow: 0 10px 40px rgba(99, 102, 241, 0.25);
    }
    
    .card-header {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .card-name {
        font-size: 24px;
    }
    
    .card-description {
        font-size: 14px;
        min-height: auto;
    }
    
    .price-amount {
        font-size: 42px;
    }
    
    .price-period {
        font-size: 16px;
    }
    
    .card-cta {
        margin: 20px 0;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .card-features li {
        padding: 10px 0;
        font-size: 14px;
    }
    
    .guarantee-badge {
        padding: 12px;
        font-size: 12px;
    }
    
    .discount-badge {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    /* Free Plan Card */
    .free-plan-card {
        margin-top: 40px;
        padding: 24px 20px;
        border-radius: 14px;
    }
    
    .free-plan-info h3 {
        font-size: 26px;
    }
    
    .free-plan-price .amount {
        font-size: 36px;
    }
    
    .free-plan-features li {
        font-size: 14px;
    }
    
    /* Reviews Section */
    .reviews-section {
        padding: 60px 0;
    }
    
    .reviews-section .container {
        padding: 0 16px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .reviews-header-image {
        margin-bottom: 40px;
    }
    
    .reviews-header-image img {
        max-height: 50px;
    }
    
    .featured-reviews {
        margin-bottom: 40px;
    }
    
    .featured-review {
        padding: 30px 24px;
        border-radius: 18px;
    }
    
    .review-stars {
        font-size: 20px;
    }
    
    .review-text {
        font-size: 16px;
    }
    
    .review-card {
        padding: 24px 20px;
        border-radius: 14px;
    }
    
    .review-card .review-text {
        font-size: 14px;
    }

    /* Workshop Section */
    .workshop-section {
        padding: 60px 0;
    }
    
    .workshop-section .container {
        padding: 0 16px;
    }
    
    .workshop-section h2 {
        font-size: 28px;
    }
    
    .workshop-section > .container > p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .workshop-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }
    
    .workshop-feature {
        padding: 24px 20px;
        border-radius: 14px;
    }
    
    .workshop-feature h3 {
        font-size: 18px;
    }
    
    .workshop-feature ul li {
        font-size: 14px;
        padding: 6px 0;
    }

    /* Services Section */
    .services-section {
        padding: 60px 0;
    }
    
    .services-section .container {
        padding: 0 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }
    
    .service-card {
        padding: 36px 24px;
        border-radius: 18px;
    }
    
    .service-card h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .service-card p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    /* FAQ Section */
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-section .container {
        padding: 0 16px;
    }
    
    .faq-content {
        margin-top: 40px;
    }
    
    .faq-item {
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 16px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer {
        font-size: 14px;
        margin-top: 16px;
    }
}

@media (max-width: 480px) {
    /* Hero */
    .plans-hero {
        padding: 40px 0 30px;
    }
    
    .plans-hero h1 {
        font-size: 26px;
    }
    
    .plans-hero p {
        font-size: 14px;
    }
    
    /* Billing Toggle */
    .billing-toggle-container {
        padding: 3px;
    }
    
    .billing-option {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .billing-option .save-badge {
        display: none;
    }
    
    /* Pricing Cards */
    .pricing-card {
        padding: 24px 18px;
        border-radius: 16px;
    }
    
    .card-name {
        font-size: 22px;
    }
    
    .price-amount {
        font-size: 36px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    /* Stats Bar */
    .stats-bar {
        padding: 30px 16px;
    }
    
    .stat-item .stat-number {
        font-size: 30px;
    }
    
    .stat-item .stat-label {
        font-size: 13px;
    }
    
    /* Workshop */
    .workshop-section h2 {
        font-size: 24px;
    }
    
    /* Service Cards */
    .service-card h3 {
        font-size: 20px;
    }
    
    /* Free Plan */
    .free-plan-info h3 {
        font-size: 22px;
    }
    
    .free-plan-price .amount {
        font-size: 30px;
    }
}
