/* ===== THEME ===== */
:root {
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
    --ad-navy: #0f172a;
    --ad-navy-light: #1e293b;
    --ad-slate: #64748b;
    --ad-slate-light: #94a3b8;
    --ad-surface: #f8fafc;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1e293b;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-wrapper > main {
    flex: 1;
}

a, .btn-link {
    color: #2563eb;
}

.btn-primary {
    --bs-btn-bg: #2563eb;
    --bs-btn-border-color: #2563eb;
    --bs-btn-hover-bg: #1d4ed8;
    --bs-btn-hover-border-color: #1d4ed8;
    --bs-btn-active-bg: #1e40af;
    --bs-btn-active-border-color: #1e40af;
    --bs-btn-disabled-bg: #2563eb;
    --bs-btn-disabled-border-color: #2563eb;
}

.bg-primary {
    background-color: #2563eb !important;
}

.text-primary {
    color: #2563eb !important;
}

.border-primary {
    border-color: #2563eb !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #60a5fa;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

/* ===== FORM VALIDATION ===== */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

/* ===== ERROR BOUNDARY ===== */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* ===== FORM COMPONENTS ===== */
.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ===== STEPPER ===== */
.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.line {
    height: 2px;
    width: 100%;
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    z-index: -1;
    background-color: #b6b6b7;
}

/* ===== COLLAPSIBLE CARDS ===== */
.collapse-toggle {
    cursor: pointer;
    user-select: none;
}

.collapse-toggle .collapse-chevron {
    transition: transform 0.3s ease;
}

.collapse-toggle[aria-expanded="true"] .collapse-chevron {
    transform: rotate(180deg);
}

/* ===== SIGNATURE FIELD ===== */
.signature-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1rem;
}

.border-dashed {
    border-style: dashed !important;
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

/* ===== NAVBAR ===== */
.navbar-site {
    background: var(--ad-navy);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-site .navbar-brand {
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(165deg, #070b14 0%, var(--ad-navy) 40%, #0c1b33 100%);
    color: #fff;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.min-vh-hero {
    min-height: 60vh;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(ellipse at 35% 50%, black 15%, transparent 65%);
    mask-image: radial-gradient(ellipse at 35% 50%, black 15%, transparent 65%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-orb--1 {
    width: 550px;
    height: 550px;
    top: -10%;
    right: 5%;
    background: rgba(37, 99, 235, 0.12);
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb--2 {
    width: 350px;
    height: 350px;
    bottom: -5%;
    left: -5%;
    background: rgba(99, 102, 241, 0.08);
    animation: orbFloat 10s ease-in-out 2s infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -20px); }
}

.hero-col {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #60a5fa;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-heading {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 30%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--ad-slate-light);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bs-primary);
    color: #fff;
    border: none;
    padding: 0.9rem 2.25rem;
    border-radius: 0.6rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.btn-hero:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.4);
}

.btn-hero i {
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(3px);
}

.hero-visual {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(40px);
}

.hero-car {
    display: block;
    width: 100%;
    max-width: 480px;
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HOW IT WORKS ===== */
.how-section {
    padding: 6rem 0;
    background: var(--ad-surface);
    position: relative;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.section-heading {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--ad-navy);
    letter-spacing: -0.03em;
}

.steps-row {
    position: relative;
}

.steps-line {
    display: none;
}

.step {
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
    border-color: rgba(37, 99, 235, 0.2);
}

.step-num {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--bs-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.step-icon {
    font-size: 2.25rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.step-title {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ad-navy);
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.step-text {
    color: var(--ad-slate);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== HOW-TO PAGE ===== */
.howto-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ===== HOW-TO STEPS ===== */
.howto-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--ad-border);
}

.howto-step:last-child {
    border-bottom: none;
}

.howto-step-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    font-family: 'Archivo', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
}

.howto-step-title {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ad-heading);
    margin-bottom: 0.35rem;
}

.howto-step-text {
    color: var(--ad-slate);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== FEATURES ===== */
.feat-section {
    padding: 6rem 0;
    background: #fff;
}

.feat {
    padding: 2.5rem 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-primary), #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(37, 99, 235, 0.15);
}

.feat:hover::before {
    transform: scaleX(1);
}

.feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--bs-primary);
    border-radius: 0.75rem;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feat:hover .feat-icon {
    background: var(--bs-primary);
    color: #fff;
}

.feat-title {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ad-navy);
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.feat-text {
    color: var(--ad-slate);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== CTA ===== */
.bottom-cta {
    background: linear-gradient(165deg, var(--ad-navy) 0%, #0c1b33 100%);
    padding: 6rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bottom-cta-orb {
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.bottom-cta-heading {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    position: relative;
}

.bottom-cta-desc {
    color: var(--ad-slate-light);
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    position: relative;
}

.btn-hero--light {
    background: #fff;
    color: var(--ad-navy);
}

.btn-hero--light:hover {
    background: #f1f5f9;
    color: var(--ad-navy);
    box-shadow: 0 12px 36px rgba(255, 255, 255, 0.15);
}

/* ===== SERVICE DESCRIPTION ===== */
.service-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border-top: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
}

.service-section .section-heading {
    margin-bottom: 1.5rem;
}

.service-desc {
    font-size: 1.1rem;
    color: var(--ad-slate);
    line-height: 1.8;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 4rem 0;
    background: var(--ad-surface);
}

.faq-section .accordion-item {
    border: none;
    border-bottom: 1px solid #e2e8f0;
    background: transparent;
}

.faq-section .accordion-button {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ad-navy);
    background: transparent;
    padding: 1.25rem 0;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background: transparent;
}

.faq-section .accordion-body {
    padding: 0 0 1.25rem;
    font-size: 1rem;
    color: var(--ad-slate);
    line-height: 1.7;
}

.faq-section .accordion-body a {
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-section .accordion-body a:hover {
    color: #1d4ed8;
}

/* ===== FOOTER ===== */
.footer-site {
    background: #080d19;
    color: #fff;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand {
    font-size: 1.15rem;
}

.footer-link {
    color: var(--ad-slate-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
}

/* ===== HOME PAGE RESPONSIVE ===== */
@media (min-width: 768px) {
    .steps-line {
        display: block;
        position: absolute;
        top: 58px;
        left: 20%;
        right: 20%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #cbd5e1 15%, #cbd5e1 85%, transparent);
        z-index: 0;
    }
}

@media (max-width: 991px) {
    .hero-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .min-vh-hero {
        min-height: auto;
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .hero-heading {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .bottom-cta-heading {
        font-size: 1.75rem;
    }

    .how-section,
    .feat-section,
    .bottom-cta {
        padding: 4rem 0;
    }
}

/* ==========================================================================
   CONTRACT PAGE
   ========================================================================== */

.contract-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem;
}

.contract-page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contract-page-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ad-navy);
    letter-spacing: -0.02em;
}

/* ===== SECTION CARD ===== */
.section-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #fff;
    transition: all 0.25s ease;
}

.section-card-active {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.section-card-completed {
    border-color: #bbf7d0;
}

/* ===== SECTION HEADER ===== */
.section-header {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.15s ease;
}

.section-header.collapse-toggle:hover {
    filter: brightness(0.97);
}

.section-header-disabled {
    background: #f8fafc;
    color: #94a3b8;
}

.section-header-active {
    background: #fff;
    color: var(--ad-navy);
}

.section-header-completed {
    background: #f0fdf4;
    color: #15803d;
}

/* ===== SECTION NUMBER BADGE ===== */
.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.section-header-disabled .section-number {
    background: #e2e8f0;
    color: #94a3b8;
}

.section-header-active .section-number {
    background: #2563eb;
    color: #fff;
}

.section-header-completed .section-number {
    background: #22c55e;
    color: #fff;
}

/* ===== SECTION EDIT BUTTON ===== */
.section-edit-btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.85rem;
    border-radius: 2rem;
    border: 1px solid #bbf7d0;
    background: transparent;
    color: #15803d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.section-edit-btn:hover {
    background: #dcfce7;
}

/* ===== SECTION BODY ===== */
.section-body {
    padding: 1.5rem 1.5rem 1rem;
}

.section-body .form-label {
    font-weight: 500;
    color: var(--ad-navy);
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}

.section-body .form-control,
.section-body .form-select {
    border-radius: 0.5rem;
    border-color: #cbd5e1;
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
}

.section-body .form-control:focus,
.section-body .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.section-body .alert-danger {
    border-radius: 0.65rem;
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.9rem;
}

/* ===== SECTION FOOTER ===== */
.section-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.btn-section-next {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-section-next:hover:not(:disabled) {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-section-next:disabled {
    background: #94a3b8;
    color: #fff;
    cursor: not-allowed;
}

/* ===== BUYER METHOD CARDS ===== */
.method-card {
    border: 2px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
    background: #fff;
}

.method-card:hover {
    border-color: #93c5fd;
    background: #fafbff;
}

.method-card-selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.method-card-icon {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.method-card-selected .method-card-icon {
    color: #2563eb;
}

.method-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ad-navy);
    margin-bottom: 0.5rem;
}

.method-card p {
    font-size: 0.85rem;
    color: var(--ad-slate);
    margin-bottom: 0.75rem;
}

/* ===== STATUS PAGES ===== */
.status-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 5rem 1rem;
    text-align: center;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.status-icon-success {
    color: #22c55e;
}

.status-icon-danger {
    color: #ef4444;
}

.status-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ad-navy);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.status-text {
    color: var(--ad-slate);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ===== DOWNLOAD PAGE ===== */
.download-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #fff;
    margin-bottom: 1.5rem;
}

.download-card-header {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 700;
    color: var(--ad-navy);
}

.download-card-body {
    padding: 1.5rem;
}

/* ===== DEMO PAGE ===== */
.demo-subtitle {
    color: var(--ad-slate);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

/* Force all collapse sections open in demo page */
.demo-page .collapse {
    display: block;
    height: auto !important;
}

/* Hide edit buttons in demo */
.demo-page .section-edit-btn {
    display: none;
}

/* Neutral headers instead of green in demo */
.demo-page .section-header-completed {
    background: #f8fafc;
    color: var(--ad-navy);
}

.demo-page .section-header-completed .section-number {
    background: var(--bs-primary);
    color: #fff;
}

/* Pre-select only "this device" method card in demo */
.demo-page .col-md-6:first-child .method-card {
    border-color: var(--bs-primary);
    background: #eff6ff;
}

.demo-page .col-md-6:last-child .method-card {
    border-color: #e2e8f0;
    background: #fff;
    opacity: 0.7;
}

/* intro.js tooltip styling */
.demo-tooltip {
    position: fixed !important;
    inset: auto auto 2rem 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 2rem) !important;
    max-width: 720px !important;
    margin: 0 !important;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    padding: 0;
    z-index: 10000002;
}

.demo-tooltip .introjs-arrow {
    display: none !important;
}

.demo-tooltip .introjs-tooltip-header {
    padding: 1.25rem 1.5rem 0;
    border-bottom: none;
}

.demo-tooltip .introjs-tooltip-title {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ad-navy);
}

.demo-tooltip .introjs-tooltiptext {
    color: var(--ad-slate);
    line-height: 1.7;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem 1rem;
}

.demo-tooltip .introjs-tooltipbuttons {
    border-top: 1px solid #f1f5f9;
    padding: 0.85rem 1.5rem;
}

.demo-tooltip .introjs-bullets {
    padding: 0.5rem 0 0;
}

.demo-tooltip .introjs-bullets ul li a {
    width: 8px;
    height: 8px;
}

.demo-tooltip .introjs-bullets ul li a.active {
    background: var(--bs-primary);
    width: 20px;
    border-radius: 4px;
}

.demo-tooltip .introjs-skipbutton {
    font-size: 1.25rem;
    color: var(--ad-slate);
    padding: 0.25rem 0.5rem;
}

.introjs-button {
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    text-shadow: none;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.introjs-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.introjs-nextbutton,
.introjs-donebutton {
    background: var(--bs-primary);
    color: #fff;
    border: 1px solid var(--bs-primary);
}

.introjs-nextbutton:hover,
.introjs-donebutton:hover {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.introjs-prevbutton {
    background: #fff;
    color: var(--ad-navy);
    border: 1px solid #e2e8f0;
}

.introjs-prevbutton:hover {
    background: #f8fafc;
    color: var(--ad-navy);
    border-color: #cbd5e1;
}

.introjs-helperLayer {
    border-radius: 0.85rem;
    box-shadow: 0 0 0 5000px rgba(15, 23, 42, 0.6);
}

.introjs-tooltipReferenceLayer {
    z-index: 10000001;
}

/* Mobile: full-width bottom sheet */
@media (max-width: 768px) {
    .introjs-tooltip.demo-tooltip {
        inset: auto 0 0 0 !important;
        transform: none !important;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 1rem 1rem 0 0;
        margin: 0 !important;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    }

    .introjs-tooltip.demo-tooltip .introjs-tooltipbuttons {
        padding: 0.75rem 1rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }

    .introjs-tooltip.demo-tooltip .introjs-tooltiptext {
        padding: 1rem;
        max-height: 40vh;
        overflow-y: auto;
    }

    .introjs-tooltip.demo-tooltip .introjs-tooltip-header {
        padding: 1rem 1rem 0;
    }
}

.demo-download-card {
    text-align: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 0.85rem;
    margin-top: 0.5rem;
}

.demo-download-icon {
    font-size: 3.5rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.demo-download-title {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ad-navy);
    margin-bottom: 0.75rem;
}

.demo-download-desc {
    color: var(--ad-slate);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 460px;
    margin: 0 auto 2rem;
}

.demo-start-real {
    margin-top: 1.25rem;
}


.btn-hero--outline {
    background: transparent;
    color: var(--bs-primary);
    border: 2px solid var(--bs-primary);
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.btn-hero--outline:hover {
    background: var(--bs-primary);
    color: #fff;
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.3);
}

/* ===== CONTRACT PAGE RESPONSIVE ===== */
@media (max-width: 768px) {
    .contract-page {
        padding: 1.5rem 0.75rem 3rem;
    }

    .contract-page-title {
        font-size: 1.4rem;
    }

    .section-body {
        padding: 1.25rem 1rem 0.75rem;
    }

    .section-footer {
        padding: 0.85rem 1rem;
    }

    .status-page {
        padding: 3rem 1rem;
    }
}
