
/* SMX-WM-92711e6c-8b5797f5 ShopMaxx © Maxx Systems */
/* Maxx Systems - Company Website
   Matches ShopMaxx app aesthetic: dark-first, blue accent, clean modern cards
*/

:root {
    --bg: #0f172a;
    --card: #1e2937;
    --input-bg: #334155;
    --accent: #60a5fa;
    --accent-dark: #3b82f6;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --border: #475569;
    --success: #34d399;
    --warning: #fbbf24;
}

[data-theme="light"] {
    --bg: #f8fafc;
    --card: #ffffff;
    --input-bg: #f1f5f9;
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--accent-dark);
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAV — compact brand bar; collapses early so links never crush */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

[data-theme="light"] .nav {
    background: rgba(248, 250, 252, 0.94);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    min-height: 56px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.4px;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--text);
}

.logo:hover {
    color: var(--text);
}

/* App icon (same ShopMaxx.png / .ico as the desktop launcher) */
.logo-mark {
    display: inline-block;
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    vertical-align: middle;
}
span.logo-mark {
    /* legacy text mark fallback */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1e3a5f 0%, #0f172a 100%);
    color: #60a5fa;
    font-weight: 900;
    font-size: 13px;
    border: 1px solid rgba(96, 165, 250, 0.35);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    gap: 1px;
}

.logo-text {
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
}

.logo-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    flex-wrap: nowrap;
    min-width: 0;
}

.nav-links a {
    color: var(--muted);
    white-space: nowrap;
    padding: 6px 2px;
    border-radius: 4px;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a.nav-cta-link {
    color: var(--accent);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-actions .btn-small {
    white-space: nowrap;
}

/* Hide secondary CTAs on mid widths; primary stays */
.nav-hide-md {
    display: inline-flex;
}

/* App login — always available (desktop bar + phone hamburger) */
.nav-login-link {
    font-weight: 600;
}
.nav-links a.nav-login-link {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #0f172a;
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--card);
    border-color: var(--accent);
}

.btn-small {
    padding: 8px 14px;
    font-size: 13px;
}

.theme-toggle {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent);
}

.hamburger {
    display: none;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hamburger:hover {
    border-color: var(--accent);
}

/* Tablet / laptop: collapse center links before they wrap/overlap */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 16px;
        border-bottom: 1px solid var(--border);
        gap: 0;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
        max-height: min(70vh, 480px);
        overflow-y: auto;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        padding: 12px 8px;
        border-bottom: 1px solid var(--border);
        white-space: normal;
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
    .hamburger {
        display: inline-flex;
    }
    .nav-hide-md {
        display: none;
    }
    /* Never hide account links inside the open/closed mobile menu */
    .nav-links .nav-hide-md,
    .nav-links .nav-login-link,
    .nav-links .nav-cta-link {
        display: block;
    }
    /* Phone bar: Log in stays; shorten trial label if needed via HTML text */
    .nav-actions .nav-login-btn {
        display: inline-flex;
    }
    .nav-links a.nav-login-link,
    .nav-links a.nav-cta-link {
        font-weight: 700;
        font-size: 15px;
        padding: 14px 8px;
    }
    .nav-links a.nav-cta-link {
        color: var(--accent);
    }
}

@media (max-width: 480px) {
    .logo-sub {
        display: none;
    }
    .logo-text {
        font-size: 15px;
    }
    .nav-actions .btn-small {
        padding: 8px 10px;
        font-size: 12px;
    }
    /* Tight phone bar: keep Log in, shorten Free Trial */
    .nav-actions .nav-trial-btn {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* HERO */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(15,23,42,0.95) 100%);
}

.hero h1.hero-brand {
    font-size: 52px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 0 0 12px;
}

/* Primary SEO H1 — readable on mobile, strong but not 52px wall of text */
.hero h1.hero-seo-line,
.hero-seo-line,
.hero h2.hero-seo-line {
    font-size: clamp(1.45rem, 3.2vw, 2.05rem);
    font-weight: 800;
    color: var(--text);
    max-width: 900px;
    margin: 0 auto 18px;
    line-height: 1.25;
    letter-spacing: -0.03em;
    text-transform: none;
}

.hero .hero-company-name {
    margin: 0 auto 8px;
    color: var(--muted);
}

.hero .tagline {
    font-size: 20px;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 32px;
}

.hero .tagline.hero-intro {
    font-size: 1.05rem;
    max-width: 820px;
    margin: 0 auto 16px;
    text-align: left;
    line-height: 1.65;
}

.hero .company {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent);
    background: rgba(96,165,250,0.1);
    padding: 4px 14px;
    border-radius: 9999px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* SECTIONS */
.section {
    padding: 70px 0;
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.section h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

/* Built by shop guys banner */
.shop-guys-section {
    padding-top: 8px;
}

.shop-guys-banner {
    background: linear-gradient(145deg, rgba(96, 165, 250, 0.08), rgba(30, 41, 55, 0.9));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
}

.shop-guys-banner h2 {
    margin: 8px 0 14px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.shop-guys-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

@media (max-width: 800px) {
    .shop-guys-grid {
        grid-template-columns: 1fr;
    }
    .shop-guys-banner {
        padding: 24px 18px;
    }
}

.shop-guys-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 16px;
}

.shop-guys-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--accent);
}

.shop-guys-card p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
}

.shop-guys-tagline {
    margin: 24px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.section p.lead {
    max-width: 620px;
    color: var(--muted);
    font-size: 16px;
}

/* Product intro */
.product {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .product {
        grid-template-columns: 1fr;
    }
}

.product .meta {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.product h3 {
    font-size: 28px;
    margin: 4px 0 12px;
}

.mock-ui {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-size: 12px;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.mock-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
}

/* Product screenshots */
.shot-figure {
    margin: 0;
}

.shot-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    background: #0b1220;
}

.shot-figure figcaption {
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

.shot-figure-hero img {
    max-height: 420px;
    width: 100%;
    object-fit: contain;
    object-position: top center;
    background: #0b1220;
}

.section-screenshots {
    background: linear-gradient(180deg, transparent, rgba(96, 165, 250, 0.04), transparent);
}

.shots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 28px;
}

@media (max-width: 1100px) {
    .shots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    .shots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .shots-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .shots-grid {
        grid-template-columns: 1fr;
    }
}

.shot-card {
    margin: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    cursor: zoom-in;
}

.shot-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.shot-card a,
.shot-card .shot-open {
    display: block;
    line-height: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: #0b1220;
    cursor: zoom-in;
    min-height: 160px;
}

.shot-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: top center;
    border-bottom: 1px solid var(--border);
    background: #0b1220;
    pointer-events: none;
    display: block;
}

/* Full-screen lightbox — above Maxx chat FAB (z 12050) */
.shot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 16px 28px;
    background: rgba(2, 6, 23, 0.94);
    backdrop-filter: blur(6px);
    cursor: zoom-out;
    box-sizing: border-box;
}

.shot-lightbox.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.shot-lightbox-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(1200px, 96vw);
    max-height: 90vh;
    cursor: default;
}

.shot-lightbox img {
    max-width: min(1200px, 96vw);
    max-height: min(78vh, 900px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    background: #0b1220;
    cursor: default;
}

.shot-lightbox-close {
    position: fixed;
    top: 16px;
    right: 18px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    z-index: 20010;
}
.shot-figure {
    cursor: zoom-in;
}
.shot-card,
.shot-open {
    cursor: zoom-in;
}

.shot-lightbox-close:hover {
    background: var(--accent);
    color: #0f172a;
}

.shot-lightbox-caption {
    margin: 14px 0 0;
    color: #e2e8f0;
    font-size: 14px;
    text-align: center;
    max-width: 90vw;
}

/* Pricing plan cards — big clear monthly prices */
.price-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 32px 0 10px;
    align-items: stretch;
}
@media (max-width: 960px) {
    .price-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .price-cards { grid-template-columns: 1fr; }
}
.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 18px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    min-height: 240px;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.price-card:hover {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    transform: translateY(-2px);
}
.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent),
                0 16px 36px rgba(15, 23, 42, 0.28);
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--card)), var(--card));
}
.price-card .badge-pop {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 2;
}
.price-card .plan-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-top: 6px;
    letter-spacing: 0.01em;
}
.price-card .plan-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 2px 4px;
    margin: 6px 0 2px;
    min-height: 3.2rem;
    color: var(--accent);
    line-height: 1;
}
.price-card .plan-price .currency {
    font-size: 1.35rem;
    font-weight: 800;
    align-self: flex-start;
    margin-top: 0.35em;
    opacity: 0.9;
}
.price-card .plan-price .price-main,
.price-card .plan-price .amt {
    font-size: clamp(2.4rem, 4vw, 3.1rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--accent);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.price-card .plan-price .period {
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-top: 4px;
    letter-spacing: 0.02em;
}
.price-card .plan-price.is-free .price-main {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
}
.price-card .plan-blurb {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.45;
    min-height: 2.6em;
    margin: 4px 0 12px;
    flex: 1;
}
.price-card .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}
.price-footnote {
    font-size: 12px;
    margin: 6px 0 22px;
}
.tier-table .price-row td {
    font-size: 17px;
    font-weight: 800;
    color: var(--accent);
    padding-top: 14px;
    padding-bottom: 14px;
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.tier-table .price-row td:first-child {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}
[data-theme="light"] .price-card.featured {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent),
                0 10px 28px rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .price-card .plan-price .price-main,
[data-theme="light"] .price-card .plan-price .amt {
    color: #2563eb;
}

.shot-card figcaption {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shot-card figcaption strong {
    color: var(--text);
    font-size: 15px;
}

.shot-card figcaption span {
    color: var(--muted);
    font-size: 13px;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card .icon {
    font-size: 24px;
    margin-bottom: 12px;
    display: block;
}

.feature-card h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* DOWNLOADS */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.download-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

.download-card h4 {
    margin: 0 0 4px;
}

.download-card p {
    color: var(--muted);
    margin: 0 0 16px;
    font-size: 14px;
}

.download-card ul {
    margin: 0 0 16px;
    padding-left: 18px;
    font-size: 13px;
    color: var(--muted);
}

.download-card .btn {
    width: 100%;
}

/* ABOUT + CONTACT */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 15px;
    margin-bottom: 14px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

#form-success {
    display: none;
    background: rgba(52, 211, 153, 0.1);
    color: var(--success);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-top: 12px;
    font-weight: 500;
}

/* FOOTER */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 36px 0 28px;
    margin-top: 40px;
    font-size: 13px;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer a {
    color: var(--muted);
}

/* Utilities */
.badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(96,165,250,0.15);
    color: var(--accent);
    font-weight: 600;
}

.muted {
    color: var(--muted);
}

.text-center {
    text-align: center;
}

.mt-24 { margin-top: 24px; }

/* Tier Comparison (visible on page) */
.tier-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px;
    margin-top: 20px;
}

.tier-table th,
.tier-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.tier-table th {
    background: #1e2937;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}

[data-theme="light"] .tier-table th {
    background: #f1f5f9;
}

.tier-table th:first-child {
    text-align: left;
    background: var(--card);
}

.tier-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text);
}

.tier-table .tier-base { color: #94a3b8; }
.tier-table .tier-standard { color: #60a5fa; }
.tier-table .tier-pro { color: #3b82f6; font-weight: 700; }
.tier-table .tier-proplus { color: #f59e0b; font-weight: 700; }

.tier-table .check { color: #34d399; font-weight: 700; text-align: center; font-size: 17px; }
.tier-table .xmark { color: #f87171; text-align: center; font-size: 15px; font-weight: 600; }
.tier-table .note { font-size: 11px; color: var(--muted); display: block; }
.tier-table .tier-section-row td {
  background: color-mix(in srgb, var(--accent) 10%, var(--card));
  border-bottom: 1px solid var(--border);
  padding-top: 14px;
  padding-bottom: 12px;
  font-size: 14px;
}
.tier-table .tier-section-hint {
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.tier-table .tier-group-row td {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 14px;
  padding-bottom: 6px;
  background: transparent;
  border-bottom: none;
}
.tier-table .tier-included-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.tier-table .tier-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: var(--input-bg, #0f172a);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}
.tier-table td:not(:first-child) {
  text-align: center;
  width: 12%;
}

.tier-table tr:last-child td {
    border-bottom: none;
}

.tier-table .tier-header-pro {
    background: linear-gradient(180deg, #1e40af20, transparent);
}

@media (max-width: 900px) {
    .tier-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Modal for Tier Comparison (shows only on button click) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background: var(--card);
    margin: 40px auto;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    max-width: 1100px;
    width: 95%;
    position: relative;
}

/* Client choice modal specific */
#clientModal .modal-content {
    max-width: 420px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    font-weight: bold;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text);
}

.modal h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.modal .lead {
    margin-bottom: 16px;
}

/* Tier comparison is always visible on the page */

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.product-card h3 {
  margin: 0;
  font-size: 18px;
}

.product-desc {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
  line-height: 1.4;
}

/* Ensure coming soon looks as full-featured as the current product card */
.product-card .product-header .badge.coming {
  /* uses orange to indicate status, but layout matches */
}

.badge.coming {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* Make coming soon card match current product card style more closely */
.product-card .product-header .badge.coming {
  /* inherits from .badge.coming */
}
/* SEO content blocks (homepage) */
.seo-content-section .seo-card-grid {
  margin-top: 20px;
}
@media (max-width: 640px) {
  .hero h1.hero-brand {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .hero h1.hero-seo-line,
  .hero-seo-line {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
  }
  .hero .tagline.hero-intro {
    font-size: 0.98rem;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}
