:root {
    --primary-bg: #0c1524;
    --primary-text: #ffffff;
    --secondary-bg: #132038;
    --secondary-text: #cbd5e1;
    --light-card-bg: #f8fafc;
    --light-card-text: #0f172a;
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    --accent-text: #0f172a;
    --border-color: #1e293b;
    --surface-elevated: #1a2942;
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-base: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-text);
    background-color: var(--primary-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(2.25rem, 4vw + 1rem, 3.25rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-base);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    a,
    p,
    span,
    li,
    input,
    textarea {
        word-break: break-word;
    }
}

/* ===== header ===== */
#header {
    overflow: hidden;
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    width: 100%
}

.header-left {
    flex: 1 1 0%;
    justify-content: flex-start
}

.header-center {
    flex: 2 1 auto
}

.header-right {
    flex: 1 1 0%;
    justify-content: flex-end
}

.header-logo {
    max-width: 48px;
    height: auto;
    object-fit: contain
}

.header-brand-name {
    color: var(--primary-text);
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    hyphens: auto
}

.header-nav-link {
    color: var(--secondary-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease
}

.header-nav-link:hover {
    color: var(--accent-color)
}

.btn-cta {
    background-color: var(--accent-color);
    color: var(--accent-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.btn-cta:hover {
    background-color: var(--accent-hover);
    color: var(--accent-text)
}

.header-hamburger {
    background-color: var(--secondary-bg);
    color: var(--primary-text);
    border-radius: 6px;
    min-width: 44px;
    min-height: 44px
}

.hamburger-icon {
    font-size: 1.5rem;
    color: var(--primary-text)
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-bg);
    z-index: 9999;
    display: none;
    overflow-y: auto
}

.mobile-menu-overlay.open {
    display: block
}

.mobile-close-btn {
    color: var(--primary-text);
    min-width: 44px;
    min-height: 44px
}

.close-icon {
    font-size: 1.75rem;
    color: var(--primary-text)
}

.mobile-nav-link {
    color: var(--primary-text);
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease
}

.mobile-nav-link:hover {
    color: var(--accent-color)
}

@media (max-width:991.98px) {
    .header-brand-name {
        font-size: 0.75rem;
        line-height: 1.2;
        max-width: 200px
    }

    .header-logo {
        max-width: 40px
    }
}

/* ===== hero ===== */
#hero {
    background-color: var(--primary-bg, #0c1524);
    overflow: hidden;
    min-height: 85vh;
    border-bottom: 1px solid var(--border-color, #1e293b);
}

.hero-badge {
    background-color: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.hero-badge-icon {
    color: var(--accent-color, #f59e0b);
    font-size: 1.15rem;
}

.hero-badge-text {
    color: var(--accent-color, #f59e0b);
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    hyphens: auto;
}

.hero-description {
    color: var(--secondary-text, #cbd5e1);
    font-size: 1.125rem;
    line-height: 1.6;
}

.hero-btn-cta {
    background-color: var(--accent-color, #f59e0b);
    color: var(--accent-text, #0f172a);
    border: 1px solid var(--accent-color, #f59e0b);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.hero-btn-cta:hover,
.hero-btn-cta:focus {
    background-color: var(--accent-hover, #d97706);
    border-color: var(--accent-hover, #d97706);
    color: var(--accent-text, #0f172a);
    transform: translateY(-2px);
}

.hero-btn-icon {
    font-size: 1.25rem;
    color: var(--accent-text, #0f172a);
}

.hero-stat-pill {
    background-color: var(--secondary-bg, #132038);
    border: 1px solid var(--border-color, #1e293b);
}

.hero-stat-icon {
    font-size: 1.75rem;
    color: var(--accent-color, #f59e0b);
}

.hero-stat-value {
    font-size: 0.95rem;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--secondary-text, #cbd5e1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image-wrapper {
    background-color: var(--secondary-bg, #132038);
    border: 1px solid var(--border-color, #1e293b);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.hero-img {
    height: 420px;
    object-fit: cover;
    display: block;
}

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(12, 21, 36, 0) 0%, rgba(12, 21, 36, 0.92) 100%);
}

.hero-verified-icon {
    color: var(--accent-color, #f59e0b);
    font-size: 1.2rem;
}

.hero-overlay-text {
    font-size: 0.85rem;
}

.hero-live-badge {
    background-color: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.725rem;
    letter-spacing: 0.03em;
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.125rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .hero-badge-text {
        font-size: 0.75rem;
    }

    .hero-btn-cta {
        width: 100%;
        font-size: 0.9rem;
    }

    .hero-stat-pill {
        width: 100%;
        justify-content: center;
    }

    .hero-img {
        height: 260px;
    }

    .hero-overlay-text {
        font-size: 0.75rem;
    }

    .hero-live-badge {
        font-size: 0.65rem;
    }
}

/* ===== stats ===== */
#stats {
    overflow: hidden;
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color)
}

.stats-badge {
    background-color: rgba(245, 158, 11, 0.12);
    color: var(--accent-color);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    border: 1px solid rgba(245, 158, 11, 0.3)
}

.stats-title {
    color: var(--primary-text);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -0.02em
}

.stats-subtitle {
    color: var(--secondary-text);
    font-size: 0.95rem;
    max-width: 680px;
    line-height: 1.5
}

.stats-card {
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease
}

.stats-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35)
}

.stats-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25)
}

.stats-icon {
    font-size: 1.75rem;
    color: var(--accent-color);
    line-height: 1
}

.stats-value {
    color: var(--primary-text);
    font-size: clamp(1.75rem, 2.5vw, 2.2rem);
    line-height: 1.2
}

.stats-label {
    color: var(--accent-color);
    font-size: 1rem;
    hyphens: auto;
    line-height: 1.2
}

.stats-desc {
    color: var(--secondary-text);
    font-size: 0.85rem;
    line-height: 1.45
}

@media (max-width:767.98px) {
    .stats-title {
        font-size: 1rem;
        line-height: 1.2
    }

    .stats-label {
        font-size: 0.875rem;
        line-height: 1.2
    }

    .stats-desc {
        font-size: 0.8rem
    }
}

/* ===== about ===== */
#about.about-section {
    background-color: #0c1524;
    color: #ffffff;
    hyphens: auto;
}

#about .text-secondary-custom {
    color: #cbd5e1;
}

#about .border-secondary-subtle-custom {
    border-color: #1e293b !important;
}

#about .about-badge {
    background-color: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

#about .letter-spacing-1 {
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

#about .feature-box {
    background-color: #132038;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

#about .feature-box:hover {
    transform: translateY(-4px);
    border-color: #f59e0b !important;
}

#about .icon-wrapper {
    background-color: rgba(245, 158, 11, 0.15);
    width: 44px;
    height: 44px;
}

#about .leadership-card {
    background-color: #132038;
    border: 1px solid #1e293b !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#about .leadership-card:hover {
    transform: translateY(-6px);
    border-color: #f59e0b !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

#about .card-img-wrapper {
    height: 280px;
    overflow: hidden;
}

#about .leadership-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

#about .leadership-card:hover .leadership-img {
    transform: scale(1.04);
}

#about .card-img-overlay-custom {
    background: linear-gradient(180deg, rgba(12, 21, 36, 0) 0%, rgba(12, 21, 36, 0.92) 100%);
}

@media (max-width: 767.98px) {
    #about h2 {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    #about h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    #about .card-img-wrapper,
    #about .leadership-img {
        height: 240px;
    }
}

/* ===== services ===== */
#services {
    overflow: hidden;
}

#services .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

#services .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767.98px) {
    #services h2 {
        font-size: 1.25rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #services h3 {
        font-size: 1rem !important;
        line-height: 1.2;
        hyphens: auto;
    }
}

/* ===== features ===== */
.features-section {
    width: 100%;
    position: relative;
}

.feature-card {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color) !important;
    box-shadow: 0 12px 24px -10px rgba(245, 158, 11, 0.2);
}

.feature-card h3 {
    hyphens: auto;
    word-break: break-word;
}

@media (max-width: 767.98px) {
    .features-section h2 {
        font-size: 1rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    .features-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    .feature-card {
        padding: 1.25rem !important;
    }
}

/* ===== how_it_works ===== */
#how-it-works .js-step-card {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#how-it-works .js-step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.5) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767.98px) {
    #how-it-works h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #how-it-works h3 {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
        hyphens: auto;
    }
}

/* ===== team ===== */
#team {
    overflow: hidden;
}

#team .accordion-button::after {
    filter: invert(1) brightness(0.8);
}

#team .accordion-button:not(.collapsed) {
    background-color: var(--accent-color) !important;
    color: var(--accent-text) !important;
}

#team .accordion-button:not(.collapsed)::after {
    filter: invert(0) brightness(0);
}

#team .accordion-button:not(.collapsed) i {
    color: var(--accent-text) !important;
}

@media (max-width: 767.98px) {
    #team h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #team h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }
}

/* ===== pricing ===== */
#pricing {
    overflow: hidden;
}

#pricing .pricing-card {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#pricing .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

#pricing .js-plan-select {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#pricing .js-plan-select:hover {
    background-color: var(--accent-hover) !important;
    color: var(--accent-text) !important;
    border-color: var(--accent-hover) !important;
}

#pricing .featured-card .js-plan-select:hover {
    background-color: var(--accent-hover) !important;
}

#pricing .js-faq-toggle {
    cursor: pointer;
}

#pricing .js-faq-icon {
    transition: transform 0.3s ease;
}

#pricing .js-faq-icon.is-active {
    transform: rotate(180deg);
}

@media (max-width: 767.98px) {
    #pricing h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #pricing h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        hyphens: auto;
    }

    #pricing .display-6 {
        font-size: 1rem !important;
    }

    #pricing .pricing-card {
        padding: 1.25rem !important;
    }
}

/* ===== faq ===== */
#faq .faq-search-wrapper {
    max-width: 580px;
    width: 100%;
}

#faq .js-faq-search::placeholder {
    color: var(--secondary-text);
    opacity: 0.8;
}

#faq .js-faq-search:focus {
    background-color: var(--secondary-bg);
    color: var(--primary-text);
    border-color: var(--accent-color);
}

#faq .faq-item {
    transition: border-color 0.25s ease, transform 0.2s ease;
}

#faq .faq-item:hover {
    border-color: var(--accent-color);
}

#faq .js-faq-trigger {
    cursor: pointer;
    user-select: none;
}

#faq .js-faq-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#faq .js-faq-icon.is-active {
    transform: rotate(180deg);
}

@media (max-width: 767.98px) {
    #faq h2 {
        font-size: 1rem;
        line-height: 1.2;
        hyphens: auto;
    }

    #faq h3 {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    #faq .faq-trigger span {
        font-size: 0.95rem;
    }
}

/* ===== consultation_form ===== */
#quote-form {
    width: 100%;
}

#quote-form .form-control {
    border-radius: 0 0.5rem 0.5rem 0;
    box-shadow: none;
}

#quote-form .input-group-text {
    border-radius: 0.5rem 0 0 0.5rem;
}

#quote-form .form-control:focus {
    outline: 1px solid var(--accent-color);
    box-shadow: none;
}

#quote-form .form-control::placeholder {
    color: #64748b;
    opacity: 1;
}

#quote-form .form-control:-ms-input-placeholder {
    color: #64748b;
}

#quote-form .form-control::-ms-input-placeholder {
    color: #64748b;
}

#quote-form .js-submit-btn:hover {
    background-color: var(--accent-hover) !important;
}

#quote-form .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

@media (max-width: 767.98px) {
    #quote-form h2 {
        font-size: 1rem !important;
        line-height: 1.2;
        hyphens: auto;
    }

    #quote-form .btn {
        font-size: 0.9rem;
    }
}

/* ===== footer ===== */
#footer {
    width: 100%;
    overflow: hidden;
}

#footer .footer-logo {
    max-width: 52px;
    width: 52px;
    height: auto;
    object-fit: contain;
}

#footer .footer-nav-link,
#footer .footer-legal-link {
    transition: color 0.25s ease-in-out;
}

#footer .footer-nav-link:hover,
#footer .footer-legal-link:hover {
    color: var(--accent-color) !important;
}

@media (max-width: 767.98px) {
    #footer .footer-brand-title {
        font-size: 0.95rem !important;
    }

    #footer .footer-heading {
        font-size: 0.875rem !important;
        hyphens: auto;
        line-height: 1.2;
    }

    #footer .footer-desc {
        font-size: 0.8125rem !important;
    }
}

/* Protection plan requests and layout refinements. */
.hero-btn-icon { color: inherit; }
.hero-btn-cta:hover, .hero-btn-cta:focus, .hero-btn-cta:active,
.hero-btn-cta:first-child:active { color: #fff; }
#services .card > div:first-child { flex: 1; }
#services .card > ul { color: var(--secondary-text); }
.legal-page-wrapper > .container { max-width: 1320px; }
.legal-page-wrapper section > .container { max-width: none; padding: 0; }
.legal-page-wrapper .legal-effective-date { color: var(--secondary-text); }
.legal-page-wrapper p, .legal-page-wrapper li { overflow-wrap: anywhere; }
.plan-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #334155; border-radius: 20px; background: var(--secondary-bg); color: var(--secondary-text); box-shadow: 0 24px 90px #0008; }
.plan-dialog::backdrop { background: #050b16cc; backdrop-filter: blur(5px); }
.plan-dialog-inner { position: relative; padding: 32px; }
.plan-dialog h2, .plan-dialog label { color: var(--primary-text); }
.plan-dialog label { font-size: .85rem; font-weight: 600; }
.plan-dialog-badge, .plan-dialog a { color: var(--accent-color); }
.plan-dialog-badge { font-size: .8rem; font-weight: 600; }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; background: transparent; border: 0; color: var(--secondary-text); border-radius: 8px; font-size: 28px; line-height: 1; }
.dialog-close:hover { background: #ffffff12; color: #fff; }
.plan-dialog .form-control { background: var(--primary-bg); border-color: #334155; color: #fff; padding: 10px 12px; }
.plan-dialog .form-control::placeholder { color: #94a3b8; }
.plan-dialog .form-control[readonly] { color: var(--accent-color); font-weight: 600; }
.plan-dialog .form-control:focus { border-color: var(--accent-color); box-shadow: 0 0 0 3px #f59e0b26; }
.plan-dialog .plan-submit { background: var(--accent-color); color: var(--accent-text); border: 0; border-radius: 10px; }
.plan-dialog .plan-submit:hover { background: var(--accent-hover); }
.plan-dialog button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.request-error { color: #fca5a5; padding-bottom: 12px; }
.thank-you-dialog { max-width: 460px; }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #f59e0b1f; color: var(--accent-color); font-size: 44px; }
body.has-plan-dialog { overflow: hidden; }
@media (max-width: 575.98px) { .plan-dialog-inner { padding: 26px 20px; } }
