:root {
    --primary-color: #8a42ff;
    --primary-hover: #7529ec;
    --secondary-color: #0f172a;
    --accent-color: #6366f1;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --light-bg: #f8fafc;
    --card-border: #e2e8f0;
    --card-hover-border: #c4b5fd;
    --border-radius-card: 20px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Page Container */
.pricing-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Hero Section */
.pricing-hero {
    text-align: center;
    margin-bottom: 36px;
}

.pricing-pill-badge {
    display: inline-block;
    background: #f3e8ff;
    color: #7e22ce;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
    border: 1px solid #e9d5ff;
    letter-spacing: 0.02em;
}

.pricing-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.pricing-hero-desc {
    font-size: 17px;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-current-plan-badge {
    display: inline-flex;
    align-items: center;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13.5px;
    margin-top: 16px;
}

/* Category Tabs Segmented Pill Nav */
.category-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.category-tabs-nav {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    gap: 6px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.category-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 14.5px;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.category-tab-btn i {
    font-size: 15px;
    color: inherit;
    transition: transform 0.2s ease;
}

.category-tab-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}

.category-tab-btn.active {
    background: #ffffff;
    color: #8a42ff;
    border-color: rgba(138, 66, 255, 0.15);
    box-shadow: 0 4px 12px rgba(138, 66, 255, 0.12);
    font-weight: 700;
}

.category-tab-btn.active i {
    transform: scale(1.1);
}

/* Billing Toggle */
.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

.billing-toggle-box {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.billing-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.billing-label.active {
    color: #0f172a;
    font-weight: 700;
}

.save-discount-pill {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.billing-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    cursor: pointer;
    margin: 0;
}

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

.billing-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 34px;
}

.billing-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .billing-slider {
    background-color: #8a42ff;
}

input:checked + .billing-slider:before {
    transform: translateX(22px);
}

/* Pricing Grid - 3 per row, remainder centered */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 45px;
    align-items: flex-start;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    box-sizing: border-box;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(138, 66, 255, 0.1);
    border-color: #c4b5fd;
}

.pricing-card.popular {
    border: 2px solid #8a42ff;
    background: linear-gradient(180deg, #fbf8ff 0%, #ffffff 100px);
    box-shadow: 0 10px 28px rgba(138, 66, 255, 0.13);
}

.pricing-card.popular:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(138, 66, 255, 0.18);
}

.popular-floating-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #8a42ff, #6366f1);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(138, 66, 255, 0.3);
    z-index: 2;
    display: flex;
    align-items: center;
}

.save-discount-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #dcfce7;
    color: #166534;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
    z-index: 2;
}

/* Plan Card Header */
.plan-card-header {
    padding: 22px 22px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.plan-tag-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.badge-primary { background: rgba(138, 66, 255, 0.1); color: #8a42ff; }
.badge-success { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.badge-info { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

.plan-card-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.plan-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 14px;
    min-height: 38px;
}

.plan-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.currency-symbol {
    font-size: 16px;
    font-weight: 700;
    color: #334155;
}

.price-value {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

/* Plan Card Body */
.plan-card-body {
    padding: 14px 20px 8px;
    display: flex;
    flex-direction: column;
}

/* Plan Details Dropdown Accordion Toggle Button */
.plan-details-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    transition: all 0.2s ease;
    user-select: none;
    margin-bottom: 6px;
}

.plan-details-toggle:hover {
    background: #f1f5f9;
    color: #8a42ff;
    border-color: #cbd5e1;
}

.plan-details-toggle.active {
    background: #faf5ff;
    color: #8a42ff;
    border-color: #c4b5fd;
}

.plan-addons-toggle {
    background: #fdf4ff;
    border-color: #f0abfc;
    color: #9333ea;
    margin-top: 6px;
    margin-bottom: 6px;
}

.plan-addons-toggle:hover {
    background: #fae8ff;
    border-color: #e879f9;
    color: #7e22ce;
}

.plan-addons-toggle.active {
    background: #f3e8ff;
    border-color: #a855f7;
    color: #6b21a8;
}

.plan-details-toggle .toggle-icon i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

/* Collapsible Drawer (Hidden by default in small size) */
.plan-details-collapse {
    display: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0;
}

.plan-details-collapse.open {
    display: block !important;
    max-height: 1200px !important;
    opacity: 1 !important;
    overflow: visible !important;
    margin-top: 10px;
    margin-bottom: 8px;
}

.features-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 8px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    line-height: 1.35;
}

.features-list li.feature-enabled {
    color: #334155;
}

.features-list li.feature-enabled .feature-icon i {
    color: #10b981;
    font-size: 13px;
}

.features-list li.feature-empty {
    font-size: 12px;
    font-style: italic;
    color: #94a3b8;
}

.features-list li strong {
    color: #0f172a;
    font-weight: 700;
}

/* Supported Platforms */
.platforms-section {
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    margin-top: 6px;
}

.platforms-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.platforms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.platform-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.15s ease;
}

.platform-chip:hover {
    background: #f1f5f9;
}

.platform-chip i {
    font-size: 11px;
    color: #8a42ff;
}

.platform-chip-whatsapp {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
    font-weight: 600;
}

.platform-chip-whatsapp i {
    color: #25d366;
    font-size: 13px;
}

/* Plan Card Footer & Action Buttons */
.plan-card-footer {
    padding: 0 20px 20px;
}

.btn-plan-action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #8a42ff 0%, #6366f1 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(138, 66, 255, 0.22);
}

.btn-primary-gradient:hover {
    background: linear-gradient(135deg, #782ae8 0%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(138, 66, 255, 0.32);
    color: #ffffff !important;
}

.btn-current-plan {
    background: #f1f5f9;
    color: #64748b;
    cursor: default;
}

/* No Plans State */
.no-plans-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
}

.no-plans-state i {
    font-size: 54px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.no-plans-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.no-plans-state p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

/* FAQ Link Banner Section */
.faq-link-banner-section {
    margin: 50px 0 30px 0;
}

.faq-link-banner-card {
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
    border: 1px solid #ddd6fe;
    border-radius: 18px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 4px 15px rgba(138, 66, 255, 0.05);
    flex-wrap: wrap;
}

.faq-link-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.faq-banner-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #8a42ff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(138, 66, 255, 0.3);
}

.faq-banner-texts h3 {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.faq-banner-texts p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.btn-faq-redirect {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #8a42ff;
    color: #ffffff !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(138, 66, 255, 0.25);
    white-space: nowrap;
}

.btn-faq-redirect:hover {
    background: #7529ec;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(138, 66, 255, 0.35);
}

/* Custom Quote Form (Images 3 & 4 Exact Match) */
.custom-quote-wrapper {
    margin: 60px 0;
}

.custom-quote-header .quote-title {
    font-size: 34px;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.custom-quote-header .quote-subtitle {
    font-size: 18px;
    color: #1e293b;
    font-weight: 500;
}

.custom-quote-card {
    max-width: 620px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 36px 40px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.quote-label {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 6px;
}

.quote-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14.5px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease;
    background: #ffffff;
}

.quote-input:focus {
    border-color: #000000;
    box-shadow: 0 0 0 1px #000000;
}

.quote-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14.5px;
    color: #1e293b;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease;
    background: #ffffff;
}

.quote-textarea:focus {
    border-color: #000000;
    box-shadow: 0 0 0 1px #000000;
}

.channels-checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.channel-check-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14.5px;
    color: #1e293b;
    user-select: none;
}

.channel-check-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: #dc2626;
}

.location-detect-row {
    font-size: 14px;
    color: #334155;
}

.location-change-link {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
    margin-left: 4px;
}

.captcha-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.captcha-input {
    flex: 1;
}

.captcha-box-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 3px 8px;
}

.captcha-img-holder img {
    height: 36px;
    display: block;
}

.btn-refresh-captcha {
    background: none;
    border: none;
    color: #475569;
    font-size: 17px;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.25s ease;
}

.btn-refresh-captcha:hover {
    color: #dc2626;
    transform: rotate(90deg);
}

.privacy-notice {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
}

.privacy-notice a {
    color: #2563eb;
    text-decoration: underline;
}

.submit-wrap {
    margin-top: 16px;
}

.btn-quote-submit {
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-quote-submit:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Pricing CTA Section */
.pricing-cta-section {
    background: linear-gradient(135deg, #8a42ff, #6366f1);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    color: #ffffff;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(138, 66, 255, 0.2);
}

.pricing-cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.pricing-cta-content p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 24px;
}

.pricing-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 32px;
    background: #ffffff;
    color: #8a42ff !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #782ae8 !important;
}

/* Responsive */
@media (max-width: 1080px) {
    .pricing-card {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (max-width: 992px) {
    .pricing-hero-title {
        font-size: 34px;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 720px) {
    .pricing-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .pricing-page-container {
        padding: 24px 15px 60px;
    }
    .pricing-hero-title {
        font-size: 28px;
    }
    .pricing-hero-desc {
        font-size: 15px;
    }
    .category-tabs-nav {
        border-radius: 20px;
    }
    .category-tab-btn {
        padding: 8px 16px;
        font-size: 13.5px;
    }
    .custom-quote-card {
        padding: 24px 20px;
    }
    .faq-link-banner-card {
        padding: 20px;
    }
}

/* ===============================================================
   Add-ons Section in Plan Cards
   =============================================================== */
.addons-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.addons-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.addons-title {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7e22ce;
    display: flex;
    align-items: center;
    gap: 5px;
}

.addons-subtitle {
    font-size: 11px;
    color: #94a3b8;
}

.addons-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.addon-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    margin: 0;
}

.addon-checkbox-item:hover {
    background: #f3e8ff;
    border-color: #d8b4fe;
}

.addon-checkbox-item.selected {
    background: #f3e8ff;
    border-color: #a855f7;
    box-shadow: 0 2px 6px rgba(168, 85, 247, 0.15);
}

.addon-checkbox-wrap {
    margin-top: 2px;
}

.addon-checkbox-wrap input[type="checkbox"] {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: #8a42ff;
    border-radius: 4px;
}

.addon-info {
    flex: 1;
    font-size: 12.5px;
    line-height: 1.35;
    color: #334155;
}

.addon-name {
    font-weight: 500;
}

.addon-price-badge {
    white-space: nowrap;
    font-size: 11.5px;
    font-weight: 700;
    color: #7e22ce;
    background: #ffffff;
    border: 1px solid #e9d5ff;
    padding: 2px 8px;
    border-radius: 20px;
}

.price-addon-summary {
    margin-top: 6px;
}

.addon-calc-pill {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #7e22ce;
    background: #f3e8ff;
    border: 1px solid #e9d5ff;
    padding: 2px 10px;
    border-radius: 12px;
}
