/* ─── Hero ──────────────────────────────────────────────────────────── */
    .tools-hero {
        position: relative;
        padding: 8rem 2rem 5rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0 0 40px 40px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40vh;
        background: radial-gradient(ellipse at 70% 40%, rgba(0, 255, 136, 0.04) 0%, transparent 70%),
            radial-gradient(ellipse at 20% 80%, rgba(191, 90, 242, 0.03) 0%, transparent 60%),
            #0a0a0c;
    }

    /* scanline overlay */
    .tools-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(0deg,
                transparent,
                transparent 3px,
                rgba(0, 255, 136, 0.01) 3px,
                rgba(0, 255, 136, 0.01) 4px);
        pointer-events: none;
        z-index: 1;
        animation: scanlines 10s linear infinite;
    }

    @keyframes scanlines {
        from {
            background-position: 0 0;
        }

        to {
            background-position: 0 80px;
        }
    }

    .tools-hero-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .tools-eyebrow {
        font-family: var(--font-heading);
        font-size: 0.75rem;
        letter-spacing: 4px;
        text-transform: uppercase;
        color: #00ff88;
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .tools-eyebrow::before,
    .tools-eyebrow::after {
        content: '';
        display: inline-block;
        width: 20px;
        height: 1px;
        background: #00ff88;
    }

    .tools-heading {
        font-family: var(--font-heading);
        font-size: clamp(2.2rem, 5vw, 3.5rem);
        line-height: 1.1;
        text-transform: uppercase;
        color: #fff;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }

    .tools-heading em {
        font-style: normal;
        background: linear-gradient(135deg, #00ff88, #00d1ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .tools-desc {
        color: var(--text-secondary);
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 0;
    }

    /* Container styles */
    .assessment-container {
        max-width: 800px;
        margin: 3rem auto 6rem auto;
        padding: 0 2rem;
    }

    .assessment-card {
        background: rgba(255, 255, 255, 0.015);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        padding: 3rem;
        border-radius: 24px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
        position: relative;
        overflow: hidden;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .assessment-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.3), transparent);
    }

    /* Wizard steps */
    .step-indicator-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 3rem;
        position: relative;
    }

    .step-indicator-bar {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background: rgba(255, 255, 255, 0.05);
        z-index: 1;
        transform: translateY(-50%);
    }

    .step-indicator-progress {
        position: absolute;
        top: 50%;
        left: 0;
        width: 0%;
        height: 2px;
        background: linear-gradient(90deg, #00ff88, #00d1ff);
        z-index: 2;
        transform: translateY(-50%);
        transition: width 0.4s ease;
    }

    .step-dot {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #0d0d0f;
        border: 2px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-heading);
        font-size: 0.85rem;
        color: var(--text-secondary);
        position: relative;
        z-index: 3;
        transition: all 0.3s ease;
    }

    .step-dot.active {
        border-color: #00ff88;
        color: #00ff88;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    }

    .step-dot.completed {
        border-color: #00d1ff;
        background: #00d1ff;
        color: #000;
        box-shadow: 0 0 15px rgba(0, 209, 255, 0.2);
    }

    .wizard-step {
        display: none;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .wizard-step.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .step-title {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        text-transform: uppercase;
        color: #fff;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .step-title svg {
        color: #00ff88;
        flex-shrink: 0;
    }

    .step-subtitle {
        color: var(--text-secondary);
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    /* Options design */
    .option-cards {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .option-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        padding: 1.25rem 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 1.25rem;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
    }

    .option-card:hover {
        background: rgba(0, 255, 136, 0.02);
        border-color: rgba(0, 255, 136, 0.25);
        transform: translateX(4px);
    }

    .option-card.selected {
        background: rgba(0, 255, 136, 0.05);
        border-color: #00ff88;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
    }

    .option-selector {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .option-card.selected .option-selector {
        border-color: #00ff88;
        background: #00ff88;
    }

    .option-selector::after {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #000;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .option-card.selected .option-selector::after {
        opacity: 1;
    }

    .option-text-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .option-title {
        font-family: var(--font-heading);
        font-size: 0.95rem;
        color: #fff;
        letter-spacing: 0.5px;
    }

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

    /* Actions */
    .wizard-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 2rem;
    }

    .btn-back {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--text-secondary);
        border-radius: 12px;
        padding: 0.9rem 1.8rem;
        font-family: var(--font-heading);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-back:hover {
        border-color: rgba(255, 255, 255, 0.3);
        color: #fff;
    }

    .btn-next {
        background: linear-gradient(135deg, #00ff88, #00d1ff);
        color: #000;
        border: none;
        border-radius: 12px;
        padding: 0.9rem 2.2rem;
        font-family: var(--font-heading);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
    }

    .btn-next:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
    }

    .btn-next:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        box-shadow: none;
    }

    /* Result styles */
    .results-wrapper {
        display: none;
        animation: fadeIn 0.5s ease-out forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .scorecard-header {
        display: flex;
        align-items: center;
        gap: 2.5rem;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        padding: 2rem;
        border-radius: 20px;
        margin-bottom: 2.5rem;
    }

    @media (max-width: 600px) {
        .scorecard-header {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
    }

    .score-circle {
        position: relative;
        width: 120px;
        height: 120px;
        flex-shrink: 0;
    }

    .score-circle svg {
        transform: rotate(-90deg);
        width: 120px;
        height: 120px;
    }

    .score-circle-bg {
        stroke: rgba(255, 255, 255, 0.05);
    }

    .score-circle-fg {
        stroke-linecap: round;
        transition: stroke-dashoffset 1s ease-in-out;
        stroke: #00ff88;
    }

    .score-percentage-text {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .score-value {
        font-family: var(--font-heading);
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
    }

    .score-max {
        font-size: 0.75rem;
        color: var(--text-secondary);
    }

    .score-summary-details {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .score-status-badge {
        font-family: var(--font-heading);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 0.25rem 0.75rem;
        border-radius: 50px;
        font-weight: 700;
        width: fit-content;
    }

    .score-status-badge.critical {
        background: rgba(255, 51, 51, 0.1);
        border: 1px solid rgba(255, 51, 51, 0.25);
        color: #ff3333;
    }

    .score-status-badge.medium {
        background: rgba(255, 196, 0, 0.1);
        border: 1px solid rgba(255, 196, 0, 0.25);
        color: #ffc400;
    }

    .score-status-badge.secure {
        background: rgba(0, 255, 136, 0.1);
        border: 1px solid rgba(0, 255, 136, 0.25);
        color: #00ff88;
    }

    .score-title {
        font-family: var(--font-heading);
        font-size: 1.4rem;
        text-transform: uppercase;
        color: #fff;
        margin-top: 0.25rem;
    }

    .score-desc {
        color: var(--text-secondary);
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Breakdown Grid */
    .breakdown-title {
        font-family: var(--font-heading);
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #fff;
        margin-bottom: 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 0.5rem;
    }

    .breakdown-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .breakdown-item {
        background: rgba(255, 255, 255, 0.01);
        border: 1px solid rgba(255, 255, 255, 0.04);
        padding: 1.25rem 1.5rem;
        border-radius: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    @media (max-width: 500px) {
        .breakdown-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
        }
    }

    .breakdown-left {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .breakdown-icon {
        color: #00ff88;
        display: inline-flex;
    }

    .breakdown-info {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .breakdown-name {
        font-family: var(--font-heading);
        font-size: 0.95rem;
        color: #fff;
    }

    .breakdown-level-desc {
        color: var(--text-secondary);
        font-size: 0.8rem;
    }

    .breakdown-status {
        font-family: var(--font-heading);
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        font-weight: 700;
    }

    .breakdown-status.status-low {
        color: #ff3333;
    }

    .breakdown-status.status-medium {
        color: #ffc400;
    }

    .breakdown-status.status-high {
        color: #00ff88;
    }

    /* Recommendations block */
    .recommendations-block {
        background: rgba(0, 255, 136, 0.01);
        border: 1px dashed rgba(0, 255, 136, 0.2);
        padding: 2.25rem;
        border-radius: 16px;
        margin-bottom: 3.5rem;
    }

    .recs-title {
        font-family: var(--font-heading);
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #fff;
        margin-bottom: 1.25rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .recs-title svg {
        color: #00ff88;
    }

    .recs-items {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin: 0;
        padding-left: 1.2rem;
    }

    .recs-items li {
        color: var(--text-secondary);
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Lead Form inside assessment */
    .lead-form-block {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 3rem;
    }

    .lead-form-title {
        font-family: var(--font-heading);
        font-size: 1.4rem;
        text-transform: uppercase;
        color: #fff;
        margin-bottom: 0.5rem;
    }

    .lead-form-desc {
        color: var(--text-secondary);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .lead-form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    @media (max-width: 600px) {
        .lead-form-grid {
            grid-template-columns: 1fr;
        }
    }

    .input-field-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .input-label {
        font-size: 0.8rem;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .input-control {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        padding: 0.9rem 1.2rem;
        color: #fff;
        font-family: var(--font-body);
        font-size: 0.95rem;
        outline: none;
        transition: all 0.3s ease;
    }

    .input-control:focus {
        border-color: #00ff88;
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.15);
    }

    .captcha-container {
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: center;
    }

    .btn-submit-lead {
        width: 100%;
        background: linear-gradient(135deg, #00ff88, #00d1ff);
        color: #000;
        border: none;
        border-radius: 12px;
        padding: 1.1rem 2rem;
        font-family: var(--font-heading);
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: 0 4px 15px rgba(0, 255, 136, 0.25);
    }

    .btn-submit-lead:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0, 255, 136, 0.35);
        color: #fff;
    }

    .btn-submit-lead:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .lead-status-message {
        margin-top: 1rem;
        padding: 1rem 1.25rem;
        border-radius: 8px;
        font-size: 0.9rem;
        display: none;
        line-height: 1.5;
    }

    .lead-status-message.success {
        background: rgba(0, 255, 136, 0.08);
        border: 1px solid rgba(0, 255, 136, 0.2);
        color: #00ff88;
        display: block;
    }

    .lead-status-message.error {
        background: rgba(255, 51, 51, 0.08);
        border: 1px solid rgba(255, 51, 51, 0.2);
        color: #ff3333;
        display: block;
    }

    .field-error {
        display: block;
        font-size: 0.78rem;
        color: #ff5050;
        margin-top: 0.35rem;
        min-height: 1em;
        font-family: var(--font-body);
        transition: opacity 0.2s ease;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    .spin {
        animation: spin 0.8s linear infinite;
        display: inline-block;
    }

    .input-control {
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }

    /* ── intl-tel-input: dark theme overrides ── */
    .iti {
        width: 100%;
    }

    .iti__tel-input {
        width: 100% !important;
        background: rgba(0, 0, 0, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 10px !important;
        padding: 0.9rem 1.2rem 0.9rem 3.5rem !important;
        color: #fff !important;
        font-family: var(--font-body) !important;
        font-size: 0.95rem !important;
        outline: none !important;
        transition: all 0.3s ease !important;
    }

    .iti__tel-input:focus {
        border-color: #00ff88 !important;
        background: rgba(0, 255, 136, 0.02) !important;
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.15) !important;
    }

    .iti__flag-container {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        padding: 0 0.6rem;
    }

    .iti__selected-flag {
        display: flex;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        padding: 0 0.5rem;
        border-radius: 10px 0 0 10px;
        height: 100%;
        background: transparent;
        border: none;
        color: #fff;
    }

    .iti__selected-flag:hover,
    .iti__selected-flag:focus {
        background: rgba(255, 255, 255, 0.06);
        outline: none;
    }

    .iti__arrow {
        border-top-color: rgba(255, 255, 255, 0.5);
    }

    .iti__dropdown-content {
        background: #101012 !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 16px !important;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 136, 0.05) !important;
        padding: 0.5rem !important;
        margin-top: 6px !important;
    }

    .iti__country-list {
        color: var(--text-primary);
        max-height: 280px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 255, 136, 0.3) transparent;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .iti__search-input {
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
        color: var(--text-primary) !important;
        font-family: var(--font-body) !important;
        font-size: 0.85rem !important;
        padding: 0.6rem 0.8rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        outline: none !important;
        margin-bottom: 0.5rem !important;
    }

    .iti__search-input:focus {
        border-color: #00ff88 !important;
    }

    .iti__search-input::placeholder {
        color: rgba(255, 255, 255, 0.25);
    }

    .iti__country {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.6rem 0.8rem;
        border-radius: 8px;
        cursor: pointer;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.15s ease;
    }

    .iti__country:hover,
    .iti__country.iti__highlight {
        background: rgba(0, 255, 136, 0.1);
        color: #fff;
    }

    .iti__country-name {
        flex: 1;
    }

    .iti__dial-code {
        color: rgba(255, 255, 255, 0.35);
        font-size: 0.8rem;
    }

    .iti__divider {
        border-color: rgba(255, 255, 255, 0.08);
        margin: 0.4rem 0;
    }

    .iti__no-results {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.35);
        padding: 0.8rem;
        text-align: center;
    }
