/* Aadhaar eSign page — page-specific tweaks */
.prod-hero .nf-eyebrow { display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================================
   Modern gradient icon badges — replaces flat single-color line icons
   ========================================================================== */
.aq-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nf-green-500), #0d9488);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.22);
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aq-icon-badge svg {
    display: block;
    color: #fff;
}

.aq-icon-badge:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 10px 26px rgba(13, 148, 136, 0.32);
}

/* Eyebrow live-status icon: gradient dot + pulsing ring */
.aq-eyebrow-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.aq-eyebrow-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--nf-green-500);
    opacity: 0.6;
    animation: aqPulseRing 2.4s ease-out infinite;
}

@keyframes aqPulseRing {
    0% { transform: scale(0.75); opacity: 0.55; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Hero trust badges */
.prod-hero__badge {
    animation: aqFadeUp 0.5s ease both;
}

.prod-hero__badge:nth-child(1) { animation-delay: 0.05s; }
.prod-hero__badge:nth-child(2) { animation-delay: 0.15s; }
.prod-hero__badge:nth-child(3) { animation-delay: 0.25s; }

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

.prod-hero__badge .aq-icon-badge {
    width: 30px;
    height: 30px;
}

.prod-hero__badge .aq-icon-badge svg {
    width: 15px;
    height: 15px;
}

/* Security grid icons
   (specificity note: common.css has `.prod-security__item span { display:block }`
   which would otherwise clobber the badge's flex centering — redeclare here) */
.prod-security__item .aq-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
}

.prod-security__item .aq-icon-badge svg {
    width: 24px;
    height: 24px;
    margin: 0;
}

/* Scroll-reveal pop-in for security icons */
.aq-reveal {
    opacity: 0;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aq-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.prod-security__item.aq-reveal:nth-child(1) { transition-delay: 0s; }
.prod-security__item.aq-reveal:nth-child(2) { transition-delay: 0.07s; }
.prod-security__item.aq-reveal:nth-child(3) { transition-delay: 0.14s; }
.prod-security__item.aq-reveal:nth-child(4) { transition-delay: 0.21s; }
.prod-security__item.aq-reveal:nth-child(5) { transition-delay: 0.28s; }
.prod-security__item.aq-reveal:nth-child(6) { transition-delay: 0.35s; }

@media (max-width: 575px) {
    .prod-security__item .aq-icon-badge { width: 46px; height: 46px; }
    .prod-security__item .aq-icon-badge svg { width: 20px; height: 20px; }
}

/* ==========================================================================
   "6 Easy Steps" — card row with icon boxes, floating number badges and
   connector arrows
   ========================================================================== */
.aq-steps-row {
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.aq-step-card-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    padding-top: 17px;
}

.aq-step-badge {
    position: absolute;
    top: 0;
    left: 22px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--nf-green-600);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.32);
    border: 3px solid #fff;
}

.aq-step-card {
    background: #fff;
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius-md);
    padding: 22px 18px 20px;
    height: 100%;
}

.aq-step-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.aq-step-icon {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aq-step-icon svg {
    width: 22px;
    height: 22px;
}

.aq-step-icon__badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--nf-green-600);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.aq-step-icon__badge svg {
    width: 8px;
    height: 8px;
}

.aq-step-icon--blue { background: #dbeafe; color: #2563eb; }
.aq-step-icon--purple { background: #f3e8ff; color: #9333ea; }
.aq-step-icon--green-light { background: #dcfce7; color: #16a34a; }
.aq-step-icon--green-solid { background: var(--nf-green-600); color: #fff; }
.aq-step-icon--pink { background: #fce7f3; color: #db2777; }

.aq-step-card__head h4 {
    font-size: 14.5px;
    line-height: 1.3;
    color: var(--nf-navy-900);
}

.aq-step-card p {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--nf-text-muted);
}

.aq-step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 17px;
    color: #cbd5e1;
}

.aq-step-connector svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1199px) {
    .aq-steps-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .aq-step-connector { display: none; }
    .aq-step-card-wrap { padding-top: 17px; }
}

@media (max-width: 767px) {
    .aq-steps-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .aq-steps-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   "What is Aadhaar eSign?" / "Legal Framework" intro blocks
   ========================================================================== */
.aq-about {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.aq-about .nf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.aq-about .nf-title {
    margin-top: 2px;
}

.aq-about p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--nf-text-muted);
    margin-top: 16px;
}

/* "What is Aadhaar eSign?" feature row */
.aq-feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.aq-feature-card {
    background: #fff;
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius-md);
    padding: 26px 20px;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.aq-feature-card:hover {
    box-shadow: var(--nf-shadow-md);
    transform: translateY(-3px);
}

.aq-feature-card .aq-icon-badge {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
}

.aq-feature-card .aq-icon-badge svg {
    width: 24px;
    height: 24px;
}

.aq-feature-card h4 {
    font-size: 15px;
    color: var(--nf-navy-900);
    margin-bottom: 8px;
}

.aq-feature-card p {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--nf-text-muted);
}

.aq-feature-card.aq-reveal:nth-child(1) { transition-delay: 0s; }
.aq-feature-card.aq-reveal:nth-child(2) { transition-delay: 0.08s; }
.aq-feature-card.aq-reveal:nth-child(3) { transition-delay: 0.16s; }
.aq-feature-card.aq-reveal:nth-child(4) { transition-delay: 0.24s; }

@media (max-width: 991px) {
    .aq-feature-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .aq-feature-row { grid-template-columns: 1fr; }
}

/* "Legal Framework" grid */
.aq-legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.aq-legal-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius-md);
    padding: 22px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.aq-legal-card:hover {
    box-shadow: var(--nf-shadow-md);
    transform: translateY(-3px);
}

.aq-legal-card .aq-icon-badge {
    width: 46px;
    height: 46px;
}

.aq-legal-card .aq-icon-badge svg {
    width: 20px;
    height: 20px;
}

.aq-legal-card h4 {
    font-size: 14.5px;
    color: var(--nf-navy-900);
    margin-bottom: 6px;
    line-height: 1.35;
}

.aq-legal-card p {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--nf-text-muted);
}

.aq-legal-card.aq-reveal:nth-child(1) { transition-delay: 0s; }
.aq-legal-card.aq-reveal:nth-child(2) { transition-delay: 0.07s; }
.aq-legal-card.aq-reveal:nth-child(3) { transition-delay: 0.14s; }
.aq-legal-card.aq-reveal:nth-child(4) { transition-delay: 0.21s; }
.aq-legal-card.aq-reveal:nth-child(5) { transition-delay: 0.28s; }
.aq-legal-card.aq-reveal:nth-child(6) { transition-delay: 0.35s; }

@media (max-width: 991px) {
    .aq-legal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .aq-legal-grid { grid-template-columns: 1fr; }
}
