/* =========================================
   ROOT
========================================= */
@font-face {
    font-family: 'OMblack';
    font-style: normal;
    font-weight: 500;
    src: local('SpaceGrotesk'),
        url(SpaceGrotesk-VariableFont_wght.ttf) format('truetype');
}

:root {

    --bg: #050816;

    --bg-soft: #0A1024;

    --surface: #0E152D;

    --primary: #18FF7A;

    --secondary: #2D7CFF;

    --accent: #7CF7FF;

    --text: #F5FFFA;

    --text-soft: rgba(230, 255, 240, .72);

    --text-fade: rgba(230, 255, 240, .45);

    --success: #18FF7A;

    --warning: #FFD93D;

    --danger: #FF5E7E;

    --border: rgba(255, 255, 255, .1);

    --border-active: rgba(24, 255, 122, .28);

    --glass: rgba(255, 255, 255, .3);

    --glass-strong: rgba(255, 255, 255, .06);

    --blur: 20px;

    --gradient-primary:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    --gradient-surface: linear-gradient(145deg,
            rgba(24, 255, 122, .05),
            rgba(45, 124, 255, .1));

    --glow-green:
        0 0 30px rgba(24, 255, 122, .22);

    --glow-blue:
        0 0 40px rgba(45, 124, 255, .18);

    --shadow-soft:
        0 10px 40px rgba(0, 0, 0, .35);

    --shadow-large:
        0 20px 80px rgba(0, 0, 0, .5);

    --radius-xs: 8px;

    --radius-sm: 12px;

    --radius-md: 10px;

    --radius-lg: 22px;

    --radius-xl: 28px;

    --space-xs: 6px;

    --space-sm: 12px;

    --space-md: 18px;

    --space-lg: 28px;

    --space-xl: 48px;

    --font-main: 'OMblack', sans-serif;

    --title-spacing: -3px;

    --line: 1.8;

    --container: 1300px;

    --navbar-height: 82px;

    --transition-fast: .18s ease;

    --transition: .28s cubic-bezier(.2, .8, .2, 1);

    --transition-slow: .5s ease;

    --title-xl: clamp(3.3rem, 9vw, 7rem);

    --title-lg: clamp(2.8rem, 5vw, 5rem);
}

/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    overflow: hidden;
    /* SNAP */
}

.container {
    height: 100vh;
    overflow-y: auto;

    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* CADA PÁGINA */
.panel {
    height: 100vh;

    scroll-snap-align: start;
    scroll-snap-stop: always;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    position: relative;
    overflow: hidden;
    min-height: 100svh;
    mix-blend-mode: screen;
    backdrop-filter: blur(20px);
}

.panel::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at center,
            rgba(255, 255, 255, 0.08),
            transparent 60%);

    pointer-events: none;
}

.panel>* {
    animation: fadeUp 0.8s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   BACKGROUND
========================================= */

#space-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -5;
}

.stars {
    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(rgba(255, 255, 255, .25) 1px,
            transparent 1px);

    background-size: 120px 120px;

    opacity: .18;
}

.grid-lines {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);

    background-size: 80px 80px;

    mask-image:
        radial-gradient(circle at center, black, transparent 80%);
}

.planet-glow {
    position: absolute;

    width: 800px;
    height: 800px;

    top: -300px;
    right: -200px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(45, 124, 255, .18),
            transparent 70%);

    filter: blur(80px);
}

.planet {
    position: absolute;
    border-radius: 50%;
}

.planet-1 {
    width: 280px;
    height: 280px;
    top: 10%;
    left: -60px;
    background: radial-gradient(circle,
            rgba(24, 255, 122, .1),
            transparent 70%);
    animation: floatingPlanet 12s ease-in-out infinite;
}

.planet-2 {
    width: 460px;
    height: 460px;
    bottom: 5%;
    right: -100px;
    background: radial-gradient(circle,
            rgba(45, 124, 255, .1),
            transparent 70%);
    animation: floatingPlanet 18s ease-in-out infinite reverse;
}

/* =========================================
   NAVBAR
========================================= */

#navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 40px;
    /* backdrop-filter: blur(18px); */
    background: rgba(5, 8, 22, .65);
    border-bottom:
        1px solid var(--border);
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        backdrop-filter 0.35s ease;
}

.navbar.top {
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: transparent;
}

/* OCULTO */
.navbar.hide {
    transform: translateY(-120%);
    opacity: 0;
}

.brand {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.3rem;
}

.brand img {
    width: 35px;
}

.brand span:last-child {
    color: var(--primary);
    margin-left: -10px;
}

.book {
    display: block;
    text-decoration: none;
}

.book img {
    width: 50px;
    filter: invert(.6);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-soft);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav,
.btn-pricing,
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 44px;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: #04110A !important;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    box-shadow:
        0 0 30px rgba(24, 255, 122, .18);
    position: relative;
}

.btn-nav:hover,
.btn-pricing:hover,
.btn-cta:hover {
    transform: translateY(-3px);
}

.ship-square::before,
.ship-square::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 5px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    z-index: -1;
    transform: skew(-10deg);
}

.ship-square::after {
    transform: skew(0);
    left: 5px;
    right: 0;
}

.ship-trapeze::before,
.ship-trapeze::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 5px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    z-index: -1;
    transform: skew(-5deg);
}

.ship-trapeze::after {
    transform: skew(5deg);
    left: 5px;
    right: 0;
}

/* =========================================
   GENERAL
========================================= */

main {
    width: 100%;
}

header,
section,
footer {
    width: 100%;
    max-width: var(--container);
    margin: auto;
    padding: 120px 24px;
}

section {
    height: 100vh;
}

main section:nth-child(6) {
    height: auto;
}

.section-label,
.hero-badge,
.pricing-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(24, 255, 122, .1);
    border:
        1px solid var(--border);
    color: var(--text-soft);
    font-size: .88rem;
    margin-bottom: 24px;
}

.hero-badge {
    margin: 24px 0;
}

.section-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-center h2,
.section-content h2,
.cta-box h2,
.pricing-card h2 {
    font-size: var(--title-lg);
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 24px;
}

.section-center p,
.section-content p,
.pricing-card p,
.cta-box p {
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* =========================================
   HERO
========================================= */

#hero {
    /* min-height: 100vh; */
    /* display: flex; */
    /* align-items: center; */
}

.hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 70px;
    align-items: center;
}

.hero-content h1 {
    font-size: var(--title-xl);
    line-height: .92;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-soft);
    margin-bottom: 34px;
    max-width: 650px;
}

/* =========================================
   SEARCH FORM
========================================= */

.search-form {
    width: 100%;
    max-width: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background: var(--glass);

    border:
        1px solid var(--border);

    margin-bottom: 16px;
}

.search-form label {
    padding-left: 22px;
    color: var(--text-fade);
}

.search-form input {
    flex: 1;
    height: 70px;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    padding: 0 18px;
    font-size: 1rem;
    padding-left: 5px;
}

.search-form button {
    font-family: inherit;
    height: 70px;
    padding: 0 28px;
    border: none;
    cursor: pointer;
    background: var(--gradient-primary);
    color: #04110A;
    font-weight: 800;
    font-size: 1rem;
}

.hero-mini-text {
    color: var(--text-fade);
    margin: 0 .5rem;
    margin-bottom: 24px;
}

.hero-tags {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    border:
        1px solid var(--border);
    color: var(--text-soft);
    font-size: .8rem;
}

/* =========================================
   PREVIEW PHONE
========================================= */

.preview-phone {
    width: 320px;
    max-width: 100%;
    margin: auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
    box-shadow: var(--shadow-large);
}

.preview-store {
    text-align: center;
    margin-bottom: 28px;
    color: var(--theme-text);
}

.store-avatar {
    width: 100%;
    height: 200px;
    margin: auto;
    margin-bottom: 16px;
    border-radius: 10px 10px 0 0;
    background: var(--gradient-primary);
    mask: radial-gradient(110.26% 96% at 50% 0%, #000 50%, rgba(0, 0, 0, 0.99) 54.68%, rgba(0, 0, 0, 0.97) 58.79%, rgba(0, 0, 0, 0.94) 62.4%, rgba(0, 0, 0, 0.90) 65.61%, rgba(0, 0, 0, 0.85) 68.52%, rgba(0, 0, 0, 0.79) 71.2%, rgba(0, 0, 0, 0.72) 73.75%, rgba(0, 0, 0, 0.65) 76.25%, rgba(0, 0, 0, 0.57) 78.8%, rgba(0, 0, 0, 0.48) 81.48%, rgba(0, 0, 0, 0.39) 84.39%, rgba(0, 0, 0, 0.30) 87.6%, rgba(0, 0, 0, 0.20) 91.21%, rgba(0, 0, 0, 0.10) 95.32%, rgba(0, 0, 0, 0.00) 100%);
}

.store-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    gap: 10px;
}

.social-media a {
    color: var(--theme-surface);
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform .1s ease;
}

.social-media a:hover {
    transform: scale(1.1);
}


.preview-link {
    width: auto;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 1rem;
    margin: 20px;
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--theme-text);
    background: color-mix(in srgb, var(--theme-surface) 88%, white 12%);
    border: 3px solid var(--theme-border);
    transition: var(--transition);
}

.preview-link:hover {
    transform: translateY(-2px);
}

.preview-link i {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    background: var(--theme-surface);
    color: var(--theme-accent);
    border-radius: 50%;
    padding: 10px;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px;
    margin-top: 18px;
    padding-right: 13px;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--theme-surface) 88%, white 12%);
    border: 3px solid var(--theme-border);
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.product-info {
    flex: 1;
    font-size: .9rem;
}

.product-info span {
    color: var(--text-fade);
    display: block;
}

.product-price {
    color: var(--theme-primary);
    font-weight: 800;
}

/* =========================================
   FEATURES
========================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--gradient-surface);
    border:
        1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);

    border-color: var(--border-active);
}

.feature-card i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--glass);
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 14px;
}

.feature-card p {
    color: var(--text-soft);
    line-height: 1.7;
}

/* =========================================
   SECTION GRID
========================================= */

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.reverse-grid .section-ui {
    order: 1;
}

.reverse-grid .section-content {
    order: 2;
}

.floating-ui {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mini-ui {
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary);
    border:
        1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    gap: 10px;
    margin: 0 auto;
}

.mini-ui i {
    font-size: 2rem;
}

/* =========================================
   DASHBOARD
========================================= */

.dashboard-preview {
    width: 100%;
    display: grid;
    grid-template-columns: 240px 1fr;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--gradient-surface);
    border:
        1px solid var(--border);
}

.dashboard-sidebar {
    padding: 28px;

    border-right:
        1px solid var(--border);
}

.sidebar-item {
    height: 54px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-radius: var(--radius-md);
    color: var(--text-soft);
}

.sidebar-item.active {
    background: rgba(24, 255, 122, .08);

    color: var(--primary);
}

.dashboard-content {
    padding: 28px;
}

.dashboard-window {
    overflow: hidden;

    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, .03);

    border:
        1px solid var(--border);
}

.window-header {
    padding: 18px 22px;

    border-bottom:
        1px solid var(--border);

    color: var(--text-fade);
}

.window-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    padding: 24px;
}

.fake-product {
    height: 50px;
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg,
            rgba(24, 255, 122, .12),
            rgba(45, 124, 255, .12));
}

/* =========================================
   PRICING + CTA
========================================= */

.pricing-card,
.cta-box {
    text-align: center;
    padding: 40px 50px;
    border-radius: var(--radius-xl);
    background: var(--gradient-surface);
    border:
        1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.pricing-card {
    max-width: 900px;
    margin: auto;
    text-align: left;
}

.pricing-price {
    margin: 24px 0;
}

.pricing-price strong {
    font-size: 5rem;
    letter-spacing: -5px;
    color: var(--text);
}

.pricing-price span {
    color: var(--glass);
}

.pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 34px 0;
    color: var(--text-fade);
}

/* =========================================
   FOOTER
========================================= */

.footer {
    position: fixed;
    bottom: -100%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    padding: 1rem;
    transition: bottom 1s ease;
}

.footer-up {
    bottom: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 40px;

    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--text-soft);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a,
.footer-social a {
    color: var(--text-soft);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 18px;
    align-items: flex-end;
}

.footer-bottom {
    padding-top: 30px;

    border-top:
        1px solid var(--border);

    color: var(--text-fade);
}

/* =========================================
   ANIMATIONS
========================================= */

.fade-up {
    animation: fadeUp 1s ease forwards;
}

.fade-left {
    animation: fadeLeft 1s ease forwards;
}

.fade-right {
    animation: fadeRight 1s ease forwards;
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

.pulse {
    /* animation: pulse 3s ease infinite; */
}

.floating-delay-1 {
    animation: floating 5s ease-in-out infinite;
}

.floating-delay-2 {
    animation: floating 6s ease-in-out infinite;
}

.floating-delay-3 {
    animation: floating 7s ease-in-out infinite;
}

.floating-delay-4 {
    animation: floating 8s ease-in-out infinite;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {

    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {

    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes floatingPlanet {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-24px);
    }
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1000px) {

    .hero-grid,
    .section-grid,
    .dashboard-preview {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content,
    .section-content,
    .section-center {
        text-align: center;
    }

    .search-form {
        margin: auto;
        margin-bottom: 16px;
    }

    .hero-tags {
        justify-content: center;
    }
}

@media(max-width:700px) {

    .hero-content p {
        padding: 1rem 2rem;
    }

    .hero-badge {
        display: none;
    }

    .brand {
        padding: 15px;
    }

    .nav-links a {
        flex-direction: column;
        font-size: 1.5rem;
        width: 100%;
    }

    .nav-links i {
        flex-direction: column;
    }

    .nav-links span {
        font-size: .7rem;
    }

    a.ship-square {
        font-size: .9rem;
        padding: 0 15px;
        justify-content: center;
        width: 150%;
    }

    #navbar {
        padding: 0;
    }

    .nav-links {
        position: fixed;
        bottom: 0;
        width: 100%;
        background: var(--theme-surface);
        padding: 10px;
        gap: 15px;
    }

    header,
    section,
    footer {
        padding: 90px 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-wrap: wrap;
        padding: 18px;
        gap: 5px;
    }

    .search-form label {
        padding-left: 0;
    }

    .search-form input {
        width: 100%;
        height: auto;
        padding: 0;
        font-size: 1.2rem;
    }

    .search-form button {
        width: 100%;
        border-radius: var(--radius-md);
        margin-top: 1rem;
    }

    .hero-tags {
        justify-content: center;
    }

    .window-body {
        grid-template-columns: 1fr;
    }

    .pricing-price strong {
        font-size: 3.8rem;
    }
}

/* DESKTOP */
@media (max-width: 768px) {

    .container {
        height: auto;
        overflow: visible;
        scroll-snap-type: none;
    }

    .panel {
        height: auto;
        min-height: auto;
        scroll-snap-align: none;
        scroll-snap-stop: always;
    }

}

/* MOBILE */
@media (max-width: 768px) {

    body {
        overflow: auto;
    }

    .footer {
        position: relative;
    }

    .container {
        height: auto;
        overflow: visible;

        scroll-snap-type: none;
    }

    .panel {
        height: auto;
        min-height: auto;
        padding-block: 100px;
        overflow: visible;
    }

    .reverse-grid .section-content {
        order: 0;
    }

}