/* Route-scoped styles extracted from public page templates for CSP readiness. */

.aira-login-page,
.aira-reset-page {
    width: 100%;
    max-width: 32rem !important;
    margin: 0 auto;
    box-sizing: border-box;
}

.aira-login-card,
.aira-reset-card {
    padding: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.aira-login-card input[type="text"],
.aira-login-card input[type="password"],
.aira-reset-card input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    background: #fff;
    color: #0f172a;
}

.aira-login-submit,
.aira-reset-submit {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    border: 0;
    border-radius: 0.75rem;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.aira-login-submit:hover {
    background: #1d4ed8;
}

.aira-login-success {
    max-width: 32rem;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    color: #047857;
    text-align: center;
}

.aira-auth-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.aira-register-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    overflow: hidden;
    border: 1px solid #dbe4f0;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.aira-register-intro {
    padding: 3.5rem;
    color: #fff;
    background: radial-gradient(circle at 90% 10%, rgba(96, 165, 250, 0.42), transparent 36%), linear-gradient(145deg, #172554 0%, #1d4ed8 58%, #2563eb 100%);
}

.aira-register-kicker {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aira-register-intro h1 {
    margin: 1.5rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.aira-register-intro > p {
    margin: 0;
    color: #dbeafe;
    font-size: 1.05rem;
    line-height: 1.7;
}

.aira-register-benefits {
    display: grid;
    gap: 1.25rem;
    margin: 2.25rem 0;
    padding: 0;
    list-style: none;
}

.aira-register-benefits li {
    display: grid;
    grid-template-columns: 1.75rem 1fr;
    column-gap: 0.75rem;
}

.aira-register-benefits li > span {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #bfdbfe;
    font-weight: 800;
}

.aira-register-benefits strong,
.aira-register-benefits small {
    grid-column: 2;
}

.aira-register-benefits small {
    margin-top: 0.2rem;
    color: #dbeafe;
    font-size: 0.82rem;
    line-height: 1.5;
}

.aira-register-intro .aira-register-note {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #bfdbfe;
    font-size: 0.78rem;
    line-height: 1.55;
}

.aira-register-card {
    align-self: center;
    padding: 2.5rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.aira-register-form {
    display: grid !important;
    gap: 1.25rem;
}

.aira-register-field > span {
    display: block;
    min-height: 1.25rem;
    margin-bottom: 0.5rem;
}

.aira-register-field input {
    display: block;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    background: #fff;
    color: #0f172a;
}

.aira-register-field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.aira-register-consent {
    gap: 0.75rem;
    line-height: 1.5;
}

.aira-register-consent input {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
}

.aira-register-form button[type="submit"] {
    min-height: 3rem;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}

.aira-verification-state {
    padding: 1.25rem;
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    background: #eff6ff;
    color: #1e3a8a;
}

.aira-verification-state.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.aira-verification-state.is-success {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #065f46;
}

.aira-privacy-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 56rem !important;
    margin-right: auto;
    margin-left: auto;
}

.aira-privacy-page > h1,
.aira-privacy-page > p,
.aira-privacy-sections {
    width: 100%;
    max-width: 56rem;
    margin-right: auto;
    margin-left: auto;
}

.aira-privacy-sections {
    display: grid;
    gap: 1.25rem;
}

.aira-privacy-sections section {
    box-sizing: border-box;
    width: 100%;
    padding: 1.5rem 1.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.aira-methodology-page {
    box-sizing: border-box;
}

.aira-methodology-page > .text-center,
.aira-methodology-page > .grid {
    margin-bottom: 3.5rem;
}

.aira-methodology-card {
    min-height: 100%;
    padding: 1.75rem;
}

.aira-faq-item {
    padding: 1.5rem;
}

.aira-faq-item + .aira-faq-item {
    margin-top: 1rem;
}

.aira-methodology-page > .bg-blue-50 {
    box-sizing: border-box;
    margin-bottom: 3rem;
    padding: 2rem;
}

.aira-methodology-page > .space-y-4 > h2 {
    margin-bottom: 1.5rem;
}

.aira-projects-page-hero {
    max-width: 72rem;
    margin: 0 auto 2rem;
}

.aira-projects-guide {
    padding: 1rem 1.25rem;
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    background: #eff6ff;
}

.aira-projects-guide-step {
    display: grid;
    grid-template-columns: 1.75rem 1fr;
    gap: 0.625rem;
    align-items: start;
}

.aira-projects-guide-step span {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
}

.aira-projects-guide-step p {
    margin: 0;
    color: #334155;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.aira-projects-empty {
    padding: 1.25rem;
    border: 1px dashed #bfdbfe;
    border-radius: 1rem;
    background: #f8fbff;
}

.aira-project-tile {
    min-height: 9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.aira-project-tile:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.timeline-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.aira-delay-0 {
    transition-delay: 0ms;
}

.aira-delay-100 {
    transition-delay: 100ms;
}

.aira-delay-200 {
    transition-delay: 200ms;
}

.timeline-line {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(to bottom, #eff6ff 0%, #3b82f6 50%, #eff6ff 100%);
    transform: translateX(-50%);
}

.glass-card {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.aira-support-main {
    background: linear-gradient(180deg, #fffbeb 0%, #fff 34%, #f8fafc 100%);
}

.aira-support-page {
    width: min(100%, 72rem);
}

.aira-support-hero {
    max-width: 50rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.aira-support-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #b45309;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aira-support-kicker::before {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #f59e0b;
    content: "";
    box-shadow: 0 0 0 0.3rem #fef3c7;
}

.aira-support-hero h1 {
    margin: 1rem 0 0;
    color: #0f172a;
    font-size: clamp(2.25rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.aira-support-lead {
    max-width: 44rem;
    margin: 1.25rem auto 0;
    color: #475569;
    font-size: 1.125rem;
    line-height: 1.75;
}

.aira-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.aira-support-cost {
    min-width: 0;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.aira-support-cost:last-child {
    grid-column: 1 / -1;
}

.aira-support-cost-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 0.9rem;
    background: #eff6ff;
    color: #2563eb;
}

.aira-support-cost-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.aira-support-cost h2 {
    margin: 1rem 0 0;
    color: #0f172a;
    font-size: 1.25rem;
}

.aira-support-cost p {
    margin: 0.65rem 0 0;
    color: #64748b;
    line-height: 1.65;
}

.aira-support-action {
    margin-top: 2rem;
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid #fde68a;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #fffbeb, #fff 70%);
    text-align: center;
}

.aira-support-action h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.aira-support-action p {
    max-width: 44rem;
    margin: 1rem auto 0;
    color: #475569;
    line-height: 1.7;
}

.aira-support-payment {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.25rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid #15803d;
    border-radius: 0.9rem;
    background: #16a34a;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.18);
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.aira-support-payment:hover {
    background: #15803d;
    color: #fff;
    box-shadow: 0 12px 28px rgba(21, 128, 61, 0.24);
    transform: translateY(-1px);
}

.aira-support-payment-icon {
    display: inline-flex;
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 0.35rem rgba(255, 255, 255, 0.45));
    animation: aira-support-heartbeat 2.4s ease-in-out infinite;
}

.aira-support-payment-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes aira-support-heartbeat {
    0%,
    72%,
    100% {
        transform: scale(1);
    }

    78% {
        transform: scale(1.22);
    }

    84% {
        transform: scale(1.04);
    }

    90% {
        transform: scale(1.16);
    }
}

@media (prefers-reduced-motion: reduce) {
    .aira-support-payment-icon {
        animation: none;
    }
}

.aira-support-action .aira-support-payment-note {
    max-width: 36rem;
    margin-top: 0.75rem;
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.aira-support-disclaimer {
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 860px) {
    .aira-register-layout {
        grid-template-columns: 1fr;
        border-radius: 1.5rem;
    }

    .aira-register-intro {
        padding: 2rem;
    }

    .aira-register-intro h1 {
        font-size: 2rem;
    }

    .aira-register-benefits {
        margin: 1.75rem 0;
    }
}

@media (max-width: 639px) {
    .aira-login-card,
    .aira-reset-card {
        padding: 1.25rem;
    }

    .aira-register-shell,
    .aira-privacy-page,
    .aira-methodology-page,
    .aira-support-page,
    .aira-projects-page {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .aira-register-card {
        padding: 1.5rem !important;
    }

    .aira-methodology-card,
    .aira-faq-item {
        padding: 1.25rem;
    }

    .aira-projects-page-hero {
        margin-bottom: 1.5rem;
    }

    .aira-projects-guide {
        padding: 1rem;
    }

    .aira-projects-guide-step {
        grid-template-columns: 1.5rem 1fr;
    }

    .aira-projects-guide-step span {
        width: 1.5rem;
        height: 1.5rem;
    }

    .aira-support-grid {
        grid-template-columns: 1fr;
    }

    .aira-support-cost:last-child {
        grid-column: auto;
    }
}
