/* DESIGN SYSTEM: Clean-Minimal / Startup Bold */

:root {
    /* Colors */
    --bg-base: #ffffff;
    --bg-muted: #f8fafc;
    --text-main: #0f172a;
    --text-subtle: #475569;
    --primary: #4f46e5;
    --primary-hover: #4338ca;

    /* Effects */
    --border: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px 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);

    /* Animation */
    --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.2;
}

/* Typography Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-subtle {
    color: var(--text-subtle);
}

.text-sm {
    font-size: 0.875rem;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.mb-sm {
    margin-bottom: 8px;
}

.text-gradient {
    /* Gradiente do Azul (primária) para Laranja Amarelado */
    background: linear-gradient(135deg, var(--primary) 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Classes */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.overflow-hidden {
    overflow: hidden;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Spacing */
.mt-sm {
    margin-top: 8px;
}

.mt-md {
    margin-top: 24px;
}

.mt-lg {
    margin-top: 48px;
}

.mt-xl {
    margin-top: 80px;
}

.pt-md {
    padding-top: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: var(--bg-muted);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-subtle);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav-item:hover {
    color: var(--text-main);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Lang Switcher */
.lang-switch {
    display: flex;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    color: var(--text-subtle);
    cursor: pointer;
    transition: all var(--transition);
}

.lang-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Generic Sections */
.section {
    padding: 96px 0;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Hero */
.hero {
    padding: 120px 0 80px;
}

.hero-grid {
    display: grid;
    /* Dando mais espaço ao texto e diminuindo a área da imagem para o mockup ficar menor */
    grid-template-columns: 55% 45%;
    gap: 80px;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-subtle);
    margin: 0 0 40px;
}

.hero-mockup {
    width: 110%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.float-animation {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-12px) scale(1.02);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
}

/* Problem Cards */
.problem-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin-top: 48px;
}

.card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: left;
}

.problem-icon {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* Feature Split */
.feature-split {
    display: grid;
    /* Voltando ao balanceamento limpo, evitando empurrar a imagem p/ as margens direitas */
    grid-template-columns: 1fr 1fr;
    gap: 150px;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.feature-icon {
    font-size: 1.5rem;
    background: var(--bg-muted);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-visual img {
    width: 120%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    /* Forçando a imagem a ser maior visualmente sem quebrar as caixas flex do grid */
    transform: scale(1.2);
    transform-origin: center right;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.rclabs-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #111827;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-top: 16px;
}

.footer-links h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: var(--text-subtle);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

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

/* Scroll Experience Utils */
.reveal-element {
    opacity: 0;
    will-change: transform, opacity;
}

.fade-up {
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-up {
    transform: scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }

    .feature-split,
    .problem-cards {
        grid-template-columns: 1fr;
    }

    .nav-links,
    .hidden-mobile {
        display: none;
    }

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