@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
    --bg: #0a192f;
    --bg-soft: #112240;
    --bg-elevated: #132a4a;
    --bg-panel: rgba(17, 34, 64, 0.92);
    --bg-panel-strong: rgba(10, 25, 47, 0.98);
    --surface: #ffffff;
    --surface-muted: #eef2f8;
    --surface-tint: #132a4a;
    --surface-dark: #112240;
    --text: #ffffff;
    --text-on-surface: #0a192f;
    --text-on-surface-soft: #112240;
    --muted: #a8b2d1;
    --muted-on-surface: #5c6b8a;
    --primary: #00a859;
    --primary-dark: #008f4c;
    --primary-light: #20c76a;
    --primary-soft: rgba(0, 168, 89, 0.12);
    --primary-border: rgba(0, 168, 89, 0.35);
    --secondary: #ffc107;
    --secondary-soft: rgba(255, 193, 7, 0.15);
    --accent: #28a745;
    --border: rgba(168, 178, 209, 0.2);
    --border-strong: rgba(168, 178, 209, 0.35);
    --border-on-surface: #c8d4e8;
    --border-on-surface-soft: #dce4f0;
    --shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
    --shadow-sm: 0 10px 24px rgba(10, 25, 47, 0.12);
    --shadow-card: 0 16px 34px rgba(10, 25, 47, 0.14);
    --shadow-primary: 0 10px 24px rgba(0, 168, 89, 0.28);
    --heading: #ffffff;
    --heading-on-surface: #0a192f;
    --heading-accent: #00a859;
    --radius: 20px;
    --tawk-clearance: 5rem;
    --fab-stack-height: 4.75rem;
    --bs-primary: #00a859;
    --bs-primary-rgb: 0, 168, 89;
    --bs-link-color: var(--primary);
    --bs-link-hover-color: var(--primary-dark);
    --bs-success: #28a745;
    --bs-success-rgb: 40, 167, 69;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 96px;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    line-height: 1.68;
    background-color: var(--bg);
    background-image: radial-gradient(circle at 72% 38%, rgba(17, 34, 64, 0.95), transparent 42%),
        radial-gradient(circle at 12% 8%, rgba(0, 168, 89, 0.08), transparent 32%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.25;
    pointer-events: none;
}

main {
    position: relative;
    z-index: 1;
}

body::before {
    width: 280px;
    height: 280px;
    top: -90px;
    right: -70px;
    background: radial-gradient(circle at 35% 35%, rgba(0, 168, 89, 0.18), rgba(0, 168, 89, 0));
    animation: driftBlobA 15s ease-in-out infinite;
}

body::after {
    width: 220px;
    height: 220px;
    left: -60px;
    bottom: 8%;
    background: radial-gradient(circle at 60% 45%, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0));
    animation: driftBlobB 17s ease-in-out infinite;
}

@keyframes driftBlobA {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-22px, 18px, 0) scale(1.06);
    }
}

@keyframes driftBlobB {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(18px, -16px, 0) scale(1.08);
    }
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", sans-serif;
    color: var(--heading);
    line-height: 1.28;
}

.hero-form-card,
.form-card,
.auth-card,
.feature-card,
.service-card,
.blog-card,
.pricing-card,
.info-card,
.calc-card,
.about-card,
.legal-content,
.stat-pill,
.testimonial-card,
.startup-reg-card,
.startup-package-card,
.startup-review-card,
.service-detail-banner-box,
.service-detail-form-card,
.service-detail-form-panel,
.service-consult-card,
.service-enquiry-card,
.service-guides-card,
.service-popular-card,
.mega-panel-inner,
.client-logo-card,
.help-card,
.comparison-table,
.tax-table {
    color: var(--text-on-surface);
    background: var(--surface);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.hero-form-card :is(h1, h2, h3, h4, h5, h6),
.form-card :is(h1, h2, h3, h4, h5, h6),
.auth-card :is(h1, h2, h3, h4, h5, h6),
.feature-card :is(h1, h2, h3, h4, h5, h6),
.service-card :is(h1, h2, h3, h4, h5, h6),
.blog-card :is(h1, h2, h3, h4, h5, h6),
.pricing-card :is(h1, h2, h3, h4, h5, h6),
.info-card :is(h1, h2, h3, h4, h5, h6),
.calc-card :is(h1, h2, h3, h4, h5, h6),
.about-card :is(h1, h2, h3, h4, h5, h6),
.legal-content :is(h1, h2, h3, h4, h5, h6),
.service-detail-banner-box :is(h1, h2, h3, h4, h5, h6),
.service-consult-card :is(h1, h2, h3, h4, h5, h6),
.service-enquiry-card :is(h1, h2, h3, h4, h5, h6),
.service-guides-card :is(h1, h2, h3, h4, h5, h6),
.service-popular-card :is(h1, h2, h3, h4, h5, h6),
.help-card :is(h1, h2, h3, h4, h5, h6),
.mega-panel-inner strong {
    color: var(--heading-on-surface);
}

.hero-form-card p,
.form-card p,
.auth-card p,
.feature-card p,
.service-card p,
.blog-card p,
.pricing-card p,
.info-card p,
.calc-card p,
.legal-content p,
.legal-content li,
.service-detail-form-panel p,
.service-detail-banner-box p,
.help-card p {
    color: var(--muted-on-surface);
}

.section-space {
    padding: 5rem 0;
}

.section-space-sm {
    padding: 3rem 0;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--secondary);
}

.section-title {
    font-size: clamp(1.95rem, 3vw, 2.8rem);
    margin-bottom: 0.85rem;
}

.section-lead {
    /* max-width: 780px; */
    color: var(--muted);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 3px 12px rgba(0, 168, 89, 0.35);
}

.back-to-top {
    position: fixed;
    right: 1.2rem;
    bottom: calc(var(--fab-stack-height) + 0.65rem);
    z-index: 1080;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: var(--text);
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.navbar-custom {
    border-bottom: 1px solid rgba(168, 178, 209, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    background: rgba(10, 25, 47, 0.92);
    backdrop-filter: blur(8px);
    transition: box-shadow 0.24s ease, background-color 0.24s ease;
}

.navbar-custom.navbar-scrolled {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    background: rgba(10, 25, 47, 0.97);
}

.brand-logo {
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    position: relative;
}

/* .brand-logo::after {
    content: ".";
    color: var(--secondary);
    margin-left: 1px;
} */

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.48rem 0.9rem;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: rgba(0, 168, 89, 0.18);
    color: var(--text);
}

.logo-image {
    max-height: 72px;
    width: auto;
}

.brand-text {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--text);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
}

.mega-navbar {
    position: relative;
    z-index: 1100;
}

.mega-navbar .container {
    position: relative;
}

.mega-nav-list {
    gap: 0.15rem;
}

.mega-menu-item {
    position: static;
}

.mega-trigger {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
    font: inherit;
    white-space: nowrap;
}

.mega-trigger.is-open {
    background: rgba(0, 168, 89, 0.18);
    color: var(--text);
}

.mega-chevron {
    font-size: 0.65rem;
    transition: transform 0.22s ease;
}

.mega-trigger.is-open .mega-chevron {
    transform: rotate(180deg);
}

.mega-panel {
    display: none;
}

.mega-panel-inner {
    max-width: 1140px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border-on-surface-soft);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(10, 25, 47, 0.14);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mega-panel-scroll {
    overflow-x: hidden;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 1.25rem 1.35rem 0.5rem;
}

.mega-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mega-link-compact {
    padding: 0.5rem 0.65rem;
    align-items: center;
}

.mega-link-compact .mega-link-icon {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
}

.mega-link-compact .mega-link-body strong {
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
}

@media (min-width: 992px) {
    .mega-panel-inner {
        max-height: min(78vh, 680px);
    }

    .mega-panel-scroll {
        flex: 1 1 auto;
        min-height: 0;
        max-height: min(58vh, 520px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) var(--border-on-surface-soft);
    }

    .mega-panel-scroll::-webkit-scrollbar {
        width: 9px;
    }

    .mega-panel-scroll::-webkit-scrollbar-track {
        background: var(--surface-muted);
        border-radius: 999px;
        margin: 0.35rem 0;
    }

    .mega-panel-scroll::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
        border-radius: 999px;
        border: 2px solid var(--surface-muted);
    }

    .mega-panel-scroll::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    }

    .mega-footer {
        flex-shrink: 0;
    }
}

@media (max-width: 1199.98px) {
    .mega-grid-4,
    .mega-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .mega-grid,
    .mega-grid-2,
    .mega-grid-3,
    .mega-grid-4 {
        grid-template-columns: 1fr;
    }
}

.mega-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-on-surface);
    margin: 0 0 0.55rem 0.55rem;
}

.mega-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.mega-link:hover {
    background: var(--primary-soft);
    color: inherit;
}

.mega-link-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--surface-muted);
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1rem;
}

.mega-link-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.mega-link-body strong {
    font-size: 0.92rem;
    color: var(--text-on-surface);
    font-weight: 700;
}

.mega-link-body small {
    font-size: 0.78rem;
    color: var(--muted-on-surface);
    line-height: 1.4;
}

.mega-footer {
    border-top: 1px solid var(--border-on-surface-soft);
    padding: 0.85rem 1.35rem;
    background: var(--surface-muted);
}

.mega-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary);
    text-decoration: none;
}

.mega-footer-link:hover {
    color: var(--primary-dark);
}

.mega-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 1090;
    pointer-events: none;
}

.mega-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (min-width: 992px) {
    .mega-navbar > .container {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .mega-navbar .navbar-brand {
        flex-shrink: 0;
    }

    .mega-navbar .navbar-collapse {
        display: flex !important;
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: nowrap;
        align-items: center;
        overflow: visible;
    }

    .mega-nav-list {
        flex-wrap: nowrap;
        align-items: center;
        min-width: 0;
    }

    .mega-nav-list > .nav-item {
        align-self: center;
        flex-shrink: 0;
    }

    .mega-navbar .nav-link,
    .mega-trigger {
        padding: 0.42rem 0.72rem;
        font-size: 0.92rem;
        white-space: nowrap;
    }

    .header-auth-desktop {
        flex: 0 0 auto;
        margin-left: 0.25rem;
        position: relative;
        z-index: 1102;
    }

    .profile-trigger {
        max-width: 170px;
    }

    .profile-trigger .profile-name {
        display: inline-block;
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }

    .mega-menu-item {
        position: static;
    }

    .mega-panel {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 1101;
        padding: 0.75rem 0 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        pointer-events: none;
    }

    .mega-menu-item.is-open > .mega-panel {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mega-menu-item.is-open > .mega-trigger {
        background: rgba(0, 168, 89, 0.18);
        color: var(--text);
    }
}

.header-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(168, 178, 209, 0.25);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.header-icon-btn:hover {
    background: rgba(0, 168, 89, 0.18);
    color: var(--primary);
}

.header-cta {
    flex-shrink: 0;
}

.header-profile-dropdown {
    position: relative;
}

.header-profile-dropdown .dropdown-menu {
    z-index: 1110;
}

.profile-icon-btn.dropdown-toggle::after {
    display: none;
}

.profile-icon-btn.dropdown-toggle {
    padding-right: 0;
}

.profile-trigger.dropdown-toggle::after {
    margin-left: 0.35rem;
}

.profile-dropdown {
    min-width: 210px;
    border: 1px solid var(--border-on-surface);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(10, 25, 47, 0.14);
    padding: 0.35rem;
}

.profile-dropdown .dropdown-header {
    font-size: 0.82rem;
    color: var(--muted-on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.profile-dropdown .dropdown-item {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.profile-dropdown .dropdown-item:hover,
.profile-dropdown .dropdown-item:focus {
    background: var(--primary-soft);
    color: var(--primary);
}

.profile-dropdown form {
    margin: 0;
}

.profile-dropdown button.dropdown-item {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
}

.header-auth-mobile {
    border-color: var(--border-on-surface) !important;
}

.hero {
    padding: 2rem 0 0.5rem;
}

.hero-wrap {
    border-radius: 28px;
    border: 1px solid rgba(168, 178, 209, 0.12);
    background: linear-gradient(140deg, rgba(17, 34, 64, 0.85) 0%, rgba(10, 25, 47, 0.95) 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero-wrap::before {
    content: "";
    position: absolute;
    inset: auto -40px -130px auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 168, 89, 0.15), transparent 70%);
    pointer-events: none;
}

.hero-copy {
    padding: 2.7rem 2.7rem 1rem 2.7rem;
}

.hero-copy-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-copy-stacked .hero-text {
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    margin-bottom: 1rem;
}

.hero-text {
    color: var(--muted);
    font-size: 1.06rem;
    max-width: 600px;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.48rem 0.88rem;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--text);
    background: rgba(0, 168, 89, 0.15);
    border: 1px solid rgba(0, 168, 89, 0.35);
}

.hero-note .bi-star-fill,
.hero-note i.bi-shield-check {
    color: var(--secondary);
}

.stat-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.stat-pill {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: 13px;
    padding: 0.72rem 0.92rem;
    min-width: 156px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--text-on-surface);
}

.stat-pill strong {
    display: block;
    color: var(--heading-on-surface);
    font-size: 1.14rem;
}

.hero-form-card,
.form-card,
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.hero-form-card {
    /* margin: 1.3rem; */
    padding: 0.8rem;
    
}

.hero-form-card-stacked {
    margin: 2rem auto 0;
    max-width: 98%;
}

.about-home-shell {
    background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-panel-strong) 100%);
    border: 1px solid rgba(168, 178, 209, 0.15);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 2rem;
    color: var(--text);
}

.about-home-shell .section-title,
.about-home-shell h2,
.about-home-shell h3 {
    color: var(--heading);
}

.about-home-shell p,
.about-home-shell .about-home-points div {
    color: var(--muted);
}

.about-home-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.about-home-points div {
    border: 1px solid rgba(168, 178, 209, 0.15);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 0.85rem;
    font-size: 0.94rem;
    color: var(--muted);
}

.about-home-points strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.about-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.about-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: 14px;
    padding: 1rem;
    min-height: 100%;
    box-shadow: 0 10px 24px rgba(10, 25, 47, 0.08);
}

.about-card h3 {
    font-size: 1.06rem;
    margin-bottom: 0.4rem;
}

.about-card p {
    color: var(--muted-on-surface);
    font-size: 0.93rem;
}

.feature-card,
.service-card,
.blog-card,
.pricing-card,
.info-card,
.calc-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.4rem;
    height: 100%;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.feature-card:hover,
.service-card:hover,
.blog-card:hover,
.pricing-card:hover,
.info-card:hover,
.calc-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.icon-chip {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(0, 168, 89, 0.15) 0%, rgba(255, 193, 7, 0.12) 100%);
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

.calc-card h3,
.feature-card h3,
.service-card h3,
.blog-card h3,
.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.65rem;
}

.countup {
    letter-spacing: -0.02em;
    color: var(--heading-on-surface);
}

.result-box {
    margin-top: 1rem;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    background: rgba(0, 168, 89, 0.08);
    padding: 0.95rem 1rem;
}

.result-box p {
    margin-bottom: 0.34rem;
}

.result-box strong {
    color: var(--heading-on-surface);
}

.price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--heading-on-surface);
}

.price-tag small {
    font-size: 0.95rem;
    color: var(--muted-on-surface);
}

.pricing-card.featured {
    border: 2px solid rgba(0, 168, 89, 0.42);
    position: relative;
}

.pricing-card.featured::before {
    content: "Super Saver";
    position: absolute;
    top: -13px;
    right: 18px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    padding: 0.3rem 0.68rem;
    border-radius: 999px;
    background: var(--primary);
}

.service-plan-included-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-on-surface);
}

.service-plan-desc {
    font-size: 0.92rem;
    color: var(--muted-on-surface);
}

.service-plan-desc ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.service-plan-desc ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.service-plan-desc ul li:last-child {
    margin-bottom: 0;
}

.service-plan-desc ul li i.bi-check-circle-fill {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.service-plan-desc p:last-child {
    margin-bottom: 0;
}

.service-plan-buy-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.billing-toggle-wrap {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 12px 24px rgba(10, 25, 47, 0.09);
}

.billing-toggle {
    display: inline-flex;
    gap: 0.45rem;
    background: var(--surface-muted);
    border: 1px solid var(--border-on-surface);
    border-radius: 999px;
    padding: 0.35rem;
}

.billing-toggle button {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-on-surface-soft);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.42rem 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.billing-toggle button.active {
    background: var(--primary);
    color: var(--text);
}

.check-list {
    list-style: none;
    margin: 1rem 0 1.3rem;
    padding: 0;
}

.check-list li {
    margin-bottom: 0.45rem;
    position: relative;
    padding-left: 1.3rem;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-weight: 800;
}

.blog-cover {
    border-radius: 13px;
    min-height: 174px;
    margin-bottom: 0.95rem;
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.2) 0%, rgba(255, 193, 7, 0.15) 100%);
    position: relative;
    overflow: hidden;
}

.blog-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.15) 0%, transparent 55%);
}

.blog-pagination .pagination {
    gap: 0.35rem;
}

.blog-pagination .page-link {
    border-radius: 10px !important;
    border-color: var(--border-on-surface);
    color: var(--muted-on-surface);
    font-weight: 600;
}

.blog-pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

.blog-pagination .page-link:hover {
    background: var(--surface-muted);
    color: var(--primary);
}

.form-card,
.auth-card {
    padding: 1.6rem;
}

.form-hint {
    color: var(--muted-on-surface);
    font-size: 0.93rem;
}

.hero-form-card .h4,
.hero-form-card h2 {
    color: var(--primary);
}

.form-control,
.form-select {
    border-radius: 11px;
    border-color: var(--border-on-surface);
    padding-top: 0.64rem;
    padding-bottom: 0.64rem;
    background-color: var(--surface);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(0, 168, 89, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(0, 168, 89, 0.14);
}

.form-alert {
    margin-top: 1rem;
}

.auth-shell {
    min-height: calc(100vh - 250px);
    display: grid;
    place-items: center;
    padding: 2rem 0 4rem;
}

.page-banner {
    padding: 4.3rem 0 2.7rem;
}

.page-banner .banner-box {
    background: linear-gradient(140deg, var(--bg-panel) 0%, var(--bg-panel-strong) 100%);
    border: 1px solid rgba(168, 178, 209, 0.15);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow);
    color: var(--text);
}

.page-banner .banner-box h1,
.page-banner .banner-box h2,
.page-banner .banner-box h3,
.page-banner .banner-box .section-title {
    color: var(--heading);
}

.page-banner .banner-box p,
.page-banner .banner-box .section-lead {
    color: var(--muted);
}

.legal-content {
    max-width: 920px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: 18px;
    padding: 2rem 2.15rem;
    box-shadow: 0 12px 28px rgba(10, 25, 47, 0.06);
}

.legal-content h2 {
    font-size: 1.2rem;
    margin: 2rem 0 0.75rem;
    color: var(--heading-on-surface);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--muted-on-surface);
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 0.45rem;
}

.legal-content .legal-meta {
    font-size: 0.92rem;
    color: var(--muted-on-surface);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-on-surface-soft);
}

.legal-content .legal-contact {
    margin-top: 2rem;
    padding: 1.15rem 1.25rem;
    border-radius: 12px;
    background: var(--surface-muted);
    border: 1px solid var(--border-on-surface-soft);
}

.help-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.help-card {
    border: 1px solid var(--border-on-surface);
    border-radius: 14px;
    padding: 1.15rem;
    background: var(--surface-muted);
    height: 100%;
}

.help-card h3 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.help-card p {
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
    .legal-content {
        padding: 1.35rem 1.15rem;
    }

    .help-card-grid {
        grid-template-columns: 1fr;
    }
}

.accordion-item {
    border: 1px solid var(--border-on-surface);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    box-shadow: 0 8px 18px rgba(10, 25, 47, 0.06);
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 168, 89, 0.12);
    color: var(--primary);
}

.comparison-table,
.tax-table {
    border: 1px solid var(--border-on-surface);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(10, 25, 47, 0.1);
}

.comparison-table thead th,
.tax-table thead th {
    background: rgba(0, 168, 89, 0.12);
    color: var(--heading-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    font-family: "Space Grotesk", sans-serif;
}

.comparison-table td,
.comparison-table th,
.tax-table td,
.tax-table th {
    padding: 0.78rem;
}

.calculator-panel {
    position: relative;
}

.calculator-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.clients-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.client-logo-card {
    border: 1px solid var(--border-on-surface);
    background: var(--surface);
    border-radius: 13px;
    min-height: 74px;
    display: grid;
    place-items: center;
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-on-surface-soft);
    box-shadow: 0 10px 22px rgba(10, 25, 47, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.client-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(10, 25, 47, 0.12);
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: 16px;
    padding: 1.2rem;
    height: 100%;
    box-shadow: 0 16px 34px rgba(16, 49, 44, 0.09);
}

.review-stars {
    letter-spacing: 0.09em;
    color: var(--secondary);
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    margin-top: 0.95rem;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
    background: linear-gradient(140deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/*
.tax-pulse-section {
    padding-top: 1rem;
}

.pulse-shell {
    background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-panel-strong) 100%);
    border: 1px solid var(--border-on-surface);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 24px 52px rgba(10, 25, 47, 0.13);
}

.mini-tool-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: 14px;
    padding: 1rem;
    height: 100%;
}

.mini-tool-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
}

.mini-tool-card p {
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.deadline-tool {
    margin-top: 1rem;
    border: 1px dashed var(--border-on-surface);
    border-radius: 14px;
    padding: 1rem;
    background: var(--surface-muted);
}

.deadline-inline-form .form-control,
.deadline-inline-form .form-select {
    background: var(--surface);
}

.deadline-note {
    font-size: 0.86rem;
    color: var(--muted);
    margin-top: 0.6rem;
    margin-bottom: 0;
}
*/

.site-footer,
.modern-footer {
    background: var(--bg);
    color: rgba(255, 255, 255, 0.82);
    border-top: 1px solid rgba(168, 178, 209, 0.12);
    margin-top: 0;
}

.footer-top {
    padding: 4rem 0 2.5rem;
}

.footer-brand-text {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}

.footer-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0, 168, 89, 0.25);
    color: var(--primary);
    font-size: 1.2rem;
}

.footer-about {
    color: rgba(255, 255, 255, 0.68);
    max-width: 340px;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--text);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 0.55rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.1rem 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--text);
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.floating-actions {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(100%, 480px);
    z-index: 1080;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-on-surface);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 28px rgba(10, 25, 47, 0.12), 0 -2px 8px rgba(10, 25, 47, 0.06);
    backdrop-filter: blur(10px);
}

.float-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--text);
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 14px;
    padding: 0.72rem 0.85rem;
    min-height: 48px;
    box-shadow: none;
    transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
    animation: gentlePulse 3.1s ease-in-out infinite;
}

@keyframes gentlePulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

.float-btn:hover {
    color: var(--text);
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 8px 18px rgba(10, 25, 47, 0.22);
}

.float-btn i {
    font-size: 1.05rem;
}

.call-btn {
    background: var(--primary);
}

.whatsapp-btn {
    background: var(--primary);
}

.reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(4px);
    transition: opacity 0.65s ease, transform 0.65s ease, filter 0.65s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-padding-y: 0.58rem;
    --bs-btn-padding-x: 1.05rem;
    --bs-btn-font-weight: 700;
}

.btn-outline-primary {
    --bs-btn-color: var(--text);
    --bs-btn-border-color: rgba(255, 255, 255, 0.45);
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.1);
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.65);
    --bs-btn-hover-color: var(--text);
    --bs-btn-font-weight: 700;
}

.hero-form-card .btn-outline-primary,
.form-card .btn-outline-primary,
.auth-card .btn-outline-primary,
.about-home-shell .btn-outline-primary,
.page-banner .btn-outline-primary,
.feature-card .btn-outline-primary,
.service-card .btn-outline-primary,
.pricing-card .btn-outline-primary,
.legal-content .btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: rgba(0, 168, 89, 0.45);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-hover-color: var(--text);
}

.navbar-custom .btn-outline-primary {
    --bs-btn-color: var(--text);
    --bs-btn-border-color: rgba(255, 255, 255, 0.45);
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.65);
    --bs-btn-hover-color: var(--text);
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25);
}

.navbar-custom .navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 1199.98px) {
    .hero-copy {
        padding: 2.2rem;
    }

    .section-space {
        padding: 5rem 0;
    }
}

@media (max-width: 991.98px) {
    .section-space {
        padding: 4.4rem 0;
    }

    .section-space-sm {
        padding: 3.5rem 0;
    }

    .hero {
        padding-top: 3.95rem;
    }

    .hero-copy {
        padding: 1.95rem;
    }

    .hero-form-card {
        margin: 1rem;
    }

    .about-home-shell {
        padding: 1.5rem;
    }

    .about-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clients-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .navbar-collapse {
        margin-top: 0.9rem;
        border: 1px solid rgba(168, 178, 209, 0.2);
        border-radius: 14px;
        background: rgba(17, 34, 64, 0.98);
        padding: 0.9rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-collapse .nav-item {
        width: 100%;
    }

    .navbar-collapse .btn {
        width: 100%;
        margin-top: 0.35rem;
    }

    .navbar-collapse .nav-item.ms-lg-2 {
        margin-left: 0 !important;
    }

    .mega-menu-item {
        position: relative;
        width: 100%;
    }

    .mega-panel {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        padding: 0;
    }

    .mega-menu-item.is-open > .mega-panel {
        display: block;
    }

    .mega-panel-inner {
        border-radius: 12px;
        margin-top: 0.35rem;
        box-shadow: none;
    }

    .mega-grid,
    .mega-grid-2,
    .mega-grid-3,
    .mega-grid-4 {
        grid-template-columns: 1fr;
        padding: 0.75rem;
    }

    .mega-panel-inner {
        max-height: none;
    }

    .mega-panel-scroll {
        max-height: none;
        overflow: visible;
    }

    .mega-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .mega-backdrop {
        display: none;
    }

    /*
    .pulse-shell {
        padding: 1.5rem;
    }
    */

    .floating-actions {
        width: 100%;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --fab-stack-height: 4.5rem;
    }

    body::before,
    body::after {
        display: none;
    }

    .hero-copy {
        padding: 1.45rem;
    }

    .hero-form-card {
        margin: 0.75rem;
        padding: 1.15rem;
    }

    .about-home-shell {
        padding: 1.2rem;
        border-radius: 18px;
    }

    .about-home-points,
    .about-home-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-banner .banner-box,
    .feature-card,
    .service-card,
    .blog-card,
    .pricing-card,
    .info-card,
    .calc-card,
    .pulse-shell {
        border-radius: 16px;
    }

    .float-btn {
        font-size: 0.82rem;
        padding: 0.65rem 0.5rem;
        min-height: 44px;
    }

    .back-to-top {
        right: 0.75rem;
        bottom: calc(var(--fab-stack-height) + 0.5rem + env(safe-area-inset-bottom, 0px));
    }

    .comparison-table,
    .tax-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-pill {
        min-width: 134px;
    }

    .billing-toggle {
        display: flex;
        width: 100%;
    }

    .billing-toggle button {
        width: 50%;
    }

    .price-tag {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero .btn-lg {
        width: 100%;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .client-logo-card {
        min-height: 66px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ── Startup landing page ── */

.startup-accent {
    color: var(--primary);
}

.startup-hero {
    padding: 3.5rem 0 2rem;
}

.startup-hero-head {
    max-width: 820px;
    margin: 0 auto 2.5rem;
}

.startup-hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    margin-bottom: 0.85rem;
    line-height: 1.22;
}

.startup-hero-lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 1.5rem;
}

.startup-search {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
}

.startup-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1.05rem;
    pointer-events: none;
}

.startup-search .form-control {
    padding-left: 2.75rem;
    border-radius: 999px;
    min-height: 52px;
    box-shadow: 0 8px 24px rgba(10, 25, 47, 0.08);
}

.startup-reg-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.startup-reg-visual {
    height: 100%;
    min-height: 320px;
    padding: 2rem 1.75rem;
    background: linear-gradient(155deg, var(--bg-panel) 0%, var(--bg-panel-strong) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: var(--text);
}

.startup-reg-visual h2 {
    color: var(--heading);
}

.startup-reg-visual p,
.startup-visual-list li {
    color: var(--muted);
}

.startup-reg-visual::after {
    content: "";
    position: absolute;
    inset: auto -30px -60px auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 89, 0.14), transparent 70%);
    pointer-events: none;
}

.startup-advisor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: 14px;
    padding: 0.65rem 0.9rem;
    box-shadow: 0 8px 20px rgba(10, 25, 47, 0.08);
    position: relative;
    z-index: 1;
}

.startup-advisor-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
    background: linear-gradient(140deg, var(--primary) 0%, var(--primary-dark) 100%);
    flex-shrink: 0;
}

.startup-advisor-badge strong {
    display: block;
    font-size: 0.92rem;
    color: var(--heading-on-surface);
    line-height: 1.3;
}

.startup-advisor-badge small {
    color: var(--muted-on-surface);
    font-size: 0.78rem;
}

.startup-visual-content {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
}

.startup-visual-content h2 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.startup-visual-content p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.startup-visual-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.startup-visual-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.startup-visual-list i {
    color: var(--primary);
    font-size: 1rem;
}

.startup-reg-form {
    padding: 2rem 2rem 1.5rem;
}

.startup-phone-prefix {
    background: var(--surface-muted);
    border-color: var(--border-on-surface);
    font-weight: 700;
    color: var(--text-on-surface-soft);
    font-size: 0.9rem;
}

.startup-continue-btn {
    min-height: 48px;
    font-size: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 0;
    box-shadow: 0 10px 24px rgba(0, 168, 89, 0.28);
}

.startup-continue-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 14px 28px rgba(0, 168, 89, 0.32);
}

.startup-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--border-on-surface-soft);
    background: var(--surface-muted);
}

.startup-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    border-right: 1px solid var(--border-on-surface-soft);
}

.startup-trust-item:last-child {
    border-right: 0;
}

.startup-trust-item i {
    font-size: 1.35rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.startup-trust-item strong {
    display: block;
    font-size: 1rem;
    color: var(--heading-on-surface);
    line-height: 1.25;
}

.startup-trust-item span {
    font-size: 0.78rem;
    color: var(--muted-on-surface);
}

.startup-entity-select-wrap {
    max-width: 320px;
    margin: 0 auto;
}

.startup-entity-select {
    text-align: center;
    font-weight: 600;
}

.startup-package-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem 1.5rem 1.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.startup-package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 52px rgba(10, 25, 47, 0.16);
}

.startup-package-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.startup-accent-teal {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.startup-accent-orange {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary) 100%);
}

.startup-package-featured {
    border-color: rgba(0, 168, 89, 0.35);
}

.startup-popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-on-surface);
    background: var(--secondary);
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
}

.startup-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.startup-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--border-on-surface);
    background: var(--surface);
    color: var(--text-on-surface-soft);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.startup-tag:hover {
    background: rgba(0, 168, 89, 0.1);
    border-color: rgba(0, 168, 89, 0.35);
    color: var(--primary-dark);
}

.startup-reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.startup-reviews-nav {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.startup-review-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-on-surface);
    background: var(--surface);
    color: var(--text-on-surface-soft);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.startup-review-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text);
}

.startup-reviews-track-wrap {
    overflow: hidden;
    margin: 0 -0.5rem;
    padding: 0.25rem 0.5rem;
}

.startup-reviews-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.startup-reviews-track::-webkit-scrollbar {
    display: none;
}

.startup-review-card {
    flex: 0 0 min(100%, 320px);
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(16, 49, 44, 0.08);
    min-height: 200px;
}

.startup-popular-shell {
    background: rgba(17, 34, 64, 0.75);
    border: 1px solid rgba(168, 178, 209, 0.15);
    border-radius: 20px;
    padding: 1.75rem;
}

.startup-popular-shell .section-title,
.startup-popular-shell h2,
.startup-popular-shell h3 {
    color: var(--heading);
}

.startup-popular-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.startup-popular-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--border-on-surface);
    background: var(--surface);
    color: var(--text-on-surface-soft);
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.startup-popular-pill:hover {
    background: var(--primary-soft);
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

.startup-popular-pill.is-hidden {
    display: none;
}

@media (min-width: 768px) {
    .startup-review-card {
        flex-basis: calc(33.333% - 0.67rem);
    }
}

@media (min-width: 992px) {
    .startup-hero {
        padding-top: 4rem;
    }

    .startup-reg-form {
        padding: 2.25rem 2.5rem 1.75rem;
    }

    .startup-review-card {
        flex-basis: calc(25% - 0.75rem);
    }
}

@media (max-width: 991.98px) {
    .startup-trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .startup-trust-item:nth-child(2) {
        border-right: 0;
    }

    .startup-trust-item:nth-child(1),
    .startup-trust-item:nth-child(2) {
        border-bottom: 1px solid var(--border-on-surface-soft);
    }
}

@media (max-width: 767.98px) {
    .startup-hero {
        padding-top: 2.5rem;
    }

    .startup-hero-head {
        margin-bottom: 1.75rem;
    }

    .startup-reg-visual {
        min-height: auto;
        padding: 1.5rem;
    }

    .startup-reg-form {
        padding: 1.5rem;
    }

    .startup-trust-strip {
        grid-template-columns: 1fr;
    }

    .startup-trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--border-on-surface-soft);
    }

    .startup-trust-item:last-child {
        border-bottom: 0;
    }

    .startup-reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .startup-review-card {
        flex-basis: min(100%, 300px);
    }

    .startup-popular-shell {
        padding: 1.25rem;
    }

    .startup-continue-btn,
    .startup-hero .btn-lg {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .startup-hero-title {
        font-size: 1.75rem;
    }

    .startup-search .form-control {
        min-height: 48px;
        font-size: 0.95rem;
    }
}

/* ── Services listing & detail pages ── */

.service-category-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 168, 89, 0.1);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.75rem;
}

.service-list-card .icon-chip {
    margin-bottom: 0.65rem;
}

.service-filter-form .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted-on-surface);
}

.service-pagination .page-link {
    border-radius: 10px !important;
    border-color: var(--border-on-surface);
    color: var(--muted-on-surface);
    font-weight: 600;
}

.service-pagination .pagination {
    gap: 0.35rem;
}

.service-pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

.service-detail-banner {
    padding: 2.5rem 0 1rem;
}

.service-detail-banner-box {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem 2.25rem;
}

.service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.85rem;
    color: var(--muted-on-surface);
    margin-bottom: 1rem;
}

.service-price-cta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.1rem;
    padding: 0.65rem 1.05rem;
    background: var(--surface);
    border: 1px solid var(--primary);
    border-radius: 10px;
    color: var(--heading-on-surface);
    font-size: 0.95rem;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-price-cta:hover {
    box-shadow: 0 10px 24px rgba(0, 168, 89, 0.16);
    transform: translateY(-1px);
    color: var(--heading-on-surface);
}

.service-price-cta i {
    color: var(--primary);
    font-size: 1.05rem;
}

.service-price-cta-text {
    font-weight: 600;
}

.service-price-cta-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

.service-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.service-breadcrumb a:hover {
    text-decoration: underline;
}

.service-detail-form-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.service-detail-form-copy {
    padding: 2rem;
    height: 100%;
    background: linear-gradient(145deg, var(--bg-panel) 0%, var(--bg-panel-strong) 100%);
    color: var(--text);
}

.service-detail-form-copy h2,
.service-detail-form-copy h3 {
    color: var(--heading);
}

.service-detail-form-desc {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.service-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.service-benefit-list i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.service-trust-item:last-child {
    border-right: 0;
}

.service-trust-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-detail-form-panel {
    padding: 2rem;
    border-left: 1px solid var(--border-on-surface-soft);
    height: 100%;
    background: var(--surface);
    color: var(--text-on-surface);
}

.service-phone-prefix {
    background: var(--surface-muted);
    border-color: var(--border-on-surface);
    font-weight: 600;
    color: var(--text-on-surface-soft);
}

.btn-service-continue {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--text);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-primary);
}

.btn-service-continue:hover {
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 89, 0.25);
}

.service-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.25rem;
    border-right: 1px solid var(--border-on-surface-soft);
    color: var(--text-on-surface);
}

.service-trust-item strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--heading-on-surface);
}

.service-trust-item span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted-on-surface);
    line-height: 1.3;
}

.service-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-consult-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.service-consult-avatars {
    display: flex;
}

.service-consult-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-soft), var(--secondary-soft));
    border: 2px solid var(--surface);
    margin-left: -10px;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
}

.service-consult-avatars .service-consult-avatar:first-child {
    margin-left: 0;
}

.service-consult-label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted-on-surface);
}

.service-consult-title {
    display: block;
    font-size: 1.15rem;
    color: var(--primary);
}

.service-consult-card p {
    flex-basis: 100%;
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted-on-surface);
}

.service-enquiry-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.35rem;
}

.service-guides-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.35rem;
}

.service-guides-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-guides-list li {
    border-bottom: 1px solid var(--border-on-surface-soft);
    padding: 0.75rem 0;
}

.service-guides-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.service-guides-list a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--muted-on-surface);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.service-guides-list a:hover {
    color: var(--primary);
}

.service-guides-list i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-faq-cta {
    background: linear-gradient(145deg, var(--bg-panel) 0%, var(--bg-panel-strong) 100%);
    border: 1px solid rgba(168, 178, 209, 0.15);
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow);
    color: var(--text);
}

.service-faq-cta h2,
.service-faq-cta h3 {
    color: var(--heading);
}

.service-faq-cta p {
    color: var(--muted);
}

.service-popular-card {
    background: var(--surface);
    border: 1px solid var(--border-on-surface);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-sm);
}

.service-popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.service-popular-tag {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--border-on-surface);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-on-surface-soft);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.service-popular-tag:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.service-rich-content {
    color: var(--text-on-surface);
}

.service-rich-content :is(p, li, td, th, span, div, blockquote) {
    color: var(--muted-on-surface);
}

.service-rich-content :is(h1, h2, h3, h4, h5, h6) {
    color: var(--heading-on-surface) !important;
}

.service-rich-content a {
    color: var(--primary);
}

.service-rich-content strong,
.service-rich-content b {
    color: var(--heading-on-surface);
}

.service-detail-banner-box .section-lead,
.service-detail-banner-box p {
    color: var(--muted-on-surface);
}

.service-consult-card p,
.service-enquiry-card p,
.service-guides-card p {
    color: var(--muted-on-surface);
}

.service-rich-content h1,
.service-rich-content h2,
.service-rich-content h3,
.service-rich-content h4,
.service-rich-content h5,
.service-rich-content h6 {
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.service-rich-content h1 { font-size: 1.85rem; }
.service-rich-content h2 { font-size: 1.55rem; }
.service-rich-content h3 { font-size: 1.3rem; }

.service-rich-content p,
.service-rich-content ul,
.service-rich-content ol {
    margin-bottom: 1rem;
}

.service-rich-content ul,
.service-rich-content ol {
    padding-left: 1.35rem;
}

.service-rich-content li {
    margin-bottom: 0.35rem;
}

.service-rich-content img,
.service-rich-content video,
.service-rich-content iframe {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}

.service-rich-content table {
    width: 100%;
    margin: 1.25rem 0;
    border-collapse: collapse;
    font-size: 0.95rem;
    display: block;
    overflow-x: auto;
}

.service-rich-content table th,
.service-rich-content table td {
    border: 1px solid var(--border-on-surface);
    padding: 0.65rem 0.85rem;
    text-align: left;
}

.service-rich-content table th {
    background: var(--surface-tint);
    font-weight: 700;
}

.service-rich-content a {
    color: var(--primary);
    text-decoration: underline;
}

.service-rich-content blockquote {
    border-left: 4px solid var(--primary);
    margin: 1.25rem 0;
    padding: 0.75rem 1rem;
    background: var(--surface-tint);
    border-radius: 0 12px 12px 0;
}

@media (max-width: 991.98px) {
    .service-detail-form-panel {
        border-left: 0;
        border-top: 1px solid var(--border-on-surface-soft);
    }

    .service-trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-trust-item:nth-child(2) {
        border-right: 0;
    }

    .service-trust-item:nth-child(1),
    .service-trust-item:nth-child(2) {
        border-bottom: 1px solid var(--border-on-surface-soft);
    }
}

@media (max-width: 575.98px) {
    .service-detail-banner-box,
    .service-detail-form-copy,
    .service-detail-form-panel,
    .service-faq-cta {
        padding: 1.35rem;
    }

    .service-trust-bar {
        grid-template-columns: 1fr;
    }

    .service-trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--border-on-surface-soft);
    }

    .service-trust-item:last-child {
        border-bottom: 0;
    }
}

/* ── Global theme tokens (Bootstrap + shared UI) ── */

.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--accent) !important;
}

.text-muted {
    color: var(--muted) !important;
}

:is(
    .hero-form-card,
    .form-card,
    .auth-card,
    .feature-card,
    .service-card,
    .blog-card,
    .pricing-card,
    .info-card,
    .calc-card,
    .about-card,
    .legal-content,
    .service-detail-banner-box,
    .service-detail-form-panel,
    .service-consult-card,
    .service-enquiry-card,
    .service-guides-card,
    .service-popular-card,
    .mega-panel-inner,
    .client-logo-card,
    .help-card,
    .comparison-table,
    .tax-table,
    .billing-toggle-wrap,
    .service-trust-bar,
    .accordion-item,
    .startup-reg-card,
    .startup-package-card,
    .startup-review-card,
    .startup-advisor-badge,
    .profile-dropdown
) .text-muted {
    color: var(--muted-on-surface) !important;
}

.navbar-custom .text-muted,
.about-home-shell .text-muted,
.page-banner .text-muted,
.service-detail-form-copy .text-muted,
.service-faq-cta .text-muted,
.startup-reg-visual .text-muted,
.hero-wrap .text-muted {
    color: var(--muted) !important;
}

.bg-light {
    background-color: var(--surface-muted) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.form-label {
    color: var(--text-on-surface-soft);
    font-weight: 600;
}

.form-control,
.form-select {
    border-color: var(--border-on-surface);
    background-color: var(--surface);
    color: var(--text-on-surface);
}

.form-control::placeholder {
    color: var(--muted-on-surface);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 168, 89, 0.18);
}

.countup,
.price-tag {
    color: var(--heading-on-surface);
}

.price-tag small {
    color: var(--muted-on-surface);
}

.mega-link:hover {
    background: var(--primary-soft);
}

.mega-link-icon {
    background: var(--primary-soft);
    color: var(--primary);
}

.mega-col-title {
    color: var(--muted-on-surface);
}

.mega-footer {
    background: var(--surface-muted);
    border-top: 1px solid var(--border-on-surface-soft);
}

.mega-footer-link {
    color: var(--primary);
}

.mega-footer-link:hover {
    color: var(--primary-dark);
}

.profile-dropdown {
    border-color: var(--border-on-surface);
}

.profile-dropdown .dropdown-header {
    color: var(--muted-on-surface);
}

.profile-dropdown .dropdown-item:hover,
.profile-dropdown .dropdown-item:focus {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.header-auth-mobile {
    border-color: var(--border) !important;
}

.about-card {
    background: var(--surface);
    border-color: var(--border-on-surface);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover,
.service-card:hover,
.blog-card:hover,
.pricing-card:hover,
.info-card:hover,
.calc-card:hover,
.startup-package-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.billing-toggle {
    background: var(--surface-muted);
    border-color: var(--border-on-surface);
}

.billing-toggle button {
    color: var(--text-on-surface-soft);
}

.check-list li::before {
    color: var(--primary);
}

.blog-pagination .page-link,
.service-pagination .page-link {
    border-color: var(--border-on-surface);
    color: var(--muted-on-surface);
}

.blog-pagination .page-link:hover,
.service-pagination .page-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary-border);
}

.accordion-item {
    border-color: var(--border-on-surface);
    background: var(--surface);
}

.accordion-button {
    background: var(--surface);
    color: var(--heading-on-surface);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-soft);
    color: var(--primary-dark);
    box-shadow: inset 0 -1px 0 var(--border-on-surface-soft);
}

.client-logo-card {
    border-color: var(--border-on-surface);
    background: var(--surface);
    color: var(--text-on-surface-soft);
    box-shadow: var(--shadow-sm);
}

.testimonial-card,
.startup-review-card {
    background: var(--surface);
    border-color: var(--border-on-surface);
}

.review-stars {
    color: var(--secondary);
}

.review-avatar {
    background: linear-gradient(140deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.startup-trust-strip {
    background: var(--surface-muted);
    border-top-color: var(--border-on-surface);
}

.startup-trust-item {
    border-color: var(--border-on-surface-soft);
}

.startup-trust-item i {
    color: var(--secondary);
}

.startup-trust-item strong {
    color: var(--heading-on-surface);
}

.startup-tag,
.startup-popular-pill {
    border-color: var(--border-on-surface);
    background: var(--surface);
    color: var(--text-on-surface-soft);
}

.startup-tag:hover,
.startup-popular-pill:hover {
    background: var(--primary-soft);
    border-color: var(--primary-border);
    color: var(--primary-dark);
}

.startup-phone-prefix,
.service-phone-prefix {
    background: var(--surface-muted);
    border-color: var(--border-on-surface);
    color: var(--text-on-surface-soft);
}

.startup-popular-shell {
    background: var(--bg-panel);
    border-color: var(--border);
}

.service-category-badge {
    color: var(--primary);
    background: var(--primary-soft);
}

.service-price-cta {
    border-color: var(--primary);
    color: var(--heading-on-surface);
}

.service-price-cta:hover {
    color: var(--heading-on-surface);
    box-shadow: var(--shadow-primary);
}

.service-guides-card {
    border-top-color: var(--primary);
}

.service-popular-tag:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-soft);
}

/* Prevent decorative blobs/shadows bleeding through cards */
.service-popular-card,
.service-detail-form-card,
.hero-form-card,
.feature-card,
.service-card,
.info-card {
    isolation: isolate;
}

.service-popular-card,
.hero-form-card,
.feature-card,
.service-card {
    overflow: hidden;
}

.service-rich-content table th {
    background: var(--primary-soft);
    color: var(--heading-on-surface);
}

.service-rich-content blockquote {
    background: var(--surface-muted);
    border-left-color: var(--primary);
}

.legal-content .legal-contact {
    background: var(--surface-muted);
    border-color: var(--border-on-surface-soft);
}

.help-card {
    background: var(--surface-muted);
    border-color: var(--border-on-surface);
}

.floating-actions {
    background: rgba(10, 25, 47, 0.96);
    border-color: var(--border);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35), 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.float-btn:hover {
    box-shadow: var(--shadow-primary);
}

.service-plan-desc ul li i.bi-check-circle-fill {
    color: var(--accent);
}

.pricing-card.featured {
    border-color: var(--primary-border);
}

.pricing-card.featured::before {
    background: var(--primary);
}

.startup-popular-badge {
    background: var(--secondary);
    color: var(--text-on-surface);
}

.alert-success {
    background: var(--primary-soft);
    border-color: var(--primary-border);
    color: var(--primary-dark);
}

/* ── Final pass: third-party widgets + edge cases ── */

.choices {
    margin-bottom: 0;
}

.choices__inner {
    background: var(--surface);
    border-color: var(--border-on-surface);
    color: var(--text-on-surface);
    border-radius: 11px;
    min-height: auto;
    padding: 0.5rem 0.75rem;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
    background: var(--surface);
    border-color: var(--border-on-surface);
    color: var(--text-on-surface);
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.choices[data-type*="select-one"] .choices__input {
    background: var(--surface);
    color: var(--text-on-surface);
}

.service-list-card,
.blog-card,
.feature-card,
.service-card {
    color: var(--text-on-surface);
}

.service-list-card p,
.blog-card p,
.blog-card .small {
    color: var(--muted-on-surface);
}

.table {
    --bs-table-color: var(--text-on-surface);
    --bs-table-border-color: var(--border-on-surface-soft);
}

.table thead th {
    background: var(--primary-soft);
    color: var(--heading-on-surface);
}

.invalid-feedback {
    color: #dc3545;
}

.service-benefit-list li {
    color: rgba(255, 255, 255, 0.92);
}

.navbar-custom .dropdown-menu {
    background: var(--surface);
    border-color: var(--border-on-surface);
}

.navbar-custom .dropdown-item {
    color: var(--text-on-surface-soft);
}

.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.profile-dropdown .dropdown-header {
    color: var(--muted-on-surface);
}