/* Luna Cafe — landing (dark luxury + bento) */

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

:root {
    --ln-bg: #080808;
    --ln-bg-elevated: #111111;
    --ln-surface: #1a1a1a;
    --ln-border: rgba(255, 255, 255, 0.08);
    --ln-text: #f5f0eb;
    --ln-muted: #9a9088;
    --ln-amber: #e8a849;
    --ln-amber-soft: rgba(232, 168, 73, 0.15);
    --ln-cream: #faf6f1;
    --ln-radius: 20px;
    --ln-font: 'DM Sans', system-ui, sans-serif;
    --ln-display: 'Fraunces', Georgia, serif;
}

body.luna-landing {
    font-family: var(--ln-font);
    background: var(--ln-bg);
    color: var(--ln-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.luna-landing.light-mode {
    --ln-bg: #faf6f1;
    --ln-bg-elevated: #ffffff;
    --ln-surface: #ffffff;
    --ln-border: rgba(20, 16, 12, 0.08);
    --ln-text: #14100c;
    --ln-muted: #6b635c;
    --ln-amber-soft: rgba(232, 168, 73, 0.12);
}

/* Ambient glow */
.ln-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.ln-glow-a {
    width: 600px;
    height: 600px;
    background: rgba(232, 168, 73, 0.12);
    top: -200px;
    right: -100px;
}

.ln-glow-b {
    width: 400px;
    height: 400px;
    background: rgba(232, 168, 73, 0.06);
    bottom: 10%;
    left: -100px;
}

.ln-page {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
.ln-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
}

.ln-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.ln-logo img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: contain;
    background: var(--ln-surface);
    padding: 4px;
    border: 1px solid var(--ln-border);
}

.ln-logo-text {
    font-family: var(--ln-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ln-logo-text span {
    color: var(--ln-amber);
}

.ln-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ln-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--ln-border);
    background: var(--ln-surface);
    color: var(--ln-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: color 0.2s, border-color 0.2s;
}

.ln-icon-btn:hover {
    color: var(--ln-amber);
    border-color: rgba(232, 168, 73, 0.35);
}

.ln-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.ln-btn-primary {
    background: var(--ln-amber);
    color: #14100c;
    box-shadow: 0 8px 32px rgba(232, 168, 73, 0.25);
}

.ln-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(232, 168, 73, 0.35);
    color: #14100c;
}

.ln-btn-outline {
    border: 1px solid var(--ln-border);
    background: transparent;
    color: var(--ln-text);
}

.ln-btn-outline:hover {
    border-color: var(--ln-amber);
    color: var(--ln-amber);
}

/* Hero */
.ln-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    padding: 40px 0 80px;
    min-height: calc(100vh - 100px);
}

.ln-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ln-amber);
    margin-bottom: 24px;
}

.ln-hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--ln-amber);
}

.ln-hero h1 {
    font-family: var(--ln-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.ln-hero h1 .ln-line2 {
    display: block;
    color: var(--ln-muted);
    font-weight: 500;
    font-size: 0.72em;
    margin-top: 0.15em;
}

.ln-hero-desc {
    font-size: 1.05rem;
    color: var(--ln-muted);
    max-width: 460px;
    margin-bottom: 36px;
    line-height: 1.75;
}

.ln-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.ln-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding-top: 32px;
    border-top: 1px solid var(--ln-border);
}

.ln-trust-item strong {
    display: block;
    font-family: var(--ln-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ln-amber);
    line-height: 1;
    margin-bottom: 4px;
}

.ln-trust-item span {
    font-size: 0.78rem;
    color: var(--ln-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Hero visual — moon ring */
.ln-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.ln-orbit {
    position: absolute;
    border: 1px solid var(--ln-border);
    border-radius: 50%;
    animation: ln-spin 40s linear infinite;
}

.ln-orbit-1 {
    width: 340px;
    height: 340px;
}

.ln-orbit-2 {
    width: 420px;
    height: 420px;
    animation-direction: reverse;
    animation-duration: 55s;
    opacity: 0.5;
}

.ln-orbit-dot {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    background: var(--ln-amber);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--ln-amber);
}

@keyframes ln-spin {
    to { transform: rotate(360deg); }
}

.ln-hero-card {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--ln-surface) 0%, var(--ln-bg-elevated) 100%);
    border: 1px solid var(--ln-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

body.luna-landing.light-mode .ln-hero-card {
    box-shadow: 0 24px 60px rgba(20, 16, 12, 0.12);
}

.ln-hero-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 16px;
}

.ln-hero-card h2 {
    font-family: var(--ln-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.ln-hero-card p {
    font-size: 0.8rem;
    color: var(--ln-muted);
}

/* Bento features */
.ln-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ln-amber);
    margin-bottom: 12px;
}

.ln-section-title {
    font-family: var(--ln-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

.ln-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(140px, auto);
    gap: 16px;
    margin-bottom: 80px;
}

.ln-bento-cell {
    background: var(--ln-surface);
    border: 1px solid var(--ln-border);
    border-radius: var(--ln-radius);
    padding: 28px;
    transition: border-color 0.25s, transform 0.25s;
    overflow: hidden;
    position: relative;
}

.ln-bento-cell:hover {
    border-color: rgba(232, 168, 73, 0.3);
    transform: translateY(-3px);
}

.ln-bento-cell.span-8 { grid-column: span 8; }
.ln-bento-cell.span-4 { grid-column: span 4; }
.ln-bento-cell.span-6 { grid-column: span 6; }
.ln-bento-cell.span-12 { grid-column: span 12; }

.ln-bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ln-amber-soft);
    color: var(--ln-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.ln-bento-cell h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ln-bento-cell p {
    font-size: 0.88rem;
    color: var(--ln-muted);
    line-height: 1.55;
    max-width: 420px;
}

.ln-bento-highlight {
    background: linear-gradient(135deg, rgba(232, 168, 73, 0.12) 0%, var(--ln-surface) 60%);
    border-color: rgba(232, 168, 73, 0.2);
}

.ln-bento-highlight h3 {
    font-family: var(--ln-display);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Roles strip */
.ln-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 80px;
}

.ln-role-card {
    background: var(--ln-bg-elevated);
    border: 1px solid var(--ln-border);
    border-radius: var(--ln-radius);
    padding: 28px 24px;
    text-align: center;
    transition: border-color 0.2s;
}

.ln-role-card:hover {
    border-color: rgba(232, 168, 73, 0.35);
}

.ln-role-card i {
    font-size: 1.75rem;
    color: var(--ln-amber);
    margin-bottom: 14px;
}

.ln-role-card h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.ln-role-card p {
    font-size: 0.82rem;
    color: var(--ln-muted);
}

/* CTA band */
.ln-cta {
    background: var(--ln-surface);
    border: 1px solid var(--ln-border);
    border-radius: 24px;
    padding: 48px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 64px;
}

.ln-cta h2 {
    font-family: var(--ln-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.ln-cta p {
    color: var(--ln-muted);
    font-size: 0.95rem;
}

/* Footer */
.ln-footer {
    padding: 32px 0 48px;
    border-top: 1px solid var(--ln-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--ln-muted);
}

.ln-footer-brand {
    font-family: var(--ln-display);
    font-weight: 600;
    color: var(--ln-text);
}

@media (max-width: 960px) {
    .ln-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 48px;
    }

    .ln-hero-visual {
        min-height: 320px;
        order: -1;
    }

    .ln-orbit-1 { width: 260px; height: 260px; }
    .ln-orbit-2 { width: 320px; height: 320px; }
    .ln-hero-card { width: 220px; height: 220px; }

    .ln-bento-cell.span-8,
    .ln-bento-cell.span-4,
    .ln-bento-cell.span-6,
    .ln-bento-cell.span-12 {
        grid-column: span 12;
    }

    .ln-roles {
        grid-template-columns: 1fr;
    }

    .ln-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .ln-nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .ln-btn span.ln-hide-sm {
        display: none;
    }

    .ln-trust-row {
        gap: 20px;
    }
}
