/* ============================================================
   LogicSuiteAI — Global Design System
   ============================================================ */

:root {
    /* — Logo palette — */
    --ls-teal:          #0DAE9D;
    --ls-teal-light:    #20E0CF;
    --ls-purple:        #8B46C7;
    --ls-purple-light:  #C86DE6;
    --ls-blue:          #157EF0;
    --ls-blue-light:    #24C2FF;
    --ls-gold:          #FFA312;
    --ls-gold-light:    #FFD33A;
    --ls-red:           #F03A34;
    --ls-orange:        #FF7412;

    /* — Design tokens — */
    --ls-primary:       #157EF0;          /* blue */
    --ls-primary-dark:  #0f62c9;
    --ls-primary-light: #e8f2fe;
    --ls-accent:        #8B46C7;          /* purple */
    --ls-accent-light:  #f3e8fc;
    --ls-dark:          #0d1f2d;          /* deep navy */
    --ls-dark-blue:     #0a1628;          /* header/sidebar dark blue */
    --ls-gray:          #6c757d;
    --ls-light-bg:      #f5f8ff;
    --ls-border:        #d0e4fb;
    --ls-radius:        12px;
    --ls-shadow:        0 4px 24px rgba(21,126,240,0.10);
    --ls-shadow-hover:  0 8px 40px rgba(21,126,240,0.22);
}

html, body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #1a1a2e;
    scroll-behavior: smooth;
}

.py-6 { padding-top: 4rem; padding-bottom: 4rem; }

a { color: var(--ls-primary); }
a, .btn-link { color: var(--ls-primary); }

/* ---- BUTTONS ---- */
.btn-primary {
    background-color: var(--ls-primary);
    border-color: var(--ls-primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}
.btn-primary:hover { background-color: var(--ls-primary-dark); border-color: var(--ls-primary-dark); }
.btn-outline-primary { color: var(--ls-blue-light); border-color: var(--ls-blue-light); border-radius: 8px; font-weight: 600; }
.btn-outline-primary:hover { background-color: var(--ls-blue-light); color: #0d1f2d; }

/* Logo-palette nav buttons */
.btn-nav-orange  { background: linear-gradient(135deg,#FF7412,#FFAA1F); color:#fff; border:none; border-radius:8px; font-weight:600; }
.btn-nav-orange:hover  { background: linear-gradient(135deg,#e0620e,#f09500); color:#fff; }
.btn-nav-green   { background: linear-gradient(135deg,#0DAE9D,#2CE2C5); color:#fff; border:none; border-radius:8px; font-weight:600; }
.btn-nav-green:hover   { background: linear-gradient(135deg,#0a8f80,#1fc4a8); color:#fff; }
.btn-nav-yellow  { background: linear-gradient(135deg,#FFD33A,#FFA312); color:#0d1f2d; border:none; border-radius:8px; font-weight:600; }
.btn-nav-yellow:hover  { background: linear-gradient(135deg,#f0c020,#e08800); color:#0d1f2d; }
.btn-nav-test    { background: linear-gradient(135deg,#FFD33A,#FFA312); color:#0d1f2d; border:none; border-radius:8px; font-weight:600; }
.btn-nav-test:hover    { background: linear-gradient(135deg,#f0c020,#e08800); color:#0d1f2d; }
.btn-nav-blue    { background: linear-gradient(135deg,#157EF0,#24C2FF); color:#fff; border:none; border-radius:8px; font-weight:600; }
.btn-nav-blue:hover    { background: linear-gradient(135deg,#0f62c9,#0da8e8); color:#fff; }

/* ---- HEADER / NAV ---- */
.ls-header {
    position: sticky; top: 0; z-index: 1000;
    background: #0a1628;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.ls-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-logo {
    background: var(--ls-primary); color: #fff;
    font-weight: 800; font-size: 14px;
    width: 34px; height: 34px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.brand-logo-img { display: block; }
.brand-logo-img--header { height: 38px; width: auto; }
.brand-logo-img--footer { height: 160px; width: auto; }
.brand-text { font-weight: 700; font-size: 18px; color: #fff; }
.navbar-brand:hover .brand-text { color: var(--ls-blue-light); }
.nav-link { color: rgba(255,255,255,0.80) !important; font-weight: 500; font-size: 15px; padding: 8px 12px !important; border-radius: 6px; }
.nav-link:hover, .nav-link.active { color: #fff !important; background: rgba(255,255,255,0.10); }
.nav-link.nav-link-yellow { color: #FFD33A !important; font-weight: 700; }
.nav-link.nav-link-yellow:hover { color: #FFE980 !important; background: rgba(255,255,255,0.10); }
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ---- HERO ---- */
.ls-hero {
    background: linear-gradient(135deg, #0a1628 0%, #157EF0 100%);
    color: #fff; padding: 16px 0 12px;
}
.page-hero {
    background: linear-gradient(135deg, #0a1628, #157EF0);
    color: #fff; padding: 12px 0 9px;
}
.page-hero .hero-title, .ls-hero .hero-title { color: #fff; }
.page-hero .badge-pill, .ls-hero .badge-pill { background: rgba(255,255,255,0.15); color: #fff; }
.page-hero .hero-sub, .ls-hero .hero-sub { color: rgba(255,255,255,0.8); }
.hero-title { font-size: clamp(1.4rem, 3.3vw, 2.35rem); font-weight: 800; line-height: 1.15; margin-bottom: 0.65rem; }
.hero-sub { font-size: 0.97rem; color: #555; max-width: 600px; line-height: 1.6; }
.hero-sub--light { color: rgba(255,255,255,0.82); }
.gradient-text { background: linear-gradient(90deg, #20E0CF, #24C2FF, #C86DE6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.badge-pill { display: inline-block; background: var(--ls-primary-light); color: var(--ls-primary); padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; }
.hero-stats .stat-item { text-align: center; }
.hero-stats .stat-num { font-size: 2.2rem; font-weight: 800; color: #fff; }
.hero-stats .stat-lbl { font-size: 12px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 1px; }

.hero-layout {
    min-height: 560px;
}

.hero-device-blend-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.hero-device-blend-wrap::before {
    content: "";
    position: absolute;
    inset: 5% 6% 8% 6%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.12), rgba(255,255,255,0) 72%);
    filter: blur(12px);
    pointer-events: none;
}

.hero-device-blend-image {
    position: relative;
    width: 100%;
    max-width: 760px;
    display: block;
    object-fit: cover;
    filter: drop-shadow(0 28px 60px rgba(10,22,40,.35));
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 58%, rgba(0,0,0,.92) 72%, rgba(0,0,0,.35) 88%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 58%, rgba(0,0,0,.92) 72%, rgba(0,0,0,.35) 88%, transparent 100%);
}

@media (max-width: 991.98px) {
    .hero-layout {
        min-height: auto;
    }

    .hero-device-blend-wrap {
        min-height: 300px;
    }
}

/* ---- SECTION TYPOGRAPHY ---- */
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--ls-dark); }
.section-sub { font-size: 1.05rem; color: var(--ls-gray); max-width: 600px; margin: 0 auto; }

/* ---- REPLACE CARDS ---- */
.replace-card { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border: 1px solid var(--ls-border); border-radius: var(--ls-radius); box-shadow: var(--ls-shadow); height: 100%; width: 100%; }
.replace-card:hover { box-shadow: var(--ls-shadow-hover); transform: translateY(-2px); transition: all .2s; }
.replace-icon { font-size: 1.8rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.replace-card[class*="replace-card--"] {
    border-width: 1px;
    border-style: solid;
    color: var(--ls-dark);
    box-shadow: 0 10px 28px rgba(10, 22, 40, 0.06);
    backdrop-filter: blur(10px);
}

.replace-card[class*="replace-card--"]:hover {
    box-shadow: 0 18px 36px rgba(10, 22, 40, 0.10);
}

.replace-card[class*="replace-card--"] strong {
    color: #102132;
}

.replace-card[class*="replace-card--"] .text-muted {
    color: rgba(16, 33, 50, 0.68) !important;
}

.replace-card[class*="replace-card--"] .replace-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

.replace-card--teal {
    background: linear-gradient(135deg, rgba(13,174,157,.10), rgba(32,224,207,.04));
    border-color: rgba(13,174,157,.16);
}

.replace-card--teal .replace-icon {
    background: linear-gradient(135deg, rgba(13,174,157,.16), rgba(32,224,207,.10));
    color: #087e72;
}

.replace-card--blue {
    background: linear-gradient(135deg, rgba(21,126,240,.10), rgba(36,194,255,.04));
    border-color: rgba(21,126,240,.16);
}

.replace-card--blue .replace-icon {
    background: linear-gradient(135deg, rgba(21,126,240,.16), rgba(36,194,255,.09));
    color: #0f62c9;
}

.replace-card--mint {
    background: linear-gradient(135deg, rgba(32,224,207,.09), rgba(13,174,157,.035));
    border-color: rgba(32,224,207,.15);
}

.replace-card--mint .replace-icon {
    background: linear-gradient(135deg, rgba(32,224,207,.15), rgba(13,174,157,.08));
    color: #0b8b7e;
}

.replace-card--orange {
    background: linear-gradient(135deg, rgba(255,116,18,.10), rgba(255,163,18,.045));
    border-color: rgba(255,116,18,.16);
}

.replace-card--orange .replace-icon {
    background: linear-gradient(135deg, rgba(255,116,18,.16), rgba(255,163,18,.10));
    color: #d85d00;
}

.replace-card--gold {
    background: linear-gradient(135deg, rgba(255,211,58,.12), rgba(255,163,18,.05));
    border-color: rgba(255,163,18,.16);
}

.replace-card--gold .replace-icon {
    background: linear-gradient(135deg, rgba(255,211,58,.20), rgba(255,163,18,.10));
    color: #b36d00;
}

.replace-card--purple {
    background: linear-gradient(135deg, rgba(139,70,199,.10), rgba(200,109,230,.045));
    border-color: rgba(139,70,199,.16);
}

.replace-card--purple .replace-icon {
    background: linear-gradient(135deg, rgba(139,70,199,.16), rgba(200,109,230,.10));
    color: #7a35b6;
}

.replace-card--rose {
    background: linear-gradient(135deg, rgba(240,58,52,.08), rgba(200,109,230,.04));
    border-color: rgba(240,58,52,.14);
}

.replace-card--rose .replace-icon {
    background: linear-gradient(135deg, rgba(240,58,52,.12), rgba(200,109,230,.08));
    color: #d33530;
}

.replace-card--violet {
    background: linear-gradient(135deg, rgba(200,109,230,.10), rgba(36,194,255,.04));
    border-color: rgba(200,109,230,.15);
}

.replace-card--violet .replace-icon {
    background: linear-gradient(135deg, rgba(200,109,230,.16), rgba(36,194,255,.08));
    color: #9347ba;
}

/* ---- SOLUTION CARDS (HOME) ---- */
.solution-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.solution-card { padding: 24px; background: #fff; border: 1px solid var(--solution-accent-border, var(--ls-border)); border-radius: var(--ls-radius); box-shadow: var(--ls-shadow); height: 100%; transition: all .2s; }
.solution-card:hover { box-shadow: var(--ls-shadow-hover); transform: translateY(-3px); border-color: var(--solution-accent, var(--ls-primary)); }
.solution-card h5 { font-weight: 700; color: var(--ls-dark); margin: 12px 0 8px; }
.solution-card p { font-size: 14px; color: var(--ls-gray); }
.solution-price { font-size: 14px; color: var(--ls-gray); margin-top: 12px; }
.solution-price strong { color: var(--solution-accent, var(--ls-primary)); font-size: 16px; }
.solution-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; line-height: 1; }
.solution-card-cta { border-style: dashed; }
.solution-card-cta .solution-icon { background: var(--solution-accent-soft, rgba(21,126,240,.14)) !important; color: var(--solution-accent, var(--ls-primary)); }
.solution-card-cta .solution-price { color: var(--solution-accent, var(--ls-primary)); }

/* ---- INDUSTRY BADGES ---- */
.industry-badge { background: #fff; border: 1px solid var(--ls-border); padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 500; color: var(--ls-dark); box-shadow: var(--ls-shadow); display: inline-flex; align-items: center; gap: 8px; }

/* ---- PRICE CARDS HOME ---- */
.price-card-home { background: #fff; border: 1px solid var(--ls-border); border-radius: var(--ls-radius); padding: 28px; box-shadow: var(--ls-shadow); position: relative; }
.price-card-featured { border: 2px solid var(--ls-primary); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--ls-primary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 50px; white-space: nowrap; }
.price-tier { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ls-gray); margin-bottom: 8px; }
.price-amount { font-size: 2.2rem; font-weight: 800; color: var(--ls-dark); }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--ls-gray); }
.price-features { list-style: none; padding: 0; margin: 16px 0; }
.price-features li { padding: 6px 0; font-size: 14px; color: #444; border-bottom: 1px solid #f0f0f0; }
.price-features li i { margin-right: 8px; }

/* ---- HOME ADD-ON SPOTLIGHT ---- */
.addon-highlight-card,
.addon-mobile-card {
    background: #fff;
    border: 1px solid var(--ls-border);
    border-radius: 20px;
    box-shadow: var(--ls-shadow);
}

.addon-highlight-card {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 30px;
    height: 100%;
}

.addon-highlight-card--merged {
    align-items: stretch;
    justify-content: space-between;
    gap: 28px;
}

.addon-highlight-main {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    flex: 1 1 0;
    min-width: 0;
}

.addon-highlight-aside {
    width: min(100%, 360px);
    flex: 0 0 360px;
}

.addon-highlight-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(21,126,240,.16), rgba(36,194,255,.10));
    color: var(--ls-primary);
    font-size: 2rem;
}

.addon-highlight-kicker {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--ls-primary);
    margin-bottom: 10px;
}

.addon-highlight-body h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--ls-dark);
    margin-bottom: 10px;
}

.addon-highlight-body p {
    font-size: 15px;
    color: var(--ls-gray);
    line-height: 1.75;
    margin-bottom: 18px;
}

.addon-highlight-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.addon-highlight-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
}

.addon-highlight-features li i {
    color: var(--ls-teal);
    font-size: 1rem;
    margin-top: 2px;
}

.addon-mobile-preview {
    min-height: 240px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0a1628, #157EF0 58%, #24C2FF 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.addon-mobile-screen {
    width: 126px;
    height: 216px;
    border-radius: 28px;
    border: 6px solid rgba(255,255,255,.88);
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(232,242,254,.94));
    box-shadow: 0 20px 40px rgba(10,22,40,.25);
}

.addon-mobile-screen--primary {
    transform: rotate(-8deg) translateX(16px);
}

.addon-mobile-screen--secondary {
    position: absolute;
    right: 42px;
    bottom: 26px;
    width: 108px;
    height: 186px;
    border-color: rgba(255,255,255,.78);
    background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(200,109,230,.28));
    transform: rotate(12deg);
}

.addon-mobile-price {
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ls-dark);
    text-align: center;
}

.addon-mobile-hero-image {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.addon-page-mobile-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(21,126,240,.10), rgba(36,194,255,.05));
    border: 1px solid rgba(21,126,240,.10);
}

.addon-page-mobile-image-wrap--dark {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
}

.addon-page-mobile-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

@media (max-width: 991.98px) {
    .addon-highlight-card {
        flex-direction: column;
    }

    .addon-highlight-features {
        grid-template-columns: 1fr;
    }
}

/* ---- BLOG CARDS ---- */
.blog-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.blog-card { background: #fff; border: 1px solid var(--ls-border); border-radius: var(--ls-radius); padding: 24px; box-shadow: var(--ls-shadow); height: 100%; transition: all .2s; }
.blog-card:hover { box-shadow: var(--ls-shadow-hover); transform: translateY(-3px); }
.blog-card h5 { font-size: 16px; font-weight: 700; color: var(--ls-dark); margin: 10px 0 8px; line-height: 1.4; }
.blog-card p { font-size: 14px; color: var(--ls-gray); line-height: 1.6; }
.blog-tag { display: inline-block; background: var(--ls-primary-light); color: var(--ls-primary); font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 50px; text-transform: uppercase; letter-spacing: .5px; }
.blog-meta { font-size: 12px; color: #999; margin-top: 12px; }

/* ---- CTA BAND ---- */
.ls-cta-band { background: linear-gradient(135deg, #0d1f2d, #157EF0); }

/* ---- FOOTER ---- */
.ls-footer { background: #0d1f2d; }
.footer-link { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; display: block; margin-bottom: 8px; }
.footer-link:hover { color: #fff; }
.footer-bottom-row {
    min-height: 56px;
}

.footer-bottom-selector {
    display: flex;
    align-items: center;
}

.footer-bottom-selector .ls-lang-btn {
    background: rgba(255,255,255,.05);
}

.footer-bottom-selector .ls-lang-btn:hover,
.footer-bottom-selector .ls-lang-btn[aria-expanded="true"] {
    background: rgba(255,255,255,.12);
}

/* ---- PRODUCTS PAGE ---- */
.product-domain { background: #fff; border: 1px solid var(--ls-border); border-radius: var(--ls-radius); padding: 28px; box-shadow: var(--ls-shadow); }
.domain-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.domain-icon { font-size: 2.2rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.domain-title { font-size: 1.25rem; font-weight: 800; color: var(--ls-dark); margin: 0 0 4px; }
.domain-sub { font-size: 13px; color: var(--ls-gray); margin: 0; }
.domain-link { color: var(--ls-primary); font-weight: 600; text-decoration: none; }
.domain-link:hover { text-decoration: underline; }
.module-card { background: var(--ls-light-bg); border: 1px solid var(--ls-border); border-radius: 8px; padding: 16px; height: 100%; }
.module-card h6 { font-weight: 700; color: var(--ls-dark); margin-bottom: 6px; font-size: 14px; }
.module-card p { font-size: 13px; color: var(--ls-gray); margin: 0; line-height: 1.5; }

/* ---- SOLUTIONS PAGE ---- */
.solution-detail-card { border: 1px solid var(--solution-accent-border, var(--ls-border)); border-radius: var(--ls-radius); overflow: hidden; box-shadow: var(--ls-shadow); height: 100%; }
.solution-detail-card-featured { border: 1px solid var(--ls-primary); }
.sdc-header { padding: 20px 24px; display: flex; gap: 16px; align-items: center; }
.sdc-header h4 { color: #fff; font-weight: 700; margin: 0 0 4px; font-size: 1.1rem; }
.sdc-icon { font-size: 2rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.sdc-price { color: rgba(255,255,255,0.95); font-size: 1.4rem; font-weight: 800; }
.sdc-price span { font-size: .9rem; font-weight: 400; opacity: .75; }
.sdc-body { padding: 20px 24px; background: #fff; }
.sdc-body p { font-size: 14px; color: var(--ls-gray); margin-bottom: 12px; }
.sdc-modules { list-style: none; padding: 0; margin-bottom: 12px; }
.sdc-modules li { font-size: 13px; color: #444; padding: 4px 0; border-bottom: 1px solid #f5f5f5; }
.sdc-modules li i { margin-right: 8px; }
.sdc-limits { font-size: 12px; color: var(--ls-gray); font-style: italic; }
.industry-tag { background: var(--solution-accent-soft, var(--ls-primary-light)); color: var(--solution-accent, var(--ls-primary)); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 50px; }

/* ---- INDUSTRY FIT ---- */
.industry-fit-card { background: #fff; border: 1px solid var(--ls-border); border-radius: var(--ls-radius); padding: 20px; box-shadow: var(--ls-shadow); height: 100%; }
.ifc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ifc-header h5 { font-weight: 700; color: var(--ls-dark); font-size: 15px; margin: 0; }
.fit-score-bar { background: #e9ecef; border-radius: 6px; height: 8px; margin: 8px 0; overflow: hidden; }
.fit-fill { height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--ls-blue), var(--ls-blue-light)); }
.fit-label { font-size: 13px; font-weight: 600; color: var(--ls-dark); margin-bottom: 8px; }
.ifc-note { font-size: 13px; color: var(--ls-gray); margin: 0; line-height: 1.5; }

/* ---- PRICING PAGE ---- */
.pricing-card { background: #fff; border: 1px solid var(--ls-border); border-radius: var(--ls-radius); padding: 28px; box-shadow: var(--ls-shadow); height: 100%; position: relative; display: flex; flex-direction: column; }
.pricing-card-popular { border: 2px solid var(--ls-primary); }
.pricing-card-enterprise { background: #0d1f2d; }
.pricing-card-enterprise .pricing-tier,
.pricing-card-enterprise .pricing-amount,
.pricing-card-enterprise .pricing-annual,
.pricing-card-enterprise .pricing-features li { color: rgba(255,255,255,0.85); }
.popular-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ls-primary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 18px; border-radius: 50px; white-space: nowrap; }
.pricing-tier { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ls-gray); margin-bottom: 8px; }
.pricing-amount { font-size: 2.4rem; font-weight: 800; color: var(--ls-dark); }
.pricing-amount span { font-size: 1rem; font-weight: 400; color: var(--ls-gray); }
.pricing-addon-title { font-size: 1.8rem; line-height: 1.2; }
.pricing-annual { font-size: 12px; color: #28a745; margin-bottom: 16px; font-weight: 600; }
.pricing-features { list-style: none; padding: 0; margin-bottom: 20px; }
.pricing-features li { font-size: 13px; color: #444; padding: 6px 0; border-bottom: 1px solid #f5f5f5; }
.pricing-card-action { margin-top: auto; padding-top: 8px; }
.addon-card { background: #fff; border: 1px solid var(--ls-border); border-radius: 8px; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.addon-name { font-size: 14px; font-weight: 600; color: var(--ls-dark); }
.addon-price { font-size: 14px; color: var(--ls-primary); font-weight: 700; }
.principle-card { padding: 20px; background: var(--ls-light-bg); border-radius: var(--ls-radius); border: 1px solid var(--ls-border); height: 100%; }
.principle-icon { font-size: 2rem; margin-bottom: 12px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.billing-toggle { font-size: 15px; color: rgba(255,255,255,0.85); }

.mobile-summary-card,
.mobile-process-card {
    background: #fff;
    border: 1px solid var(--ls-border);
    border-radius: 20px;
    box-shadow: var(--ls-shadow);
}

.mobile-summary-card {
    padding: 28px;
}

.mobile-summary-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ls-dark);
    margin: 12px 0 16px;
}

.mobile-summary-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(21,126,240,.10);
    color: var(--ls-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.mobile-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.mobile-summary-list li {
    position: relative;
    padding-left: 18px;
    color: #334155;
    line-height: 1.6;
}

.mobile-summary-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ls-primary), var(--ls-blue-light));
}

.mobile-level-price-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ls-dark);
    margin-top: 10px;
}

.mobile-level-copy {
    font-size: 14px;
    color: var(--ls-gray);
    line-height: 1.65;
    margin: 0 0 16px;
}

.mobile-comparison-table-wrap {
    background: #fff;
    border: 1px solid var(--ls-border);
    border-radius: 20px;
    box-shadow: var(--ls-shadow);
    overflow-x: auto;
}

.mobile-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.mobile-comparison-table thead th {
    background: linear-gradient(135deg, #0a1628, #157EF0);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 16px 18px;
    white-space: nowrap;
}

.mobile-comparison-table tbody td {
    padding: 16px 18px;
    border-top: 1px solid #edf2f7;
    color: #334155;
    font-size: 14px;
    line-height: 1.55;
    vertical-align: top;
}

.mobile-comparison-table tbody td:first-child {
    font-weight: 700;
    color: var(--ls-dark);
    width: 18%;
}

.mobile-detail-image-card {
    background: #fff;
    border: 1px solid var(--ls-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--ls-shadow);
}

.mobile-detail-image {
    width: 100%;
    display: block;
    object-fit: cover;
}

.mobile-process-card {
    padding: 32px;
}

.mobile-steps {
    display: grid;
    gap: 16px;
}

.mobile-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(21,126,240,.07), rgba(36,194,255,.04));
    border: 1px solid rgba(21,126,240,.10);
}

.mobile-step span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ls-primary), var(--ls-blue-light));
    color: #fff;
    font-weight: 800;
}

.mobile-step strong {
    display: block;
    color: var(--ls-dark);
    margin-bottom: 4px;
}

.mobile-step p {
    margin: 0;
    color: var(--ls-gray);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .mobile-process-card {
        padding: 24px;
    }
}

/* ---- BLOG PAGE ---- */
.featured-post { background: #fff; border: 1px solid var(--ls-border); border-radius: var(--ls-radius); overflow: hidden; box-shadow: var(--ls-shadow); }
.featured-post-link { text-decoration: none; color: inherit; display: block; }
.featured-post-link:hover .featured-post { box-shadow: var(--ls-shadow-hover); }
.featured-post-img { background: linear-gradient(135deg, var(--ls-primary-light), #daeeff); min-height: 220px; }
.featured-post h2 { font-size: 1.5rem; font-weight: 800; color: var(--ls-dark); margin-bottom: 12px; }
.featured-post p { color: var(--ls-gray); font-size: 15px; line-height: 1.7; }

/* ---- BLOG POST ---- */
.post-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--ls-dark); line-height: 1.2; }
.post-lead { font-size: 1.15rem; color: #444; line-height: 1.7; font-weight: 500; border-left: 4px solid var(--ls-primary); padding-left: 16px; margin-bottom: 28px; }
.post-body h2 { font-size: 1.3rem; font-weight: 700; color: var(--ls-dark); margin: 28px 0 12px; }
.post-body p, .post-body li { font-size: 15px; color: #333; line-height: 1.8; }
.post-body ul { padding-left: 20px; margin-bottom: 16px; }
.post-callout { background: var(--ls-primary-light); border-left: 4px solid var(--ls-primary); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; font-size: 14px; color: var(--ls-dark); }

/* ---- GET STARTED ---- */
.contact-card { background: #fff; border: 1px solid var(--ls-border); border-radius: var(--ls-radius); padding: 32px; box-shadow: var(--ls-shadow); }
.form-control, .form-select { border-radius: 8px; border-color: var(--ls-border); font-size: 14px; }
.form-control:focus, .form-select:focus { border-color: var(--ls-primary); box-shadow: 0 0 0 3px rgba(21,126,240,0.15); }

/* ---- VALIDATION ---- */

/* ---- LANGUAGE / COUNTRY SELECTOR ---- */
/* ════════════════════════════════════════
   COUNTRY / LANGUAGE SELECTOR
   ════════════════════════════════════════ */
.ls-lang-selector { display: inline-flex; align-items: center; }

.ls-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    padding: 5px 12px 5px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #e8f0fe;
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
}
.ls-lang-btn:hover,
.ls-lang-btn[aria-expanded="true"] {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.4);
    color: #fff;
}
.ls-lang-btn::after { display: none; }

.ls-lang-btn .globe-icon {
    font-size: 15px;
    line-height: 1;
    opacity: .8;
    flex-shrink: 0;
}
.ls-lang-btn .lang-flag { font-size: 1.1rem; line-height: 1; }
.ls-lang-btn .lang-code { letter-spacing: .5px; text-transform: uppercase; font-size: 12px; }

/* ── Panel ── */
.ls-lang-menu {
    width: 220px;
    max-height: 480px;
    border: 1px solid var(--ls-border);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    padding: 0;
    overflow: hidden;
    background: #0a1e3d;
}
.ls-lang-panel-header {
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: #0d2247;
}
.ls-lang-panel-header h6 {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,.5);
    margin: 0;
}

.ls-lang-panel-body {
    max-height: 420px;
    overflow-y: auto;
    padding: 6px 8px 10px;
    background: #0a1e3d;
}
.ls-lang-region-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: rgba(255,255,255,.35);
    padding: 10px 6px 4px;
}
.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    background: transparent;
    text-align: left;
    width: 100%;
    transition: background .12s;
}
.lang-item:hover { background: rgba(255,255,255,.08); }
.lang-item.active {
    background: linear-gradient(135deg, rgba(21,126,240,.35), rgba(36,194,255,.2));
}
.lang-item .lang-flag { font-size: 1.2rem; flex-shrink: 0; }
.lang-item .lang-info { display: flex; flex-direction: column; min-width: 0; }
.lang-item .lang-name  { font-weight: 500; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; line-height: 1.3; }
.lang-item .lang-native { font-size: 11px; color: rgba(255,255,255,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-item.active .lang-name { color: #24C2FF; }

/* Panel scrollbar */
.ls-lang-panel-body::-webkit-scrollbar { width: 4px; }
.ls-lang-panel-body::-webkit-scrollbar-track { background: transparent; }
.ls-lang-panel-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }
.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #e50000; }
.validation-message { color: #e50000; }

/* ════════════════════════════════════════
   CHAT POPUP
   ════════════════════════════════════════ */

/* FAB button */
.chat-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #157EF0, #24C2FF);
    color: #fff;
    border: none;
    box-shadow: 0 6px 24px rgba(21,126,240,.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    transition: transform .2s, box-shadow .2s;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(21,126,240,.55); }
.chat-fab--open { background: linear-gradient(135deg, #0a1628, #1a2e50); }
.chat-fab i { font-size: 1.35rem; line-height: 1; }

.chat-fab-badge {
    position: absolute;
    top: 10px; right: 10px;
    width: 10px; height: 10px;
    background: #FF7412;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.3); opacity: .7; }
}

/* Panel */
.chat-panel {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 540px;
    height: 690px;
    max-height: 690px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 72px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    z-index: 1049;
    overflow: hidden;
    transform: scale(.92) translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s cubic-bezier(.34,1.56,.64,1), opacity .18s;
}
.chat-panel--visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Header */
.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #0a1628, #157EF0);
    color: #fff;
    flex-shrink: 0;
}
.chat-header-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.chat-header-avatar i { font-size: 1rem; line-height: 1; }
.chat-header-info { flex: 1; display: flex; flex-direction: column; }
.chat-header-name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.chat-header-status { font-size: 11px; opacity: .8; display: flex; align-items: center; gap: 4px; }
.chat-status-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #0DAE9D;
    box-shadow: 0 0 0 2px rgba(13,174,157,.3);
    animation: status-blink 3s infinite;
}
@keyframes status-blink {
    0%,100% { opacity:1; } 50% { opacity:.5; }
}
.chat-header-close {
    background: transparent; border: none; color: rgba(255,255,255,.7);
    cursor: pointer; padding: 4px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
    transition: color .15s, background .15s;
}
.chat-header-close:hover { color: #fff; background: rgba(255,255,255,.12); }
.chat-header-close i { font-size: .95rem; line-height: 1; }

/* Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: #e2e6ea; border-radius: 4px; }

.chat-msg { display: flex; align-items: flex-end; gap: 8px; }
.chat-msg--user { flex-direction: row-reverse; }

.chat-msg-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, #157EF0, #24C2FF);
    color: #fff; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.chat-msg-bubble {
    max-width: 78%;
    padding: 9px 13px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.55;
    word-break: break-word;
}
.chat-msg--bot  .chat-msg-bubble { background: #f0f4f9; color: #1a2e50; border-bottom-left-radius: 4px; }
.chat-msg--user .chat-msg-bubble { background: linear-gradient(135deg, #157EF0, #24C2FF); color: #fff; border-bottom-right-radius: 4px; }

/* Typing indicator */
.chat-msg-bubble--typing {
    display: flex; align-items: center; gap: 4px;
    padding: 12px 16px;
}
.chat-msg-bubble--typing span {
    width: 7px; height: 7px; border-radius: 50%; background: #94a3b8;
    animation: typing-dot 1.2s infinite;
}
.chat-msg-bubble--typing span:nth-child(2) { animation-delay: .2s; }
.chat-msg-bubble--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing-dot {
    0%,60%,100% { transform: translateY(0); opacity:.4; }
    30%          { transform: translateY(-5px); opacity:1; }
}

/* Quick suggestions */
.chat-suggestions {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 4px 14px 10px;
}
.chat-suggestion-chip {
    background: #f0f4f9;
    border: 1px solid #dde3ec;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #1a2e50;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    white-space: nowrap;
}
.chat-suggestion-chip:hover { background: var(--ls-primary-light); border-color: var(--ls-primary); color: var(--ls-primary); }

/* Input bar */
.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #edf0f5;
    background: #fff;
    flex-shrink: 0;
}
.chat-input {
    flex: 1;
    border: 1px solid #dde3ec;
    border-radius: 22px;
    padding: 8px 14px;
    font-size: 13px;
    outline: none;
    transition: border-color .15s;
    color: #1a2e50;
    background: #f8fafc;
}
.chat-input:focus { border-color: var(--ls-primary); background: #fff; }
.chat-send-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #157EF0, #24C2FF);
    border: none; color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: opacity .15s, transform .15s;
}
.chat-send-btn:hover:not(:disabled) { transform: scale(1.08); }
.chat-send-btn:disabled { opacity: .45; cursor: default; }
.chat-send-btn i { font-size: .95rem; line-height: 1; }

/* Responsive: full-width on small screens */
@media (max-width: 480px) {
    .chat-panel { width: calc(100vw - 24px); right: 12px; bottom: 88px; }
    .chat-fab   { right: 16px; bottom: 16px; }
}

/* ════════════════════════════════════════
   NAV MEGA MENU — Solutions dropdown
   ════════════════════════════════════════ */
.nav-mega { position: static !important; }

.nav-mega-menu {
    position: absolute !important;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(760px, calc(100vw - 32px));
    padding: 0;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    background: #0d1f3c;
    box-shadow: 0 24px 64px rgba(0,0,0,.35);
    overflow: hidden;
    margin-top: 8px;
    /* Bootstrap overrides */
    inset: unset !important;
}

.nav-mega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.4);
}
.nav-mega-all {
    color: #24C2FF;
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
}
.nav-mega-all:hover { text-decoration: underline; }

.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
}

.nav-mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .14s;
    color: inherit;
}
.nav-mega-item:hover { background: rgba(255,255,255,.07); }
.nav-mega-item--featured { border: 1px solid rgba(255,215,0,.2); background: rgba(255,215,0,.04); }
.nav-mega-item--featured:hover { background: rgba(255,215,0,.09); }

.nmi-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.nmi-icon i { line-height: 1; }

.nmi-icon--teal { background: linear-gradient(135deg, rgba(13,174,157,.16), rgba(32,224,207,.10)); color: #087e72; }
.nmi-icon--blue { background: linear-gradient(135deg, rgba(21,126,240,.16), rgba(36,194,255,.09)); color: #0f62c9; }
.nmi-icon--mint { background: linear-gradient(135deg, rgba(32,224,207,.15), rgba(13,174,157,.08)); color: #0b8b7e; }
.nmi-icon--orange { background: linear-gradient(135deg, rgba(255,116,18,.16), rgba(255,163,18,.10)); color: #d85d00; }
.nmi-icon--gold { background: linear-gradient(135deg, rgba(255,211,58,.20), rgba(255,163,18,.10)); color: #b36d00; }
.nmi-icon--purple { background: linear-gradient(135deg, rgba(139,70,199,.16), rgba(200,109,230,.10)); color: #7a35b6; }
.nmi-icon--rose { background: linear-gradient(135deg, rgba(240,58,52,.12), rgba(200,109,230,.08)); color: #d33530; }
.nmi-icon--violet { background: linear-gradient(135deg, rgba(200,109,230,.16), rgba(36,194,255,.08)); color: #9347ba; }

.nmi-body { display: flex; flex-direction: column; min-width: 0; }
.nmi-body strong { font-size: 13.5px; font-weight: 700; color: #e8f0fe; line-height: 1.3; }
.nmi-body span   { font-size: 11.5px; color: rgba(255,255,255,.45); line-height: 1.35; margin-top: 2px; }

@media (max-width: 767.98px) {
    .nav-mega-menu {
        width: min(640px, calc(100vw - 24px));
    }

    .nav-mega-grid {
        grid-template-columns: 1fr;
    }
}

/* Keep the nav link arrow styling consistent */
.nav-mega .nav-link { color: rgba(255,255,255,.85) !important; }
.nav-mega .nav-link:hover,
.nav-mega .nav-link.show { color: #fff !important; }

/* On mobile collapse to full width */
@media (max-width: 991px) {
    .nav-mega-menu { width: 100%; left: 0; transform: none; position: relative !important; border-radius: 10px; margin-top: 4px; }
    .nav-mega-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   GET STARTED — AI CHAT PAGE
   ════════════════════════════════════════ */

/* Hero */
.gs-hero { background: linear-gradient(135deg, var(--ls-dark-blue) 0%, #0d2f6e 100%); color: #fff; padding: 52px 0 44px; text-align: center; }
.gs-hero-badge { display: inline-block; background: rgba(255,255,255,.15); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 20px; margin-bottom: 18px; letter-spacing: .3px; }
.gs-hero-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 12px; }
.gs-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto; }

/* Body */
.gs-body { padding: 40px 0 80px; background: #f4f7fb; min-height: 60vh; }

/* Chat panel */
.gs-chat-panel { background: #fff; border-radius: 16px; box-shadow: 0 4px 32px rgba(0,0,0,.10); display: flex; flex-direction: column; overflow: hidden; height: 640px; }

/* Messages */
.gs-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.gs-msg { display: flex; align-items: flex-end; gap: 10px; }
.gs-msg--user { flex-direction: row-reverse; }
.gs-msg-avatar { width: 34px; height: 34px; font-size: 1.05rem; font-weight: 700; flex-shrink: 0; margin-bottom: 2px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, rgba(21,126,240,.14), rgba(36,194,255,.10)); color: #157ef0; }
.gs-msg-bubble { max-width: 78%; padding: 11px 16px; border-radius: 18px; font-size: 14px; line-height: 1.55; }
.gs-msg--ai .gs-msg-bubble { background: #f0f4ff; color: var(--ls-dark); border-bottom-left-radius: 4px; }
.gs-msg--user .gs-msg-bubble { background: var(--ls-dark-blue); color: #fff; border-bottom-right-radius: 4px; }
.gs-msg-bubble p,
.gs-msg-bubble ul,
.gs-msg-bubble ol { margin: 0 0 .65rem; }
.gs-msg-bubble li + li { margin-top: .2rem; }
.gs-msg-bubble > :last-child { margin-bottom: 0; }
.gs-msg-bubble strong { font-weight: 700; }
.gs-inline-link { color: #ffa726; font-weight: 600; text-decoration: underline; }

/* Typing indicator */
.gs-typing { display: flex; align-items: center; gap: 5px; padding: 14px 18px !important; }
.gs-typing span { width: 8px; height: 8px; background: #90a4ae; border-radius: 50%; animation: gsTyping .9s infinite ease-in-out; }
.gs-typing span:nth-child(2) { animation-delay: .2s; }
.gs-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes gsTyping { 0%,60%,100% { transform: translateY(0); opacity:.5; } 30% { transform: translateY(-6px); opacity:1; } }

/* Quick suggestions */
.gs-suggestions { padding: 8px 16px 4px; display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; border-top: 1px solid #edf0f4; }
.gs-suggestion-btn { background: #eef2ff; color: var(--ls-dark-blue); border: 1px solid #c5d0f5; border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .15s; white-space: nowrap; }
.gs-suggestion-btn:hover { background: var(--ls-dark-blue); color: #fff; border-color: var(--ls-dark-blue); }

/* Input bar */
.gs-input-bar { padding: 14px 16px; border-top: 1px solid #edf0f4; display: flex; gap: 10px; flex-shrink: 0; background: #fff; }
.gs-input { flex: 1; border: 1.5px solid #d0d9ec; border-radius: 24px; padding: 10px 18px; font-size: 14px; outline: none; transition: border-color .2s; }
.gs-input:focus { border-color: var(--ls-dark-blue); }
.gs-input:disabled { background: #f8f9fa; }
.gs-send-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--ls-dark-blue); color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background .15s; }
.gs-send-btn:hover:not(:disabled) { background: #0d47a1; }
.gs-send-btn:disabled { background: #b0bec5; cursor: not-allowed; }
.gs-send-btn i { line-height: 1; }

/* Recommendation sidebar card */
.gs-recommendation-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 2px 16px rgba(0,0,0,.08); border: 2px solid #e0e7ff; }
.gs-recommendation-card--active { border-color: var(--ls-dark-blue); }
.gs-rec-label { font-size: 12px; font-weight: 700; color: var(--ls-primary); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.gs-rec-title { font-size: 1.2rem; font-weight: 800; color: var(--ls-dark); margin-bottom: 6px; }
.gs-rec-desc { font-size: 13px; color: var(--ls-gray); margin-bottom: 12px; }
.gs-rec-price { font-size: 1.5rem; font-weight: 900; color: var(--ls-dark-blue); margin-bottom: 14px; }
.gs-rec-price span { font-size: 13px; font-weight: 500; color: var(--ls-gray); }
.gs-rec-features { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.gs-rec-features li { font-size: 13px; color: #333; }
.gs-rec-features li i { margin-right: 8px; }
.gs-rec-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 180px; text-align: center; color: var(--ls-gray); }
.gs-rec-icon { font-size: 2.5rem; margin-bottom: 12px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }

/* Trust card */
.gs-trust-card { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.gs-trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #444; padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.gs-trust-item:last-child { border-bottom: none; }
.gs-trust-item i { font-size: 1.1rem; line-height: 1; }

/* Talk card */
.gs-talk-card { background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 2px 12px rgba(0,0,0,.07); text-align: center; }
.gs-talk-card p { font-size: 13px; color: var(--ls-gray); margin-bottom: 10px; }

/* Signup modal */
.gs-signup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.gs-signup-modal { background: #fff; border-radius: 16px; padding: 36px 32px; max-width: 460px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.gs-signup-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 18px; cursor: pointer; color: #888; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.gs-signup-close:hover { color: #333; }

/* ════════════════════════════════════════
   ACCOUNT PORTAL
   ════════════════════════════════════════ */

/* Shell layout */
.acct-shell {
    display: flex;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(99, 169, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f3f6fb 48%, #eef2f7 100%);
}

/* Sidebar */
.acct-sidebar {
    width: 276px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 18px 14px 14px;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(11, 18, 32, .96) 0%, rgba(15, 23, 42, .98) 48%, rgba(8, 15, 28, .99) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid rgba(255,255,255,.06);
    box-shadow: 20px 0 50px rgba(2, 6, 23, .28);
}
.acct-sidebar-brand {
    padding: 10px 12px 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.acct-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(180deg, #0a84ff 0%, #4ba8ff 100%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(10, 132, 255, .24);
}
.acct-profile-name { color: #f8fafc; font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.acct-profile-plan { color: rgba(226,232,240,.62); font-size: 12px; }
.acct-profile-copy { min-width: 0; }
.acct-profile-copy .acct-profile-name,
.acct-profile-copy .acct-profile-plan {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.acct-nav { padding: 12px 0 6px; flex: 1; }
.acct-nav-section {
    padding: 12px 14px 8px;
    color: rgba(191, 219, 254, .48);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.acct-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 6px;
    padding: 11px 14px;
    border-radius: 14px;
    color: rgba(226,232,240,.78);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: calc(100% - 12px);
    text-align: left;
}
.acct-nav-item:hover {
    background: rgba(255,255,255,.08);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, .22);
}
.acct-nav-item.active {
    background: linear-gradient(180deg, rgba(10, 132, 255, .24) 0%, rgba(37, 99, 235, .2) 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .18), 0 14px 30px rgba(2, 6, 23, .3);
}
.acct-nav-item--danger { color: #fca5a5 !important; }
.acct-nav-item--danger:hover {
    background: rgba(239, 68, 68, .14) !important;
    color: #fecaca !important;
}
.acct-nav-icon {
    width: 22px;
    min-width: 22px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-size: 1rem;
}
.acct-sidebar-footer {
    padding: 14px 0 4px;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,.08);
}

/* Topbar avatar in main nav */
.acct-nav-icon-btn { text-decoration: none; }
.acct-topbar-avatar--nav { cursor: pointer; transition: opacity .15s; }
.acct-topbar-avatar--nav:hover { opacity: .8; }

/* Content area */
.acct-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acct-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(17, 126, 240, .96) 0%, rgba(10, 110, 224, .97) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(6, 78, 160, .45);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
}
.acct-topbar-title { font-weight: 700; font-size: 16px; color: #f8fbff; flex: 1 1 0; letter-spacing: -.01em; min-width: 0; }
.acct-topbar-center { flex: 0 1 auto; display: flex; justify-content: center; min-width: 0; }
.acct-topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex: 1 1 0; min-width: 0; }
.acct-user-menu {
    position: relative;
}
.acct-user-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px 6px 6px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.acct-user-menu-trigger:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.26);
    transform: translateY(-1px);
}
.acct-user-menu-trigger:focus-visible {
    outline: 2px solid rgba(255,255,255,.75);
    outline-offset: 2px;
}
.acct-user-menu-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: 180px;
}
.acct-user-menu-copy strong,
.acct-user-menu-copy span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.acct-user-menu-copy strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.acct-user-menu-copy span {
    color: rgba(255,255,255,.78);
    font-size: 11px;
    line-height: 1.2;
}
.acct-user-menu-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.82);
    font-size: .9rem;
}
.acct-user-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 24px 48px rgba(15, 23, 42, .18);
    color: #0f172a;
    z-index: 20;
}
.acct-user-menu-panel-header {
    padding: 8px 10px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.acct-user-menu-panel-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -.01em;
}
.acct-user-menu-panel-company {
    font-size: 12px;
    color: #667085;
    margin-top: 2px;
}
.acct-user-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 10px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: left;
}
.acct-user-menu-item:hover {
    background: rgba(15, 23, 42, .05);
    color: #0f172a;
}
.acct-user-menu-item--danger {
    color: #c2410c;
}
.acct-user-menu-item--danger:hover {
    background: rgba(255, 243, 240, .9);
    color: #9a3412;
}
.acct-trial-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 159, 10, .96) 0%, rgba(245, 124, 0, .96) 100%);
    border: 1px solid rgba(255, 209, 102, .28);
    box-shadow: 0 12px 28px rgba(180, 83, 9, .24);
    max-width: 420px;
}
.acct-trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255,255,255,.2);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.acct-trial-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.acct-trial-copy strong {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}
.acct-trial-copy span {
    color: rgba(255,248,235,.9);
    font-size: 12px;
    line-height: 1.35;
}
.acct-topbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .14);
}
.acct-page-body {
    padding: 36px 34px 44px;
    flex: 1;
}

/* Section header */
.acct-section-header { margin-bottom: 28px; }
.acct-page-title { font-size: clamp(1.85rem, 2.4vw, 2.45rem); font-weight: 700; color: #101828; margin: 0 0 8px; letter-spacing: -.03em; }
.acct-page-sub { color: #667085; font-size: 14px; line-height: 1.65; margin: 0; max-width: 680px; }

/* KPI grid */
.acct-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-bottom: 10px; }
.acct-kpi {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 24px;
    padding: 22px 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.acct-kpi-label { font-size: 11px; font-weight: 700; color: #8a94a6; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.acct-kpi-value { font-size: 2rem; font-weight: 700; color: #101828; letter-spacing: -.04em; }
.acct-kpi-value span { font-size: 1rem; font-weight: 500; color: #667085; }
.acct-kpi-value--plan { font-size: 1.15rem; color: #0a84ff; }
.acct-kpi-sub { font-size: 12px; color: #667085; margin-top: 6px; line-height: 1.5; }

/* Card */
.acct-card {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 20px 46px rgba(15, 23, 42, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.acct-card--danger {
    border: 1px solid rgba(239, 68, 68, .16);
    background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,246,246,.92) 100%);
}
.acct-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; }
.acct-card-header h5 { margin: 0; font-weight: 700; font-size: 1rem; color: #101828; letter-spacing: -.02em; }
.acct-card-link { font-size: 13px; font-weight: 600; color: #0a84ff; text-decoration: none; }
.acct-card-link:hover { color: #0667c8; }
.acct-search { max-width: 220px; }
.acct-empty { text-align: center; padding: 40px; color: #667085; }

.acct-card .form-label {
    color: #344054;
    font-size: .92rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.acct-card .form-control,
.acct-card .form-select {
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(250, 252, 255, .92);
    color: #111827;
    padding: .7rem .95rem;
    box-shadow: inset 0 1px 1px rgba(255,255,255,.4);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.acct-card .form-control:focus,
.acct-card .form-select:focus {
    border-color: rgba(10, 132, 255, .35);
    background: #fff;
    box-shadow: 0 0 0 .25rem rgba(10, 132, 255, .12);
}

.acct-card .form-control[readonly] {
    background: rgba(243, 246, 251, .95);
    color: #667085;
}

.acct-card .btn,
.acct-topbar .btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.acct-card .btn-nav-orange,
.acct-card .btn-nav-blue,
.acct-card .btn-outline-primary,
.acct-card .btn-outline-danger,
.acct-card .btn-danger {
    padding: 10px 16px;
}

.acct-card .btn-nav-orange,
.acct-card .btn-nav-blue {
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}

.acct-card .btn-outline-primary,
.acct-card .btn-outline-danger {
    background: rgba(255,255,255,.7);
    border-width: 1px;
}

.acct-card .alert {
    border-radius: 16px;
    border: none;
    font-size: .92rem;
}

.acct-user-editor-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.acct-user-editor-card {
    min-height: 0;
}

.acct-user-editor-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(10, 132, 255, .08);
    color: #1d4ed8;
    font-size: 13px;
    line-height: 1.5;
}

.acct-user-editor-note i {
    font-size: 1rem;
    margin-top: 1px;
}

.acct-module-auth-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acct-module-auth-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(248,250,255,.88);
    border: 1px solid rgba(15, 23, 42, .06);
}

.acct-module-auth-copy {
    min-width: 0;
}

.acct-module-auth-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #101828;
    letter-spacing: -.01em;
}

.acct-module-auth-title i {
    color: #0a84ff;
}

.acct-module-auth-sub {
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

.acct-module-auth-select {
    max-width: 150px;
    flex: 0 0 150px;
}

/* Table */
.acct-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acct-table th { text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8a94a6; padding: 0 8px 12px; border-bottom: 1px solid rgba(15, 23, 42, .06); }
.acct-table td { padding: 14px 8px; border-bottom: 1px solid rgba(15, 23, 42, .05); vertical-align: middle; color: #344054; }
.acct-table tr:last-child td { border-bottom: none; }
.acct-inv-link { color: #0a84ff; font-weight: 600; text-decoration: none; }
.acct-inv-link:hover { color: #0667c8; }

/* Badges */
.acct-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.acct-badge--active   { background: rgba(52, 199, 89, .12); color: #157f3b; }
.acct-badge--inactive { background: rgba(255, 55, 95, .12); color: #b42318; }
.acct-badge--paid     { background: rgba(52, 199, 89, .12); color: #157f3b; }
.acct-badge--refunded { background: rgba(255, 159, 10, .14); color: #b54708; }

/* Quick actions */
.acct-quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acct-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(250,252,255,.9);
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.acct-action-btn i { font-size: 1rem; color: #0a84ff; }
.acct-action-btn:hover {
    background: #fff;
    color: #101828;
    border-color: rgba(10, 132, 255, .18);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
}

/* Plan display */
.acct-plan-name  { font-size: 1.35rem; font-weight: 700; color: #0a84ff; letter-spacing: -.03em; }
.acct-plan-price { font-size: 1.8rem; font-weight: 700; color: #101828; margin-top: 4px; letter-spacing: -.04em; }
.acct-plan-price span { font-size: 1rem; font-weight: 500; color: #667085; }
.acct-plan-features { list-style: none; padding: 0; margin: 0; font-size: 14px; display: flex; flex-direction: column; gap: 5px; color: #475467; }
.acct-renew-box { background: rgba(248,250,255,.88); border: 1px solid rgba(15, 23, 42, .06); border-radius: 18px; padding: 16px 18px; }
.acct-renew-row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px solid rgba(15, 23, 42, .05); }
.acct-renew-row:last-child { border-bottom: none; }

/* Plan tiles */
.acct-plan-tile { border: 1px solid rgba(15, 23, 42, .08); border-radius: 22px; padding: 22px; position: relative; background: rgba(255,255,255,.82); }
.acct-plan-tile--current      { border-color: rgba(10, 132, 255, .28); }
.acct-plan-tile--recommended  { border-color: rgba(10, 132, 255, .36); background: linear-gradient(180deg, rgba(249,251,255,.96) 0%, rgba(242,247,255,.96) 100%); }
.acct-plan-tile-name  { font-weight: 700; font-size: 15px; color: #101828; margin-bottom: 4px; }
.acct-plan-tile-price { font-size: 1.5rem; font-weight: 700; color: #0a84ff; margin-bottom: 12px; letter-spacing: -.03em; }
.acct-plan-tile-price span { font-size: 13px; font-weight: 500; color: #667085; }
.acct-plan-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #0a84ff; color: #fff; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.acct-plan-badge--current { background: #34c759; }

/* Add-on tile */
.acct-addon-tile { background: rgba(248,250,255,.88); border: 1px solid rgba(15, 23, 42, .06); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.acct-addon-icon { font-size: 1.6rem; }
.acct-addon-body strong { font-size: 14px; color: #101828; }
.acct-addon-body p { font-size: 12px; color: #667085; margin: 2px 0 0; }
.acct-addon-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(15, 23, 42, .05); }
.acct-addon-price { font-weight: 700; font-size: 14px; color: #0a84ff; }

/* Users */
.acct-user-cell { display: flex; align-items: center; gap: 10px; }
.acct-user-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(180deg, #0a84ff 0%, #4ba8ff 100%); color: #fff; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acct-role-select { font-size: 13px; padding: 4px 8px; border-radius: 10px; max-width: 130px; }

/* Billing payment rows */
.acct-add-card-form { background: rgba(248,250,255,.9); border: 1px dashed rgba(10, 132, 255, .25); border-radius: 20px; padding: 20px; }
.acct-payment-list { display: flex; flex-direction: column; gap: 10px; }
.acct-payment-row { display: flex; align-items: center; gap: 14px; background: rgba(248,250,255,.88); border: 1px solid rgba(15, 23, 42, .06); border-radius: 18px; padding: 14px 16px; }
.acct-payment-row--default { border-color: rgba(10, 132, 255, .25); background: rgba(240,246,255,.95); }
.acct-card-icon { font-size: 1.5rem; }
.acct-card-details { flex: 1; }
.acct-card-details strong { display: block; font-size: 14px; color: #101828; }
.acct-card-details span { font-size: 12px; color: #667085; }

/* Usage */
.acct-usage-card { background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.75); border-radius: 24px; padding: 20px; box-shadow: 0 18px 40px rgba(15, 23, 42, .07); }
.acct-usage-icon { font-size: 1.6rem; margin-bottom: 6px; }

/* ── Login page ─────────────────────────────────────────────────────────── */
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#0f1c35 0%,#1a3560 100%); padding: 24px; }
.login-card { background: #fff; border-radius: 18px; width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(0,0,0,.3); overflow: hidden; }
.login-card-header { background: linear-gradient(135deg,#0f1c35 0%,#1a3560 100%); padding: 40px 40px 28px; margin-bottom: 24px; }
.login-brand { display: block; text-align: center; margin-bottom: 24px; }
.login-logo { height: 36px; }
.login-title { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 4px; text-align: center; }
.login-sub { color: rgba(255,255,255,.78); font-size: .95rem; text-align: center; margin-bottom: 0; }
.login-card > .alert,
.login-card > .mb-3,
.login-card > .d-flex,
.login-card > .btn,
.login-card > .login-footer { margin-left: 40px; margin-right: 40px; }
.login-card > .login-footer { margin-bottom: 40px; }
.login-footer { text-align: center; margin-top: 20px; }
.acct-usage-label { font-size: 12px; font-weight: 700; color: #8a94a6; text-transform: uppercase; letter-spacing: .08em; }
.acct-usage-value { font-size: 1.4rem; font-weight: 700; color: #101828; margin: 4px 0 8px; letter-spacing: -.03em; }
.acct-usage-value span { font-size: 1rem; font-weight: 500; color: #667085; }
.acct-usage-bar { background: rgba(15, 23, 42, .08); border-radius: 999px; height: 7px; overflow: hidden; }
.acct-usage-fill { background: linear-gradient(90deg, #0a84ff 0%, #5ac8fa 100%); height: 100%; border-radius: 999px; transition: width .6s ease; }
.acct-usage-fill--warn { background: #f57c00; }
.acct-usage-pct { font-size: 12px; color: #667085; margin-top: 5px; }
.acct-trend { font-size: 12px; font-weight: 700; }
.acct-trend--up   { color: #2e7d32; }
.acct-trend--down { color: #c62828; }

/* Settings toggles */
.acct-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(15, 23, 42, .05); }
.acct-toggle-row:last-child { border-bottom: none; }

.acct-card .form-check-input {
    width: 2.7rem;
    height: 1.55rem;
    border: none;
    background-color: rgba(15, 23, 42, .14);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.acct-card .form-check-input:checked {
    background-color: #34c759;
}

@media (max-width: 991.98px) {
    .acct-shell {
        flex-direction: column;
    }

    .acct-sidebar {
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(15, 23, 42, .06);
        box-shadow: none;
    }

    .acct-topbar,
    .acct-page-body {
        padding-left: 22px;
        padding-right: 22px;
    }

    .acct-topbar {
        flex-wrap: wrap;
    }

    .acct-topbar-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .acct-topbar-center {
        width: 100%;
        order: 3;
    }

    .acct-trial-banner {
        max-width: none;
        flex: 1 1 320px;
    }

    .acct-user-menu {
        margin-left: auto;
    }
}

@media (max-width: 767.98px) {
    .acct-quick-actions {
        grid-template-columns: 1fr;
    }

    .acct-card,
    .acct-kpi {
        border-radius: 22px;
    }

    .acct-topbar {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .acct-topbar-actions {
        align-items: stretch;
    }

    .acct-topbar-center {
        order: 3;
    }

    .acct-trial-banner {
        width: 100%;
        align-items: flex-start;
    }

    .acct-user-menu {
        width: 100%;
    }

    .acct-user-menu-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .acct-user-menu-copy {
        flex: 1;
        max-width: none;
    }

    .acct-user-menu-panel {
        left: 0;
        right: 0;
        min-width: 0;
    }

    .acct-module-auth-item {
        flex-direction: column;
        align-items: stretch;
    }

    .acct-module-auth-select {
        max-width: none;
        flex-basis: auto;
    }
}

/* ════════════════════════════════════════
   SOLUTION LANDING PAGES
   ════════════════════════════════════════ */

/* Hero */
.sol-hero { color: #fff; padding: 52px 0 44px; }
.sol-hero-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.sol-back { color: rgba(255,255,255,.7); font-size: 13px; text-decoration: none; display: inline-block; margin-bottom: 14px; transition: color .15s; }
.sol-back:hover { color: #fff; }
.sol-badge { display: inline-block; background: rgba(255,255,255,.18); color: #fff; border-radius: 20px; padding: 4px 14px; font-size: 12px; font-weight: 600; letter-spacing: .5px; margin-bottom: 12px; }
.sol-badge--gold { background: linear-gradient(135deg,#FFD33A,#FF7412); color: #0d1f2d; }
.sol-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 14px; color: #fff; }
.sol-tagline { font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 520px; line-height: 1.65; margin-bottom: 20px; }
.sol-price-hero { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 22px; }
.sol-price-hero span { font-size: 1rem; font-weight: 400; opacity: .75; }
.sol-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.sol-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 220px; }
.sol-stat { background: rgba(255,255,255,.12); border-radius: 12px; padding: 14px 18px; text-align: center; }
.sol-stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1; }
.sol-stat span { font-size: 11px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .8px; margin-top: 4px; display: block; }

/* Module list */
.sol-module-list { display: flex; flex-direction: column; gap: 18px; }
.sol-module-item { display: flex; gap: 16px; align-items: flex-start; }
.sol-module-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.sol-module-item strong { display: block; font-weight: 700; font-size: 15px; color: var(--ls-dark); margin-bottom: 3px; }
.sol-module-item p { margin: 0; font-size: 13.5px; color: var(--ls-gray); line-height: 1.55; }

/* CTA card */
.sol-cta-card { background: #fff; border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,.1); padding: 28px; position: sticky; top: 90px; border-top: 4px solid var(--solution-accent, var(--ls-primary)); }
.sol-cta-card h4 { font-size: 1.2rem; font-weight: 700; color: var(--ls-dark); margin-bottom: 6px; }
.sol-cta-card p { color: var(--ls-gray); font-size: 14px; margin-bottom: 14px; }
.sol-cta-list { list-style: none; padding: 0; margin: 0; }
.sol-cta-list li { font-size: 13.5px; color: var(--ls-dark); padding: 4px 0; }

/* Persona cards */
.sol-persona-card { background: #fff; border: 1px solid var(--solution-accent-border, var(--ls-border)); border-radius: 14px; padding: 24px 20px; box-shadow: 0 4px 20px rgba(0,0,0,.07); height: 100%; }
.sol-persona-card i { font-size: 2rem; display: block; margin-bottom: 8px; color: var(--solution-accent, var(--ls-primary)); }
.sol-persona-card strong { display: block; font-size: 15px; font-weight: 700; color: var(--ls-dark); margin-bottom: 6px; }
.sol-persona-card p { font-size: 13px; color: var(--ls-gray); margin: 0; }

/* Upgrade bar */
.sol-upgrade-bar { background: linear-gradient(135deg, var(--solution-accent-dark, #0a1628), #0a1628); color: #e8f0fe; padding: 18px 0; font-size: 14px; }
.sol-upgrade-bar a { color: var(--solution-accent-light, #24C2FF); font-weight: 600; text-decoration: none; }
.sol-upgrade-bar a:hover { text-decoration: underline; }

/* Solutions index: learn more link */
.sol-card-link { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ls-primary); text-decoration: none; }
.sol-card-link:hover { text-decoration: underline; }

/* Enterprise module groups */
.ent-module-group { background: #fff; border-radius: 12px; padding: 20px 20px 20px 18px; box-shadow: 0 4px 20px rgba(0,0,0,.07); height: 100%; }
.emg-title { font-size: 15px; font-weight: 700; color: var(--ls-dark); margin-bottom: 8px; }
.ent-module-group p { font-size: 13px; color: var(--ls-gray); margin-bottom: 10px; }
.emg-link { font-size: 12.5px; font-weight: 600; color: var(--ls-primary); text-decoration: none; }
.emg-link:hover { text-decoration: underline; }

/* ---- ERROR UI ---- */
#blazor-error-ui { background: #fff3cd; border: 1px solid #ffc107; padding: 12px 16px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; display: none; text-align: center; }
#blazor-error-ui .reload { color: var(--ls-primary); font-weight: 600; margin-left: 8px; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; display: inline-flex; align-items: center; justify-content: center; }
.blazor-error-boundary { background: #b32121; padding: 1rem 1rem 1rem 3.7rem; color: white; }
.blazor-error-boundary::after { content: "An error has occurred."; }

h1:focus { outline: none; }
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #24C2FF;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* -- Partner Dashboard --------------------------------------------------- */
.partner-code {
    background: var(--ls-light, #f8f9fb);
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: .85rem;
    letter-spacing: .05em;
}

.partner-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    margin: 0;
    font-size: .9rem;
}
.partner-dl dt {
    color: var(--ls-muted, #6c757d);
    font-weight: 500;
    white-space: nowrap;
}
.partner-dl dd {
    margin: 0;
    word-break: break-word;
}

.acct-badge--danger {
    background: #fee2e2;
    color: #b91c1c;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: .78rem;
    font-weight: 600;
}

/* == Nav section labels ================================================== */
.acct-nav-section {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ls-muted, #9ca3af);
    padding: 16px 14px 4px;
    margin-top: 4px;
}

/* == Partner Marketing Materials ========================================= */
.partner-asset-grid { display: flex; flex-direction: column; gap: 10px; }
.partner-asset-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fafafa; flex-wrap: wrap; }
.partner-asset-icon { font-size: 1.6rem; flex-shrink: 0; }
.partner-asset-body { flex: 1 1 200px; }
.partner-asset-title { font-weight: 600; font-size: .92rem; }
.partner-asset-meta  { font-size: .8rem; color: #6b7280; }
.partner-asset-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* == Partner Certification =============================================== */
.cert-badge-awarded { display: flex; align-items: center; gap: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 10px 16px; }
.cert-badge-icon  { font-size: 2rem; }
.cert-badge-label { font-weight: 700; color: #15803d; }
.cert-badge-date  { font-size: .8rem; color: #6b7280; }
.cert-stat-card { text-align: center; padding: 16px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fafafa; }
.cert-stat-icon  { font-size: 1.4rem; margin-bottom: 4px; }
.cert-stat-value { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.cert-stat-label { font-size: .78rem; color: #6b7280; margin-top: 2px; }
.cert-module-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fafafa; flex-wrap: wrap; }
.cert-module-row:hover { background: #f3f4f6; }
.cert-module--done { background: #f0fdf4 !important; border-color: #bbf7d0; }
.cert-module-status { font-size: 1.2rem; flex-shrink: 0; width: 24px; text-align: center; }
.cert-module-body   { flex: 1 1 200px; }
.cert-module-title  { font-weight: 600; font-size: .9rem; }
.cert-module-meta   { font-size: .78rem; }
.cert-module-action { flex-shrink: 0; }

/* == Product Module Cards ================================================ */
.product-module-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.product-module-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--ls-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(10,22,40,.08);
    height: 100%;
}

.product-module-card__media {
    background: linear-gradient(180deg, rgba(245,248,255,.96), rgba(232,242,254,.88));
    width: min(34%, 220px);
    min-width: 220px;
    padding: 14px;
    flex-shrink: 0;
}

.product-module-card__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    border-radius: 14px;
    background: #f3f6fb;
}

.product-module-card__body {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    padding: 1.2rem 1.2rem 1.35rem;
}

.product-module-card__header {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.product-module-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.product-module-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #102132;
}

.product-module-card__description {
    margin: 0;
    color: #5f6b7a;
    line-height: 1.55;
    font-size: .95rem;
}

.product-module-card__features {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: .55rem;
    color: #25364a;
}

.product-module-card__features li {
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .product-module-card-grid {
        grid-template-columns: 1fr;
    }

    .product-module-card {
        flex-direction: column;
    }

    .product-module-card__media {
        width: 100%;
        min-width: 0;
        padding: 14px 14px 0;
    }

    .product-module-card__image {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
        border-radius: 14px 14px 0 0;
    }
}
