/* =========================================================
   LUME LABS - Main Stylesheet
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    color: #141418;
    background:
        radial-gradient(circle at 10% 0%, rgba(124, 92, 255, 0.09), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(255, 95, 162, 0.08), transparent 28%),
        #fafafd;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

:root {
    --bg: #fafafd;
    --surface: rgba(255, 255, 255, 0.76);
    --text: #141418;
    --text-2: #666670;
    --text-3: #94949f;
    --line: rgba(18, 18, 24, 0.08);
    --purple: #7c5cff;
    --purple-dark: #5f43de;
    --pink: #ff5fa2;

    --gradient-main:
        linear-gradient(
            135deg,
            #7c5cff 0%,
            #a756ef 48%,
            #ff5fa2 100%
        );

    --shadow-sm: 0 8px 24px rgba(33, 25, 65, 0.06);
    --shadow-md: 0 18px 56px rgba(33, 25, 65, 0.10);
    --shadow-lg: 0 28px 90px rgba(33, 25, 65, 0.16);

    --radius-lg: 32px;
    --radius-xl: 44px;

    --ease: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
    position: relative;
    z-index: 2;
}

section {
    position: relative;
}

main {
    position: relative;
    z-index: 1;
}

::selection {
    background: rgba(124, 92, 255, 0.18);
    color: var(--text);
}

/* BACKGROUND BLOBS */

.background-blur {
    position: fixed;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.32;
    pointer-events: none;
    z-index: 0;
    animation: floatBlob 18s ease-in-out infinite alternate;
}

.blur1 {
    top: -180px;
    left: -150px;
    background: #9b79ff;
}

.blur2 {
    top: 170px;
    right: -180px;
    background: #ff84bb;
    animation-delay: -5s;
}

.blur3 {
    bottom: -170px;
    left: 38%;
    background: #82a9ff;
    animation-delay: -9s;
}

@keyframes floatBlob {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(42px, -28px, 0) scale(1.08); }
    100% { transform: translate3d(-24px, 42px, 0) scale(0.96); }
}

/* HEADER / NAV */

header {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

header::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
}

nav {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 10;
    transition: var(--ease);
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}


.lume-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.lume-site-name {
    color: #141418;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
}

nav ul a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    color: var(--text-2);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--ease);
}

nav ul a:hover,
nav ul a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.74);
    box-shadow:
        inset 0 0 0 1px var(--line),
        var(--shadow-sm);
}

nav.nav-scrolled {
    transform: translateY(2px);
}

/* HERO */

.hero {
    min-height: calc(100vh - 94px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 72px 20px 145px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    width: 760px;
    height: 760px;
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(124, 92, 255, 0.14),
            rgba(255, 95, 162, 0.05) 42%,
            transparent 68%
        );
    pointer-events: none;
    z-index: -1;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 36px;
    padding: 0 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(124, 92, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-sm);
    color: var(--purple-dark);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.hero h1 {
    max-width: 980px;
    margin-bottom: 26px;
    font-size: clamp(3.5rem, 7.7vw, 7.1rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
    font-weight: 700;
    color: var(--text);
}

.hero-text {
    max-width: 700px;
    margin-bottom: 36px;
    color: var(--text-2);
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* BUTTONS */

.primary-btn,
.secondary-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--ease);
}

.primary-btn {
    color: #fff;
    background: var(--gradient-main);
    box-shadow: 0 12px 32px rgba(124, 92, 255, 0.23);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(124, 92, 255, 0.32);
}

.secondary-btn {
    color: var(--text);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.secondary-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 92, 255, 0.20);
    box-shadow: var(--shadow-md);
}

/* SECTIONS */

.apps-section,
.mission,
.tech,
.cta {
    padding: 120px 0;
}

.apps-section h2,
.mission h2,
.tech h2,
.cta h2 {
    color: var(--text);
    font-size: clamp(2.3rem, 4.3vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
    font-weight: 650;
}

.section-subtitle {
    margin-top: 14px;
    margin-bottom: 52px;
    color: var(--text-2);
    font-size: 1.02rem;
}

/* APPS */

.apps-section::before {
    content: "";
    position: absolute;
    inset: 28px 18px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 48px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.76),
            rgba(247, 246, 251, 0.66)
        );
    box-shadow: 0 26px 90px rgba(38, 30, 70, 0.05);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    perspective: 1200px;
}

.app-card {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.92),
            rgba(248, 248, 252, 0.72)
        );
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--ease),
        box-shadow var(--ease),
        border-color var(--ease);
}

.app-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 92, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.bondai-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(194, 115, 255, 0.14), transparent 30%),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(250, 246, 255, 0.78)
        );
}

.icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border: 1px solid rgba(124, 92, 255, 0.10);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.95),
            rgba(247, 244, 253, 0.82)
        );
    box-shadow: 0 12px 32px rgba(58, 35, 110, 0.09);
    color: var(--purple-dark);
    font-size: 1.9rem;
    transition: var(--ease);
}

.bondai-icon {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
}

.bondai-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.snapface-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 95, 162, 0.14), transparent 30%),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(253, 246, 253, 0.78)
        );
}

.snapface-icon {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
}

.snapface-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-label {
    margin-bottom: 10px !important;
    color: var(--purple-dark) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.app-card h3 {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 1.65rem;
    font-weight: 650;
    letter-spacing: -0.04em;
}

.app-card > p:not(.product-label) {
    margin-bottom: 24px;
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.75;
}

.app-card > span {
    margin-top: auto;
    color: var(--text-3);
    font-size: 0.81rem;
    font-weight: 500;
}

.learn {
    margin-top: 20px;
    color: var(--purple-dark);
    font-size: 0.91rem;
    font-weight: 600;
}

.app-card.disabled {
    cursor: default;
    opacity: 0.74;
    filter: saturate(0.55);
}

/* MISSION / ABOUT */

.mission {
    text-align: center;
}

.mission .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission h2 {
    max-width: 850px;
    margin-bottom: 26px;
}

.mission > .container > p:not(.tag) {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-2);
    font-size: clamp(1rem, 1.7vw, 1.14rem);
    line-height: 1.95;
}

/* HOW WE BUILD */

.tech {
    padding-top: 70px;
    text-align: center;
}

.tech h2 {
    margin-bottom: 40px;
    font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.tech-grid {
    max-width: 920px;
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tech-grid div {
    min-width: 150px;
    padding: 13px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
    color: var(--text-2);
    font-size: 0.85rem;
    font-weight: 500;
}

/* CTA */

.cta {
    padding: 140px 0;
    text-align: center;
}

.cta .container {
    overflow: hidden;
    padding: 90px 38px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(
            135deg,
            rgba(124, 92, 255, 0.97),
            rgba(165, 77, 235, 0.97),
            rgba(255, 95, 162, 0.97)
        );
    box-shadow: 0 36px 92px rgba(112, 68, 200, 0.24);
}

.cta .tag {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.cta h2 {
    max-width: 720px;
    margin: 0 auto 18px;
    color: #fff;
}

.cta p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.82);
}

.cta .primary-btn {
    background: rgba(255, 255, 255, 0.96);
    color: #6542da;
}

/* FOOTER */

footer {
    padding: 56px 0 38px;
    border-top: 1px solid rgba(18, 18, 24, 0.06);
    background: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.lume-footer-logo {
    width: auto;
    height: 58px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.footer-links a {
    padding: 7px 10px;
    border-radius: 9px;
    color: var(--text-2);
    font-size: 0.82rem;
    transition: var(--ease);
}

.footer-links a:hover {
    color: var(--purple-dark);
    background: rgba(124, 92, 255, 0.06);
}

.copyright {
    color: var(--text-3);
    font-size: 0.76rem;
}

/* LEGAL / CONTACT PAGES */

.page-header {
    padding: 110px 0 45px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.055em;
    margin-bottom: 18px;
}

.page-header p {
    max-width: 680px;
    margin-inline: auto;
    color: var(--text-2);
}

.content-page {
    padding: 35px 0 110px;
}

.content-card {
    max-width: 900px;
    margin-inline: auto;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.content-card h2 {
    margin: 32px 0 10px;
    font-size: 1.35rem;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card p,
.content-card li {
    color: var(--text-2);
    line-height: 1.85;
}

.content-card ul {
    list-style: disc;
    padding-left: 22px;
    margin-top: 10px;
}

.contact-box {
    display: grid;
    gap: 18px;
}

.contact-item {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
}

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(124, 92, 255, 0.28);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
