:root {
    --grad-1: #0ea5ff;
    --grad-2: #6ee7b7;
    --grad-3: #f97316;
    --grad-4: #7c3aed;
    --bg-dark: #071029;
    --bg-dark-alt: #0c1a42;
    --muted: #9aa7b2;
    --card: rgba(255, 255, 255, 0.03);
    --glass: rgba(255, 255, 255, 0.04);
    --radius: 14px;
    --section-gap: 56px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
    background: linear-gradient(180deg, #071029 0%, #071733 60%);
    color: #fff;
    -webkit-font-smoothing: antialiased
}

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

header {
    padding: 18px 20px;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgb(255 255 255 / 25%);
}

.nav-link:after {
    content: "";
    height: 2px;
    background-color: #fff;
    display: block;
    margin-top: 5px;
    width: 0;
    transition: width .2s;
}

.nav-link:hover:after {
    width: 100%;
}

.btn-ghost:hover {
    color: #fff;
}

.how-features {
    flex:1;
    min-width:280px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.how-features > div {
    display: inherit;
    align-items: center;
    gap: 12px;
}

.how-grid {
    display:flex;
    gap:18px;
    align-items:center;
    flex-wrap:wrap;
    margin-top:6px;
}

.bolt{
    width:36px;
    min-width: 36px;
    height:36px;
    border-radius:8px;
    background:linear-gradient(90deg,var(--grad-3),var(--grad-4));
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    color:white;
    box-shadow:0 8px 20px rgba(124,58,237,0.2);
}

.container {
    max-width: 1180px;
    margin: 0 auto;
}

.brand > a {
    display: flex;
    align-items: center;
    gap: 10px
}

.brand img {
    width: 56px;
    height: 56px;
    border-radius: 12px
}

nav {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto
}

.nav-link {
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .18s, color .18s
}


.nav-link.active {
    background: linear-gradient(90deg, var(--grad-4), var(--grad-3));
    color: white
}

.btn-primary {
    background: linear-gradient(90deg, var(--grad-4), var(--grad-3));
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.12);
    transition: filter .2s ease;
    display:inline-block;
}

.btn-primary:hover {
    filter: brightness(1.3);
}

#signup h4 {
    font-size: 1.2rem;
}

.btn-ghost {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--muted)
}

.btn-ghost:hover {
    color: #fff;
}


/* Sections spacing */
section {
    margin-top: var(--section-gap);
    padding: 70px 20px;
    margin: 0;
}

section.alt {
    background-color: var(--bg-dark-alt);
}


/* Hero */
.hero {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1;
    min-width: 320px
}

.hero h2 {
    font-size: 36px;
    margin: 0 0 12px 0;
    line-height: 1.02;
    background: linear-gradient(90deg, var(--grad-1), var(--grad-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800
}

.hero p {
    color: var(--muted);
    font-size: 16px;
    max-width: 60%
}

.gif-area {
    flex: 0 0 540px;
    min-width: 320px;
    border-radius: 16px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(14, 165, 255, 0.08));
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.45);
    overflow: hidden
}

.gif-inner {
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--grad-1), var(--grad-2));
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .45s cubic-bezier(.2, .9, .2, 1)
}

.gif-inner:hover {
    transform: scale(1.02)
}

/* Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px
}

.resource {
    background: var(--card);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform .18s ease
}

.resource:hover {
    transform: translateY(-6px)
}

.resource h4 {
    margin: 40px 0 8px;
}

.resource p {
    color: var(--muted);
    margin: 0
}

.resource .thumb {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #e6f7ff, #edfdf7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b1220;
    font-weight: 700
}

.info strong {
    margin-bottom: 5px;
    display: block;
}

#how .card {
    background:var(--card);
    padding:12px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,0.03);
}

/* Advanced features (sidebar + content) */
.advanced-section-title {
    font-size: 20px;
    margin-bottom: 12px
}

.advanced {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 6px
}

.adv-left {
    flex: 0 0 240px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

.adv-btn {
    display: block;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    color: var(--muted);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .18s ease
}

.adv-btn.active {
    background: linear-gradient(90deg, var(--grad-4), var(--grad-3));
    color: white;
    border-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.12)
}

.adv-btn:hover {
    transform: translateX(6px);
    color: white
}

.adv-right {
    flex: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    min-height: 300px;
    position: relative;
    overflow: hidden
}

.adv-slide {
    opacity: 0;
    transition: opacity .45s ease, transform .45s ease;
    position: absolute;
    inset: 18px;
    pointer-events: none
}

.adv-slide.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto
}

.adv-slide img {
    max-width: 48%;
    float: right;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.5);
    visibility: hidden;
}

/* FAQ */
#faq {
    margin-top: 6px
}

#faq details {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

#faq summary {
    font-weight: 700;
    cursor: pointer
}

#faq p {
    color: var(--muted);
    margin: 8px 0 0 0
}

footer {
    margin-top: 48px;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-top: 1px solid rgba(255, 255, 255, 0.03)
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.socials {
    display: flex;
    gap: 12px;
    align-items: center
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--grad-1), var(--grad-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white
}

.mobile-meu {
    cursor: pointer;
    border: 1px solid #fff;
    padding: 7px 10px;
    border-radius: 3px;
    font-size: 1.4em;
    display: none;
}

@media(max-width:980px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .adv-right {
        min-height: 200px
    }
    .btn-primary {white-space: nowrap;}
}

@media(max-width:640px) {
    .resources-grid {
        grid-template-columns: 1fr
    }

    .hero p {
        max-width: 100%
    }

    .gif-inner {
        height: 220px
    }

    .adv-left {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        flex-basis: 100%;
        background: none;
    }

    .adv-btn {
        width: 48%;
        background: linear-gradient(180deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 5%));
        min-height: 60px;
        align-content: center;
        color: #fff;
    }

    .adv-slide.show p {
        color: #ffffffc9 !important;
    }

    body {
        font-size: 18px;
        --muted: #ffffffc9;
    }

    .advanced {
        flex-direction: column
    }

    .adv-right {
        width: 100%;
    }

    .mobile-meu {
        display: inherit;
    }
    .menu-nav {
        flex-direction: column;
        position: fixed;
        background-color: #071028;
        left: 0;
        border: 1px solid #454c5e;
        top: 0;
        bottom: 0;
        height: 100%;
        width: 0;
        transition: width .2s;
        overflow: hidden;
    }

    .menu-nav.open {
        width: 250px;
    }

    #container header {
        backdrop-filter: none;
    }

    .container {
        justify-content: space-between;
    }

    .gif-area {
        max-width: 100%;
    }

    #features > div {
        flex-wrap: wrap;
    }
}