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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================================================================== */
/* NAVBAR                                                              */
/* ================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
}

.navbar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #facc15, #f97316);
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.navbar-brand span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-nav-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}

.btn-nav-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-nav-solid {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    background: white;
    color: #7c3aed;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-nav-solid:hover {
    background: #f5f3ff;
    color: #6d28d9;
    transform: translateY(-1px);
}

/* ================================================================== */
/* HERO — DUAS COLUNAS                                                 */
/* ================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #9333ea 0%, #2563eb 55%, #4338ca 100%);
    position: relative;
    overflow: hidden;
    padding: 7rem 2.5rem 4rem;
}

.bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.blob-1 { width: 500px; height: 500px; background: rgba(139,92,246,0.4); top: -100px; right: -50px; animation: drift 12s ease-in-out infinite; }
.blob-2 { width: 400px; height: 400px; background: rgba(251,191,36,0.15); bottom: -80px; left: 10%; animation: drift 10s ease-in-out infinite reverse; }
.blob-3 { width: 300px; height: 300px; background: rgba(34,197,94,0.12); top: 30%; left: -80px; animation: drift 14s ease-in-out infinite; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -30px) scale(1.05); }
    66%       { transform: translate(-15px, 20px) scale(0.97); }
}

.hero-inner {
    position: relative;
    z-index: 10;
    max-width: 75rem;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* --- COLUNA ESQUERDA (texto) --- */

.hero-text {
    animation: slideLeft 0.8s ease-out both;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 2rem;
    padding: 0.35rem 1rem;
    color: #e9d5ff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
}

.hero-title span {
    background: linear-gradient(90deg, #facc15, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(233,213,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 30rem;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.hero-benefits li svg {
    flex-shrink: 0;
    color: #4ade80;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    background: white;
    color: #7c3aed;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}

.btn-primary-lg:hover {
    background: #f5f3ff;
    color: #6d28d9;
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.28);
}

.btn-ghost-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-ghost-lg:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-3px);
}

/* --- COLUNA DIREITA (preview do app) --- */

.hero-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: slideRight 0.8s ease-out 0.15s both;
}

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

.preview-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.preview-card:hover {
    transform: translateX(-4px);
}

.preview-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.preview-card-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
}

.icon-green  { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.icon-red    { background: rgba(248, 113, 113, 0.2); color: #f87171; }
.icon-yellow { background: rgba(250, 204, 21, 0.2); color: #facc15; }
.icon-blue   { background: rgba(96, 165, 250, 0.2); color: #60a5fa; }

.preview-card-value {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
}

.preview-card-meta {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
}

.preview-card-meta strong {
    color: #4ade80;
}

.preview-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.preview-mini {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0.875rem;
    padding: 1rem 1.25rem;
    color: white;
    transition: transform 0.3s ease;
}

.preview-mini:hover {
    transform: translateY(-3px);
}

.preview-mini-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.4rem;
}

.preview-mini-value {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.preview-bar-wrap {
    margin-top: 0.5rem;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    overflow: hidden;
}

.preview-bar {
    height: 100%;
    border-radius: 2px;
}

.bar-green  { background: #4ade80; width: 72%; }
.bar-red    { background: #f87171; width: 45%; }

/* ================================================================== */
/* SEÇÃO: FUNCIONALIDADES                                              */
/* ================================================================== */

.features {
    padding: 5rem 2.5rem;
    background: #faf9ff;
}

.section-wrap {
    max-width: 75rem;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: #ede9fe;
    color: #7c3aed;
    border-radius: 2rem;
    padding: 0.25rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: #111827;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 36rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #ede9fe;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #2563eb);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(124,58,237,0.12);
    border-color: #c4b5fd;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.875rem;
    margin-bottom: 1.25rem;
}

.fi-purple { background: #ede9fe; color: #7c3aed; }
.fi-blue   { background: #dbeafe; color: #2563eb; }
.fi-green  { background: #dcfce7; color: #16a34a; }
.fi-orange { background: #ffedd5; color: #ea580c; }
.fi-pink   { background: #fce7f3; color: #be185d; }
.fi-teal   { background: #ccfbf1; color: #0d9488; }

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ================================================================== */
/* SEÇÃO: COMO FUNCIONA                                                */
/* ================================================================== */

.how {
    padding: 5rem 2.5rem;
    background: linear-gradient(135deg, #9333ea 0%, #2563eb 55%, #4338ca 100%);
    position: relative;
    overflow: hidden;
}

.how .bg-pattern {
    position: absolute;
    inset: 0;
}

.how .section-tag {
    background: rgba(255,255,255,0.15);
    color: #e9d5ff;
    border: 1px solid rgba(255,255,255,0.2);
}

.how .section-title { color: white; }
.how .section-subtitle { color: rgba(233,213,255,0.85); }

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.step {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 1.25rem;
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #facc15, #f97316);
    border-radius: 50%;
    font-size: 1.35rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.6rem;
}

.step-desc {
    font-size: 0.875rem;
    color: rgba(233,213,255,0.85);
    line-height: 1.65;
}

/* ================================================================== */
/* SEÇÃO: CTA FINAL                                                    */
/* ================================================================== */

.cta-final {
    padding: 5rem 2.5rem;
    background: #faf9ff;
    text-align: center;
}

.cta-box {
    max-width: 44rem;
    margin: 0 auto;
    background: white;
    border: 1px solid #ede9fe;
    border-radius: 1.5rem;
    padding: 3.5rem 3rem;
    box-shadow: 0 24px 60px rgba(124,58,237,0.1);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9333ea, #2563eb, #4338ca);
}

.cta-box .section-title {
    margin-bottom: 0.75rem;
}

.cta-box .section-subtitle {
    margin-bottom: 2.25rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-fill {
    background: linear-gradient(135deg, #9333ea, #2563eb);
    color: white;
    box-shadow: 0 8px 24px rgba(124,58,237,0.35);
}

.btn-cta-fill:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(124,58,237,0.45);
    color: white;
}

.btn-cta-outline {
    background: transparent;
    color: #7c3aed;
    border: 2px solid #c4b5fd;
}

.btn-cta-outline:hover {
    background: #ede9fe;
    border-color: #7c3aed;
    color: #6d28d9;
    transform: translateY(-3px);
}

/* ================================================================== */
/* FOOTER                                                              */
/* ================================================================== */

.footer {
    background: #0f172a;
    color: #64748b;
    text-align: center;
    padding: 1.5rem 2rem;
    font-size: 0.85rem;
}

.footer a {
    color: #a78bfa;
    text-decoration: none;
}

.footer a:hover {
    color: #c4b5fd;
}

/* ================================================================== */
/* RESPONSIVO                                                          */
/* ================================================================== */

@media (max-width: 900px) {
    .navbar-brand span {
        white-space: nowrap;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-benefits {
        align-items: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-preview {
        max-width: 26rem;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: 1fr;
        max-width: 26rem;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0.75rem 1.25rem;
    }

    .navbar-brand span {
        white-space: nowrap;
        font-size: 0.95rem;
    }

    /* No mobile, esconde o botão "Criar conta grátis" da navbar — já está no hero */
    .btn-nav-solid {
        display: none;
    }

    .btn-nav-ghost {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 6rem 1.25rem 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .features, .how, .cta-final {
        padding: 3.5rem 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cta {
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary-lg, .btn-ghost-lg {
        justify-content: center;
    }

    .preview-row {
        grid-template-columns: 1fr;
    }
}
