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

:root {
    --bg:        #08040d;
    --text:      #f5f3ff;
    --muted:     #8b869f;
    --purple:    #8b5cf6;
    --purple-bright: #a78bfa;
    --purple-lo: rgba(139, 92, 246, 0.08);
    --purple-md: rgba(139, 92, 246, 0.22);
    --border:    rgba(167, 139, 250, 0.08);
    --border-hi: rgba(167, 139, 250, 0.18);
    --font:      'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    display: flex;
    align-items: center;
    justify-content: center;
}


.noise {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}


.stars-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}


.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    padding: 0 40px;
    gap: 40px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero {
    flex: 1.2;
    max-width: 520px;
    text-align: center;
}

.hero__glow {
    position: absolute;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 70%);
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: floatGlow 15s ease-in-out infinite;
}

.hero__glow--2 {
    background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 60%);
    animation-delay: -7.5s;
    animation-duration: 18s;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-45%, -48%) scale(1.15); }
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    animation: fadeUp 0.8s var(--ease-out) both;
}

.hero__logo {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    border: 1px solid var(--border-hi);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.25);
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero__title {
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--text) 30%, var(--purple-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.15));
}

.hero__sub {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.side-showcase {
    flex: 1;
    max-width: 380px;
    width: 100%;
    z-index: 1;
}

.side-showcase--left {
    animation: slideRight 0.8s var(--ease-out) both;
}

.side-showcase--right {
    animation: slideLeft 0.8s var(--ease-out) both;
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-30px) rotate(-1deg); }
    to   { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(30px) rotate(1deg); }
    to   { opacity: 1; transform: translateX(0) rotate(0); }
}

/* Mock Desktop Window Frame */
.app-frame {
    background: rgba(17, 9, 26, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-hi);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-frame__bar {
    background: rgba(23, 14, 36, 0.8);
    border-bottom: 1px solid var(--border);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.app-frame__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.app-frame__title {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    font-family: monospace;
    margin-left: 6px;
}

.app-frame__content {
    overflow: hidden;
    position: relative;
    background: #09060e;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-img {
    display: block;
    pointer-events: none;
}

.showcase-img--executor {
    width: 100%;
    height: auto;
    clip-path: inset(1.5% 1.5% 1.5% 1.5% round 0px);
}

.showcase-img--external {
    width: 100%;
    height: auto;
    display: block;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    cursor: pointer;
}

.btn--primary {
    background: var(--purple);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
.btn--primary:hover {
    background: var(--purple-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.45);
}

.btn--discord {
    background: #5865f2;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.25);
}
.btn--discord:hover {
    background: #4e5ad4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}
.btn--discord svg {
    fill: currentColor;
    display: inline-block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


@media (max-width: 980px) {
    .side-showcase {
        display: none;
    }
    .hero-container {
        padding: 24px;
    }
    .hero {
        max-width: 100%;
    }
}
