/* ═══ LifeOS Official Site — Style ═══ */
:root {
    --bg: #060612;
    --bg2: #0c0c22;
    --bg3: #141438;
    --glass: rgba(255, 255, 255, .04);
    --border: rgba(255, 255, 255, .06);
    --text: #eaeaf4;
    --text2: #8888a8;
    --muted: #444466;
    --accent: #7c3aed;
    --glow: rgba(124, 58, 237, .2);
    --success: #10b981;
    --aram: #f59e0b;
    --jaram: #10b981;
    --uram: #3b82f6
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px
}

.gradient {
    background: linear-gradient(135deg, #f59e0b, #7c3aed, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

/* ═══ Nav ═══ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all .3s
}

.nav.scrolled {
    background: rgba(6, 6, 18, .9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border)
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.nav-logo {
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text)
}

.nav-logo span {
    color: var(--accent)
}

.nav-links {
    display: flex;
    gap: 28px
}

.nav-links a {
    font-size: 13px;
    color: var(--text2);
    text-decoration: none;
    transition: color .2s
}

.nav-links a:hover {
    color: var(--text)
}

.nav-cta {
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s
}

.nav-cta:hover {
    filter: brightness(1.2)
}

/* ═══ Hero ═══ */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 50%);
    pointer-events: none
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: .15;
    animation: float linear infinite
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
        opacity: .15
    }

    50% {
        opacity: .3
    }

    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 24px;
    background: var(--glass);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 24px
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -3px;
    margin-bottom: 20px
}

.hero-sub {
    font-size: 17px;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 36px
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 60px
}

.btn-hero {
    padding: 14px 36px;
    border-radius: 14px;
    background: var(--accent);
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 8px 32px var(--glow)
}

.btn-hero:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
    box-shadow: 0 12px 40px var(--glow)
}

.btn-ghost-hero {
    padding: 14px 36px;
    border-radius: 14px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s
}

.btn-ghost-hero:hover {
    background: var(--glass);
    color: var(--text)
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap
}

.hero-stat {
    text-align: center
}

.hero-stat span {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent)
}

.hero-stat {
    font-size: 12px;
    color: var(--text2)
}

/* ═══ Sections ═══ */
.section {
    padding: 100px 0
}

.section-dark {
    background: var(--bg2)
}

.section-header {
    text-align: center;
    margin-bottom: 56px
}

.section-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 8px;
    background: var(--glass);
    border: 1px solid var(--border);
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 12px
}

.section-header p {
    font-size: 15px;
    color: var(--text2)
}

/* ═══ Features ═══ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.feature-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all .3s;
    opacity: 0;
    transform: translateY(30px)
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0)
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
    border-color: var(--accent)
}

.feature-highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg3), var(--bg2))
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 14px
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px
}

.feature-card p {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 12px
}

.feature-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    background: var(--glow);
    color: var(--accent);
    font-weight: 600
}

/* ═══ Spirits ═══ */
.spirits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px
}

.spirit {
    text-align: center;
    padding: 24px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--glass);
    transition: all .3s;
    opacity: 0;
    transform: translateY(20px);
    cursor: default
}

.spirit.visible {
    opacity: 1;
    transform: translateY(0)
}

.spirit:hover {
    transform: translateY(-6px);
    border-color: var(--c);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .3)
}

.spirit-emoji {
    font-size: 36px;
    margin-bottom: 8px
}

.spirit h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--c)
}

.spirit p {
    font-size: 11px;
    color: var(--text2)
}

/* ═══ Council ═══ */
.council-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.council-card {
    background: var(--bg2);
    border: 2px solid;
    border-radius: 18px;
    padding: 32px;
    text-align: center;
    transition: all .3s;
    opacity: 0;
    transform: translateY(30px)
}

.council-card.visible {
    opacity: 1;
    transform: translateY(0)
}

.council-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .3)
}

.council-emoji {
    font-size: 48px;
    margin-bottom: 12px
}

.council-card h3 {
    font-size: 22px;
    font-weight: 800
}

.council-role {
    font-size: 12px;
    color: var(--text2);
    margin-bottom: 16px
}

.council-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 16px
}

.council-card li {
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text2)
}

.council-time {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--glow);
    display: inline-block
}

/* ═══ Demo Tiles ═══ */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.demo-tile {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all .3s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px)
}

.demo-tile.visible {
    opacity: 1;
    transform: translateY(0)
}

.demo-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
    border-color: var(--accent)
}

.demo-level-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700
}

.demo-l1 {
    background: rgba(16, 185, 129, .15);
    color: var(--jaram)
}

.demo-l2 {
    background: rgba(245, 158, 11, .15);
    color: var(--aram)
}

.demo-l3 {
    background: rgba(59, 130, 246, .15);
    color: var(--uram)
}

.demo-tile-icon {
    font-size: 48px;
    margin-bottom: 12px
}

.demo-tile h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px
}

.demo-tile p {
    font-size: 12px;
    color: var(--text2);
    margin-bottom: 16px;
    line-height: 1.5
}

.demo-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 11px;
    color: var(--muted)
}

/* ═══ Architecture ═══ */
.arch-overview {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.arch-layer {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all .4s
}

.arch-layer.visible {
    opacity: 1;
    transform: translateY(0)
}

.arch-layer h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px
}

.arch-items {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap
}

.arch-items span {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text2)
}

.arch-arrow {
    text-align: center;
    font-size: 18px;
    color: var(--muted)
}

/* ═══ CTA ═══ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg2), var(--bg))
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px
}

/* ═══ Footer ═══ */
.footer {
    padding: 24px 0;
    border-top: 1px solid var(--border)
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted)
}

/* ═══ Responsive ═══ */
@media(max-width:768px) {
    .features-grid {
        grid-template-columns: 1fr
    }

    .feature-highlight {
        grid-column: span 1
    }

    .spirits-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .council-grid,
    .demo-grid {
        grid-template-columns: 1fr
    }

    .nav-links {
        display: none
    }

    .hero-stats {
        gap: 24px
    }
}