/* ===== VARIÁVEIS E RESET ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --accent: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 0.625rem 1.25rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary);
    transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, #eef2ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.hero-ideal {
    font-size: 1rem;
    color: var(--gray-500);
    padding: 1rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    margin-bottom: 2rem;
}

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

/* Dashboard Visual */
.hero-visual {
    position: relative;
}

.hero-dashboard {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.dashboard-dots span:first-child {
    background: #ff5f57;
}

.dashboard-dots span:nth-child(2) {
    background: #febc2e;
}

.dashboard-dots span:last-child {
    background: #28c840;
}

.dashboard-title {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.dashboard-content {
    display: flex;
    min-height: 300px;
}

.dashboard-sidebar {
    width: 60px;
    background: var(--secondary);
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-item {
    width: 100%;
    height: 36px;
    background: var(--gray-700);
    border-radius: var(--radius-sm);
    opacity: 0.5;
}

.sidebar-item.active {
    background: var(--primary);
    opacity: 1;
}

.dashboard-main {
    flex: 1;
    padding: 1rem;
    background: var(--gray-50);
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    height: 100%;
}

.kanban-column {
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kanban-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.kanban-card {
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.kanban-card.success {
    border-left-color: var(--success);
    background: #ecfdf5;
}

/* ===== PROBLEM SECTION ===== */
.problem {
    padding: 6rem 0;
    background: var(--secondary);
    color: var(--white);
}

.problem .section-title {
    color: var(--white);
    margin-bottom: 3rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.problem-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--secondary-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-700);
}

.problem-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.problem-card p {
    color: var(--gray-300);
    font-size: 1rem;
}

.problem-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin: 0 auto;
}

.result-icon {
    font-size: 2rem;
}

.problem-result p {
    color: #fca5a5;
    font-size: 1.125rem;
}

/* ===== SOLUTION SECTION ===== */
.solution {
    padding: 6rem 0;
    background: linear-gradient(135deg, #eef2ff 0%, var(--white) 100%);
}

.solution-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.solution-text {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.hierarchy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hierarchy-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-light);
}

.hierarchy-icon {
    font-size: 2rem;
}

.hierarchy-item span:last-child {
    font-weight: 600;
    color: var(--secondary);
}

.hierarchy-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
}

.solution-tagline {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 6rem 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    position: relative;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

.step-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-card li {
    color: var(--gray-600);
    font-size: 0.95rem;
    padding-left: 1.25rem;
    position: relative;
}

.step-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ===== FEATURES ===== */
.features {
    padding: 6rem 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-card li {
    color: var(--gray-600);
    padding-left: 1.25rem;
    position: relative;
}

.feature-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===== FOR WHO ===== */
.for-who {
    padding: 6rem 0;
    background: var(--white);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.audience-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.audience-card:hover {
    border-color: var(--primary);
    background: #eef2ff;
}

.check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.audience-card span:last-child {
    font-weight: 500;
    color: var(--secondary);
}

.audience-quote {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
}

.audience-quote p {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

/* ===== DIFFERENTIATOR ===== */
.differentiator {
    padding: 6rem 0;
    background: var(--gray-50);
}

.comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.comparison-card {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.comparison-card.traditional {
    background: var(--gray-200);
    border: 2px solid var(--gray-300);
}

.comparison-card.flow {
    background: linear-gradient(135deg, #eef2ff 0%, #c7d2fe 100%);
    border: 2px solid var(--primary);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.comparison-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.comparison-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.comparison-flow span {
    font-weight: 500;
    color: var(--secondary);
}

.comparison-flow .arrow {
    color: var(--primary);
    font-weight: bold;
}

.comparison-vs {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-400);
}

.differentiator-highlight {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.highlight-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.highlight-sub {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ===== WHITE LABEL ===== */
.white-label {
    padding: 6rem 0;
    background: var(--secondary);
    color: var(--white);
}

.white-label .section-title,
.white-label .section-subtitle {
    color: var(--white);
}

.white-label .section-subtitle {
    color: var(--gray-400);
}

.white-label-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.wl-card {
    padding: 2rem;
    background: var(--secondary-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-700);
    text-align: center;
    transition: all 0.3s ease;
}

.wl-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.wl-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.wl-card p {
    color: var(--gray-300);
    font-weight: 500;
}

.white-label-quote {
    text-align: center;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    max-width: 400px;
    margin: 0 auto;
}

.white-label-quote p {
    color: var(--primary-light);
    font-size: 1.25rem;
    font-weight: 600;
}

/* ===== CTA ===== */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.cta .btn-primary:hover {
    background: var(--gray-100);
}

.cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 300px;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

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

    .hierarchy {
        flex-direction: column;
    }

    .hierarchy-arrow {
        transform: rotate(90deg);
    }

    .comparison {
        flex-direction: column;
    }

    .comparison-vs {
        transform: rotate(90deg);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .problem-grid,
    .steps-grid,
    .features-grid,
    .audience-grid,
    .white-label-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-visual {
    animation: fadeInUp 0.8s ease-out;
}

.hero-visual {
    animation-delay: 0.2s;
}

/* Mobile Menu Active State */
.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.nav-links.active {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.nav-cta.active {
    display: inline-flex;
    position: absolute;
    top: calc(70px + 200px);
    left: 1.5rem;
    right: 1.5rem;
}
