/* ✅ CLEANED AND CONSOLIDATED STYLESHEET */

/* ---------------------------------- */
/* 🌐 Global Styles */
/* ---------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #0d0d0d;
    color: #f2f2f2;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Alt section color */
.alt-section {
    background-color: #121212;
}

/* ---------------------------------- */
/* 💳 Reusable Button (CTA) Styles */
/* ---------------------------------- */
.cta-button,
.showroom-callout.slim button,
.showroom-callout button,
.modal-content button,
.pricing-card button {
    background-color: #00bcd4;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover,
.showroom-callout.slim button:hover,
.showroom-callout button:hover,
.pricing-card button:hover {
    background-color: #00a5bb;
}

/* ---------------------------------- */
/* 🧲 Hover Animation */
/* ---------------------------------- */
.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(0, 188, 212, 0.3);
    border: 1px solid #00bcd4;
}

/* ---------------------------------- */
/* 🧼 Carousel Scrollbar Cleanup */
/* ---------------------------------- */
.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ---------------------------------- */
/* 🧱 Layout: Buttons, Header, Nav */
/* ---------------------------------- */
.button-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
}

header {
    background-color: #111;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #ddd;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00bcd4;
}

/* ---------------------------------- */
/* 🎯 Hero Section */
/* ---------------------------------- */
.hero {
    height: 100vh;
    background: url('https://i.imgur.com/pUOIjyD.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    position: relative;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #EAEAEA;
}

/* ---------------------------------- */
/* 🧾 Pricing Cards & Grid */
/* ---------------------------------- */
.pricing {
    padding: 60px 20px;
    background-color: #0d0d0d;
    text-align: center;
}

.pricing h2 {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #00c9a7, #0073e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: #1d1f21;
    border: 1px solid #2c2f33;
    border-radius: 10px;
    padding: 20px;
    width: 280px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-size: 24px;
    background: linear-gradient(to right, #00c9a7, #0073e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.pricing-card p {
    font-size: 16px;
    color: #ccc;
}

.pricing-card ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-top: 12px;
}

.pricing-card ul li {
    font-size: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.pricing-card li::before {
    content: '✅';
    display: inline-block;
    font-size: 14px;
    color: #00e6a8;
}

/* ---------------------------------- */
/* ⭐ Highlight Popular Plan */
/* ---------------------------------- */
.popular-plan {
    border: 2px solid #00bcd4;
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

/* ---------------------------------- */
/* 🏷️ Showroom Callout (Full + Slim) */
/* ---------------------------------- */
.showroom-callout {
    text-align: center;
    margin-top: 60px;
    padding: 30px 20px;
    background-color: #1d1f21;
    border-top: 2px solid #00bcd4;
    border-bottom: 2px solid #00bcd4;
    box-shadow: inset 0 0 10px rgba(0, 188, 212, 0.2);
}

.showroom-callout h3 {
    font-size: 22px;
    color: #00bcd4;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.showroom-callout p,
.showroom-callout.slim p {
    font-size: 17px;
    color: #ccc;
    margin-bottom: 20px;
}

.showroom-callout.slim {
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #00bcd4;
    border-radius: 10px;
    max-width: 700px;
    color: #ccc;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.1);
}

/* ---------------------------------- */
/* 🌀 Carousel Styles */
/* ---------------------------------- */
.carousel-container {
    position: relative;
    padding-top: 40px;
    background-color: #0d0d0d;
}

.carousel-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 40px;
    white-space: nowrap;
    max-width: 100vw;
    box-sizing: border-box;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.carousel-item {
    flex: 0 0 auto;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: stretch;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background-color: #1d1f21;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.product-card h3 {
    font-size: 22px;
    background: linear-gradient(to right, #00c9a7, #0073e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.product-card p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    margin-top: 5px;
}

/* ---------------------------------- */
/* 🪟 Modal Styling */
/* ---------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1d1f21;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    background-color: #2c2f33;
    color: #f2f2f2;
    border: none;
    border-radius: 6px;
    font-size: 14px;
}

/* ---------------------------------- */
/* 📱 Responsive Layout Tweaks */
/* ---------------------------------- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .pricing-grid,
    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        transition: all 0.3s ease;
        flex-direction: column;
        background: #111;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        z-index: 1000;
        padding: 20px 0;
        text-align: center;
    }

    .nav-links.open {
        display: flex;
    }
}

/* ---------------------------------- */
/* 🌈 Gradient Text Utilities */
/* ---------------------------------- */
.gradient-title {
    font-size: 22px;
    font-weight: bold;
    background: linear-gradient(to right, #00c9a7, #0073e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

footer {
    background-color: #111;
    color: #aaa;
    padding: 40px 20px;
    text-align: center;
}

.legal-content {
    max-width: 900px;
    margin: 120px auto 40px auto;
    background: rgba(255, 255, 255, 0.02);
    padding: 48px 32px 48px 32px;
    border-radius: 14px;
    box-shadow: 0 4px 32px rgba(0, 188, 212, 0.09);
    color: #eaeaea;
}

.legal-content h1 {
    font-size: 2.4rem;
    margin-bottom: 18px;
    font-weight: 800;
    background: linear-gradient(to right, #00bcd4, #0073e6 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.3px;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 38px;
    color: #00bcd4;
    font-weight: bold;
}

.legal-content ul {
    padding-left: 25px;
    margin-bottom: 16px;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    color: #ccc;
    margin-top: 6px;
    line-height: 1.65;
}

.legal-content a {
    color: #00c9a7;
    text-decoration: underline;
    transition: color 0.2s;
}

.legal-content a:hover {
    color: #0073e6;
}

@media (max-width: 900px) {
    .legal-content {
        padding: 26px 6vw;
        margin: 95px 2vw 32px 2vw;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.08rem;
    }
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0 32px 0;
    background: rgba(30, 40, 46, 0.97);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 18px rgba(0, 188, 212, 0.05);
}

.legal-content th,
.legal-content td {
    padding: 14px 14px;
    text-align: left;
    border-bottom: 1px solid #22292f;
    font-size: 1rem;
}

.legal-content th {
    background: linear-gradient(90deg, #00bcd4 30%, #0073e6 100%);
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.4px;
    border-bottom: 2px solid #0e1c22;
}

.legal-content tr:last-child td {
    border-bottom: none;
}

.legal-content td {
    color: #e0e8ef;
    background: rgba(255, 255, 255, 0.01);
}

@media (max-width: 700px) {

    .legal-content table,
    .legal-content th,
    .legal-content td {
        font-size: 0.93rem;
        padding: 10px 6px;
    }

    .legal-content th,
    .legal-content td {
        white-space: normal;
        word-break: break-word;
    }
}

.social-proof {
    text-align: center;
    background: #12171a;
    padding: 32px 0 20px;
}

.social-bar-title {
    font-size: 1.18rem;
    color: #fff;
    opacity: 0.85;
    margin-bottom: 18px;
    font-weight: 500;
}

.social-logos img {
    height: 128px;
    /* Bump up for more prominence */
    width: auto;
    /* Let width scale proportionally */
    max-width: 140px;
    /* Prevent super-wide images */
    margin: 0 18px;
    opacity: 0.88;
    background: #fff;
    border-radius: 8px;
    padding: 8px 20px;
    box-shadow: 0 2px 8px #0002;
    object-fit: contain;
}

@media (max-width: 600px) {
    .social-logos img {
        height: 64px;
        max-width: 100px;
        margin: 0 10px;
        padding: 4px 12px;
    }

    .social-proof {
        padding: 24px 0 12px;
    }
}

.testimonials {
    margin: 42px auto 32px auto;
    max-width: 700px;
    text-align: center;
}

.testimonial-quote {
    background: #191f22;
    border-left: 5px solid #00bcd4;
    color: #eee;
    font-size: 1.11rem;
    margin: 18px auto 16px;
    padding: 22px 32px 16px 28px;
    border-radius: 9px;
    position: relative;
}

.testimonial-author {
    display: block;
    margin-top: 12px;
    font-size: 0.99rem;
    color: #00bcd4;
    font-weight: 500;
}

.quote-mark {
    font-size: 2rem;
    color: #00bcd4;
    font-weight: bold;
    vertical-align: -15%;
}

.cta-stack {
    display: flex;
    gap: 12px;
}

@media (max-width: 768px) {
    .cta-stack {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 12px;
    }

    .cta-stack .cta-button {
        width: 90%;
        max-width: 300px;
    }
}

/* slide header out of view */
header.hide-header {
    transform: translateY(-110%);
    transition: transform .25s ease;
}

/* reveal CTAs with the mobile menu */
@media (max-width:768px) {
    .nav-ctas {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 12px 0;
    }

    .nav-ctas.open {
        display: flex;
    }
}

/* MOBILE NAV toggle buttons */
.mobile-nav-toggle,
.mobile-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer
}

/* hide the close button on desktop */
.mobile-close {
    display: none;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1100
}

@media(max-width:768px) {

    /* show the X only when menu is open */
    .nav-links.open+.mobile-close {
        display: block
    }
}

.plan-card,
.addon-card,
.hardware-card {
    background: #1d1f21;
    border-radius: 16px;
    box-shadow: 0 2px 14px #0007;
    color: #fff;
    padding: 28px 18px 20px 18px;
    margin: 0 10px 32px 0;
    min-width: 240px;
    max-width: 330px;
    font-family: inherit;
    transition: transform 0.18s, box-shadow 0.18s;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border: 1.5px solid transparent;
}

.plan-card:hover,
.addon-card:hover,
.hardware-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 20px #00bcd4cc, 0 2px 16px #000a;
    border: 1.5px solid #00bcd4;
}

.plan-card h3,
.addon-card .addon-name,
.hardware-card h4 {
    color: #00bcd4;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.18em;
    margin-top: 0;
}

.plan-card .plan-price,
.addon-card .addon-price,
.hardware-card .hardware-price {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.plan-card .plan-credits {
    background: #00bcd4;
    color: #111;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 14px;
    display: inline-block;
    margin-bottom: 0.16em;
}

.addon-card input[type="checkbox"] {
    accent-color: #00bcd4;
    margin-right: 9px;
    margin-top: 3px;
    transform: scale(1.15);
}

.addon-card .coming-soon {
    background: #ff9800;
    color: #18191c;
    border-radius: 10px;
    padding: 1px 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-left: 9px;
    margin-top: 2px;
    display: inline-block;
}

.hardware-card .hardware-price {
    color: #00bcd4;
}

.addon-card.disabled,
.plan-card.disabled,
.hardware-card.disabled {
    opacity: 0.55;
    pointer-events: none;
}

.checkout-grid,
.addon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
    /* ← THIS is the magic! */
}

@media (max-width: 700px) {

    .checkout-grid,
    .addon-grid {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
}

.plan-card h3,
.addon-card .addon-name,
.hardware-card h4 {
    text-align: center;
    width: 100%;
    display: block;
}

.checkout-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.checkout-header h1,
.checkout-header p {
    width: 100%;
    text-align: center;
}

.addons-section h2,
.hardware-section h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 1.3em;
}

.summary-box,
#checkout-summary,
#checkout-btn {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
}

.compare-plans-link,
#checkout .compare-plans-link,
#checkout>div:last-child {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.checkout h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 1em;
}

.checkout-grid-main {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.checkout-options {
    flex: 2 1 620px;
}

.checkout-summary-pane {
    flex: 1 1 340px;
    min-width: 280px;
    position: sticky;
    top: 120px;
    z-index: 10;
    background: #16181b;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0007;
    padding: 28px 22px;
    margin-top: 0;
    margin-bottom: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.summary-box,
#checkout-summary {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

#checkout-btn {
    width: 100%;
    max-width: 230px;
    margin: 0 auto 10px auto;
}

.compare-plans-link {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    color: #bbb;
    font-size: 14px;
}

.compare-plans-link a {
    color: #00bcd4;
    text-decoration: underline;
}

@media (max-width: 950px) {
    .checkout-grid-main {
        flex-direction: column;
    }

    .checkout-summary-pane {
        position: static;
        margin: 24px 0 0 0;
        box-shadow: 0 1px 8px #0006;
        padding: 22px 14px;
        min-width: unset;
        width: 100%;
        max-width: 100%;
    }
}

.addon-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: center;
    /* ← change from flex-start to center */
    margin-top: 18px;
    gap: 10px;
    font-size: 1rem;
    color: #fff;
}

.addon-checkbox-row input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #00bcd4;
    cursor: pointer;
    margin-right: 4px;
}

.addon-checkbox-row label {
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
    transition: color 0.13s;
}

.addon-checkbox-row input[type="checkbox"]:checked+label {
    color: #00bcd4;
    font-weight: 600;
}

.product-card.selected,
.product-card.added {
    box-shadow: 0 0 0 3px #00bcd4, 0 6px 20px rgba(0, 188, 212, 0.15);
    transition: box-shadow 0.13s;
}

@media (max-width: 600px) {
    .product-card {
        margin-bottom: 18px;
    }
}

/* --- QUICK CHECKOUT TILE GRID FIX --- */
#plans-list,
#addons-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: stretch;
    align-items: stretch;
    margin-bottom: 2.5rem;
}

@media (max-width: 1050px) {

    #plans-list,
    #addons-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {

    #plans-list,
    #addons-list {
        grid-template-columns: 1fr;
    }
}

/* Match min/max height with product page if needed */
#plans-list .product-card,
#addons-list .product-card {
    min-width: 0;
    max-width: 340px;
    min-height: 320px;
    margin: 0 auto;
}

/* === PersonaX Checkout Polish v2 === */

/* Shared card styling */
.checkout-grid .product-card,
#addons-list .product-card,
#hardware-list .product-card,
#flagship-list .product-card {
    border-radius: 16px;
    border: 1px solid #20292e;
    background: #111618;
    padding: 22px 18px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 28px rgba(0, 0, 0, 0.4);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.checkout-grid .product-card:hover,
#addons-list .product-card:hover,
#hardware-list .product-card:hover,
#flagship-list .product-card:hover {
    transform: translateY(-3px);
    border-color: #00bcd4;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

/* Selected card highlight */
.product-card.selected {
    outline: 2px solid #00bcd4;
    outline-offset: 2px;
    box-shadow: 0 0 0 1px rgba(0, 188, 212, 0.35), 0 16px 40px rgba(0, 188, 212, 0.15);
}

/* Plan title & price hierarchy */
.product-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: #f5fafa;
}

.product-price {
    margin-top: 6px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #9ff6ff;
    margin-bottom: 10px;
}

/* Features list: lighter, tighter */
.product-features {
    margin: 10px 0 0;
    padding-left: 18px;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #c5e3e9;
}

.product-features li {
    margin-bottom: 6px;
}

/* Core plan recommended chip */
.product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-title-row .chip-reco {
    background: #00bcd4;
    color: #111;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 6px;
}

/* Grids: cleaner spacing */
.checkout-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.addon-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Add-on checkbox row */
.addon-checkbox-row {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.addon-checkbox-row input {
    transform: translateY(1px);
}

/* Hardware cards: treat like add-ons */
#hardware-list .product-card {
    text-align: center;
}

/* Flagship card distinct */
#flagship-list .product-card {
    border: 2px solid #00bcd4;
    background: #0d1619;
}

#flagship-list .product-title {
    font-size: 1.25rem;
    color: #00e1ff;
    margin-bottom: 4px;
}

#flagship-list .product-description {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #cceff5;
}

/* Summary box: stronger */
.checkout-summary-pane .summary-box {
    border: 1px solid #20292e;
    border-radius: 14px;
    background: #0c1113;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

/* === Modal sizing + scroll fix === */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    /* shown via JS */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 24px;
    /* breathing room for small screens */
    z-index: 9999;
}

.modal .modal-content {
    width: min(1080px, calc(100vw - 64px));
    max-height: min(92vh, 980px);
    background: #0e1416;
    border: 1px solid #243036;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* scroll stays in .modal-body */
}

.modal-header {
    position: sticky;
    top: 0;
    background: #0e1416;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #1f2a2f;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-close {
    border: none;
    background: transparent;
    color: #cdeff5;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.06);
}

.modal-body {
    overflow-y: auto;
    /* scroll content INSIDE the modal */
    padding: 16px;
    outline: none;
}

.modal-sub {
    color: #a6cbd2;
    margin-top: -4px;
    margin-bottom: 10px;
}

.plan-compare-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 900px) {
    .plan-compare-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.compare-card h4 {
    margin: 0 0 6px;
}

.compare-card .price {
    font-weight: 700;
    color: #9ff6ff;
    margin-bottom: 8px;
}

.compare-card ul {
    margin: 0;
    padding-left: 18px;
}

.compare-card li {
    margin: 6px 0;
    color: #cfe9ee;
}

.compare-card.recommended {
    outline: 2px solid #00bcd4;
    outline-offset: 2px;
    border-radius: 12px;
}

.modal-divider {
    border: 0;
    border-top: 1px solid #223037;
    margin: 16px 0;
}

.modal-addons {
    margin: 0 0 10px 18px;
}

.modal-faq summary {
    cursor: pointer;
    color: #00bcd4;
}

.modal-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-body {
    padding-right: 20px;
}

/* Small screens: allow full height modal */
@media (max-width: 600px) {
    .modal {
        padding: 8px;
    }

    .modal .modal-content {
        max-height: 96vh;
    }
}

/* Contact form polish */
.contact-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 14px;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #eaf6f8;
}

.form-row input,
.form-row textarea {
    width: 100%;
    color: #eaf6f8;
    background: #0f1417;
    border: 1px solid #273036;
    border-radius: 12px;
    padding: 12px 12px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #7da3ab;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: 2px solid #00bcd4;
    outline-offset: 1px;
    border-color: #00bcd4;
}

@media (max-width:720px) {
    .form-row.two-col {
        grid-template-columns: 1fr;
    }
}

/* --- PX MOBILE NAV FIX: Keep CTAs visible at bottom when menu is open --- */
@media (max-width: 768px) {
    .nav-ctas {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100vw;
        background: #111;
        z-index: 1050;
        /* Above nav, below modal */
        display: none;
        padding: 20px 0 28px 0;
        border-top: 1px solid #222;
        box-shadow: 0 -6px 16px #000a;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .nav-ctas.open {
        display: flex !important;
    }

    /* Make room at the bottom of nav menu for CTAs */
    .nav-links.open {
        padding-bottom: 100px;
    }

    /* Hide on desktop again */
    @media (min-width: 769px) {
        .nav-ctas {
            position: static !important;
            padding: 0;
            box-shadow: none;
            border-top: none;
        }
    }
}

/* --- PX CHATBUBBLE always on top --- */
#px-chatbot-root {
    position: fixed !important;
    z-index: 2147483648 !important;
    /* Just above Osano! */
}

/* Optional: Nudge chat bubble up on mobile if cookie bar is shown */
@media (max-width: 600px) {
    #px-chatbot-root {
        bottom: 90px !important;
        /* move up to avoid cookie bar (tweak as needed) */
        right: 16px !important;
    }
}