/* ── betyr.no Landing Page Theme ──
   Modern SaaS marketing page.
   Completely independent from the aurora/bunad theme.
   All classes use .lp- prefix to avoid collisions. */

:root {
    /* Primary accent */
    --lp-primary: #635BFF;
    --lp-primary-hover: #5046E5;
    --lp-primary-light: #EEF0FF;
    --lp-primary-glow: rgba(99, 91, 255, 0.25);

    /* Hero gradient */
    --lp-hero-start: #0A0E27;
    --lp-hero-mid: #141937;
    --lp-hero-end: #1E2547;

    /* Neutrals */
    --lp-white: #FFFFFF;
    --lp-gray-50: #F8FAFC;
    --lp-gray-100: #F1F5F9;
    --lp-gray-200: #E2E8F0;
    --lp-gray-300: #CBD5E1;
    --lp-gray-500: #64748B;
    --lp-gray-700: #334155;
    --lp-gray-900: #0F172A;

    /* Feature icon colors */
    --lp-icon-blue: #3B82F6;
    --lp-icon-violet: #8B5CF6;
    --lp-icon-emerald: #10B981;
    --lp-icon-amber: #F59E0B;
    --lp-icon-rose: #F43F5E;
    --lp-icon-cyan: #06B6D4;
}

/* ── Base ── */
body.lp-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--lp-gray-700);
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.lp-body h1, body.lp-body h2, body.lp-body h3,
body.lp-body h4, body.lp-body h5, body.lp-body h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--lp-gray-900);
}

/* ── Navbar ── */
.lp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 1rem 0;
}

.lp-navbar.lp-nav-scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 0.625rem 0;
}

.lp-nav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lp-nav-brand:hover { color: #ffffff; }

.lp-nav-scrolled .lp-nav-brand { color: var(--lp-gray-900); }
.lp-nav-scrolled .lp-nav-brand:hover { color: var(--lp-gray-900); }

.lp-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.lp-nav-link:hover { color: #ffffff; }

.lp-nav-scrolled .lp-nav-link { color: var(--lp-gray-700); }
.lp-nav-scrolled .lp-nav-link:hover { color: var(--lp-gray-900); }

.lp-nav-btn {
    background: var(--lp-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lp-nav-btn:hover {
    background: var(--lp-primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.lp-nav-scrolled .lp-nav-btn {
    background: var(--lp-primary);
    color: #ffffff;
}

/* ── Hero ── */
.lp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(99, 91, 255, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, var(--lp-hero-start) 0%, var(--lp-hero-mid) 50%, var(--lp-hero-end) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
}

.lp-hero-overline {
    display: inline-block;
    color: var(--lp-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

body.lp-body .lp-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.lp-hero-accent {
    background: linear-gradient(135deg, #635BFF 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.lp-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.lp-btn-primary {
    background: var(--lp-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.lp-btn-primary:hover {
    background: var(--lp-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 91, 255, 0.35);
}

.lp-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.lp-btn-ghost:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.lp-btn-ghost-light {
    background: transparent;
    color: var(--lp-gray-700);
    border: 1px solid var(--lp-gray-200);
    border-radius: 10px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.lp-btn-ghost-light:hover {
    color: var(--lp-gray-900);
    background: var(--lp-gray-100);
    border-color: var(--lp-gray-300);
}

.lp-hero-trust {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* ── Sections ── */
.lp-section {
    padding: 6rem 0;
}

.lp-section--gray {
    background: var(--lp-gray-50);
}

body.lp-body .lp-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--lp-gray-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.lp-section-subtitle {
    font-size: 1.1rem;
    color: var(--lp-gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Feature Cards ── */
.lp-feature-card {
    background: var(--lp-white);
    border: 1px solid var(--lp-gray-200);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.lp-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.lp-feature-icon--blue { background: rgba(59, 130, 246, 0.1); color: var(--lp-icon-blue); }
.lp-feature-icon--violet { background: rgba(139, 92, 246, 0.1); color: var(--lp-icon-violet); }
.lp-feature-icon--emerald { background: rgba(16, 185, 129, 0.1); color: var(--lp-icon-emerald); }
.lp-feature-icon--amber { background: rgba(245, 158, 11, 0.1); color: var(--lp-icon-amber); }
.lp-feature-icon--rose { background: rgba(244, 63, 94, 0.1); color: var(--lp-icon-rose); }
.lp-feature-icon--cyan { background: rgba(6, 182, 212, 0.1); color: var(--lp-icon-cyan); }

body.lp-body .lp-feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lp-feature-desc {
    font-size: 0.925rem;
    color: var(--lp-gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Steps ── */
.lp-step {
    text-align: center;
    position: relative;
}

.lp-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lp-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

body.lp-body .lp-step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lp-step-desc {
    font-size: 0.925rem;
    color: var(--lp-gray-500);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* Connector lines between steps (desktop only) */
@media (min-width: 768px) {
    .lp-steps-row {
        position: relative;
    }

    .lp-steps-row::before {
        content: '';
        position: absolute;
        top: 28px;
        left: calc(16.67% + 28px);
        right: calc(16.67% + 28px);
        height: 2px;
        border-top: 2px dashed var(--lp-gray-300);
        z-index: 0;
    }

    .lp-step-number {
        position: relative;
        z-index: 1;
    }
}

/* ── Event Type Cards ── */
.lp-event-type-card {
    background: var(--lp-white);
    border: 1px solid var(--lp-gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-event-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.lp-event-type-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

body.lp-body .lp-event-type-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.lp-event-type-desc {
    font-size: 0.8rem;
    color: var(--lp-gray-500);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Stats ── */
.lp-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--lp-primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.lp-stat-label {
    font-size: 0.9rem;
    color: var(--lp-gray-500);
    font-weight: 500;
}

/* ── CTA Section ── */
.lp-cta-section {
    background:
        radial-gradient(ellipse at 50% 60%, rgba(99, 91, 255, 0.12) 0%, transparent 70%),
        linear-gradient(135deg, var(--lp-hero-mid) 0%, #1a1f4a 50%, var(--lp-hero-start) 100%);
    padding: 6rem 0;
    text-align: center;
}

body.lp-body .lp-cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.lp-cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.lp-btn-primary-white {
    background: #ffffff;
    color: var(--lp-primary);
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.lp-btn-primary-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    color: var(--lp-primary-hover);
}

/* ── Footer ── */
.lp-footer {
    background: var(--lp-gray-900);
    padding: 2rem 0;
    text-align: center;
    color: var(--lp-gray-500);
    font-size: 0.85rem;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .lp-hero-title { font-size: 2.75rem; }
    .lp-section-title { font-size: 1.875rem; }
    .lp-cta-title { font-size: 1.875rem; }
    .lp-stat-value { font-size: 2rem; }
}

@media (max-width: 767px) {
    .lp-hero { padding: 7rem 0 3rem; min-height: auto; }
    .lp-hero-title { font-size: 2.25rem; }
    .lp-hero-subtitle { font-size: 1rem; }
    .lp-section { padding: 4rem 0; }
    .lp-section-title { font-size: 1.625rem; }
    .lp-cta-section { padding: 4rem 0; }
    .lp-cta-title { font-size: 1.625rem; }
    .lp-stat-value { font-size: 1.75rem; }
    .lp-feature-card { padding: 1.5rem; }
}

@media (max-width: 575px) {
    .lp-hero-title { font-size: 1.875rem; }
    .lp-hero-cta { flex-direction: column; align-items: center; }
    .lp-btn-primary, .lp-btn-ghost { width: 100%; justify-content: center; }
}
