/* Home page — page-specific styles */

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    min-height: 92vh;
    /* dvh accounts for mobile browser chrome (address bar) collapsing and
       for foldable fold/unfold transitions — plain vh is set first only as
       a fallback for browsers that don't understand dvh yet. */
    min-height: 92dvh;
    padding: 40px 24px 60px;
    background: linear-gradient(135deg, #f7faf8 0%, #eefcf3 45%, #fff8f0 100%);
    display: flex;
    align-items: center;
    gap: 60px;
    /*max-width: var(--nf-container);*/
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--nf-navy-900) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.04;
    animation: patternDrift 30s linear infinite;
}

@keyframes patternDrift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 80px 80px;
    }
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
    animation: blobDrift 14s ease-in-out infinite;
}

.hero-blob-1 {
    width: 340px;
    height: 340px;
    background: rgba(249, 115, 22, 0.14);
    top: -80px;
    left: -60px;
}

.hero-blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(22, 163, 74, 0.16);
    bottom: -100px;
    right: 10%;
    animation-delay: -6s;
}

@keyframes blobDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -20px) scale(1.12);
    }
}

.hero-container {
    flex: 1;
    z-index: 1;
    margin-left: 9%;
    min-width: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

.hero-eyebrow {
    animation: fadeUp 0.6s ease both;
}

.hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--nf-green-600);
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(36px, 5.2vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--nf-navy-900);
    margin: 14px 0 20px;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero-subtitle {
    font-size: 16.5px;
    color: var(--nf-text-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 32px;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    animation: fadeUp 0.6s 0.3s ease both;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--nf-text-muted);
    font-weight: 500;
    animation: fadeUp 0.6s 0.4s ease both;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

/* hero visual — animated Aadhaar / digital-signature live preview */
.hero-visual {
    flex: 1;
    position: relative;
    min-height: 460px;
    z-index: 1;
    animation: fadeUp 0.8s 0.2s ease both;
    margin-right: 2%;
}

.visual-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.16), rgba(249, 115, 22, 0.1) 55%, transparent 75%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: .7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

.doc-card {
    background: #fff;
    border-radius: var(--nf-radius-lg);
    box-shadow: var(--nf-shadow-lg);
    padding: 20px;
    position: absolute;
    border: 1px solid var(--nf-border);
    z-index: 1;
}

.doc-card-1 {
    width: 290px;
    top: 4px;
    left: 6px;
    animation: float 6s ease-in-out infinite;
}

.doc-card-2 {
    width: 262px;
    top: 246px;
    left: 176px;
    animation: float 6s 1.2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.doc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.doc-icon {
    font-size: 20px;
    width: 38px;
    height: 38px;
    border-radius: var(--nf-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-icon.aadhaar-ic {
    background: var(--nf-green-50);
}

.doc-icon.p12-ic {
    background: #fff1e6;
}

.doc-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--nf-navy-900);
}

.doc-sub {
    font-size: 11px;
    color: var(--nf-text-muted);
}

.doc-status-stack {
    position: relative;
    margin-left: auto;
    width: 76px;
    height: 22px;
    flex-shrink: 0;
}

.doc-status {
    position: absolute;
    inset: 0;
    margin: auto;
    height: 20px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 0;
    border-radius: var(--nf-radius-pill);
    text-align: center;
    white-space: nowrap;
}

.doc-status.pending {
    background: #fff1e6;
    color: #c2410c;
    animation: crossfadeOut 8s ease infinite;
}

.doc-status.signed {
    background: var(--nf-green-50);
    color: var(--nf-green-800);
    animation: crossfadeIn 8s ease infinite;
}

@keyframes crossfadeOut {
    0%, 42% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@keyframes crossfadeIn {
    0%, 42% {
        opacity: 0;
    }
    50%, 100% {
        opacity: 1;
    }
}

.doc-lines {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}

.doc-line {
    height: 6px;
    border-radius: 3px;
    background: var(--nf-bg-muted);
}

.w80 {
    width: 80%;
}

.w60 {
    width: 60%;
}

.w90 {
    width: 90%;
}

.otp-row {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.otp-box {
    width: 28px;
    height: 32px;
    border-radius: var(--nf-radius-sm);
    border: 1.5px solid var(--nf-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--nf-navy-900);
    background: var(--nf-bg-muted);
    opacity: 0;
    transform: translateY(6px) scale(0.8);
    animation: otpFill 8s ease infinite;
    animation-delay: calc(var(--i) * 0.15s);
}

@keyframes otpFill {
    0% {
        opacity: 0;
        transform: translateY(6px) scale(0.8);
        border-color: var(--nf-border);
        background: var(--nf-bg-muted);
    }
    6%, 40% {
        opacity: 1;
        transform: translateY(0) scale(1);
        border-color: var(--nf-border);
        background: var(--nf-bg-muted);
    }
    48%, 100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        border-color: var(--nf-green-100);
        background: var(--nf-green-50);
    }
}

.doc-sig-area {
    border-top: 1px dashed var(--nf-border);
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    min-height: 36px;
}

.sig-draw path {
    fill: none;
    stroke: var(--nf-orange-500);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: drawSig 8s ease infinite;
}

@keyframes drawSig {
    0%, 52% {
        stroke-dashoffset: 150;
    }
    74%, 100% {
        stroke-dashoffset: 0;
    }
}

.sig-label {
    font-size: 10px;
    color: var(--nf-text-muted);
    opacity: 0;
    animation: fadeInLabel 8s ease infinite;
}

@keyframes fadeInLabel {
    0%, 70% {
        opacity: 0;
    }
    80%, 100% {
        opacity: 1;
    }
}

.doc-footer-badge {
    display: flex;
    justify-content: flex-end;
}

.badge-verified {
    font-size: 11px;
    font-weight: 600;
    color: var(--nf-green-700);
    background: var(--nf-green-50);
    padding: 3px 10px;
    border-radius: var(--nf-radius-pill);
    opacity: 0;
    animation: fadeInLabel 8s ease infinite;
}

.cert-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0 14px;
    border-bottom: 1px dashed var(--nf-border);
    margin-bottom: 12px;
}

.cert-lock {
    width: 46px;
    height: 46px;
    border-radius: var(--nf-radius-sm);
    background: #eaf0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-lock svg {
    stroke: var(--nf-blue-500);
}

.lock-shackle {
    transform-origin: 12px 11px;
    animation: lockClose 8s ease infinite;
}

@keyframes lockClose {
    0%, 16% {
        transform: rotate(-16deg) translateY(-1px);
    }
    36%, 100% {
        transform: rotate(0) translateY(0);
    }
}

.cert-status-stack {
    position: relative;
    height: 18px;
    flex: 1;
}

.cert-status {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.cert-status.verifying {
    color: var(--nf-text-muted);
    animation: crossfadeOut2 8s ease infinite;
}

.cert-status.verified {
    color: var(--nf-green-700);
    animation: crossfadeIn2 8s ease infinite;
}

@keyframes crossfadeOut2 {
    0%, 38% {
        opacity: 1;
    }
    46%, 100% {
        opacity: 0;
    }
}

@keyframes crossfadeIn2 {
    0%, 38% {
        opacity: 0;
    }
    46%, 100% {
        opacity: 1;
    }
}

.signers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.signer-av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--nf-blue-500);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pending-av {
    background: var(--nf-bg-muted);
    color: var(--nf-text-muted);
}

.signer-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--nf-navy-900);
}

.signer-ts {
    font-size: 11px;
    color: var(--nf-text-muted);
}

.floating-pill {
    position: absolute;
    background: #fff;
    border-radius: var(--nf-radius-pill);
    padding: 8px 16px;
    box-shadow: var(--nf-shadow-lg);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 1px solid var(--nf-border);
    color: var(--nf-navy-900);
    z-index: 2;
}

.pill-1 {
    top: -14px;
    right: 20px;
    animation: floatPill 4s ease-in-out infinite;
}

.pill-2 {
    top: 150px;
    right: -18px;
    animation: floatPill 4s 1.5s ease-in-out infinite;
}

.pill-3 {
    bottom: 90px;
    left: -22px;
    animation: floatPill 4s 0.8s ease-in-out infinite;
}

.pill-4 {
    bottom: -10px;
    right: 60px;
    animation: floatPill 4s 2.2s ease-in-out infinite;
}

@keyframes floatPill {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Responsive */
@media (max-width: 1199px) {
    .hero {
        gap: 40px;
        padding-top: 128px;
    }

    .hero-container {
        margin-left: 0;
    }

    .hero-visual {
        margin-right: 0;
    }
}

@media (max-width: 991px) {
    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 116px 24px 56px;
        text-align: center;
    }

    .hero-container {
        margin-left: 0;
        max-width: 640px;
    }

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

    .hero-actions, .hero-trust-row {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 480px;
        min-height: 420px;
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    /* left/right + margin auto (not transform) so centering survives the
       .doc-card float animation, which owns the transform property */
    .doc-card-1 {
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .doc-card-2 {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .floating-pill {
        display: none;
    }
}

@media (max-width: 575px) {
    .hero {
        padding: 104px 18px 48px;
    }

    .hero-eyebrow {
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .nf-btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 380px;
    }

    .doc-card-1 {
        width: 92%;
        max-width: 290px;
    }

    .doc-card-2 {
        display: none;
    }
}

/* Trust bar */
.home-trust {
    background: var(--nf-bg-soft);
    padding: 24px 0;
    border-bottom: 1px solid var(--nf-border);
}

.home-trust__label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nf-text-soft);
    margin-bottom: 16px;
}

.home-trust__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.home-trust__logos span {
    font-size: 15px;
    font-weight: 700;
    color: var(--nf-text-soft);
    opacity: 0.8;
}

/* Workflow tabs */
/* Eyebrow live-status dot */
.home-eyebrow-dot-wrap {
    position: relative;
    width: 8px;
    height: 8px;
    display: inline-flex;
}

.home-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nf-green-600);
}

.home-eyebrow-dot-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--nf-green-500);
    opacity: 0.6;
    animation: homePulseRing 2.2s ease-out infinite;
}

@keyframes homePulseRing {
    0% {
        transform: scale(0.7);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ==========================================================================
   Premium sliding-indicator tabs
   ========================================================================== */
.home-workflow__tabs {
    position: relative;
    display: inline-flex;
    gap: 4px;
    padding: 6px;
    background: var(--nf-bg-muted);
    border-radius: var(--nf-radius-pill);
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.home-workflow__indicator {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 0;
    border-radius: var(--nf-radius-pill);
    background: linear-gradient(135deg, var(--nf-green-500), #0d9488);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.28);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 0;
}

.home-workflow__tab {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    padding: 11px 22px;
    border-radius: var(--nf-radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--nf-text-muted);
    transition: color 0.25s ease;
    white-space: nowrap;
}

.home-workflow__tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

.home-workflow__tab.is-active {
    color: #fff;
}

.home-workflow__tab.is-active svg {
    opacity: 1;
}

@media (max-width: 575px) {
    .home-workflow__tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .home-workflow__tab {
        flex-shrink: 0;
    }
}

.home-workflow__panel {
    display: flex;
    align-items: center;
    gap: 56px;
}

.home-workflow__steps {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-workflow__steps[hidden] {
    display: none;
}

/* Vertical timeline line running through the center of every step icon */
.home-step-line {
    position: absolute;
    left: 21px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--nf-border) 0 4px, transparent 4px 9px);
    z-index: 0;
}

.home-step {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 14px;
    margin: -10px -14px;
    border-radius: var(--nf-radius-md);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.home-step:hover:not(.home-step--done) {
    background: var(--nf-bg-soft);
}

.home-step__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--nf-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--nf-text-muted);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.home-step h4 {
    font-size: 15.5px;
    color: var(--nf-navy-900);
    margin-bottom: 2px;
    margin-top: 9px;
}

.home-step p {
    font-size: 13.5px;
    color: var(--nf-text-muted);
}

/* Auto-cycling spotlight highlight (JS toggles .is-current every ~1.8s) */
.home-step.is-current {
    background: var(--nf-green-50);
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.14);
}

.home-step.is-current .home-step__icon {
    background: linear-gradient(135deg, var(--nf-green-500), #0d9488);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 0 5px var(--nf-green-50), 0 6px 14px rgba(22, 163, 74, 0.32);
    transform: scale(1.06);
}

.home-step--done {
    background: var(--nf-green-50);
    border: 1px solid var(--nf-green-100);
    padding: 16px;
    margin: 0;
    align-items: center;
}

.home-step--done h4 {
    margin-top: 0;
}

.home-step__icon--done {
    background: linear-gradient(135deg, var(--nf-green-500), #0d9488);
    border-color: transparent;
    color: #fff;
}

.home-step__icon--done svg {
    width: 16px;
    height: 16px;
}

.home-step--done h4 {
    color: var(--nf-green-800);
}

.home-step--done p {
    color: var(--nf-green-700);
}

.home-step__lock {
    width: 18px;
    height: 18px;
    color: var(--nf-green-600);
    margin-left: auto;
    flex-shrink: 0;
}

.home-workflow__art {
    flex-shrink: 0;
    width: 420px;
}

.home-workflow__gif {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--nf-radius-lg);
}

@media (max-width: 991px) {
    .home-workflow__panel {
        flex-direction: column;
    }

    .home-workflow__art {
        width: 100%;
    }
}

/* ==========================================================================
   "How It Works" section animation
   ========================================================================== */

/* Scroll-reveal: header fades/slides up first, then the workflow card */
#how-it-works .nf-section-header,
#how-it-works .home-workflow {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

#how-it-works .nf-section-header.is-visible,
#how-it-works .home-workflow.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#how-it-works .home-workflow {
    transition-delay: 0.12s;
}

/* Tab switch: brief fade/slide while JS swaps the active panel */
.home-workflow__steps.is-fading-out {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

/* Staggered entrance for each step whenever its panel becomes visible
   (CSS animations restart automatically when an element goes from
   display:none — via the [hidden] attribute — back to visible) */
.home-workflow__steps:not([hidden]) .home-step {
    animation: homeStepIn 0.5s ease both;
}

.home-workflow__steps:not([hidden]) .home-step:nth-child(2) {
    animation-delay: 0.05s;
}

.home-workflow__steps:not([hidden]) .home-step:nth-child(3) {
    animation-delay: 0.16s;
}

.home-workflow__steps:not([hidden]) .home-step:nth-child(4) {
    animation-delay: 0.27s;
}

.home-workflow__steps:not([hidden]) .home-step:nth-child(5) {
    animation-delay: 0.38s;
}

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

/* Completed step: soft breathing glow + the checkmark pops in */
.home-step--done {
    animation: homeStepIn 0.5s ease both, homeDoneGlow 2.6s ease-in-out 0.5s infinite;
}

@keyframes homeDoneGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1);
    }
}

.home-step__icon--done svg {
    animation: homeCheckPop 0.4s ease 0.4s both;
}

@keyframes homeCheckPop {
    from {
        transform: scale(0.4);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    #how-it-works .nf-section-header,
    #how-it-works .home-workflow,
    .home-workflow__steps.is-fading-out,
    .home-workflow__steps .home-step,
    .home-step--done,
    .home-step__icon--done svg,
    .home-eyebrow-dot-wrap::after {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Three ways to sign cards */
.home-option-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius-md);
    padding: 32px;
}

.home-option-card--featured {
    border-color: var(--nf-green-600);
    border-width: 1.5px;
}

.home-option-card__badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--nf-green-600);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--nf-radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-option-card h3 {
    font-size: 19px;
    color: var(--nf-navy-900);
    margin: 20px 0 10px;
}

.home-option-card > p {
    font-size: 14px;
    color: var(--nf-text-muted);
    margin-bottom: 20px;
}

.home-option-card .nf-check-list {
    margin-bottom: 24px;
}

.home-option-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--nf-green-700);
}

.home-option-card__link svg {
    width: 15px;
    height: 15px;
    transition: transform 0.15s ease;
}

.home-option-card__link:hover svg {
    transform: translateX(3px);
}

/* Feature grid */
.home-feature-grid {
    row-gap: 36px;
}

.home-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.home-feature h4 {
    font-size: 16px;
    color: var(--nf-navy-900);
    margin-bottom: 6px;
}

.home-feature p {
    font-size: 13.5px;
    color: var(--nf-text-muted);
}

/* Dashboard dark section */
.home-dashboard {
    background: var(--nf-navy-900);
    color: #fff;
}

.home-dashboard__inner {
    display: flex;
    align-items: center;
    gap: 56px;
}

.home-dashboard__content {
    flex: 1;
    max-width: 480px;
}

.home-dashboard .nf-title {
    color: #fff;
}

.home-dashboard .nf-subtitle {
    color: rgba(255, 255, 255, 0.68);
}

.home-dashboard__checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
    margin: 28px 0 32px;
}

.home-dashboard__checks li {
    color: rgba(255, 255, 255, 0.85);
}

.home-dashboard__art {
    flex: 1;
}

.home-doc-card {
    background: var(--nf-navy-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--nf-radius-lg);
    padding: 24px;
    box-shadow: var(--nf-shadow-lg);
}

.home-doc-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.home-doc-card__head h4 {
    font-size: 16px;
    color: #fff;
}

.home-doc-card__stats {
    display: flex;
    gap: 28px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-doc-card__stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-doc-card__stats strong {
    font-size: 22px;
}

.home-doc-card__stats span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.stat-blue {
    color: #60a5fa;
}

.stat-green {
    color: #4ade80;
}

.stat-red {
    color: #f87171;
}

.home-doc-card__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.home-doc-card__table th {
    text-align: left;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 0.04em;
}

.home-doc-card__table td {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 6px;
}

.status-dot--green {
    background: #4ade80;
}

.status-dot--blue {
    background: #60a5fa;
}

.status-dot--amber {
    background: #fbbf24;
}

@media (max-width: 991px) {
    .home-dashboard__inner {
        flex-direction: column;
    }

    .home-dashboard__content {
        max-width: 100%;
    }
}

/* Testimonials */
.home-testimonial {
    background: #fff;
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius-md);
    padding: 28px;
}

.home-testimonial__stars {
    color: #fbbf24;
    letter-spacing: 2px;
    margin-bottom: 14px;
    font-size: 15px;
}

.home-testimonial p {
    font-size: 14px;
    color: var(--nf-text-muted);
    margin-bottom: 22px;
}

.home-testimonial p strong {
    color: var(--nf-navy-900);
}

.home-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-testimonial__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.home-testimonial__avatar--green {
    background: var(--nf-green-600);
}

.home-testimonial__avatar--orange {
    background: var(--nf-orange-500);
}

.home-testimonial__author strong {
    display: block;
    font-size: 14px;
    color: var(--nf-navy-900);
}

.home-testimonial__author span {
    font-size: 12.5px;
    color: #ffffff;
}
