/* Forsidens styling. Deles af Pages/Landing.razor og den statiske forside i
   wwwroot/index.html, så crawlere og Blazor viser præcis det samme layout.
   Filen linkes kun inde i forsidens markup, så body/#app-reglerne herunder
   kun gælder, mens forsiden er i DOM'en. */
body, html {
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 100%;
    overflow-y: auto !important;
    overflow-x: hidden;
}

#app {
    height: auto !important;
    min-height: 100dvh;
}

.alma-landing {
    position: relative;
    min-height: 100dvh;
    font-family: 'Roboto', sans-serif;
    overflow: visible;
    background-image: url('https://sthejalma.blob.core.windows.net/landing-images/bg-01.jpg?v=20260405');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.alma-landing-overlay {
    position: absolute;
    inset: 0;
    min-height: 100%;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(13, 11, 34, 0.30) 0%,
        rgba(13, 11, 34, 0.65) 100%
    );
}

.alma-landing-nav {
    position: absolute;
    top: calc(24px + env(safe-area-inset-top));
    left: 28px;
    right: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alma-nav-login {
    appearance: none;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 9999px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.alma-nav-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.alma-landing-content {
    position: relative;
    z-index: 1;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 12px 60px;
    text-align: center;
    max-width: min(96vw, 900px);
    margin-inline: auto;
    box-sizing: border-box;
}

.alma-view {
    width: 100%;
    max-width: min(96vw, 900px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 8px;
    box-sizing: border-box;
}

.alma-hero-badge {
    display: inline-block;
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    padding: 3px 14px;
}

.alma-hero-title {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2rem, 1rem + 3.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin: 8px 0 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.alma-hero-title em {
    font-style: normal;
    display: inline-block;
    padding: 0 0.15em 0.05em;
    margin: 0 -0.05em;
    background: linear-gradient(
        90deg,
        var(--alma-gradient-start, #594ae2),
        var(--alma-gradient-end, #e040fb)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
}

.alma-hero-subtitle {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
    color: rgba(255,255,255,0.92);
    line-height: 1.55;
    max-width: 640px;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.alma-landing-actions {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 360px;
}

.alma-btn-primary {
    appearance: none;
    cursor: pointer;
    background: rgba(89, 74, 226, 0.35);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: 9999px;
    border: none;
    width: auto;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.2s ease;
}

.alma-btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.alma-landing-signup-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin: 0;
}

.alma-signup-link {
    color: #f2a8ff;
    text-decoration: underline;
    font-weight: 600;
}

.alma-hero-trust {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
}

.alma-hero-trust-dot {
    opacity: 0.6;
}

.alma-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.alma-scroll-hint-line {
    width: 1px;
    height: 28px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

/* ── Mobil-tilpasning (hero) ── */
@media (max-width: 480px) {
    .alma-hero-title {
        font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    }
    .alma-landing-content {
        padding: 100px 8px 48px;
    }
    .alma-view {
        padding: 0 4px;
    }
    .alma-nav-login {
        padding: 6px 14px;
        font-size: 0.82rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   Sider under hero'en — sælgende sektioner (statisk mørk baggrund)
   ══════════════════════════════════════════════════════════════ */

.alma-page-body {
    position: relative;
    background: #0d0b22;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.ap-section {
    position: relative;
    padding: 88px 24px;
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.ap-section--tight {
    max-width: 760px;
}

.ap-section--alt {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ap-section--alt > * {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.ap-section--alt.ap-section--tight > * {
    max-width: 760px;
}

.ap-section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.ap-h2 {
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px;
    line-height: 1.25;
}

.ap-section--alt > .ap-h2,
.ap-section--alt > .ap-section-label,
.ap-section--alt > .ap-lead {
    margin-left: auto;
    margin-right: auto;
}

.ap-gradient {
    background: linear-gradient(90deg, #594ae2, #e040fb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ap-lead {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto;
}

.ap-lead + .ap-lead {
    margin-top: 16px;
}

.ap-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 44px;
    text-align: left;
}

@media (min-width: 720px) {
    .ap-cards--2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
    }
    .ap-cards--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .ap-cards--4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ap-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px 24px;
}

.ap-card--feature {
    padding: 36px 32px;
}

.ap-card-icon {
    color: #d9a8ff !important;
    font-size: 1.9rem !important;
    margin-bottom: 14px;
}

.ap-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #ffffff;
}

.ap-card--feature .ap-card-title {
    font-size: 1.2rem;
}

.ap-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    line-height: 1.6;
}

.ap-card p + p {
    margin-top: 12px;
}

.ap-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 44px;
    text-align: center;
}

@media (min-width: 720px) {
    .ap-steps {
        flex-direction: row;
        text-align: left;
    }
}

.ap-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.ap-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #594ae2, #e040fb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ap-step p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    line-height: 1.6;
}

/* ── Plan-kort ── */
.ap-plan-card {
    margin: 44px auto 0;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
}

.ap-plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.ap-plan-price span {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.ap-plan-tagline {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    margin: 10px 0 26px;
}

.ap-plan-features {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.ap-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.ap-plan-check {
    color: #6ee7a8 !important;
    font-size: 1.2rem !important;
    flex-shrink: 0;
    margin-top: 1px;
}

.ap-plan-cta {
    appearance: none;
    cursor: pointer;
    width: 100%;
    background: linear-gradient(135deg, #594ae2, #e040fb);
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 15px 20px;
    border-radius: 9999px;
    box-shadow: 0 4px 20px rgba(89,74,226,0.4);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.ap-plan-cta:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.ap-plan-cta--light {
    max-width: 320px;
    margin: 24px auto 0;
}

.ap-plan-gnister {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin: 0 0 24px;
    text-align: left;
}

.ap-plan-footnote {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 16px 0 0;
}

/* ── Afsluttende CTA ── */
.ap-final-cta {
    text-align: center;
    padding: 96px 24px 64px;
    background: linear-gradient(180deg, transparent, rgba(89, 74, 226, 0.12));
}

.ap-final-cta-title {
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
}

.ap-final-cta-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    margin: 0 0 28px;
}

.ap-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 24px 48px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
}

.ap-footer p {
    margin: 0;
}

/* ── Ofte stillede spørgsmål ─────────────────────────────────────── */
.ap-faq {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
    text-align: left;
}

.ap-faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 22px;
}

.ap-faq-q {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
}

.ap-faq-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}
