/* Pricing Page Styles - Matching Figma Design */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@200;300;400;600;700&display=swap');

.pricing-page {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Remove background color behind section titles */
.pricing-page .section-title,
.pricing-page .compare-plans-section .section-title,
.pricing-page .why-choose-section .section-title,
.pricing-page .testimonials-section .section-title,
.pricing-page .faq-section .section-title {
    background-color: transparent !important;
}

/* Remove any pseudo-element backgrounds behind section titles */
.pricing-page .section-title::before,
.pricing-page .section-title::after {
    display: none !important;
}

/* Hero Section */
.pricing-hero {
    text-align: center;
    padding: 80px 20px 40px;
    background: #fff;
}

.pricing-title {
    font-size: 56px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 28px;
    line-height: 1.2;
}

.pricing-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.pricing-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pricing-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.pricing-badge .check-icon {
    width: 20px;
    height: 20px;
    color: #0084FF;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.toggle-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #0084FF;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(28px);
}

.save-badge {
    background: #0084FF;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Pricing Cards Section */
.pricing-cards-section {
    padding: 40px 0 60px;
    background: #fff;
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 12px;
    row-gap: 0;
    max-width: 1440px;
    margin: 0 auto;
}

.pricing-cards-grid.four-cards {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
}

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

@media (max-width: 768px) {
    .pricing-cards-grid,
    .pricing-cards-grid.four-cards {
        grid-template-columns: 1fr;
    }

    .pricing-title {
        font-size: 32px;
    }

    .pricing-hero {
        padding-top: 120px;
    }
}

/* Pricing Card */
.pricing-card {
    background: #fff;
    border-radius: 20px;
    border: 3px solid #D5D5D5;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border: 6px solid #0084FF;
}

.pricing-card.campaign-pass-card {
    border: 3px solid #D5D5D5;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0084FF;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.card-header {
    padding: 32px 24px 24px;
    text-align: left;
}

.plan-type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.plan-type.one-time {
    color: #f59e0b;
}

.plan-type.free-trial {
    color: #6b7280;
}

.free-badge {
    background: #0084FF;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 4px;
}

.plan-name {
    font-family: 'Sora', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: -0.45px;
    color: #333;
    margin-bottom: 8px;
}

.plan-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 42px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.plan-price .currency {
    font-size: 60px;
    font-weight: 200;
    color: #000;
    line-height: 69px;
    letter-spacing: -1.2px;
}

.plan-price .amount {
    font-size: 60px;
    font-weight: 700;
    color: #000;
    line-height: 69px;
    letter-spacing: -1.2px;
}

.plan-price .period {
    font-size: 16px;
    color: #6b7280;
    margin-left: 4px;
}

.billed-text {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 4px;
}

.credits-text {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
}

.plan-subtitle {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Plan Buttons */
.btn-plan {
    display: block;
    padding: 16px 24px;
    margin: 0 24px;
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
    background: #000000;
    color: #fff;
    align-self: end;
    white-space: nowrap;
}

.btn-plan:hover {
    background: #333333;
    color: #fff;
}

.btn-campaign {
    background: #000000;
    color: #fff;
}

.btn-campaign:hover {
    background: #333333;
    color: #fff;
}

.btn-pro {
    background: #000000;
    color: #fff;
}

.btn-pro:hover {
    background: #333333;
    color: #fff;
}

.btn-prime {
    background: #0084FF;
    color: #fff;
}

.btn-prime:hover {
    background: #006ACC;
    color: #fff;
}

.btn-premium {
    background: #000000;
    color: #fff;
}

.btn-premium:hover {
    background: #333333;
    color: #fff;
}

/* Card Features */
.card-features {
    padding: 24px;
}

.features-title {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

.features-list li {
    display: flex;
    gap: 9px;
    margin-bottom: 4px;
    align-items: flex-start;
}

.features-list li div {
    display: flex;
    flex-direction: column;
}

.features-list li strong {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.features-list li span {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #333;
    line-height: 15px;
}

.feature-items-list {
    list-style: disc;
    padding-left: 18px;
    margin: 4px 0 0;
}

.feature-items-list li {
    display: list-item;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 2px;
    gap: 0;
}

.feature-check {
    width: 10px;
    height: 10px;
    color: #0084FF;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-check.no-support {
    color: #9ca3af;
}

/* Dot-style feature lists */
.dot-list li {
    gap: 10px;
}

.dot-list .dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    margin-top: 5px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
}

.green-dots .dot {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Ccircle cx='5' cy='5' r='5' fill='%230084FF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.10882 2.28384L3.50226 7.54847L1.17725 5.22346L1.74157 4.65914L3.46338 6.38095L7.50821 1.7583L8.10882 2.28384Z' fill='white'/%3E%3C/svg%3E");
}

.amber-dots .dot {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Ccircle cx='5' cy='5' r='5' fill='%23f59e0b'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.10882 2.28384L3.50226 7.54847L1.17725 5.22346L1.74157 4.65914L3.46338 6.38095L7.50821 1.7583L8.10882 2.28384Z' fill='white'/%3E%3C/svg%3E");
}

.amber-dots li.not-included .dot,
.green-dots li.not-included .dot {
    background: #d1d5db;
    border-radius: 50%;
}

.amber-dots li.not-included span,
.green-dots li.not-included span {
    color: #9ca3af;
}

/* Summary items at bottom of cards */
.summary-items {
    list-style: none;
    padding: 16px 0 0;
    margin: 0;
    border-top: 1px solid #D5D8DF;
}

.summary-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #374151;
}

.summary-items .dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    flex-shrink: 0;
}

.summary-items li.not-included {
    color: #9ca3af;
}

.summary-items li.not-included .dot {
    background: #d1d5db;
    border-radius: 50%;
}

/* Best For Section */
.best-for {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    margin-top: auto;
}

.best-for strong {
    font-size: 13px;
    color: #1a1a2e;
    display: block;
    margin-bottom: 8px;
}

.best-for ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.best-for ul li {
    font-size: 12px;
    color: #6b7280;
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
    line-height: 1.4;
}

.best-for ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #9ca3af;
}

/* Enterprise Card */
.enterprise-card {
    max-width: 1400px;
    margin: 40px auto 0;
    background: #f9fafb;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.enterprise-content {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    gap: 40px;
}

@media (max-width: 768px) {
    .enterprise-content {
        flex-direction: column;
    }
}

.enterprise-info {
    flex: 1;
}

.enterprise-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.enterprise-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.enterprise-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-enterprise {
    display: inline-block;
    padding: 14px 32px;
    background: #1a1a2e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-enterprise:hover {
    background: #2d2d44;
    color: #fff;
}

.enterprise-features {
    flex: 1;
}

.enterprise-features-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 16px;
}

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

@media (max-width: 768px) {
    .enterprise-list {
        grid-template-columns: 1fr;
    }
}

.enterprise-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.enterprise-list .feature-check {
    width: 18px;
    height: 18px;
    color: #0084FF;
}

/* All Features Note in Cards */
.all-features-note {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin: 16px 0 8px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.all-features-note a {
    color: #0084FF;
    text-decoration: none;
    font-weight: 500;
}

.all-features-note a:hover {
    text-decoration: underline;
}

/* Every Plan Includes Section */
.all-features-section {
    padding: 80px 20px;
    background: #f8f9fb;
}

.section-subtitle {
    font-size: 17px;
    color: #6b7280;
    text-align: center;
    max-width: 600px;
    margin: -32px auto 48px;
    line-height: 1.6;
}

.all-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.all-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.all-feature-item .feature-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    color: #0084FF;
    margin-top: 2px;
}

.all-feature-item div {
    display: flex;
    flex-direction: column;
}

.all-feature-item strong {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.all-feature-item span {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

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

@media (max-width: 575px) {
    .all-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Compare Plans Section */
.compare-plans-section {
    padding: 80px 20px;
    background: #fff !important;
}

.compare-plans-section .section-subtitle {
    margin-top: -32px;
    margin-bottom: 48px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 48px;
}

.compare-table-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.compare-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #1a1a2e;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #374151;
}

.compare-table td {
    color: #6b7280;
}

.table-check {
    width: 20px;
    height: 20px;
    color: #0084FF;
    display: inline-block;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 20px;
    background: #f9fafb;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

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

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: #E6F2FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: #0084FF;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 20px;
    background: #fff;
}

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

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: #f9fafb;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.testimonial-text {
    font-size: 15px;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: #0084FF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 15px;
    color: #1a1a2e;
}

.author-info span {
    font-size: 13px;
    color: #6b7280;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: #f9fafb;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
}

.faq-arrow {
    width: 20px;
    height: 20px;
    color: #6b7280;
    transition: transform 0.3s;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    text-align: center;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-cta {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary-cta {
    background: #0084FF;
    color: #fff;
}

.btn-primary-cta:hover {
    background: #006ACC;
    color: #fff;
}

.btn-secondary-cta {
    background: #1a1a2e;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary-cta:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.btn-outline-cta {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline-cta:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.cta-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.cta-badges .check-icon {
    width: 18px;
    height: 18px;
    color: #0084FF;
}

/* Annual/Monthly price toggle displays */
.annual-price-display,
.monthly-price-display {
    display: flex;
    align-items: baseline;
}

.monthly-price-display {
    display: none;
}

/* Monthly breakdown text below yearly price */
.monthly-breakdown {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 4px;
}

.monthly-breakdown strong {
    color: #000;
    font-weight: 700;
}

.monthly-breakdown .save-highlight {
    color: #0084FF;
    font-weight: 600;
}

/* Annual price display - removed green border */
.annual-price-display {
    display: inline-flex;
}

/* Two-card grid layout for monthly mode (only Prime and Premium visible) */
.pricing-cards-grid.two-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
}

@media (max-width: 768px) {
    .pricing-cards-grid.two-cards {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .pricing-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 28px;
    }

    .plan-price .amount {
        font-size: 42px;
    }

    .billing-toggle {
        flex-wrap: wrap;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
}

/* Campaign pass text link */
.campaign-pass-link {
    display: inline-block;
    font-size: 14px;
    color: #0084FF;
    text-decoration: underline;
    text-decoration-color: #0084FF;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s, text-decoration-color 0.2s;
    line-height: 1.6;
}

.campaign-pass-link:hover {
    color: #006ACC;
    text-decoration-color: #006ACC;
}
