/* ============================================================
   NEW PRICING PAGE CSS
   Based on Offrd-Pricing-page/style.css
   Do NOT modify pricing_plan.css — this file is the new standalone CSS.
   ============================================================ */

:root {
    --primary-blue: #1e5cd8;
    --primary-blue-hover: #0b45b0;
    --secondary-blue: #0b66c3;
    --light-blue-bg: #eaf1fb;
    --gradient-bg-top: #c8daff;
    --white: #ffffff;
    --black: #000000;
    --text-dark: #2e4257;
    --text-muted: #5b5b5b;
    --text-light-muted: #a2a2a2;
    --pink-badge: #e85d82;
    --purple-badge: #8c7cd9;
    --border-light: #f0f0f0;
    --border-medium: #e2e2e2;
    --primary-btn-color: #0b66c3;

    --font-heading: 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Lato', system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
    color: var(--black);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.text-blue {
    color: var(--primary-blue);
}

.text-pink {
    color: var(--pink-badge);
}

.text-purple {
    color: var(--purple-badge);
}

.mt-20 {
    margin-top: 20px;
}

/* Hide tablet break by default */
.tablet-br {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white) !important;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 102, 195, 0.3);
    color: var(--white) !important;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: rgba(46, 66, 87, 0.05);
}

.btn-outline {
    background-color: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue) !important;
}

.btn-outline:hover {
    background-color: var(--light-blue-bg);
}

/* Back Button */
.hero-back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
    cursor: pointer;
}

.hero-back-btn img {
    width: 36px;
    height: 36px;
}

/* Hero Section */
.hero {
    background: linear-gradient(to top, var(--white), var(--gradient-bg-top));
    padding: 60px 92px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 60px;
}

.hero-badge {
    background-color: var(--light-blue-bg);
    color: var(--secondary-blue);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.hero-headline {
    font-size: 50px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -1.68px;
    max-width: 860px;
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

.hero-subtext {
    font-size: 16px;
    color: var(--black);
    font-weight: 600;
    font-family: var(--font-heading);
}

/* Pricing Cards */
.pricing-cards {
    background: linear-gradient(0deg, #C8DAFF 0%, #FFF 100%);
    padding: 0px 92px 60px;
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.card {
    background-color: var(--white);
    border-radius: 60px;
    padding: 40px 60px;
    display: grid;
    grid-template-columns: 450px 1px 1fr;
    gap: 10px;
    position: relative;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.04);
    max-width: 1200px;
    width: 100%;
}

.card.monthly-sub {
    border-top: 8px solid var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    border-left: 2px solid var(--primary-blue);
    border-right: 2px solid var(--primary-blue);
    box-shadow: 5px 0px 58.6px 27px #eaf1fb;
    gap: 12px;
}

.card-divider {
    background-color: transparent;
    width: 1px;
}

.plan-label {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.pay-as-you-go {
    padding: 60px 80px;
}

.pay-as-you-go .plan-label {
    font-size: 16px;
}

.plan-title {
    font-size: 34px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.price-block {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.price-val {
    font-size: 54px;
    font-weight: 600;
    font-family: var(--font-heading);
    line-height: 1;
    color: black;
}

.price-unit {
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.price-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    opacity: 0.6;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: currentColor;
    border-radius: 50%;
    display: inline-block;
}

.plan-desc {
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    max-width: 510px;
}

.card-right h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: var(--black);
}

.icon-tick {
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    padding: 3px;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.card-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.card-actions .btn {
    border-radius: 19px;
    padding: 12px 24px;
}

.recommended-badge {
    position: absolute;
    top: -16px;
    left: 60px;
    background-color: var(--primary-blue);
    color: white;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 6px 16px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

/* Credit Packs */
.credit-packs {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.pack {
    flex: 1;
    border: 1px solid var(--border-medium);
    border-radius: 20px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pack:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.pack.trial {
    background-color: var(--light-blue-bg);
    border-color: #4477df;
}

.pack-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pack-price {
    font-size: 25px;
    font-weight: 600;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
}

.pack-price iconify-icon {
    font-size: 24px;
}

.pack-badge {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.pack-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 16px;
    color: var(--text-light-muted);
    font-family: var(--font-heading);
    font-weight: 600;
}

.pack-validity {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light-muted);
}

.pack-details strong {
    color: var(--black);
    font-size: 18px;
}

/* Pack choose button */
.pack-cta {
    display: block;
    width: 100%;
    background-color: var(--secondary-blue);
    color: white;
    text-align: center;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-top: auto;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.pack-cta:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-1px);
}

/* credit-packs wrap on medium screens */
@media (max-width: 1400px) {
    .credit-packs {
        flex-wrap: wrap;
    }
    .pack {
        min-width: 160px;
    }
}

/* Calculator Section */
.calculator-section {
    padding: 60px 92px;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1300px;
    align-items: center;
}

.calc-title {
    font-size: 43px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.calc-subtitle {
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.sliders-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.slider-item {
    border: 1px solid var(--border-light);
    border-radius: 19px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.slider-header strong {
    color: var(--black);
}

.custom-slider {
    width: 100%;
    accent-color: var(--primary-blue);
    cursor: pointer;
    height: 6px;
    border-radius: 34px;
}

.slider-help {
    font-size: 14px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
}

.calc-results {
    border: 1px solid var(--border-medium);
    border-radius: 45px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #d3d3d3;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.result-row.border-none {
    border-bottom: none;
}

.result-val {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.result-val iconify-icon {
    font-size: 18px;
}

.calc-banner {
    background-color: var(--primary-blue);
    border-radius: 24px;
    padding: 24px;
    color: white;
    margin-top: 20px;
}

.calc-banner-title {
    font-size: 22px;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.calc-banner-text {
    font-size: 16px;
    font-weight: 400;
}

/* Stats Section */
.stats-section {
    padding: 60px 92px;
    background-image: url("../images/pricing/Sub_banner_image.94b0de250e9d.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    background-color: var(--white);
    border-radius: 30px;
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    padding: 40px 0;
    max-width: 1300px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.stat-item.line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80px;
    width: 1px;
    background-color: var(--border-medium);
}

.stat-num {
    font-size: 45px;
    color: #0B66C3;
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.stat-text {
    font-size: 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
}

.align-icon iconify-icon {
    color: #0B66C3;
    font-size: 36px;
    margin-right: 4px;
}

/* Feature Comparison */
.comparison {
    padding: 60px 92px;
}

.section-title {
    margin-bottom: 24px;
}

.section-title h2 {
    font-size: 43px;
    margin-bottom: 12px;
}

.section-title p,
.section-title .subtitle {
    font-size: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.comparison-container {
    max-width: 1500px;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid #CCCCCC;
}

.comp-header {
    background: #f4f8fd;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 2px solid var(--border-medium);
    font-size: 16px;
    font-weight: 600;
}

.comp-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.comp-cell {
    font-size: 16px;
    font-family: var(--font-heading);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comp-cell-Blue {
    font-size: 16px;
    font-family: var(--font-heading);
    padding: 12px;
    background: #1E5CD8;
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comp-cell-lightBlue {
    border-right: 1px solid #0071FF;
    border-left: 1px solid #0071FF;
    background: #F6FAFF;
    font-size: 16px;
    font-family: var(--font-heading);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comp-cell.label {
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    justify-content: flex-start;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.icon-cross {
    background-color: #E0E0E0;
    color: #999;
    border-radius: 50%;
    padding: 3px;
    font-size: 16px;
    flex-shrink: 0;
}

.badge-recommended {
    display: inline-block;
    font-size: 12px;
    background-color: var(--light-blue-bg);
    color: var(--primary-blue);
    padding: 4px 8px;
    border-radius: 8px;
    vertical-align: middle;
}

/* Detailed Features */
.detailed-features {
    padding: 40px 92px 80px;
    background-color: var(--light-blue-bg);
}

.detailed-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.detailed-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.detailed-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    gap: 14px;
}

.detailed-item--empty {
    border-bottom: none;
}

.di-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.di-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.di-text {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.di-name {
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-heading);
    flex-basis: auto;
}

.di-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.di-val {
    font-size: 22px;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-left: auto;
    white-space: nowrap;
    position: relative;
    margin-top: 2px;
}

.di-per-unit {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    white-space: nowrap;
}

.badge-premium {
    background: linear-gradient(93deg, #E0C425 0%, #E3D275 43.5%, #E0C425 103.32%);
    padding: 2px 6px;
    border-radius: 4px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.badge-free {
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(93deg, #1EA97C 0%, #36BF93 43.5%, #1EA97C 103.32%);
}

.badge-new {
    color: #ffffff;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(93deg, #235FD6 0%, #487DE4 43.5%, #235FD6 103.32%);
}

/* Free credits callout (Pay-As-You-Go card, logged-out) */
.free-credits-callout {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #eef5ff;
    border: 1px solid #c5deff;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1a3a6b;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Free credits note (below subscription card CTA, logged-out) */
.free-credits-note {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    padding-left: 2px;
}

/* FAQ */
.faq-section {
    padding: 80px 92px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    padding: 0;
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: box-shadow 0.2s;
    border: #ebebeb solid 1px;
}

.faq-item.active {
    box-shadow: 0 8px 24px rgba(30, 92, 216, 0.08);
}

.faq-question {
    padding: 24px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.faq-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s;
    flex-shrink: 0;
}

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

.faq-answer {
    display: none;
    padding: 0 32px 24px 32px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 400;
    font-family: var(--font-heading);
    animation: fadeIn 0.3s;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.faq-footer {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 600;
    font-family: var(--font-heading);
}


/* ============================================================
   PAYMENT MODAL STYLES (from payment.css)
   ============================================================ */

.modal .custom-warn-modal {
    border-radius: 24px;
    width: 664px;
    height: auto;
    background-color: #fff;
    font-family: "Roboto", sans-serif;
    padding: 16px;
}

.modal .custom-header {
    border-bottom: none;
    padding: 0px;
}

.custom-warn-modal .close {
    font-size: 3.5rem;
}

.modal-body {
    justify-content: center;
    align-items: center;
    text-align: left;
    border-bottom: none;
}

.warning {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: #333;
    line-height: normal;
}

.redirect {
    opacity: 0.8;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    text-align: left;
    color: #4f4f4f;
    padding-top: 40px;
    display: flex;
    gap: 25px;
}

.refrain {
    opacity: 0.8;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    color: #4f4f4f;
    padding-top: 22px;
    display: flex;
    gap: 25px;
}

.modal-dialog .warn-footer {
    justify-content: center;
    align-items: center;
    display: flex;
    margin-top: 14px;
    border-top: none;
}

.btn-continue {
    width: 129px;
    height: 52px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 16px 32px;
    border-radius: 8px;
    background: var(--primary-btn-color);
    border: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.popup-payment-method {
    width: 754px;
    height: 556px;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    padding: 46px 32px 14px;
    border-radius: 32px;
    background-color: #fff;
    position: relative;
}

.select-payment-method {
    height: 39px;
    font-family: Roboto, sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333;
}

.email-col {
    width: 100%;
}

.email {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
}

.email-address {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #4f4f4f;
}

.payment-method-card {
    width: 690px;
    height: 100px;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
    padding: 16px;
    border-radius: 16px;
    border: solid 1px #828282;
    cursor: pointer;
}

.payment-method-upi {
    width: 690px;
    height: 100px;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
    padding: 16px;
    border-radius: 16px;
    border: solid 1px #828282;
    cursor: pointer;
}

.payment-method-card img {
    width: 67px;
    height: 67px;
    flex-grow: 0;
    padding: 7.3px 7.7px 7.2px 7.8px;
}

.payment-method-upi img {
    width: 67px;
    height: 67px;
    flex-grow: 0;
    padding: 7.3px 7.7px 7.2px 7.8px;
}

.offrd-prefers-txt {
    align-self: stretch;
    flex-grow: 0;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    text-align: left;
    color: #4f4f4f;
}

.UPI-Payment {
    font-family: Roboto, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    color: #4f4f4f;
}

.card-payment {
    font-family: Roboto, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    color: #4f4f4f;
}

/* choosePlanModal */
.modal-unique-pricing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content-pricing {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 41%;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    position: relative;
    margin: 75px auto 0;
}

.close-icon-pricing {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.no-scroll {
    overflow: hidden;
}

/* plan option styles (choosePlanModal contents) */
.plan-options {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.plan-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    background-color: #e2f3fd;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-option:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.plan-icon img {
    width: 58px;
    height: auto;
    margin-bottom: 10px;
}

.plan-option h3 {
    font-size: 16px;
    color: #4a4a4a;
    margin-bottom: 10px;
}

.plan-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
}

.plan-description {
    font-size: 14px;
    color: #7a7a7a;
    margin-bottom: 15px;
}

.plan-option ul {
    padding-left: 3px;
    margin: 0;
    font-size: 14px;
    color: #4a4a4a;
}

.plan-option ul li {
    margin-bottom: 8px;
    list-style: none;
    position: relative;
    padding-left: 30px;
}

.plan-option ul li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("/static/assets/images/payment/payment-success.6bf99ed161a0.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.choose-plan-btn-subscriptn {
    display: block;
    width: 100%;
    background: var(--primary-btn-color);
    color: white;
    text-align: center;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-top: auto;
    transition: background-color 0.3s ease;
    width: 95%;
}

.choose-plan-btn-subscriptn:hover {
    background-color: #357ac8;
}

/* Responsive modal adjustments — handled in the main breakpoints below */

/* Bootstrap 3 modal vertical centering */
#selectPaymentModal .modal-dialog {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* ============================================================
   RESPONSIVE — Tablet range (1024px - 1400px)
   ============================================================ */
@media (max-width: 1400px) and (min-width: 1025px) {
    /* Show line break for long comparison text */
    .tablet-br {
        display: inline;
    }
    
    /* Ensure cells stretch to full height when text wraps */
    .comp-row {
        align-items: stretch;
    }
    
    .comp-cell,
    .comp-cell-lightBlue {
        align-items: center;
    }
}

/* ============================================================
   RESPONSIVE — iPad (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .hero { padding: 80px 40px 60px; }
    .hero-headline { font-size: 40px; }
    .hero-subtext { font-size: 15px; }

    .pricing-cards { padding: 0 40px 60px; }

    .card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 32px;
    }
    .pay-as-you-go { padding: 36px 32px; }
    .card-divider { display: none; }

    .card-actions { flex-wrap: wrap; gap: 12px; }
    .card-actions .btn { flex: 1 1 auto; min-width: 160px; }

    /* Credit packs — 2 per row on iPad */
    .credit-packs { flex-wrap: wrap; }
    .pack { flex: 1 1 calc(50% - 8px); min-width: 140px; }

    .calculator-section { padding: 60px 40px; }
    .calculator-container { grid-template-columns: 1fr; gap: 40px; }
    .calc-title { font-size: 36px; }

    .stats-section { padding: 40px; }
    .stats-container { flex-wrap: wrap; padding: 30px 16px; }
    .stat-item {
        flex: 0 0 50%;
        min-width: 50%;
        margin-bottom: 24px;
        padding: 8px;
    }
    .stat-item.line::before { display: none; }

    /* Comparison — card-based layout on iPad (same as mobile) */
    .comparison { padding: 60px 40px; }
    .comparison-container {
        overflow-x: visible;
        border: none;
        border-radius: 0;
        background: transparent;
    }
    .comp-header { display: none; }
    .comp-row {
        display: flex;
        flex-wrap: wrap;
        min-width: unset;
        border: 1px solid #e2e2e2;
        border-radius: 12px;
        margin-bottom: 8px;
        overflow: hidden;
        background: #fff;
    }
    .comp-row > .comp-cell.label {
        flex: 0 0 100%;
        background: #f4f8fd;
        padding: 9px 14px;
        border-bottom: 1px solid #e2e2e2;
        font-size: 13px;
        font-weight: 700;
    }
    .comp-row > .comp-cell-lightBlue {
        flex: 0 0 50%;
        padding: 8px 10px;
        font-size: 13px;
        background: #F6FAFF;
        border-right: 1px solid #e2e2e2;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .comp-row > .comp-cell:last-child {
        flex: 0 0 50%;
        padding: 8px 10px;
        font-size: 13px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .comp-row > .comp-cell-lightBlue::before {
        content: "Subscription";
        display: block;
        font-size: 10px;
        font-weight: 700;
        color: #1e5cd8;
        text-transform: uppercase;
        margin-bottom: 4px;
        letter-spacing: 0.4px;
    }
    .comp-row > .comp-cell:last-child::before {
        content: "Credit Packs";
        display: block;
        font-size: 10px;
        font-weight: 700;
        color: #8c7cd9;
        text-transform: uppercase;
        margin-bottom: 4px;
        letter-spacing: 0.4px;
    }

    .section-title h2 { font-size: 38px; }

    .detailed-features { padding: 60px 40px; }
    .detailed-row { grid-template-columns: 1fr; gap: 0; }
    .di-val {
        font-size: 20px;
        white-space: normal;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .di-per-unit {
        position: static;
        transform: none;
        margin-left: 0;
        font-size: 11px;
        white-space: nowrap;
    }
    .faq-section { padding: 60px 40px; }

    .recommended-badge { left: 32px; }

    /* Payment modals */
    .popup-payment-method {
        width: 92%;
        height: auto;
        padding: 40px 24px 20px;
    }
    .payment-method-card,
    .payment-method-upi { width: 100%; gap: 32px; }
    .modal-content-pricing {
        width: 80%;
        margin: 60px auto 0;
        margin-left: auto;
        margin-right: auto;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
    /* Hero */
    .hero { padding: 72px 20px 40px; }
    .hero-badge { font-size: 13px; padding: 6px 14px; gap: 8px; }
    .hero-headline { font-size: 30px; line-height: 1.25; }
    .hero-subtext { font-size: 14px; }

    /* Pricing cards */
    .pricing-cards { padding: 0 16px 40px; }
    .card {
        padding: 28px 20px;
        border-radius: 28px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pay-as-you-go { padding: 28px 20px; }
    .plan-title { font-size: 26px; }
    .price-val { font-size: 46px; }
    .price-unit { font-size: 13px; }
    .price-block { flex-wrap: wrap; }
    .price-meta { flex: 0 0 100%; }
    .plan-desc { font-size: 15px; max-width: 100%; }
    .feature-list li { font-size: 14px; }

    .card-actions { flex-direction: column; gap: 10px; }
    .card-actions .btn { width: 100%; justify-content: center; }
    .recommended-badge { left: 20px; font-size: 11px; }

    /* Credit packs — 1 per row on mobile */
    .credit-packs { flex-direction: column; gap: 10px; }
    .pack { width: 100%; min-width: unset; flex: none; }
    .pack-price { font-size: 22px; }
    .pack-details { font-size: 14px; }

    /* Calculator */
    .calculator-section { padding: 40px 16px; }
    .calculator-container { grid-template-columns: 1fr; gap: 28px; }
    .calc-title { font-size: 26px; }
    .calc-subtitle { font-size: 14px; }
    .calc-results { padding: 24px 16px; border-radius: 24px; }
    .result-row { font-size: 13px; padding: 14px 0; }
    .result-val { font-size: 18px; }
    .calc-banner { padding: 18px; }
    .calc-banner-title { font-size: 18px; }
    .calc-banner-text { font-size: 14px; }

    /* Stats */
    .stats-section { padding: 40px 16px; }
    .stats-container {
        flex-direction: column;
        align-items: stretch;
        padding: 24px 16px;
    }
    .stat-item { min-width: unset; width: 100%; flex: none; margin-bottom: 16px; padding: 0; }
    .stat-item.line::before { display: none; }
    .stat-num { font-size: 36px; justify-content: center; }
    .stat-text { font-size: 15px; }

    /* Comparison — card-based layout (no horizontal scroll) */
    .comparison { padding: 40px 16px; }
    .comparison-container {
        overflow-x: visible;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    /* Hide the column-header row; plan names shown via ::before */
    .comp-header { display: none; }

    /* Each feature row becomes its own card */
    .comp-row {
        display: flex;
        flex-wrap: wrap;
        min-width: unset;
        border: 1px solid #e2e2e2;
        border-radius: 12px;
        margin-bottom: 8px;
        overflow: hidden;
        background: #fff;
    }

    /* Feature label — spans full width at the top of each card */
    .comp-row > .comp-cell.label {
        flex: 0 0 100%;
        background: #f4f8fd;
        padding: 9px 14px;
        border-bottom: 1px solid #e2e2e2;
        font-size: 13px;
        font-weight: 700;
    }

    /* Monthly subscription value */
    .comp-row > .comp-cell-lightBlue {
        flex: 0 0 50%;
        padding: 8px 10px;
        font-size: 12px;
        background: #F6FAFF;
        border-right: 1px solid #e2e2e2;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Credit packs value */
    .comp-row > .comp-cell:last-child {
        flex: 0 0 50%;
        padding: 8px 10px;
        font-size: 12px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Micro plan-name labels above each value cell */
    .comp-row > .comp-cell-lightBlue::before {
        content: "Subscription";
        display: block;
        font-size: 9px;
        font-weight: 700;
        color: #1e5cd8;
        text-transform: uppercase;
        margin-bottom: 4px;
        letter-spacing: 0.4px;
    }

    .comp-row > .comp-cell:last-child::before {
        content: "Credit Packs";
        display: block;
        font-size: 9px;
        font-weight: 700;
        color: #8c7cd9;
        text-transform: uppercase;
        margin-bottom: 4px;
        letter-spacing: 0.4px;
    }

    /* Section titles */
    .section-title h2 { font-size: 26px; }
    .section-title p,
    .section-title .subtitle { font-size: 14px; }

    /* Credit cost breakdown */
    .detailed-features { padding: 40px 16px; }
    .detailed-row { grid-template-columns: 1fr; gap: 0; }
    .detailed-item--empty { display: none; }
    .di-name { font-size: 14px; }
    .di-icon { width: 38px; height: 38px; min-width: 38px; }
    .di-icon img { width: 18px; height: 18px; }
    .di-val {
        font-size: 20px;
        white-space: normal;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .di-per-unit {
        position: static;
        transform: none;
        margin-left: 0;
        font-size: 11px;
        white-space: nowrap;
    }

    /* FAQ */
    .faq-section { padding: 40px 16px; }
    .faq-question { font-size: 15px; padding: 18px 20px; }
    .faq-answer { padding: 0 20px 18px; font-size: 14px; }
    .faq-footer { font-size: 14px; }

    /* Payment modals */
    .popup-payment-method {
        width: 94%;
        height: auto;
        padding: 40px 20px 20px;
        gap: 14px;
    }
    .payment-method-card,
    .payment-method-upi {
        width: 100%;
        height: auto;
        min-height: 80px;
        gap: 20px;
        padding: 12px;
    }
    .modal-content-pricing {
        width: 88%;
        margin: 50px auto 0;
        left: auto;
        transform: none;
        position: relative;
    }
    .modal .custom-warn-modal { width: 96%; }
}

/* ============================================================
   RESPONSIVE — Small mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero-headline { font-size: 24px; }
    .hero-badge { font-size: 12px; padding: 5px 12px; }
    .plan-title { font-size: 22px; }
    .price-val { font-size: 38px; }
    .price-unit { font-size: 12px; }
    .calc-title { font-size: 22px; }
    .stat-num { font-size: 30px; }
    .section-title h2 { font-size: 22px; }

    .hero-back-btn img { width: 28px; height: 28px; }

    .card { padding: 24px 16px; border-radius: 20px; }
    .pay-as-you-go { padding: 24px 16px; }
    .recommended-badge { left: 16px; font-size: 10px; padding: 4px 10px; }

    .btn { font-size: 15px; padding: 10px 18px; }

    /* Payment modals */
    .popup-payment-method {
        width: 98%;
        padding: 36px 14px 16px;
    }
    .select-payment-method { font-size: 18px; height: auto; }
    .payment-method-card,
    .payment-method-upi {
        width: 100%;
        height: auto;
        gap: 16px;
    }
    .card-payment,
    .UPI-Payment { font-size: 13px; }
    .payment-method-card img,
    .payment-method-upi img { width: 50px; height: 50px; }
    .offrd-prefers-txt { font-size: 13px; }

    .modal-content-pricing {
        width: 94%;
        margin: 40px auto 0;
    }
    .modal .custom-warn-modal { width: 98%; padding: 12px; }
}
