/* ============================================
   Organizei — Landing Page v3.1 (Dark Theme)
   Primary: #7B61FF (Roxo) | Accent: #00E0A4 (Verde)
   Background: #0B0E14
   Style: SaaS premium (Stripe/Linear/Notion)
   ============================================ */

/* -- Base -- */
html { scroll-behavior: smooth; }

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0B0E14;
    color: #9AA0A6;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* -- Scroll Reveal -- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* -- Shared -- */
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.section-subtitle {
    font-size: 1.05rem;
    color: #9AA0A6;
    text-align: center;
    margin-bottom: 48px;
}

.gradient-text {
    background: linear-gradient(135deg, #7B61FF, #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -- Buttons -- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, #7B61FF, #00D4FF);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(123, 97, 255, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(123, 97, 255, 0.55);
}
.btn-lg {
    padding: 18px 44px !important;
    font-size: 17px !important;
    border-radius: 14px;
}

/* ====== NAVBAR ====== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background: rgba(11, 14, 20, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.nav-brand svg {
    flex-shrink: 0;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    color: #9AA0A6;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.btn-nav-cta {
    padding: 10px 22px !important;
    background: linear-gradient(135deg, #7B61FF, #00D4FF) !important;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700 !important;
    font-size: 13px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 16px rgba(123, 97, 255, 0.3);
}
.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(123, 97, 255, 0.45);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ====== HERO ====== */
.hero {
    min-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(123, 97, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 30% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
}
.hero-inner {
    max-width: 720px;
}
.hero h1 {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 24px;
}
.hero-lead {
    font-size: 1.15rem;
    color: #9AA0A6;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Flow Visual */
.hero-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}
.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.flow-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: rgba(123, 97, 255, 0.08);
    border: 1px solid rgba(123, 97, 255, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.flow-icon:hover {
    transform: scale(1.08);
    border-color: rgba(123, 97, 255, 0.45);
    box-shadow: 0 4px 20px rgba(123, 97, 255, 0.15);
}
.flow-icon-ai {
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.12), rgba(0, 212, 255, 0.10));
    border-color: rgba(123, 97, 255, 0.30);
}
.flow-icon-done {
    background: rgba(0, 224, 164, 0.08);
    border-color: rgba(0, 224, 164, 0.25);
}
.flow-step span {
    font-size: 13px;
    font-weight: 600;
    color: #9AA0A6;
}
.flow-arrow {
    font-size: 24px;
    color: #7B61FF;
    opacity: 0.4;
    margin-bottom: 20px;
}

.hero-actions {
    margin-bottom: 16px;
}
.hero-sub {
    font-size: 13px;
    color: #4A5060;
}

/* ====== PROBLEMA ====== */
.problem {
    padding: 100px 24px;
    position: relative;
}
.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7B61FF, #00D4FF);
    border-radius: 2px;
}
.problem-inner {
    max-width: 1000px;
    margin: 0 auto;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.problem-card {
    background: #121722;
    border: 1px solid #1E2633;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.problem-card:hover {
    border-color: rgba(123, 97, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(123, 97, 255, 0.08);
}
.problem-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}
.problem-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.problem-card p {
    font-size: 14px;
    color: #9AA0A6;
    line-height: 1.6;
}

/* ====== COMO FUNCIONA ====== */
.how {
    padding: 100px 24px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 48px auto 0;
}
.step-card {
    text-align: center;
    padding: 36px 24px;
    background: #121722;
    border: 1px solid #1E2633;
    border-radius: 16px;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.step-card:hover {
    border-color: rgba(123, 97, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(123, 97, 255, 0.08);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B61FF, #00D4FF);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 16px;
}
.step-emoji {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}
.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.step-card p {
    font-size: 14px;
    color: #9AA0A6;
    line-height: 1.6;
}

/* ====== CASOS DE USO ====== */
.usecases {
    padding: 100px 24px;
    background: radial-gradient(ellipse at 50% 50%, rgba(123, 97, 255, 0.04) 0%, transparent 60%);
}
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 48px auto 0;
}
.usecase-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #121722;
    border: 1px solid #1E2633;
    border-radius: 16px;
    padding: 24px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.usecase-card:hover {
    border-color: rgba(123, 97, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(123, 97, 255, 0.08);
}
.usecase-icon {
    font-size: 36px;
    flex-shrink: 0;
}
.usecase-transform {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.usecase-before {
    font-size: 14px;
    color: #9AA0A6;
    font-weight: 500;
}
.usecase-arrow {
    font-size: 16px;
    color: #00E0A4;
    font-weight: 700;
}
.usecase-after {
    font-size: 15px;
    color: #fff;
    font-weight: 700;
}

/* ====== DIFERENCIACAO ====== */
.diff {
    padding: 100px 24px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.diff-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.diff-content {
    margin-top: 48px;
}
.diff-line {
    font-size: 1.2rem;
    color: #9AA0A6;
    margin-bottom: 12px;
    line-height: 1.6;
}
.diff-line strong {
    color: #fff;
}
.diff-highlight {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-top: 24px;
    line-height: 1.3;
}

/* ====== FEATURES ====== */
.features {
    padding: 100px 24px;
    background: radial-gradient(ellipse at 50% 30%, rgba(0, 224, 164, 0.03) 0%, transparent 50%);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 48px auto 0;
}
.feature-card {
    background: #121722;
    border: 1px solid #1E2633;
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    border-color: rgba(123, 97, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(123, 97, 255, 0.08);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
}
.fi-purple {
    background: rgba(123, 97, 255, 0.12);
    color: #7B61FF;
}
.fi-green {
    background: rgba(0, 224, 164, 0.10);
    color: #00E0A4;
}
.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: #9AA0A6;
    line-height: 1.6;
}

/* ====== PRICING ====== */
.pricing {
    padding: 100px 24px;
    text-align: center;
}

/* ====== CTA FINAL ====== */
.cta-final {
    padding: 100px 24px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 50%, rgba(123, 97, 255, 0.10) 0%, transparent 55%);
}
.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}
.cta-final h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.cta-final p {
    color: #9AA0A6;
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}
.cta-sub {
    color: #4A5060 !important;
    font-size: 13px !important;
    margin-top: 16px;
}

/* ====== FOOTER ====== */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-brand {
    color: #9AA0A6;
    font-size: 14px;
    margin-bottom: 8px;
}
.footer-accent {
    color: #7B61FF;
    font-weight: 600;
    transition: color 0.2s;
}
.footer-accent:hover { color: #00D4FF; }
.footer-links {
    margin-bottom: 8px;
}
.footer-links a {
    color: #4A5060;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-links a:hover { color: #9AA0A6; }
.footer-version {
    color: #3A4050;
    font-size: 12px;
}

/* ====== RESPONSIVE — Tablet (900px) ====== */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.6rem; }
    .hero-lead { font-size: 1.05rem; }

    .problem-grid { grid-template-columns: 1fr; max-width: 400px; margin: 48px auto 0; }
    .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 48px auto 0; }
    .usecases-grid { grid-template-columns: 1fr; max-width: 440px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }

    .section-title { font-size: 1.8rem; }
    .cta-final h2 { font-size: 1.8rem; }
    .diff-highlight { font-size: 1.3rem; }
    .diff-line { font-size: 1.05rem; }
}

/* ====== RESPONSIVE — Mobile (600px) ====== */
@media (max-width: 600px) {
    .hero { padding: 60px 20px 40px; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-lead { font-size: 0.95rem; margin-bottom: 32px; }

    .hero-flow { gap: 10px; }
    .flow-icon { width: 52px; height: 52px; font-size: 22px; border-radius: 12px; }
    .flow-step span { font-size: 11px; }
    .flow-arrow { font-size: 18px; }

    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 14, 20, 0.98);
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        gap: 16px;
    }
    .nav-toggle { display: block; }

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

    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.95rem; margin-bottom: 32px; }
    .cta-final h2 { font-size: 1.5rem; }
    .diff-highlight { font-size: 1.2rem; }
    .diff-line { font-size: 1rem; }

    .usecase-card { padding: 20px; gap: 16px; }
    .usecase-icon { font-size: 28px; }

    .problem, .how, .usecases, .diff, .features, .pricing, .cta-final {
        padding: 60px 16px;
    }
}
