/* ==================================================================
   IndustrialMint - Register / Choose Profile
   ================================================================== */

.profile-page {
    --im-teal: #008080;
    --im-teal-dark: #004d4d;
    --im-teal-light: #ecfdf5;
    --ink: #1f2937;
    --ink-light: #6b7280;
    --paper: #f9fafb;
    --white: #ffffff;
    --line: #e5e7eb;
    --radius: 10px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.reg-hero {
    background:
        radial-gradient(900px 400px at 15% -20%, rgba(255, 255, 255, 0.16), transparent 60%),
        linear-gradient(135deg, var(--im-teal) 0%, var(--im-teal-dark) 100%);
    color: var(--white);
    padding: 52px 20px 56px;
    text-align: center;
}

.reg-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.reg-hero__eyebrow .material-symbols-outlined {
    font-size: 16px;
}

.reg-hero h1 {
    font-size: clamp(28px, 4.4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 auto 12px;
    max-width: 18ch;
}

.reg-hero p {
    font-size: 16.5px;
    line-height: 1.6;
    opacity: 0.92;
    max-width: 60ch;
    margin: 0 auto;
}

.reg-hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
    margin-top: 26px;
    font-size: 14px;
    opacity: 0.94;
}

.reg-hero__stats span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.reg-hero__stats .material-symbols-outlined {
    font-size: 18px;
}

/* ------------------------------------------------------------------
   How it works
   ------------------------------------------------------------------ */
.reg-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: -30px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    max-width: 960px;
}

.reg-step {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.reg-step__num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--im-teal);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.reg-step h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 5px;
}

.reg-step p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-light);
    margin: 0;
}

/* ------------------------------------------------------------------
   Section head
   ------------------------------------------------------------------ */
.reg-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px 64px;
}

.reg-section__head {
    text-align: center;
    margin-bottom: 30px;
}

.reg-section__head h2 {
    font-size: clamp(21px, 2.6vw, 26px);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 8px;
}

.reg-section__head p {
    font-size: 15px;
    color: var(--ink-light);
    margin: 0;
    max-width: 58ch;
    margin-inline: auto;
}

/* ------------------------------------------------------------------
   Profile grid
   ------------------------------------------------------------------ */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

.profile-card {
    --profile-color: var(--im-teal);
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 24px 22px;
    text-decoration: none;
    color: var(--ink);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* accent rail on hover */
.profile-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--profile-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition);
}

.profile-card:hover,
.profile-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--profile-color);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    outline: none;
}

.profile-card:hover::before,
.profile-card:focus-visible::before {
    transform: scaleY(1);
}

.profile-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.profile-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--profile-color);
    color: var(--white);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.profile-card__icon .material-symbols-outlined {
    font-size: 25px;
}

.profile-card:hover .profile-card__icon,
.profile-card:focus-visible .profile-card__icon {
    transform: scale(1.06) rotate(-3deg);
}

.profile-card__title h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 2px;
    letter-spacing: -0.01em;
}

.profile-card__title span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--profile-color);
    line-height: 1.4;
}

.profile-card__desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink-light);
    margin: 0 0 16px;
}

.profile-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 7px;
}

.profile-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: #4b5563;
}

.profile-card__list .material-symbols-outlined {
    font-size: 16px;
    color: var(--profile-color);
    flex-shrink: 0;
    margin-top: 1px;
}

.profile-card__cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--im-teal);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.profile-card__cta .material-symbols-outlined {
    font-size: 19px;
    transition: transform var(--transition);
}

.profile-card:hover .profile-card__cta,
.profile-card:focus-visible .profile-card__cta {
    background: var(--profile-color);
    border-color: var(--profile-color);
    color: var(--white);
}

.profile-card:hover .profile-card__cta .material-symbols-outlined,
.profile-card:focus-visible .profile-card__cta .material-symbols-outlined {
    transform: translateX(4px);
}

/* ------------------------------------------------------------------
   Bottom help / sign-in band
   ------------------------------------------------------------------ */
.reg-foot {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto 64px;
    padding: 0 20px;
}

.reg-foot__card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    background: var(--white);
}

.reg-foot__card--signin {
    background: var(--im-teal-light);
    border-color: #a7f3d0;
}

.reg-foot__card h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
}

.reg-foot__card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink-light);
    margin: 0 0 16px;
}

.reg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--im-teal);
    color: var(--white);
    border-radius: 9px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--im-teal);
    transition: background var(--transition), box-shadow var(--transition);
}

.reg-btn:hover {
    background: var(--im-teal-dark);
    border-color: var(--im-teal-dark);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.28);
}

.reg-btn .material-symbols-outlined {
    font-size: 18px;
}

.reg-btn--ghost {
    background: var(--white);
    color: var(--im-teal);
    border-color: #a7f3d0;
}

.reg-btn--ghost:hover {
    background: var(--white);
    color: var(--im-teal-dark);
    border-color: var(--im-teal);
}

.reg-foot__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reg-foot__links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--im-teal);
    text-decoration: none;
}

.reg-foot__links a:hover {
    text-decoration: underline;
}

.reg-foot__links .material-symbols-outlined {
    font-size: 18px;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 900px) {
    .reg-steps {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: -24px;
    }

    .reg-foot {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .reg-hero {
        padding: 40px 18px 46px;
    }

    .reg-hero__stats {
        gap: 10px 20px;
        font-size: 13px;
    }

    .reg-section,
    .reg-foot {
        padding-left: 16px;
        padding-right: 16px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .reg-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-card,
    .profile-card::before,
    .profile-card__icon,
    .profile-card__cta,
    .profile-card__cta .material-symbols-outlined {
        transition: none;
    }
}
