/* ============================================================
   Alleminner Landing Page
   Varm, nostalgisk, rolig — jordtoner, myk serif, mye luft
   ============================================================ */

:root {
    --lp-green: #5a7a6a;
    --lp-green-dark: #4a6858;
    --lp-green-light: #e8f0ec;
    --lp-cream: #faf6f0;
    --lp-cream-dark: #f0ebe3;
    --lp-warm-white: #fffdf9;
    --lp-text: #3a3226;
    --lp-text-light: #6b5e4f;
    --lp-accent: #c4a87a;
    --lp-border: #e0d8cc;
    --lp-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --lp-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lp-max-width: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--lp-sans);
    color: var(--lp-text);
    background: var(--lp-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ---- Container ---- */
.lp-container {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   Navigation
   ============================================================ */
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-border);
}
.lp-nav-inner {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.lp-logo {
    font-family: var(--lp-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lp-green);
    text-decoration: none;
}
.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.lp-nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--lp-text-light);
    text-decoration: none;
    transition: color 0.2s;
}
.lp-nav-link:hover { color: var(--lp-green); }

/* ============================================================
   Hero
   ============================================================ */
.lp-hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, var(--lp-cream) 0%, var(--lp-warm-white) 100%);
}
.lp-hero-inner {
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.lp-hero h1 {
    font-family: var(--lp-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--lp-text);
    margin-bottom: 20px;
}
.lp-hero-sub {
    font-size: 1.15rem;
    color: var(--lp-text-light);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.8;
}
.lp-hero-placeholder svg {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ---- Buttons ---- */
.lp-btn {
    display: inline-block;
    text-decoration: none;
    font-family: var(--lp-sans);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.lp-btn-primary {
    background: var(--lp-green);
    color: #fff;
    padding: 14px 36px;
    box-shadow: 0 2px 8px rgba(90, 122, 106, 0.25);
}
.lp-btn-primary:hover {
    background: var(--lp-green-dark);
    box-shadow: 0 4px 16px rgba(90, 122, 106, 0.35);
    transform: translateY(-1px);
}

/* ============================================================
   Section base
   ============================================================ */
.lp-section {
    padding: 80px 0;
}
.lp-section h2 {
    font-family: var(--lp-serif);
    font-size: 2.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--lp-text);
}

/* ============================================================
   Slik fungerer det — 3 steg
   ============================================================ */
.lp-how {
    background: var(--lp-warm-white);
}
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.lp-step {
    text-align: center;
    padding: 32px 24px;
}
.lp-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--lp-green);
}
.lp-step-icon svg {
    width: 100%;
    height: 100%;
}
.lp-step h3 {
    font-family: var(--lp-serif);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--lp-text);
}
.lp-step p {
    font-size: 0.98rem;
    color: var(--lp-text-light);
    line-height: 1.7;
}

/* ============================================================
   For hvem
   ============================================================ */
.lp-audience {
    background: var(--lp-cream);
}
.lp-audience-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.lp-audience-placeholder svg {
    width: 100%;
    height: auto;
    border-radius: 16px;
}
.lp-audience-text h2 {
    text-align: left;
    margin-bottom: 20px;
}
.lp-audience-text p {
    font-size: 1.05rem;
    color: var(--lp-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}
.lp-audience-highlight {
    font-weight: 600;
    color: var(--lp-green) !important;
    font-style: italic;
}

/* ============================================================
   Hva du får — feature grid
   ============================================================ */
.lp-features {
    background: var(--lp-warm-white);
}
.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.lp-feature-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 32px;
    transition: box-shadow 0.25s;
}
.lp-feature-card:hover {
    box-shadow: 0 4px 20px rgba(58, 50, 38, 0.08);
}
.lp-feature-icon {
    width: 40px;
    height: 40px;
    color: var(--lp-green);
    margin-bottom: 16px;
}
.lp-feature-icon svg {
    width: 100%;
    height: 100%;
}
.lp-feature-card h3 {
    font-family: var(--lp-serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--lp-text);
}
.lp-feature-card p {
    font-size: 0.95rem;
    color: var(--lp-text-light);
    line-height: 1.7;
}
.lp-feature-coming {
    border-style: dashed;
    opacity: 0.8;
}

/* ============================================================
   Pris
   ============================================================ */
.lp-pricing {
    background: var(--lp-cream);
}
.lp-pricing-beta {
    text-align: center;
    max-width: 560px;
    margin: -12px auto 32px;
    color: var(--lp-text-light);
    font-size: 0.95rem;
    background: var(--lp-green-light);
    border-radius: 10px;
    padding: 10px 18px;
}
.lp-period-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}
.lp-period-btn {
    font-family: var(--lp-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lp-text-light);
    background: #fff;
    border: 1px solid var(--lp-border);
    padding: 10px 26px;
    cursor: pointer;
    transition: all 0.15s;
}
.lp-period-btn:first-child { border-radius: 10px 0 0 10px; }
.lp-period-btn:last-child { border-radius: 0 10px 10px 0; }
.lp-period-btn + .lp-period-btn { border-left: none; }
.lp-period-btn:hover { color: var(--lp-green-dark); }
.lp-period-btn.active {
    background: var(--lp-green);
    border-color: var(--lp-green);
    color: #fff;
}
.lp-period-save {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.85;
    margin-left: 4px;
}
.lp-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: stretch;
}
.lp-tier {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    padding: 32px 26px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}
.lp-tier-featured {
    border: 2px solid var(--lp-green);
    box-shadow: 0 10px 30px rgba(90, 122, 106, 0.14);
}
.lp-tier h3 {
    font-family: var(--lp-serif);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.lp-tier-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-green);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}
.lp-tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 2px;
}
.lp-tier-amount {
    font-family: var(--lp-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--lp-text);
}
.lp-tier-unit {
    font-size: 0.9rem;
    color: var(--lp-text-light);
}
.lp-tier-lifetime {
    font-size: 0.8rem;
    color: var(--lp-text-light);
    margin-bottom: 10px;
    min-height: 1.2em;
}
.lp-tier-desc {
    font-size: 0.9rem;
    color: var(--lp-text-light);
    margin-bottom: 18px;
    min-height: 2.6em;
}
.lp-tier .lp-price-list {
    margin-bottom: 24px;
    flex: 1;
}
.lp-tier .lp-price-list li {
    font-size: 0.88rem;
    padding: 6px 0;
}
.lp-btn-secondary {
    display: inline-block;
    background: #fff;
    color: var(--lp-green-dark);
    border: 1.5px solid var(--lp-green);
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.15s;
}
.lp-btn-secondary:hover {
    background: var(--lp-green-light);
}
.lp-pricing-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.9rem;
    color: var(--lp-text-light);
}
.lp-price-card {
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--lp-green);
    border-radius: 18px;
    padding: 40px;
    text-align: center;
    position: relative;
}
.lp-price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-green);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 18px;
    border-radius: 20px;
}
.lp-price-amount {
    font-family: var(--lp-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--lp-text);
    margin: 16px 0 8px;
}
.lp-price-desc {
    font-size: 0.95rem;
    color: var(--lp-text-light);
    margin-bottom: 24px;
}
.lp-price-list {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
}
.lp-price-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--lp-text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.lp-price-list li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: var(--lp-green-light);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' stroke='%235a7a6a' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

/* ============================================================
   Footer
   ============================================================ */
.lp-footer {
    background: var(--lp-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 32px;
}
.lp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}
.lp-footer-logo {
    font-family: var(--lp-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}
.lp-footer-tagline {
    font-size: 0.85rem;
    margin-top: 4px;
    opacity: 0.6;
}
.lp-footer-links {
    display: flex;
    gap: 24px;
}
.lp-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.lp-footer-links a:hover {
    color: #fff;
}
.lp-gdpr-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
}
.lp-footer-copy {
    font-size: 0.82rem;
    opacity: 0.5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .lp-hero { padding-top: 88px; padding-bottom: 48px; }
    .lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .lp-hero h1 { font-size: 2.1rem; }
    .lp-hero-sub {
        margin: 0 auto 28px;
        font-size: 1.05rem;
    }
    .lp-hero-img { order: -1; max-width: 320px; margin: 0 auto; }
    .lp-steps { grid-template-columns: 1fr; gap: 12px; }
    .lp-step { padding: 24px 16px; }
    .lp-audience-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .lp-audience-img { max-width: 320px; margin: 0 auto; }
    .lp-audience-text h2 { text-align: center; }
    .lp-feature-grid { grid-template-columns: 1fr; }
    .lp-section { padding: 56px 0; }
    .lp-section h2 { font-size: 1.7rem; margin-bottom: 32px; }
    .lp-nav-links { gap: 16px; }
    .lp-nav-link { font-size: 0.84rem; }
    .lp-footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .lp-price-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .lp-hero h1 { font-size: 1.75rem; }
    .lp-nav-inner { height: 56px; }
    .lp-nav-links { gap: 12px; }
    .lp-nav-link:first-child { display: none; }
}
