/* View: Views/Account/RegisterGuide.cshtml */
:root {
    --ap-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ap-ink: #1d1d1f;
    --ap-grey: #6e6e73;
    --ap-line: #e4edf5;
    --ap-surface: #f5f5f7;
    --cyan: #009FDA;
    --ls-tight: -.03em;
    --ls-snug: -.015em;
    --lh-tight: 1.05;
}

#header.fixed-top {
    background-color: rgba(255,255,255,.82) !important;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--ap-line);
}
#header.fixed-top a,
#header.fixed-top .nav-link,
#header.fixed-top .navbar-nav .nav-link,
#header.fixed-top li a { color: var(--ap-ink) !important; }

/* HERO */
#rg-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff !important;
    background-image: none !important;
    text-align: center;
    padding: clamp(120px, 14vw, 180px) 20px clamp(72px, 10vw, 120px);
    overflow: hidden;
}
#rg-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: -30%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,159,218,.12), transparent 65%);
    filter: blur(60px);
    pointer-events: none;
}
#rg-hero > *, #rg-hero .container { position: relative; z-index: 1; }

.rg-label {
    font-family: var(--ap-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--ap-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
#rg-hero h1 {
    font-family: var(--ap-font);
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 600;
    color: var(--ap-ink);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 20px;
}
#rg-hero h1 span { color: var(--cyan); }
.rg-hero-divider {
    width: 56px;
    height: 3px;
    border: 0;
    border-radius: 3px;
    background: var(--cyan);
    margin: 0 auto 40px;
    opacity: 1;
}
.rg-hero-sub {
    font-family: var(--ap-font);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 400;
    color: var(--ap-grey);
    line-height: 1.65;
    margin: 0 auto 40px;
    max-width: 620px;
}
.rg-hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ap-grey);
    font-family: var(--ap-font);
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
}
.rg-hero-scroll:hover { color: var(--cyan); text-decoration: none; }

/* TIPOGRAFIA */
.rg-title {
    font-family: var(--ap-font);
    font-weight: 600;
    color: var(--ap-ink);
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 14px;
}
.rg-title span.hl { color: var(--cyan); }
.rg-lead {
    font-family: var(--ap-font);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    color: var(--ap-grey);
    font-weight: 400;
    line-height: 1.7;
    margin: 18px auto 0;
    max-width: 720px;
}

.rg-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ap-ink);
    color: #fff;
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 30px;
    border-radius: 980px;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.rg-cta:hover { background: #000; color: #fff; transform: translateY(-1px); text-decoration: none; }
.rg-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--ap-ink);
    border: 1px solid var(--ap-line);
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 500;
    padding: 15px 28px;
    border-radius: 980px;
    text-decoration: none;
    transition: border-color .2s, transform .15s;
}
.rg-btn-ghost:hover { border-color: #b8b8c0; color: var(--ap-ink); transform: translateY(-1px); text-decoration: none; }

.divisore-minimal {
    border: none;
    border-top: 1px solid var(--ap-line);
    margin: 0;
    opacity: 1;
}

/* STEPS */
.sez-rg-steps {
    background: var(--ap-surface);
    padding: clamp(64px, 9vw, 120px) 0;
}
.rg-step {
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 24px;
    padding: 36px 34px;
    margin-bottom: 16px;
    transition: transform .35s cubic-bezier(.2,.65,.3,1), box-shadow .35s, border-color .35s;
}
.rg-step:hover {
    transform: translateY(-5px);
    border-color: rgba(0,159,218,.30);
    box-shadow: 0 30px 70px -30px rgba(0,159,218,.42);
}
.rg-step-n {
    font-family: var(--ap-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.rg-step h2 {
    font-family: var(--ap-font);
    font-size: clamp(1.15rem, 1.9vw, 1.5rem);
    font-weight: 600;
    color: var(--ap-ink);
    letter-spacing: var(--ls-snug);
    line-height: 1.25;
    margin: 0 0 12px;
}
.rg-step p {
    font-family: var(--ap-font);
    font-size: .98rem;
    color: var(--ap-grey);
    line-height: 1.7;
    margin: 0;
}
.rg-step p a { color: var(--ap-ink); font-weight: 600; text-decoration: underline; }
.rg-step p a:hover { color: var(--cyan); }

/* CTA */
.sez-rg-cta { background: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.rg-cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e7f6fd 0%, #f3fbff 55%, #ffffff 100%);
    border: 1px solid #d4ecfa;
    border-radius: 32px;
    padding: clamp(48px, 7vw, 96px) 24px;
    text-align: center;
}
.rg-cta-band::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -45%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,159,218,.20), transparent 65%);
    filter: blur(54px);
    pointer-events: none;
}
.rg-cta-band > * { position: relative; z-index: 1; }
.rg-actions {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 767px) {
    #rg-hero { min-height: auto; padding-top: clamp(104px, 24vw, 140px); }
    #rg-hero h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
    .rg-step { padding: 28px 24px; border-radius: 20px; }
    .rg-actions { flex-direction: column; align-items: stretch; }
    .rg-cta-band { border-radius: 24px; }
}
