/* ==========================================================================
   INNOVAITION — INDUSTRIES & SUB-PAGES STYLESHEET (css/industries.css)
   Requires css/base.css loaded first.
   Covers industries.html + industry-clinics/salons/services.html:
   Glowy Waves Hero, Industry Routing & Pricing Cards, Bento Bottleneck Grid,
   Tech Bridge, Feature Comparison Table, Split-Pane FAQ, Liquid Glass CTA
   ========================================================================== */

/* Prevent double junction borders */
.pricing-section .section-frame .sf-line.top,
.bento-section .section-frame .sf-line.top,
.bento-section .section-frame .sf-dia.tl,
.bento-section .section-frame .sf-dia.tr,
.compare-section .section-frame .sf-line.top,
.faq-sec .section-frame .sf-line.top,
.cta-react-translated-sec .section-frame .sf-line.top,
.cta-react-translated-sec .section-frame .sf-line.bottom,
.cta-react-translated-sec .section-frame::before,
.cta-react-translated-sec .section-frame::after {
    display: none !important;
}

.cta-react-translated-sec .section-frame .sf-line.left,
.cta-react-translated-sec .section-frame .sf-line.right {
    bottom: 80px;
}

/* ===== 1. GLOWY WAVES HERO SECTION ===== */
.pricing-hero-sec {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
    padding: 120px 24px 100px;
}

#hero-waves-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    pointer-events: none;
}

.ph-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ph-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.ph-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    font-weight: 700;
    color: #fff;
}

.ph-title span {
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ph-desc {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.55;
}

.ph-btn-group {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.ph-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.ph-highlights li {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    backdrop-filter: blur(5px);
}

.ph-stats-card {
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    margin-top: 32px;
}

.ph-stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ph-stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
}

.ph-stat-val {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

/* ===== 2. INDUSTRY ROUTING & PRICING CARDS ===== */
.pricing-section {
    padding: 150px 0 100px;
    position: relative;
    z-index: 20;
}

.pricing-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    padding: 0 var(--layout-pad);
}

.industries-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 40px;
}

.pricing-title-block .section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 58px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: #fff;
}

.pricing-desc {
    font-size: 1.05rem;
    color: #aaa;
    line-height: 1.6;
    max-width: 600px;
}

/* Pricing Toggle & Controls (for Industry Subpages) */
.pricing-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pricing-toggle-switch {
    position: relative;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 4px;
    cursor: pointer;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-toggle-switch .slider-bg {
    position: absolute;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #fff;
    border-radius: 50px;
    left: 4px;
    top: 4px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
}

#pricingToggle:checked+.pricing-toggle-switch .slider-bg,
#pricingToggle:checked~.pricing-toggle-switch .slider-bg {
    transform: translateX(100%);
}

.toggle-label {
    position: relative;
    z-index: 1;
    padding: 10px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s ease;
    text-align: center;
    flex: 1;
}

.toggle-label.active {
    color: #000;
}

/* Cards Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0 var(--grid-edge);
}

.industries-grid-wrapper {
    gap: 20px;
    padding: 0 24px;
    border-top: none;
    border-bottom: none;
    margin-top: 48px;
}

.p-card {
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition);
}

.p-card:last-child {
    border-right: none;
}

/* Pure CSS ambient gradient (replaces external third-party Unsplash request) */
.p-card.dark {
    background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.06), rgba(16, 16, 16, 0.96) 75%);
}

.industries-grid-wrapper .p-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 36px 28px;
}

.p-plan-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.p-plan-desc {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 28px;
    line-height: 1.55;
}

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

.price-wrap .currency {
    font-size: 1.5rem;
    font-weight: 700;
}

.price-wrap .amount {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-wrap .period {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.included-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 18px;
}

.p-features {
    list-style: none;
    margin: 0 0 36px;
    flex-grow: 1;
}

.p-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    margin-bottom: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.p-features li :is(i, svg.icon) {
    font-size: 0.85rem;
    margin-top: 3px;
    color: #22c55e;
}

.p-card-bot {
    margin-top: auto;
}

.btn-custom-quote {
    display: flex;
    width: 100%;
    align-items: stretch;
    background: #ffffff;
    color: #000000;
    border-radius: 4px;
    overflow: hidden;
    transition: background 0.3s;
}

.btn-custom-quote:hover {
    background: #e5e5e5;
}

.btn-custom-quote .text {
    padding: 16px 24px;
    font-weight: 600;
    font-size: 0.92rem;
    flex-grow: 1;
    text-align: center;
}

.btn-custom-quote .icon {
    padding: 0 18px;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-custom-quote .icon :is(i, svg.icon) {
    transform: rotate(-45deg);
    transition: transform var(--transition);
}

.btn-custom-quote:hover .icon :is(i, svg.icon) {
    transform: rotate(0deg) translate(2px, -2px);
}

/* ===== 3. SUBPAGE BENTO, TECH BRIDGE & COMPARISON TABLE ===== */
.section-title.text-center {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.8vw, 60px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-align: center;
}

.bento-section {
    position: relative;
    width: 100%;
    padding: 150px var(--layout-pad) 100px;
    z-index: 20;
}

.bento-header {
    margin: 40px 0 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bento-sub {
    text-align: center;
    color: #aaa;
    max-width: 700px;
    margin: 24px auto 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-left: calc(-1 * (var(--grid-buffer) - 24px));
    margin-right: calc(-1 * (var(--grid-buffer) - 24px));
}

.bento-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
    min-width: 0;
}

.bento-card.dark-card {
    background: linear-gradient(135deg, #151515 0%, #080808 100%);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-card.light-card {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.bento-card p {
    font-size: 0.98rem;
    line-height: 1.55;
    color: #aaa;
}

.bento-card.light-card p {
    color: #555;
}

.bento-col-left {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.bento-col-mid-top,
.bento-col-wide-top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.bento-col-right-top {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.bento-split-col {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    gap: 20px;
    min-width: 0;
}

.bento-col-right-bot {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.bento-mini {
    flex: 1;
    padding: 32px 24px;
    justify-content: center;
}

.bento-mini.center-text {
    text-align: center;
    align-items: center;
}

.bento-list {
    list-style: none;
    margin-top: 24px;
}

.bento-list li {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bento-footer-text {
    margin-top: auto;
    padding-top: 24px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* Tech Bridge / System Architecture Section */
.tech-bridge-sec {
    position: relative;
    padding: 160px 0 130px;
    background-color: var(--bg-dark);
    z-index: 20;
}

.tech-bridge-sec .section-frame .sf-line.top {
    display: none !important;
}

.tech-bridge-sec .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px 0;
}

.tech-bridge-sec .section-title {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 72px;
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.tech-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.tech-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.tech-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: #000;
}

.tech-icon-box.green {
    background: #22c55e;
}

.tech-icon-box.white {
    background: #ffffff;
}

.tech-text-block h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.55rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.tech-text-block p {
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tech-text-block p strong {
    color: #fff;
    font-weight: 600;
}

.tech-works-bar {
    margin-top: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0.45;
    color: #fff;
    font-size: 1.35rem;
}

.tech-works-bar .works-label {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    font-weight: 700;
    text-transform: uppercase;
}

.tech-works-bar .works-line {
    height: 1px;
    width: 60px;
    background: rgba(255, 255, 255, 0.25);
}

/* Subpage Pricing Card Helpers */
.p-card.light {
    background: #ffffff;
    color: #000000;
}

.p-card.light .p-plan-name,
.p-card.light .price-wrap .currency,
.p-card.light .price-wrap .amount,
.p-card.light .p-features li,
.p-card.light .p-features li :is(i, svg.icon) {
    color: #000000;
}

.p-card.light .p-plan-desc {
    color: #444444;
}

.p-card.light .price-wrap .period,
.p-card.light .setup-fee {
    color: #666666;
}

.p-card.light .btn-custom-quote {
    background: #000000;
    color: #ffffff;
}

.p-card.light .btn-custom-quote:hover {
    background: #222222;
}

.plan-head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.plan-head-row .p-plan-name {
    margin-bottom: 0;
}

.pop-badge {
    background: #22c55e;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.setup-fee {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.compare-section {
    position: relative;
    padding: 150px 0 100px;
    background-color: var(--bg-dark);
    width: 100%;
}

.compare-container {
    padding: 0 var(--layout-pad);
    width: 100%;
    overflow-x: auto;
}

.compare-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: 60px;
    text-align: center;
    text-transform: uppercase;
}

.mobile-tab-container {
    display: none;
}

.compare-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    text-align: center;
}

.compare-table th {
    padding: 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
}

.compare-table th.feature-col-header {
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
}

.compare-table td {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
}

.compare-table td.feature-name {
    text-align: left;
    font-weight: 500;
    color: #fff;
}

.compare-table .check {
    color: #22c55e;
    font-size: 1.2rem;
}

.compare-table .minus {
    color: rgba(255, 255, 255, 0.2);
}

/* ===== 4. SPLIT-PANE FAQ SECTION ===== */
.faq-sec {
    position: relative;
    padding: 120px 0 140px;
    background-color: #ffffff;
    color: var(--text-dark);
    z-index: 20;
}

.faq-container {
    margin: 0 var(--grid-edge);
}

.faq-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 65px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    padding-left: 40px;
    margin: 40px 0 60px;
    text-transform: uppercase;
}

.faq-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    min-height: 480px;
}

.faq-row-header {
    padding: 20px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}

.faq-left {
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.faq-question-item {
    padding: 34px 40px;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question-item.no-border {
    border-bottom: none;
}

.faq-question-item:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question-item.active {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

/* Pure CSS geometric + / - icon (preserves <i> tag for main.js compatibility) */
.faq-question-item i {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    font-style: normal;
}

.faq-question-item i::before,
.faq-question-item i::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-question-item i::before {
    width: 14px;
    height: 2px;
}

.faq-question-item i::after {
    width: 2px;
    height: 14px;
}

.faq-question-item.active i::after,
.faq-question-item i.fa-minus::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-right {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.faq-answer-display {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.faq-answer-text {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    max-width: 480px;
    text-align: center;
}

.faq-answer-text.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.faq-answer-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* ===== 5. LIQUID GLASS CTA SECTION ===== */
.cta-react-translated-sec {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 150px 0 120px;
    background-color: #000;
    min-height: 70vh;
}

#cta-liquid-canvas,
#cta-warp-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#cta-warp-canvas {
    opacity: 0.85;
}

.react-glass-card {
    position: relative;
    z-index: 10;
    width: calc(100% - (var(--layout-pad) * 2));
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 24px;
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.react-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.react-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(1rem, 2vw, 1.125rem);
    max-width: 600px;
    line-height: 1.6;
}

.react-ping-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 36px 0;
}

.react-ping-badge p {
    color: #22c55e;
    font-size: 0.875rem;
    font-weight: 500;
}

.ping-wrapper {
    position: relative;
    display: flex;
    height: 12px;
    width: 12px;
    align-items: center;
    justify-content: center;
}

.ping-anim {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: #22c55e;
    opacity: 0.75;
    animation: reactPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-core {
    position: relative;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #22c55e;
}

@keyframes reactPing {

    75%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.react-btn-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.liquid-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    padding: 0 3rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.liquid-button:hover {
    transform: scale(1.05);
}

.liquid-button-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 9999px;
    box-shadow:
        0 0 8px rgba(0, 0, 0, 0.03),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.09),
        inset -3px -3px 0.5px -3.5px rgba(255, 255, 255, 0.85),
        inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.6),
        inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.6),
        inset 0 0 6px 6px rgba(255, 255, 255, 0.12),
        inset 0 0 2px 2px rgba(255, 255, 255, 0.06),
        0 0 12px rgba(0, 0, 0, 0.15);
}

.liquid-button-glass {
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: 9999px;
    backdrop-filter: url("#container-glass");
    -webkit-backdrop-filter: url("#container-glass");
}

.liquid-button span {
    position: relative;
    z-index: 10;
}

/* ===== 6. INDUSTRIES TABLET & MOBILE BREAKPOINTS ===== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-left: 0;
        margin-right: 0;
    }

    .bento-col-left {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .bento-col-mid-top,
    .bento-col-wide-top,
    .bento-col-right-top {
        grid-column: 1 / 2;
        grid-row: auto;
    }

    .bento-split-col,
    .bento-col-right-bot {
        grid-column: 2 / 3;
        grid-row: auto;
    }

    .bento-split-col {
        flex-direction: column;
    }

    .faq-split-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .faq-left {
        border-right: none;
    }

    .desktop-only {
        display: none;
    }
}

@media (max-width: 768px) {

    #hero-waves-canvas,
    #cta-liquid-canvas,
    #cta-warp-canvas,
    .bento-section.dark-theme .carousel-pagination {
        display: none !important;
    }

    /* 1. Glowy Waves Hero */
    .pricing-hero-sec {
        min-height: 100svh;
        height: 100svh;
        padding: 100px 20px 40px;
    }

    .pricing-hero-sec::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .ph-content-wrapper {
        position: relative;
        z-index: 2;
    }

    .ph-badge {
        margin-bottom: 16px;
        padding: 6px 12px;
        font-size: 0.6rem;
    }

    .ph-title {
        font-size: clamp(2.4rem, 10.5vw, 3.4rem);
        margin-bottom: 14px;
        line-height: 1.05;
    }

    .ph-desc {
        font-size: 0.95rem;
        margin-bottom: 24px;
        line-height: 1.45;
    }

    .ph-btn-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 16px;
    }

    .ph-highlights {
        gap: 8px;
    }

    .ph-highlights li {
        padding: 6px 12px;
        font-size: 0.6rem;
    }

    .ph-stats-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    /* 2. Industry Routing & Pricing Grid */
    .pricing-section {
        padding: 110px 0 60px;
    }

    .pricing-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 32px;
    }

    .industries-header {
        align-items: center;
        text-align: center;
        margin-top: 20px;
        padding: 0 20px;
    }

    .industries-header .section-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        margin-bottom: 12px;
    }

    .pricing-desc {
        font-size: 0.95rem;
        margin: 0 auto;
    }

    .pricing-grid,
    .industries-grid-wrapper {
        gap: 16px;
        padding: 0 20px;
        margin: 0;
        border: none;
    }

    .p-card,
    .industries-grid-wrapper .p-card {
        padding: 32px 24px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .p-plan-name {
        font-size: 1.25rem;
    }

    .p-plan-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .price-wrap .amount {
        font-size: 3rem;
    }

    .p-features {
        margin-bottom: 24px;
    }

    /* 3. Subpage Bento, Tech Bridge & Comparison Table */
    .tech-bridge-sec {
        padding: 110px 0 60px;
    }

    .tech-bridge-sec .container {
        padding: 32px 20px 0;
    }

    .tech-bridge-sec .section-title {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
        margin-bottom: 40px;
    }

    .tech-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-text-block h3 {
        font-size: 1.25rem;
    }

    .tech-text-block p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .tech-works-bar {
        margin-top: 50px;
        gap: 14px;
        font-size: 1.15rem;
    }

    .tech-works-bar .works-line {
        width: 24px;
    }

    .tech-works-bar .works-label {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
    }

    .bento-section {
        padding: 110px 20px 40px;
    }

    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .bento-card {
        padding: 22px;
    }

    .bento-split-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .compare-section {
        padding: 110px 0 50px;
    }

    .mobile-tab-container {
        display: flex;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 100px;
        padding: 4px;
        margin: 0 20px 30px;
        justify-content: space-between;
    }

    .mobile-tab-btn {
        flex: 1;
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.6);
        padding: 12px 0;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        border-radius: 100px;
    }

    .mobile-tab-btn.active {
        background: #fff;
        color: #000;
    }

    .compare-table {
        min-width: 100%;
    }

    .compare-table thead {
        display: none;
    }

    .compare-table tbody tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .compare-table td.feature-name {
        flex: 1;
        font-size: 0.9rem;
        border: none;
        padding: 18px 0;
    }

    .compare-table td:not(.feature-name) {
        width: 50px;
        border: none;
        padding: 18px 0;
    }

    /* 4. Mobile FAQ */
    .faq-sec {
        padding: 110px 0 60px;
    }

    .faq-title {
        font-size: clamp(2rem, 8.5vw, 2.8rem);
        padding-left: 0;
        text-align: center;
        margin: 20px 0 30px;
    }

    .faq-question-item {
        padding: 18px 20px;
        font-size: 0.88rem;
        line-height: 1.3;
    }

    .faq-right {
        background-color: #f4f4f4;
    }

    .faq-answer-display {
        padding: 28px 20px;
    }

    .faq-answer-text p {
        font-size: 0.92rem;
    }

    /* 5. Mobile Liquid Glass CTA */
    .cta-react-translated-sec {
        padding: 130px 20px 60px;
        min-height: auto;
    }

    .react-glass-card {
        width: 100%;
        padding: 48px 24px;
    }
}