:root {
    --bg-dark: #050507;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --brand-primary: #8b5cf6;
    --brand-secondary: #ec4899;
    --brand-accent: #06b6d4;
    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Aurora Background --- */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-dark);
}

.aurora-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: drift 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--brand-primary), transparent 70%);
    animation-duration: 25s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--brand-secondary), transparent 70%);
    animation-duration: 30s;
    animation-direction: reverse;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--brand-accent), transparent 70%);
    opacity: 0.2;
    animation-duration: 20s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.glass-panel {
    background: var(--glass-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* --- Header --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: white;
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-launch {
    background: white;
    color: black;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-launch:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    margin-bottom: 32px;
    color: var(--brand-accent);
    font-weight: 600;
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* --- Hero Buttons --- */
.cta-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 32px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
}

.btn-play-store {
    display: inline-flex;
    align-items: center;
    height: 56px;
    background: black;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0 20px;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
}

.btn-play-store:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

.play-logo {
    width: 28px;
    height: 28px;
    margin-right: 12px;
}

.play-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.play-text span:first-child {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.play-text span:last-child {
    font-size: 1.2rem;
    font-weight: 600;
}

/* --- 3D App Mockup --- */
.app-showcase {
    perspective: 2000px;
    margin-top: -40px;
    display: flex;
    justify-content: center;
}

.mockup-container {
    width: 900px;
    height: 600px;
    background: #1e1e24;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    transform: rotateX(20deg) scale(0.9);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero:hover .mockup-container {
    transform: rotateX(5deg) scale(0.95);
}

/* --- Mobile Bento Mockup (Enhanced) --- */
/* --- Mobile Bento Mockup (High Fidelity) --- */
.mobile-bento-mockup {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0f0f11;
    display: grid;
    grid-template-columns: 260px 1fr;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.mb-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mb-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.mb-logo {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 8px;
}

.mb-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: default;
}

.mb-menu-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.mb-icon {
    font-size: 1.1rem;
    opacity: 0.8;
}

.mb-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.08), transparent 60%);
}

.mb-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mb-greeting h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 4px;
}

.mb-greeting p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mb-avatar {
    width: 40px;
    height: 40px;
    background: var(--brand-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 0.9rem;
}

.mb-search-bar {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mb-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.mb-card-row {
    display: flex;
    gap: 16px;
}

.mb-card {
    height: 140px;
    flex: 1;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mb-card:hover {
    transform: translateY(-4px);
}

.mb-card-icon {
    font-size: 1.5rem;
}

.mb-card-text {
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.mb-card-count {
    font-size: 0.8rem;
    opacity: 0.7;
    color: white;
}

.mb-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mb-list-item {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.mb-list-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.mb-list-icon.file {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.mb-list-icon.link {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}

.mb-list-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mb-list-title {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.mb-list-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- Bento Grid Features --- */
.bento-section {
    padding: 120px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 80px;
}

.section-head h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 16px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
}

.bento-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.span-2 {
    grid-column: span 2;
}

.span-1 {
    grid-column: span 1;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.bento-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

.card-visual {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    border-top-left-radius: 20px;
    z-index: 1;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-col h4 {
    margin-bottom: 24px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--brand-accent);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 300px);
    }

    .span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .span-2 {
        grid-column: span 1;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}